# attr-def

<attr-def> is used to specify a schema attribute for the class specified by the enclosing <class-def>.

Example

See <schema-def>

## 1. Allowed Content

> EMPTY

## 2. Attributes

> Attribute | Value(s) | Default Value
> --- | --- | ---
> asn1id | CDATA The ASN.1 Object ID of the attribute. | #IMPLIED
> attr-name | CDATA The name of the attribute. | #REQUIRED
> case-sensitive | true | false Whether or not the attribute is case-sensitive. | false
> multi-valued | true | false Whether or not the attribute can hold more than one value | true
> naming | true | false Whether or not the attribute can be used as part of the RDN of an object of the enclosing class. | false
> read-only | true | false Whether or not the attribute is read-only. | false
> required | true | false Whether or not the attribute is required by an object of the enclosing class. | false
> type | string | teleNumber | int | state | counter | dn | interval | octet | time | structured The data type of the attribute. | string

## 3. Content Declaration

> Empty

## 4. Parent Elements

> class-def
>   Schema class definition.

Top Elements || All Elements || Tree