An attribute syntax is a schema element that defines a kind of data type that is used to dictate the kind of information that may be stored in an attribute value. Any attempt to store an attribute value that violates the syntax for the associated attribute type should be rejected.
Common attribute syntaxes include:
Can hold any kind of data, whether textual or not, that should be compared on a byte-for-byte basis. Note that the binary syntax has been deprecated in favor of the octet string syntax.
Can hold values of either TRUE or FALSE.
Can hold any kind of string value (technically, binary values are allowed as well, but directory string values are typically strings).
Can hold values that are valid DNs.
Can hold values that contain time stamps of varying precision (anywhere from an hour to a fraction of a second) including time zone information. For example, the value 20070525222745Z represents a time stamp of May 25, 2007 at 10:27:45 PM in the UTC time zone.
Can hold values that contain ASCII strings (that is, use of non-ASCII characters is not allowed).
Can hold integer values. Positive, negative, and zero values are allowed.
Can hold any kind of data that should be compared on a byte-for-byte basis.
Can hold a multi-line address, in which the lines of the address should be separated by dollar signs.
Can hold a string containing any combination of printable characters. Printable characters include all uppercase and lowercase ASCII letters, the numeric digits, the space character, and the symbols '()+,-.=/:?.
Can hold telephone number values.
The set of attribute syntaxes defined in the server may be determined by retrieving the ldapSyntaxes attribute of the subschema subentry. For more information about attribute syntaxes, see Understanding Attribute Syntaxes in Sun OpenDS Standard Edition 2.2 Architectural Reference.