As an Example: the ACL (eDirectory Attribute) might be:
acl: [Entry Rights]#<token-src-dn>#1
Which interestingly, when using DirXML would become in XML:
<do-add-dest-attr-value name="ACL"> <arg-value type="structured"> <arg-component name="protectedName"> <token-text xml:space="preserve">[Entry Rights]</token-text> </arg-component> <arg-component name="trustee"> <token-src-dn/> </arg-component> <arg-component name="privileges"> <token-text xml:space="preserve">1</token-text> </arg-component> </arg-value> </do-add-dest-attr-value>
The JSON format is defined in Section 4 of RFC 7159.
The order of the component attributes is not significant.
SCIM Service Providers and SCIM Clients MUST NOT require or expect attributes to be in any specific order when an object is either generated or analyzed.
A Complex Attribute has no uniqueness or Case Sensitivity.
Complex Attribute MUST NOT contain sub-attributes that are Complex Attribute.
SCIM 2.0 Complex Attribute Example
"addresses": [ { "type": "work", "streetAddress": "100 Universal City Plaza", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "USA", "value": "100 Universal City Plaza\nHollywood, CA 91608 USA", "primary": true }, { "type": "home", "streetAddress": "456 Hollywood Blvd", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "USA", "value": "456 Hollywood Blvd\nHollywood, CA 91608 USA" } ]
General example:
<xs:complexType name="personName"> <xs:sequence> <xs:element name="title" minOccurs="0"/> <xs:element name="forename" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="surname"/> </xs:sequence> </xs:complexType> <xs:complexType name="extendedName"> <xs:complexContent> <xs:extension base="personName"> <xs:sequence> <xs:element name="generation" minOccurs="0"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="addressee" type="extendedName"/> <addressee> <forename>Albert</forename> <forename>Arnold</forename> <surname>Gore</surname> <generation>Jr</generation> </addressee>