This page (revision-1) was last changed on 29-Nov-2024 16:16 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 111 lines
!!! Overview
[{$pagename}], in general, is an [Attribute] which contains sub-attributes.
!! [LDAP] [Component Syntax]
[LDAP] [Component Syntax] is an example of a [{$pagename}] and also a [Composite data type]
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]:
%%prettify
{{{
<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>
}}} /%
!! [SCIM 2.0] [{$pagename}]
[{$pagename}] in [SCIM 2.0] is a [SINGLE-VALUE] or [MULTI-VALUE] [SCIM Attribute] whose value is a composition of one or more simple attributes.
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 [{$pagename}] has no uniqueness or [Case Sensitivity].
[{$pagename}] [MUST NOT] contain sub-attributes that are [{$pagename}].
[SCIM 2.0] [{$pagename}] [Example]
%%prettify
{{{
"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"
}
]
}}} /%
!! [XML] [{$pagename}][2]
[XML] [{$pagename}] is, well, complex. refer to the reference for details.
General example:
%%prettify
{{{
<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>
}}} /%
!! More Information
There might be more information for this subject on one of the following:
[{ReferringPagesPlugin before='*' after='\n' }]
----
* [#1] - [XML Representation of Complex Type Definitions|https://www.w3.org/TR/xmlschema-1/#element-complexType|target='_blank'] - based on information obtained 2016-10-16