SCIM Schema

Overview#

SCIM Service Provider provides a set of SCIM Resources, the allowable contents of which are defined by a set of SCIM Schemas Attribute URIs and a resource type.

SCIM Schema is not a document-centric one such as with XML-Schema. Instead, SCIM's support of schema is attribute based, where each attribute may have different type, mutability, cardinality, or returnability. Validation of documents and messages is always performed by an intended receiver, as specified by the SCIM specifications. Validation is performed by the receiver in the context of a SCIM protocol request (see RFC 7644).

For example, a SCIM Service Provider, upon receiving a request to replace an existing SCIM Resource with a replacement JSON object, evaluates each asserted attribute based on its characteristics as defined in the relevant schema (e.g., mutability) and decides which attributes may be replaced or ignored.

RFC 7643 provides a minimal core schema for representing SCIM Resources (SCIM Users and SCIM Groups), encompassing SCIM Common Attributes found in many existing deployments and schemas. In addition to the minimal SCIM Core Schema, RFC 7643 also specifies a standardized means by which service providers may extend schemas to define new resources and attributes in both standardized and service-provider-specific cases.

SCIM Resources are categorized into common resource types such as "User" or "Group". Collections of resources of the same type are usually contained within the same "container" SCIM ResourceTypes endpoint.

SCIM Resource Schema#

The SCIM Resource:
urn:ietf:params:scim:schemas:core:2.0:Schema

Unlike other core resources, the "Schema" resource MAY contain a complex object within a sub-attribute, and all attributes are REQUIRED unless otherwise specified.

id REQUIRED SINGLE-VALUE#

The unique URI of the schema. When applicable, service providers MUST specify the URI, e.g., "urn:ietf:params:scim:schemas:core:2.0:User".

Unlike most other schemas, which use some sort of Globally Unique Identifier (GUID) for the "id", the schema "id" is a URI so that it can be registered and is portable between different service providers and clients.

name OPTIONAL SINGLE-VALUE#

The schema's human-readable name. When applicable, service providers MUST specify the name, e.g., "User" or "Group".

description OPTIONAL SINGLE-VALUE#

The schema's human-readable description. When applicable, service providers MUST specify the description.

attributes#

Within SCIM Schema, A complex type that defines Service Provider attributes and their qualities via the following set of sub-attributes:

More Information#

There might be more information for this subject on one of the following: