An attribute element has the following XML attributes:

  • schema: a required attribute specifying the schema URN for the SCIM attribute. If omitted, the schema URN is assumed to be the same as that of the enclosing resource, so this only needs to be provided for SCIM extension attributes. Standard SCIM attributes already have URNs assigned for them, such as urn:scim:schemas:core:1.0. A new URN must be obtained for custom SCIM attributes using any of the standard URN assignment methods.
  • name: a required attribute specifying the name of the SCIM attribute.
  • readOnly: an optional attribute indicating whether the SCIM sub-attribute is not allowed to be updated by the SCIM service consumer. The default value is false.
  • required: an optional attribute indicating whether the SCIM attribute is required to be present in the resource. The default value is false.

An attribute element contains the following XML elements in sequence:

  • description: a required element describing the attribute. Then just one of the following elements:
    • simple: specifies a simple, singular SCIM attribute.
    • complex: specifies a complex, singular SCIM attribute.
    • simpleMultiValued: specifies a simple, multi-valued SCIM attribute.
    • complexMultiValued: specifies a complex, multi-valued SCIM attribute.