Network Working GroupC. Mortimore, Ed.K. Grizzle Internet-DraftSalesforceSailPoint Intended status: Standards Track P.HardingHunt, Ed. Expires:March 03, 2014 P. Madsen Ping T. Drake UnboundIDAugust30, 201316, 2014 Oracle E. Wahlstroem Technology Nexus C. Mortimore Salesforce February 12, 2014 System for Cross-Domain Identity Management: Core Schemadraft-ietf-scim-core-schema-02draft-ietf-scim-core-schema-03 Abstract The System for Cross-Domain Identity Management (SCIM) specification is designed to make managing user identity in cloud based applications and services easier. The specification suite builds upon experience with existing schemas and deployments, placing specific emphasis on simplicity of development and integration, while applying existing authentication, authorization, and privacy models. Its intent is to reduce the cost and complexity of user management operations by providing a common user schema and extension model, as well as binding documents to provide patterns for exchanging this schema using standard protocols. In essence, make it fast, cheap, and easy to move identity in to, out of, and around the cloud. This document provides a platform neutral schema and extension model for representing users and groups in JSON format. This schema is intended for exchange and use with cloud service providers. Additional binding documents provide a standard REST API, SAML binding, and use cases. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire onMarch 03,August 16, 2014. Copyright Notice Copyright (c)20132014 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Requirements Notation and Conventions . . . . . . . . . . . . 3 2. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1. Definitions . . . . . . . . . . . . . . . . . . . . . . . 4 3. SCIM Schema Structure . . . . . . . . . . . . . . . . . . . . 4 3.1. Attribute Data Types . . . . . . . . . . . . . . . . . . 5 3.1.1. String . . . . . . . . . . . . . . . . . . . . . . . 5 3.1.2. Boolean . . . . . . . . . . . . . . . . . . . . . . .56 3.1.3. Decimal . . . . . . . . . . . . . . . . . . . . . . .56 3.1.4. Integer . . . . . . . . . . . . . . . . . . . . . . .56 3.1.5. DateTime . . . . . . . . . . . . . . . . . . . . . . 6 3.1.6. Binary . . . . . . . . . . . . . . . . . . . . . . . 6 3.1.7. Reference . . . . . . . . . . . . . . . . . . . . . . 6 3.1.8. Complex . . . . . . . . . . . . . . . . . . . . . . .67 3.2. Multi-valued Attributes . . . . . . . . . . . . . . . . .67 4. Schema Extension Model . . . . . . . . . . . . . . . . . . . 8 5. SCIM Core Schema . . . . . . . . . . . . . . . . . . . . . . 8 5.1. Common Schema Attributes . . . . . . . . . . . . . . . . 8 5.2. "schemas" Attribute . . . . . . . . . . . . . . . . . . .910 6. SCIM User Schema . . . . . . . . . . . . . . . . . . . . . . 10 6.1. Singular Attributes . . . . . . . . . . . . . . . . . . . 10 6.2. Multi-valued Attributes . . . . . . . . . . . . . . . . . 12 7. SCIM Enterprise User Schema Extension . . . . . . . . . . . . 14 8. SCIM Group Schema . . . . . . . . . . . . . . . . . . . . . . 15 9. Service Provider Configuration Schema . . . . . . . . . . . .1516 10.Resource TypeResourceType Schema . . . . . . . . . . . . . . . . . . . . . 17 11. Schema Schema . . . . . . . . . . . . . . . . . . . . . . . . 18 12. JSON Representation . . . . . . . . . . . . . . . . . . . . .2023 12.1. Minimal User Representation . . . . . . . . . . . . . .2023 12.2. Full User Representation . . . . . . . . . . . . . . . .2023 12.3. Enterprise User Extension Representation . . . . . . . .2326 12.4. Group Representation . . . . . . . . . . . . . . . . . .2629 12.5. Service Provider Configuration Representation . . . . .2730 12.6. Resource Type Representation . . . . . . . . . . . . . .2831 12.7. Schema Representation . . . . . . . . . . . . . . . . .2931 13. Security Considerations . . . . . . . . . . . . . . . . . . .3353 14. References . . . . . . . . . . . . . . . . . . . . . . . . . 53 14.1. Normative References . . . . . . . . . . . . . . . . . . 53 14.2. Informative References . . . . . . . . . . . . . . . .33. 54 Appendix A.ContributorsAcknowledgements . . . . . . . . . . . . . . . . . . 54 Appendix B. Change Log . . . . . . . . . . . . . . . . . . . . .3455 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . .3455 1. Requirements Notation and Conventions The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119] . Throughout this document, values are quoted to indicate that they are to be taken literally. When using these values in protocol messages, the quotes MUST NOT be used as part of the value. 2. Overview While there are existing standards for describing and exchanging user information, many of these standards can be difficult to implement and/or use; e.g., their wire protocols do not easily traverse firewalls and/or are not easily layered onto existing web protocols. As a result, many cloud providers implement non-standard APIs for managing users within their services. This increases both the cost and complexity associated with organizations adopting products and services from multiple cloud providers as they must perform redundant integration development. Similarly, cloud services providers seeking to interoperate with multiple application marketplaces or cloud identity providers must be redundantly integrated. SCIM seeks to simplify this problem through a simple to implement specification suite that provides a common user schema and extension model, as well as binding documents to provide patterns for exchanging this schema via a REST API. It draws inspiration and best practice, building upon existing user APIs and schemas from a wide variety of sources including, but not limited to, existing APIs exposed by cloud providers, PortableContacts, and LDAP directory services. This document provides a platform neutral schema and extension model for representing users and groups in JSON format. This schema is intended for exchange and use with cloud service providers. Additional binding documents provide a standard REST API, SAML binding, and use cases. 2.1. Definitions Service Provider:AAn HTTP web application that provides identity information via the SCIM protocol.Consumer:Client: A website or application that uses the SCIM protocol to manage identity data maintained by theService Provider.service provider. The client initiates SCIM HTTP requests to a target service provider. Resource: TheService Providerservice provider managed artifact containing one or more attributes; e.g.,User"User" orGroup"Group". Resource Type: A type of aResourceresource that is managed by aService Provider.service provider. TheResource Typeresource type defines theResourceresource name, endpoint URL, Schemas, and other meta-data which indicate where aResourceresource is managed and how it is composed; e.g.,User"User" orGroup."Group". Schema: A collection of Attribute Definitions that describe the contents of an entire or partialResource;resource; e.g.,urn:scim:schemas:core:User:2.0."urn:scim:schemas:core:2.0:User". Singular Attribute: AResourceresource attribute that contains 0..1 values; e.g.,displayName."displayName". Multi-valued Attribute: AResourceresource attribute that contains 0..n values; e.g.,emails."emails". Simple Attribute: ASingularsingular orMulti-valued Attributemulti-valued attribute whose value is a primitive; e.g.,String."String". Complex Attribute: ASingularsingular orMulti-valued Attributemulti-valued attribute whose value is a composition of one or moreSimple Attributes.simple attributes; e.g., "addresses". Sub-Attribute: ASimple Attributesimple attribute contained within aComplex Attribute.complex attribute. 3. SCIM Schema Structure SCIM schema provides a minimal core schema for representing users and groups (resources), encompassing common attributes found in many existing deployments and schemas. A resource is a collection of attributes identified by one or more schemas. Minimally, an attribute consists of the attribute name and at least oneSimplesimple orComplexcomplex value either of which may beMulti-multi- valued. SCIM schema defines the data type, plurality and other distinguishing features of an attribute. Unless otherwise specified all attributes are modifiable byConsumers. Immutable (read-only) attributes SHALL be specified as 'READ-ONLY' within theconsumers. Attribute definitions contain a property "mutability" that determines whether an attributedefinition.is: "readOnly", "writeOnly", "immutable", or "readWrite"(the default). Additionally,Service Providersservice providers MAYchoose to make some or all Resource attributes immutable and SHOULD identify those attributes via the associateddefine other properties such as returnability Resource's schema endpoint (Section 5.2). A JSON[1](JavaScript Object Notation) format [RFC4627] is defined. Attribute names SHOULD be camelCased. SCIM resources represented in JSON MUST specify schema via theschemas attribute (Section 5.2)."schemas" attributeSection 5.2. 3.1. Attribute Data Types Attribute data types are derived from JSON[2][RFC4627] and unless otherwise specified have the following characteristics (see Section 11 for attribute characteristic definitions): are optional ("required=false"). are case insensitive ("caseExact=false"), areoptional,modifiableby Consumers, and("mutability=readWrite"), are returned in response to queries ("returned=default"), are not unique ("uniqueness=none"), and, of type String (Section 3.1.1). The JSON format defines a limited set of data types, hence, where appropriate, alternate JSON representations derived from XMLschema [3]Schema [XML-Schema] are defined below. SCIM extensions SHOULDnotNOT introduce new data types. 3.1.1. String A sequence of zero or more Unicode characters. The JSON format is defined insectionSection 2.5[4] of RFC 4627.[RFC4627] . AString"String" attribute MAY specify a required data format. Additionally, whenCanonical Valuescanonical values are specifiedService Providersservice providers SHOULD conform to those values if appropriate, but MAY provide alternateString"String" values to represent additional values. 3.1.2. Boolean The literal "true" or "false". The JSON format is defined insectionSection 2.1[5] of RFC 4627.[RFC4627] . 3.1.3. Decimal A real number with at least one digit to the left and right of the period. The JSON format is defined insectionSection 2.4[6] of RFC 4627.[RFC4627] . 3.1.4. Integer ADecimaldecimal number with no fractional digits. The JSON format is defined insectionSection 2.4[7] of RFC 4627[RFC4627] with the additional constraint that the value MUST NOT contain fractionial or exponent parts. 3.1.5. DateTime A DateTime value (e.g. 2008-01-23T04:56:22Z). The attribute value MUST be encoded as a valid xsd:dateTime as specified insectionSection 3.2.7[8] of the XML Schema Datatypes Specification.[XML-Schema] . Values represented in JSON MUST conform to the XML constraints above and are represented as a JSON String[9].per Section 2.5 [RFC4627]. 3.1.6. Binary Arbitrary binary data. The attribute value MUST be encoded as a valid xsd:base64Binary as specified insectionSection 3.2.16[10] of the XML Schema Datatypes Specification.[XML-Schema] . Values represented in JSON MUST conform to the XML constraints above and are represented as a JSON String[11].perSection 2.5 [RFC4627]. 3.1.7. Reference A reference to a SCIMResource.resource. The value MUST be the absolute or relative URI of the targetResource.resource. Relative URIs should be resolved as specified insectionSection 5.2[12] of RFC 3986.[RFC3986]. The base URI for relative URI resolution MUST include all URI components and path segments up to but not including the Endpoint URI; e.g., the base URI for a request tohttps://example.com/v1/Users/2819c223-7f76-453a- 919d-413861904646"https://example.com/v2/Users/2819c223-7f76-453a- 919d-413861904646" would behttps://example.com/v1/"https://example.com/v2/" and the relative URI for thisResourceresource would beUsers/2819c223-7f76-453a- 919d-413861904646."Users/2819c223-7f76-453a- 919d-413861904646". Performing a GET operation on a reference URI MUST return the targetResourceresource or an appropriate HTTP response code. TheService Providerservice provider MAY optionally choose to enforce referential integrity for references. By convention, a reference is commonly represented as a "$ref" sub- attribute in complex or multi-valued attributes, however this is OPTIONAL. 3.1.8. Complex ASingularsingular orMulti-valued Attributemulti-valued attribute whose value is a composition of one or moreSimplesimple Attributes. The JSON format is defined insectionSection 2.2[13] of RFC 4627.[RFC4627] . 3.2. Multi-valued Attributes Multi-valued attributes are unordered lists of attributes. Each attribute MAY contain Sub-Attributes and therefore multi-valued attributes may containComplex Attributes.complex attributes. The sub-attributes belowSub-Attributesare considered normative and when specified SHOULD be used as defined. type A label indicating the attribute's function; e.g., "work" or "home". primary ABooleanboolean value indicating the 'primary' or preferred attribute value for this attribute, e.g. the preferred mailing address or primary e-mail address. The primary attribute value'true'"true" MUST appear no more than once. display A human readable name, primarily used for displaypurposes. READ-ONLY.purposes and has a mutability of "immutable". operation The operation to perform on the multi-valued attribute during a PATCH request. The only valid value is "delete", which signifies that this instance should be removed from theResource.resource. value The attribute's significant value; e.g., the e-mail address, phone number, etc. Attributes that define a "value" sub-attribute MAY be alternately represented as a collection of primitive types. For example: { "emails": [ {"value":"bjensen@example.com"}, {"value":"babs@example.com"} ] } May also be represented as: { "emails": ["bjensen@example.com","babs@example.com"] } $ref TheReferencereference URI of the targetResource,resource, if the attribute is a reference. When returning multi-valued attributes,Service Providersservice providers SHOULD canonicalize the value returned, if appropriate (e.g. for e-mail addresses and URLs).ProvidersService providers MAY return the same value more than once with different types (e.g. the same e-mail address may used for work and home), but SHOULD NOT return the same (type, value) combination more than once per Attribute, as this complicates processing by the Consumer. 4. Schema Extension Model SCIM schema follows an object extension model similar to ObjectClasses used in LDAP. Unlike LDAP there is no inheritance model; all extensions are additive (similar to LDAP Auxiliary ObjectClasses [14]).Class [RFC4512]). Each value indicates additive schema that may exist in a SCIM representation as specified by extensions not defined in this suite. Schema extensions MUST NOT redefine any attributes defined in this specification and SHOULD follow conventions defined in this specification. Each schema extension must identify a URI used to identify the extension. The JSON format MUST use the "schemas"attribute (Section 5.2)attributeSection 5.2 to distinguish extended resources and attributes. 5. SCIM Core Schema 5.1. Common Schema Attributes Each SCIMResourceresource (Users, Groups, etc.) includes the below common attributes. These attributes MUST be included in allResources,resources, including any extendedResourceresource types. It is not necessary to specify the schemas attribute if theResourceresource is fully defined in this document as the core schema is implicitly included. id Unique identifier for the SCIMResourceresource as defined by theService Provider.service provider. Each representation of theResourceresource MUST include a non- emptyid"id" value. This identifier MUST be unique across theService Provider'sservice provider's entire set ofResources.resources. It MUST be a stable,non- reassignablenon-reassignable identifier that does not change when the sameResourceresource is returned in subsequent requests. The value of theid"id" attribute is always issued by theService Providerservice provider and MUST never be specified by theService Consumer.client. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. REQUIRED andREAD-ONLY.has a mutability of "readOnly". externalId An identifier for theResourceresource as defined by theService Consumer.client. TheexternalId"externalId" may simplify identification of theResourceresource betweenService Consumerclient andServiceservice provider by allowing theConsumerclient to refer to theResourceresource with its own identifier, obviating the need to store a local mapping between the local identifier of theResourceresource and the identifier used by theService Provider.service provider. EachResourceresource MAY include a non-empty externalId value. The value of theexternalId"externalId" attribute is always issuedbeby theService Consumerclient and can never be specified by theService Provider.service provider. TheService Providerservice provider MUST always interpret the externalId as scoped to theService Consumer'sclient's tenant. meta A complex attribute containing resource metadata. All sub- attributes are OPTIONAL resourceType The name of theResource Typeresource type of theResource. READ-ONLY.resource. Attribute has mutability of "readOnly". created The DateTime theResourceresource was added to theService Provider.service provider. The attribute MUST be a DateTime.READ-ONLY.Attribute has mutability of "readOnly". lastModified The most recent DateTime the details of thisResourceresource were updated at theService Provider.service provider. If thisResourceresource has never been modified since its initial creation, the value MUST be the same as the value of created. The attribute MUST be a DateTime.READ-ONLY.Attribute has mutability of "readOnly". location The URI of theResourceresource being returned. This value MUST be the same as the Location HTTP response header.READ- ONLY.Attribute has mutability of "readOnly". version The version of theResourceresource being returned. This value must be the same as the ETag HTTP response header.READ- ONLY.Attribute has mutability of "readOnly". attributes The names of the attributes to remove from theResourceresource during a PATCH operation. 5.2. "schemas" Attribute SCIM supports resources of different types, with extensible schemas. Each resource MUST be indicated using fully qualified URLs.When a representation does not explicitly provide support for indicating a schema, such as JSON, a schemasA "schemas" attribute is used to indicate the version of SCIM schema as well as any schema extensions. schemas The schemas attribute is an array ofStringsstrings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard"enterprise"enterprise-user extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. The schemas attribute for aResourceresource MUST only contain values defined as "schema" and "schemaExtensions" for theResource's Resource Type.resource's resource type. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior. REQUIRED. 6. SCIM User Schema SCIM provides a schema for representing Users, identified using the following URI:'urn:scim:schemas:core:2.0:User'."urn:scim:schemas:core:2.0:User". The following attributes are defined in addition to those attributes defined in SCIM Core Schema: 6.1. Singular Attributes userName Unique identifier for theUser,user, typically used by the user to directly authenticate to the service provider. Often displayed to the user as their unique identifier within the system (as opposed to id or externalId, which are generally opaque and not user-friendly identifiers). Each User MUST include a non-empty userName value. This identifier MUST be unique across theService Consumer'sclient's entire set of Users.REQUIRED.RECOMMENDED. name The components of theUser'suser's real name.ProvidersService providers MAY return just the full name as a single string in the formatted sub- attribute, or they MAY return just the individual component attributes using the other sub-attributes, or they MAY return both. If both variants are returned, they SHOULD be describing the same name, with the formatted name indicating how the component attributes should be combined. formatted The full name, including all middle names, titles, and suffixes as appropriate, formatted for display (e.g.Ms."Ms. Barbara Jane Jensen,III.).III."). familyName The family name of the User, or"Last Name"last name in most Western languages (e.g.Jensen"Jensen" given the full nameMs."Ms. Barbara Jane Jensen,III.).III."). givenName The given name of the User, or"First Name"first name in most Western languages (e.g.Barbara"Barbara" given the full nameMs."Ms. Barbara Jane Jensen,III.).III."). middleName The middle name(s) of the User (e.g.Jane"Jane" given the full nameMs."Ms. Barbara Jane Jensen,III.).III."). honorificPrefix The honorific prefix(es) of the User, or"Title"title in most Western languages (e.g.Ms."Ms." given the full nameMs."Ms. Barbara Jane Jensen,III.).III."). honorificSuffix The honorific suffix(es) of the User, or"Suffix"suffix in most Western languages (e.g.III."III." given the full nameMs."Ms. Barbara Jane Jensen,III.).III."). displayName The name of theUser,user, suitable for display to end-users. EachUseruser returned MAY include a non-empty displayName value. The name SHOULD be the full name of the User being described if known (e.g.Babs Jensen"Babs Jensen" orMs."Ms. Barbara J Jensen,III),III"), but MAY be a username or handle, if that is all that is available (e.g.bjensen)."bjensen"). The value provided SHOULD be the primary textual label by which this User is normally displayed by theService Providerservice provider when presenting it to end-users. nickName The casual way to address the user in real life, e.g. "Bob" or "Bobby" instead of "Robert". This attribute SHOULD NOT be used to represent a User's username (e.g. bjensen or mpepperidge). profileUrl A fully qualified URL to a page representing theUser'suser's online profile. title The user's title, such as "VicePresident."President". userType Used to identify the organization to user relationship. Typical values used might be "Contractor", "Employee", "Intern", "Temp", "External", and "Unknown" but any value may be used. preferredLanguage Indicates theUser'suser's preferred written or spoken language. Generally used for selecting a localized User interface. Valid values are concatenation of the ISO 639-1 two letter language code[15],per [ISO639-2], an underscore, and the ISO 3166-1 2 letter countrycode [16];code[ISO3166]; e.g., 'en_US' specifies the language English and country US. locale Used to indicate the User's default location for purposes of localizing items such as currency, date time format, numerical representations, etc. A locale value is a concatenation of the ISO 639-1 two letter languagecode [17],code[ISO639-2], an underscore, and the ISO 3166-1 2 letter countrycode [18];code[ISO3166]; e.g., 'en_US' specifies the language English and country US. timezone The User's time zone in the "Olson" timezone databaseformat [19];format[Olson-TZ]; e.g.,'America/Los_Angeles'. active A Boolean value indicating theUser'suser's administrative status. The definitive meaning of this attribute is determined by theService Provider thoughservice provider. As a typical example, a value of true infers theUser is, for example,user is able to login while a value of false implies theUser'suser's account has been suspended. password TheUser'suser's clear text password. This attribute is intended to be used as a means to specify an initial password when creating a new User or to reset an existing User's password.No accepted standards exist to convey password policies, hence Consumers should expect Service ProvidersPassword policies and the ability toreject password values. Thisupdate or set passwords are out of scope of this document. The mutability of this attribute is "writeOnly" indicating the value MUSTneverNOT be returned by aService Providerservice provider in any form. 6.2. Multi-valued Attributes The following multi-valued attributes are defined. emails E-mail addresses for the User. The value SHOULD be canonicalized by theService Provider,service provider, e.g.bjensen@example.com"bjensen@example.com" instead ofbjensen@EXAMPLE.COM."bjensen@EXAMPLE.COM". CanonicalTypetype values ofwork, home,"work", "home", andother."other". phoneNumbers Phone numbers for theUser.user. The value SHOULD be canonicalized by theService Providerservice provider according to format inRFC3966 [20][RFC3966] e.g. 'tel:+1-201-555-0123'. CanonicalTypetype values ofwork, home, mobile, fax, pager"work", "home", "mobile", "fax", "pager", andother."other". ims Instant messaging address for theUser.user. No official canonicalization rules exist for all instant messaging addresses, butService Providersservice providers SHOULD, when appropriate, remove all whitespace and convert the address to lowercase. Instead of the standardCanonical Valuescanonical values for type, this attribute defines the followingCanonical Valuescanonical values to represent currently popular IM services:aim, gtalk, icq, xmpp, msn, skype, qq,"aim", "gtalk", "icq", "xmpp", "msn", "skype", "qq", "yahoo", andyahoo."other". photos URL of a photo of the User. The value SHOULD be a canonicalized URL, and MUST point to an image file (e.g. a GIF, JPEG, or PNG image file) rather than to a web page containing an image. ServiceProvidersproviders MAY return the same image at different sizes, though it is recognized that no standard for describing images of various sizes currently exists. Note that this attribute SHOULD NOT be used to send down arbitrary photos taken by thisUser,user, but specifically profile photos of theUseruser suitable for display when describing theUser.user. Instead of the standardCanonical Valuescanonical values for type, this attribute defines the followingCanonical Valuescanonical values to represent popular photo sizes:photo, thumbnail."photo", "thumbnail". addresses A physical mailing address for thisUser.user. CanonicalType Valuestype values ofwork, home,"work", "home", andother."other". The value attribute is a complex type with the following sub-attributes. AllSub-Attributessub- attributes are OPTIONAL. formatted The full mailing address, formatted for display or use with a mailing label. This attribute MAY contain newlines. streetAddress The full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information. This attribute MAY contain newlines. locality The city or locality component. region The state or region component. postalCode The zipcode or postal code component. country The country name component. When specified the value MUST be in ISO 3166-1 alpha 2 "short" codeformat [21];format[ISO3166]; e.g., the United States and Sweden are "US" and "SE", respectively. groups A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated. The values are meant to enable expression of common group or role based access control models, although no explicit authorization model is defined. It is intended that the semantics of group membership and any behavior or authorization granted as a result of membership are defined by theService Provider.service provider. TheCanonicalcanonical types "direct" and "indirect" are defined to describe how the group membership was derived. Direct group membership indicates theUseruser is directly associated with the group and SHOULD indicate thatConsumersclients may modify membership through theGroup Resource."Group" resource. Indirect membership indicatesUseruser membership is transitive or dynamic and implies thatConsumersclients cannot modify indirect group membership through theGroup"Group" resource but MAY modify direct group membership through theGroup"Group" resource which MAY influence indirect memberships. If the SCIMService Providerservice provider exposes a Group resource, the "value" sub-attribute MUST be the "id" and the "$ref" sub-attribute must be the URI of the correspondingGroup"Group" resources to which the user belongs. Since this attributeis read-only,has a mutability of "readOnly", group membership changes MUST be applied via the Group Resource (Section 8).READ-ONLY.The attribute has a mutability of "readOnly". entitlements A list of entitlements for theUseruser that represent a thing theUseruser has.That is, anAn entitlementisMAY be an additional right to a thing,objectobject, or service. No vocabulary or syntax is specified andService Providers/Consumersservice providers and clients are expected to encode sufficient information in the value so as to accurately and without ambiguity determine what theUseruser has access to. This value has NO canonical types though type may be useful as a means to scope entitlements. roles A list of roles for theUseruser that collectively represent who theUseruser is; e.g.,'Student', "Faculty"."Student, Faculty". No vocabulary or syntax is specified though it is expected that a role value is a String or label representing a collection of entitlements. This value has NO canonical types. x509Certificates A list of certificates issued to the User. Values are Binary (Section 3.1.6) and DER encoded x509. This value has NO canonical types. 7. SCIM Enterprise User Schema Extension The following SCIM extension defines attributes commonly used in representing users that belong to, or act on behalf of a business or enterprise. The enterprise user extension is identified using the following schema URI:'urn:scim:schemas:extension:enterprise:2.0:User'."urn:scim:schemas:extension:enterprise:2.0:User". The following Singular Attributes are defined: employeeNumber Numeric or alphanumeric identifier assigned to a person, typically based on order of hire or association with an organization. costCenter Identifies the name of a cost center. organization Identifies the name of an organization. division Identifies the name of a division. department Identifies the name of a department. manager TheUser'suser's manager. A complex type that optionally allowsService Providersservice providers to represent organizational hierarchy by referencing the "id" attribute of another User.managerIdvalue Theid"id" of the SCIM resource representing theUser'suser's manager.REQUIRED.RECOMMENDED. $ref The URI of the SCIM resource representing the User's manager.REQUIRED.RECOMMENDED. displayName The displayName of theUser'suser's manager. This attribute is OPTIONAL andREAD-ONLY.mutability is "readOnly". 8. SCIM Group Schema SCIM provides a schema for representing groups, identified using the following schema URI:'urn:scim:schemas:core:2.0:Group'."urn:scim:schemas:core:2.0:Group". Group resources are meant to enable expression of commonGroupgroup or role based access control models, although no explicit authorization model is defined. It is intended that the semantics of group membership and any behavior or authorization granted as a result of membership are defined by theService Providerservice provider are considered out of scope for this specification. The followingSingular Attributesingular attribute is defined in addition to the common attributes defined in SCIMCore Schema:core schema: displayName A human readable name for the Group. REQUIRED. The following multi-valued attribute is defined in addition to the common attributes defined in SCIM Core Schema: members A list of members of the Group.Canonical Types "User" and "Group"While values MAY be added or removed, sub-attributes of members areREAD-ONLY."immutable". The "value" sub-attribute must be the "id" and the "$ref"sub-attributesub- attribute must be the URI of a SCIM resource, either aUser,"User", or aGroup."Group". The intention of theGroup"Group" type is to allow theService Providerservice provider to support nestedGroups.groups. ServiceProvidersproviders MAY requireConsumersclients to provide a non-empty members value based on the "required" sub attribute of the "members" attribute inGroup Resource Schema.the "Group" resource schema. 9. Service Provider Configuration Schema SCIM provides a schema for representing theService Provider'sservice provider's configuration identified using the following schema URI:'urn:scim:schemas:core:2.0:ServiceProviderConfig'"urn:scim:schemas:core:2.0:ServiceProviderConfig" TheService Provider Configuration Resourceservice provider configuration resource enables aService Providerservice provider toexpose its compliance with thediscovery of SCIM specification features in a standardized form as well as provide additional implementation details toConsumers.clients. All attributes areREAD-ONLY.READ-ONLY (a mutability of "readOnly"). Unlike other coreResources,resources, the "id" attribute is not required for theService Provider Configuration Resource.service provider configuration resource. The following Singular Attributes are defined in addition to the common attributes defined in Core Schema: documentationUrl An HTTP addressable URL pointing to theService Provider'sservice provider's human consumable help documentation. patch A complex type that specifies PATCH configuration options. REQUIRED. supported Boolean value specifying whether the operation is supported. REQUIRED. bulk A complex type that specifies BULK configuration options. REQUIRED supported Boolean value specifying whether the operation is supported. REQUIRED. maxOperations An integer value specifying the maximum number of operations. REQUIRED. maxPayloadSize An integer value specifying the maximum payload size in bytes. REQUIRED. filter A complex type that specifies FILTER options. REQUIRED. supported Boolean value specifying whether the operation is supported. REQUIRED. maxResults Integer value specifying the maximum number ofResourcesresources returned in a response. REQUIRED. changePassword A complex type that specifies Change Password configuration options. REQUIRED. supported Boolean value specifying whether the operation is supported. REQUIRED. sort A complex type that specifies Sort configuration options. REQUIRED. supported Boolean value specifying whether sorting is supported. REQUIRED. etag A complex type that specifies Etag configuration options. REQUIRED. supported Boolean value specifying whether the operation is supported. REQUIRED. The following multi-valued attribute is defined in addition to the common attributes defined inCore Schema:core schema: authenticationSchemes A complex type that specifies supported Authentication Scheme properties.Instead of the standard Canonical Values for type, thisThis attribute defines the followingCanonical Valuescanonical values to represent common schemes:oauth, oauth2, oauthbearertoken, httpbasic,"oauth", "oauth2", "oauthbearertoken", "httpbasic", andhttpdigest."httpdigest". To enable seamless discovery of configuration, theService Providerservice provider SHOULD, with the appropriate security considerations, make the authenticationSchemes attribute publicly accessible without prior authentication. REQUIRED. name The common authentication scheme name; e.g., HTTP Basic. REQUIRED. description A description of the Authentication Scheme. REQUIRED. specUrl A HTTP addressable URL pointing to the Authentication Scheme's specification. OPTIONAL. documentationUrl A HTTP addressable URL pointing to the Authentication Scheme's usage documentation. OPTIONAL. 10.Resource TypeResourceType Schema TheResource Type"ResourceType" schema specifies the meta-data about a resource type. ResourceType. Resource Type Resourcestype resources are READ-ONLY and identified using the following schema URI:'urn:scim:schemas:core:2.0:ResourceType'."urn:scim:schemas:core:2.0:ResourceType". Unlike other coreResources,resources, allAttributesattributes are REQUIRED unless otherwisespecified, and thespecified. The "id" attribute is not required for theResource Type Resource.resource type resource. The following Singular Attributes are defined: id The resource type's server unique id. Often this is the same value as the "name" attribute. OPTIONAL name TheResource Typeresource type name. When applicableService Providersservice providers MUST specify the name specified in the core schema specification; e.g., "User" or "Group". This name is referenced by themeta.resourceType"meta.resourceType" attribute in all resources. description TheResource Type'sresource type's human readable description. When applicableService Providersservice providers MUST specify the description specified in the core schema specification. endpoint TheResource Type'sresource type's HTTP addressable endpoint relative to the Base URL; e.g.,/Users."/Users". schema TheResource Type'sresource type's primary schema URI; e.g.,urn:scim:schemas:core:2.0:User."urn:scim:schemas:core:2.0:User". This MUST be equal to the "id" attribute of theSchema.associated "Schema" resource. schemaExtensions A list of URIs of theResource Type'sresource type's schema extensions. OPTIONAL. schema The URI of an extended schema; e.g.,urn:edu:2.0:Staff."urn:edu:2.0:Staff". This MUST be equal to the "id" attribute of aSchema."Schema" resource. REQUIRED. required A Boolean value that specifies whether the schema extension is required for theResource Type.resource type. If true, aResourceresource of this type MUST include this schema extension and include any attributes declared as required in this schema extension. If false, aResourceresource of this type MAY omit this schema extension. REQUIRED. 11. Schema Schema TheSchema"Schema" schema specifies theAttribute(s)attribute(s) and meta-data that constitute aSchema."Schema" resource. SchemaResources are READ-ONLYresources have mutability of "readOnly" and identified using the following URI:'urn:scim:schemas:core:2.0:Schema'."urn:scim:schemas:core:2.0:Schema". Unlike other coreResourcesresources theSchema Resource"Schema" resource MAY contain a complex object within aSub-Attributesub-attribute and allAttributesattributes are REQUIRED unlessotherotherwise specified. The following Singular Attributes are defined: id The unique URI of the schema. When applicableService Providersservice providers MUST specify the URI specified in the core schema specification; e.g.,"urn:scim:core:2.0:User"."urn:scim:schemas:core:2.0:User". Unlike most other schemas, which use some sort of a GUID for the "id", theSchemaschema "id" is a URI so that it can be registered and is portable between differentService Providersservice providers andClients.clients. name TheSchema'sschema's human readable name. When applicableService Providersservice providers MUST specify the name specified in the core schema specification; e.g., "User" or "Group". OPTIONAL. description TheSchema'sschema's human readable description. When applicableService Providersservice providers MUST specify the description specified in the core schema specification. OPTIONAL. The following multi-valued attribute is defined: attributes A complex type that specifies the set ofResourceresource attributes. name The attribute's name. type The attribute's data type; e.g.,String."String". multiValued Boolean value indicating the attribute's plurality. description The attribute's human readable description. When applicableService Providersservice providers MUST specify the description specified in the core schema specification.readOnly A Boolean value that specifies if the attribute is mutable.required A Boolean value that specifies if the attribute is required. caseExact A Boolean value that specifies if the String attribute is case sensitive.referenceTypes The namesmutability A single keyword indicating what types ofthe Resource Types that maymodifications an attribute MAY accept as follows: readOnly The attribute MAY NOT bereferenced; e.g., User. This is only applicable for attributes that are of the "reference" data type.modified. readWrite Thefollowing multi-valued attributes are defined. There are no canonical type values definedattribute MAY be updated andthe primary value serves no useful purpose. subAttributes A list specifying the contained attributes. OPTIONAL. nameread at any time. DEFAULT. immutable Theattribute's name. typeattribute MAY be defined at resource creation (e.g. POST) or at record replacement via request (e.g. a PUT). Theattribute's data type; e.g., String. descriptionattribute MAY NOT be updated. writeOnly Theattribute's human readable description. When applicable Service Providers MUST specify the description specified inattribute MAY be updated at any time. Attribute values MAY NOT be returned (e.g. because thecore schema specification. readOnly A Booleanvaluethat specifies if the attributeismutable. requireda stored hash). Note: an attribute with mutability of "writeOnly" usually also has a returned setting of "never". returned ABoolean valuesingle keyword thatspecifies ifindicates when an attribute and associated values are returned in response to a GET request or in response to a PUT, POST, or PATCH request. Valid keywords are: always The attribute is always returned regardless of the contents of the "attributes" parameter. For example, "id" is always returned to identify a SCIM resource. never The attribute isrequired. caseExact A Boolean value that specifies ifnever returned. This may occur because theStringoriginal attribute value iscase sensitive. referenceTypes The names ofnot retained by theResource Types that mayservice provider (e.g. such as with a hashed value). A service provider MAY allow attributes to bereferenced; e.g., User. Thisused in a search filter. default The attribute isonly applicable for attributes thatreturned by default in all SCIM operation responses where attribute values areofreturned. If the"reference" data type. canonicalValues A collection of canonical values. When applicable Service Providers MUST specifyGET request "attributes" parameter is specified, attribute values are only returned if thecanonical types specifiedattribute is named in thecore schema specification; e.g.,"work","home". OPTIONAL. 12. JSON Representation 12.1. Minimal User Representationattributes parameter. DEFAULT. request Thefollowingattribute isa non-normative example of the minimal required SCIM representationreturned inJSON format. { "schemas": ["urn:scim:schemas:core:2.0:User"], "id": "2819c223-7f76-453a-919d-413861904646", "userName": "bjensen@example.com" "meta": { "resourceType": "User", "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff590\"", "location": "https://example.com/v1/Users/2819c223-7f76-453a-919d-413861904646" } } 12.2. Full User Representationresponse to any PUT, POST, or PATCH operations if the attribute was specified by the client (for example, the attribute was modified). Thefollowingattribute is returned in anon-normative exampleSCIM query operation only if specified in the "attributes" parameter. uniqueness A single keyword value that specifies how the service provider enforces uniqueness of attribute values. A server MAY reject an invalid value based on uniqueness by returning HTTP Response code 400 (Bad Request). A client MAY enforce uniqueness on the client-side to a greater degree than the service provider enforces. For example, a client could make a value unique while the server has uniqueness of "none". Valid keywords are: none The values are not intended to be unique in any way. DEFAULT. server The value SHOULD be unique within the context of thefully populatedcurrent SCIMrepresentationendpoint (or tenancy) but MAY not be globally unique (e.g. a "username", email address, or other server generated key or counter). No two resources on the same server SHOULD possess the same value. global The value SHOULD be globally unique (e.g. an email address, a GUID, or other value). No two resources on any server SHOULD possess the same value. referenceTypes The names of the resource types that may be referenced; e.g., "User". This is only applicable for attributes that are of the "reference" Section 3.1.7 data type. The following multi-valued attributes are defined. There are no canonical type values defined and the primary value serves no useful purpose. name The attribute's name. type The attribute's data type; e.g., String. description The attribute's human readable description. When applicable service providers MUST specify the description specified inJSON format. { "schemas": ["urn:scim:schemas:core:2.0:User"], "id": "2819c223-7f76-453a-919d-413861904646", "externalId": "701984", "userName": "bjensen@example.com", "name":the core schema specification. required A Boolean value that specifies if the attribute is required. caseExact A Boolean value that specifies if the String attribute is case sensitive. referenceTypes The names of the resource types that may be referenced; e.g., User. This is only applicable for attributes that are of the "reference" Section 3.1.7 data type. canonicalValues A collection of canonical values. When applicable service providers MUST specify the canonical types specified in the core schema specification; e.g.,"work","home". OPTIONAL. mutability A single keyword indicating what types of modifications an attribute MAY accept as follows: readOnly The attribute MAY NOT be modified. readWrite The attribute MAY be updated and read at any time. DEFAULT. immutable The attribute MAY be defined at resource creation (e.g. POST) or at record replacement via request (e.g. a PUT). The attribute MAY NOT be updated. writeOnly The attribute MAY be updated at any time. Attribute values MAY NOT be returned (e.g. because the value is a stored hash). Note: an attribute with mutability of "writeOnly" usually also has a returned setting of "never". returned A single keyword that indicates when an attribute and associated values are returned in response to a GET request or in response to a PUT, POST, or PATCH request. Valid keywords are: always The attribute is always returned regardless of the contents of the "attributes" parameter. For example, "id" is always returned to identify a SCIM resource. never The attribute is never returned. This may occur because the original attribute value is not retained by the service provider (e.g. such as with a hashed value). A service provider MAY allow attributes to be used in a search filter. default The attribute is returned by default in all SCIM operation responses where attribute values are returned. If the GET request "attributes" parameter is specified, attribute values are only returned if the attribute is named in the attributes parameter. DEFAULT. request The attribute is returned in response to any PUT, POST, or PATCH operations if the attribute was specified by the client (for example, the attribute was modified). The attribute is returned in a SCIM query operation only if specified in the "attributes" parameter. uniqueness A single keyword value that specifies how the service provider enforces uniqueness of attribute values. A server MAY reject an invalid value based on uniqueness by returning HTTP Response code 400 (Bad Request). A client MAY enforce uniqueness on the client-side to a greater degree than the service provider enforces. For example, a client could make a value unique while the server has uniqueness of "none". Valid keywords are: none The values are not intended to be unique in any way. DEFAULT. server The value SHOULD be unique within the context of the current SCIM endpoint (or tenancy) but MAY not be globally unique (e.g. a "username", email address, or other server generated key or counter). No two resources on the same server SHOULD possess the same value. global The value SHOULD be globally unique (e.g. an email address, a GUID, or other value). No two resources on any server SHOULD possess the same value. 12. JSON Representation 12.1. Minimal User Representation The following is a non-normative example of the minimal required SCIM representation in JSON format. { "schemas": ["urn:scim:schemas:core:2.0:User"], "id": "2819c223-7f76-453a-919d-413861904646", "userName": "bjensen@example.com", "meta": { "resourceType": "User", "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff590\"", "location": "https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646" } } 12.2. Full User Representation The following is a non-normative example of the fully populated SCIM representation in JSON format. { "schemas": ["urn:scim:schemas:core:2.0:User"], "id": "2819c223-7f76-453a-919d-413861904646", "externalId": "701984", "userName": "bjensen@example.com", "name": { "formatted": "Ms. Barbara J Jensen III", "familyName": "Jensen", "givenName": "Barbara", "middleName": "Jane", "honorificPrefix": "Ms.", "honorificSuffix": "III" }, "displayName": "Babs Jensen", "nickName": "Babs", "profileUrl": "https://login.example.com/bjensen", "emails": [ { "value": "bjensen@example.com", "type": "work", "primary": true }, { "value": "babs@jensen.org", "type": "home" } ], "addresses": [ { "type": "work", "streetAddress": "100 Universal City Plaza", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "USA", "formatted": "100 Universal City Plaza\nHollywood, CA 91608 USA", "primary": true }, { "type": "home", "streetAddress": "456 Hollywood Blvd", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "USA", "formatted": "456 Hollywood Blvd\nHollywood, CA 91608 USA" } ], "phoneNumbers": [ { "value": "555-555-5555", "type": "work" }, { "value": "555-555-4444", "type": "mobile" } ], "ims": [ { "value": "someaimhandle", "type": "aim" } ], "photos": [ { "value": "https://photos.example.com/profilephoto/72930000000Ccne/F", "type": "photo" }, { "value": "https://photos.example.com/profilephoto/72930000000Ccne/T", "type": "thumbnail" } ], "userType": "Employee", "title": "Tour Guide", "preferredLanguage":"en_US", "locale": "en_US", "timezone": "America/Los_Angeles", "active":true, "password":"t1meMa$heen", "groups": [ { "value": "e9e30dba-f08f-4109-8486-d5c6a331660a", "$ref": "https://example.com/v2/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a", "display": "Tour Guides" }, { "value": "fc348aa8-3835-40eb-a20b-c726e15c55b5", "$ref": "https://example.com/v2/Groups/fc348aa8-3835-40eb-a20b-c726e15c55b5", "display": "Employees" }, { "value": "71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7", "$ref": "https://example.com/v2/Groups/71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7", "display": "US Employees" } ], "x509Certificates": [ { "value": "MIIDQzCCAqygAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwTjELMAkGA1UEBhMCVVMx EzARBgNVBAgMCkNhbGlmb3JuaWExFDASBgNVBAoMC2V4YW1wbGUuY29tMRQwEgYD VQQDDAtleGFtcGxlLmNvbTAeFw0xMTEwMjIwNjI0MzFaFw0xMjEwMDQwNjI0MzFa MH8xCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRQwEgYDVQQKDAtl eGFtcGxlLmNvbTEhMB8GA1UEAwwYTXMuIEJhcmJhcmEgSiBKZW5zZW4gSUlJMSIw IAYJKoZIhvcNAQkBFhNiamVuc2VuQGV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0B AQEFAAOCAQ8AMIIBCgKCAQEA7Kr+Dcds/JQ5GwejJFcBIP682X3xpjis56AK02bc 1FLgzdLI8auoR+cC9/Vrh5t66HkQIOdA4unHh0AaZ4xL5PhVbXIPMB5vAPKpzz5i PSi8xO8SL7I7SDhcBVJhqVqr3HgllEG6UClDdHO7nkLuwXq8HcISKkbT5WFTVfFZ zidPl8HZ7DhXkZIRtJwBweq4bvm3hM1Os7UQH05ZS6cVDgweKNwdLLrT51ikSQG3 DYrl+ft781UQRIqxgwqCfXEuDiinPh0kkvIi5jivVu1Z9QiwlYEdRbLJ4zJQBmDr SGTMYn4lRc2HgHO4DqB/bnMVorHB0CC6AV1QoFK4GPe1LwIDAQABo3sweTAJBgNV HRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZp Y2F0ZTAdBgNVHQ4EFgQU8pD0U0vsZIsaA16lL8En8bx0F/gwHwYDVR0jBBgwFoAU dGeKitcaF7gnzsNwDx708kqaVt0wDQYJKoZIhvcNAQEFBQADgYEAA81SsFnOdYJt Ng5Tcq+/ByEDrBgnusx0jloUhByPMEVkoMZ3J7j1ZgI8rAbOkNngX8+pKfTiDz1R C4+dx8oU6Za+4NJXUjlL5CvV6BEYb1+QAEJwitTVvxB/A67g42/vzgAtoRUeDov1 +GFiBZ+GNF/cAYKcMtGcrs2i97ZkJMo=" } ], "meta": { "resourceType": "User", "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"a330bc54f0671c9\"", "location": "https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646" } } 12.3. Enterprise User Extension Representation The following is a non-normative example of the fully populated User using the enterprise User extension in JSON format. { "schemas": ["urn:scim:schemas:core:2.0:User", "urn:scim:schemas:extension:enterprise:2.0:User"], "id": "2819c223-7f76-453a-919d-413861904646", "externalId": "701984", "userName": "bjensen@example.com", "name": { "formatted": "Ms. Barbara J Jensen III", "familyName": "Jensen", "givenName": "Barbara", "middleName": "Jane", "honorificPrefix": "Ms.", "honorificSuffix": "III" }, "displayName": "Babs Jensen", "nickName": "Babs", "profileUrl": "https://login.example.com/bjensen", "emails": [ { "value": "bjensen@example.com", "type": "work", "primary": true }, { "value": "babs@jensen.org", "type": "home" } ], "addresses": [ { "streetAddress": "100 Universal City Plaza", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "USA", "formatted": "100 Universal City Plaza\nHollywood, CA 91608 USA", "type": "work", "primary": true }, { "streetAddress": "456 Hollywood Blvd", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "USA", "formatted": "456 Hollywood Blvd\nHollywood, CA 91608 USA", "type": "home" } ], "phoneNumbers": [ { "value": "555-555-5555", "type": "work" }, { "value": "555-555-4444", "type": "mobile" } ], "ims": [ { "value": "someaimhandle", "type": "aim" } ], "photos": [ { "value": "https://photos.example.com/profilephoto/72930000000Ccne/F", "type": "photo" }, { "value": "https://photos.example.com/profilephoto/72930000000Ccne/T", "type": "thumbnail" } ], "userType": "Employee", "title": "Tour Guide", "preferredLanguage":"en_US", "locale": "en_US", "timezone": "America/Los_Angeles", "active":true, "password":"t1meMa$heen", "groups": [ { "value": "e9e30dba-f08f-4109-8486-d5c6a331660a", "$ref": "/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a", "display": "Tour Guides" }, { "value": "fc348aa8-3835-40eb-a20b-c726e15c55b5", "$ref": "/Groups/fc348aa8-3835-40eb-a20b-c726e15c55b5", "display": "Employees" }, { "value": "71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7", "$ref": "/Groups/71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7", "display": "US Employees" } ], "x509Certificates": [ { "value": "MIIDQzCCAqygAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwTjELMAkGA1UEBhMCVVMx EzARBgNVBAgMCkNhbGlmb3JuaWExFDASBgNVBAoMC2V4YW1wbGUuY29tMRQwEgYD VQQDDAtleGFtcGxlLmNvbTAeFw0xMTEwMjIwNjI0MzFaFw0xMjEwMDQwNjI0MzFa MH8xCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRQwEgYDVQQKDAtl eGFtcGxlLmNvbTEhMB8GA1UEAwwYTXMuIEJhcmJhcmEgSiBKZW5zZW4gSUlJMSIw IAYJKoZIhvcNAQkBFhNiamVuc2VuQGV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0B AQEFAAOCAQ8AMIIBCgKCAQEA7Kr+Dcds/JQ5GwejJFcBIP682X3xpjis56AK02bc 1FLgzdLI8auoR+cC9/Vrh5t66HkQIOdA4unHh0AaZ4xL5PhVbXIPMB5vAPKpzz5i PSi8xO8SL7I7SDhcBVJhqVqr3HgllEG6UClDdHO7nkLuwXq8HcISKkbT5WFTVfFZ zidPl8HZ7DhXkZIRtJwBweq4bvm3hM1Os7UQH05ZS6cVDgweKNwdLLrT51ikSQG3 DYrl+ft781UQRIqxgwqCfXEuDiinPh0kkvIi5jivVu1Z9QiwlYEdRbLJ4zJQBmDr SGTMYn4lRc2HgHO4DqB/bnMVorHB0CC6AV1QoFK4GPe1LwIDAQABo3sweTAJBgNV HRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZp Y2F0ZTAdBgNVHQ4EFgQU8pD0U0vsZIsaA16lL8En8bx0F/gwHwYDVR0jBBgwFoAU dGeKitcaF7gnzsNwDx708kqaVt0wDQYJKoZIhvcNAQEFBQADgYEAA81SsFnOdYJt Ng5Tcq+/ByEDrBgnusx0jloUhByPMEVkoMZ3J7j1ZgI8rAbOkNngX8+pKfTiDz1R C4+dx8oU6Za+4NJXUjlL5CvV6BEYb1+QAEJwitTVvxB/A67g42/vzgAtoRUeDov1 +GFiBZ+GNF/cAYKcMtGcrs2i97ZkJMo=" } ], "urn:scim:schemas:extension:enterprise:2.0:User": { "employeeNumber": "701984", "costCenter": "4130", "organization": "Universal Studios", "division": "Theme Park", "department": "Tour Operations", "manager": { "managerId": "26118915-6090-4610-87e4-49d8ca9f808d", "$ref": "/Users/26118915-6090-4610-87e4-49d8ca9f808d", "displayName": "John Smith" } }, "meta": { "resourceType": "User", "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff591\"", "location": "https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646" } } 12.4. Group Representation The following is a non-normative example of SCIM Group representation in JSON format. { "schemas": ["urn:scim:schemas:core:2.0:Group"], "id": "e9e30dba-f08f-4109-8486-d5c6a331660a", "displayName": "Tour Guides", "members": [ { "value": "2819c223-7f76-453a-919d-413861904646", "$ref": "https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646", "display": "Babs Jensen" }, { "value": "902c246b-6245-4190-8e05-00816be7344a", "$ref": "https://example.com/v2/Users/902c246b-6245-4190-8e05-00816be7344a", "display": "Mandy Pepperidge" } ], "meta": { "resourceType": "Group", "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff592\"", "location": "https://example.com/v2/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a" } } 12.5. Service Provider Configuration Representation The following is a non-normative example of the SCIM service provider configuration representation in JSON format. { "schemas": ["urn:scim:schemas:core:2.0:ServiceProviderConfig"], "documentationUrl":"http://example.com/help/scim.html", "patch": { "supported":true }, "bulk": { "supported":true, "maxOperations":1000, "maxPayloadSize":1048576 }, "filter": { "supported":true, "maxResults": 200 }, "changePassword" : { "supported":true }, "sort": { "supported":true }, "etag": { "supported":true }, "authenticationSchemes": [ { "name": "OAuth Bearer Token", "description": "Authentication Scheme using the OAuth Bearer Token Standard", "specUrl":"http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-01", "documentationUrl":"http://example.com/help/oauth.html", "type":"oauthbearertoken", "primary": true }, { "name": "HTTP Basic", "description": "Authentication Scheme using the Http Basic Standard", "specUrl":"http://www.ietf.org/rfc/rfc2617.txt", "documentationUrl":"http://example.com/help/httpBasic.html", "type":"httpbasic" } ], "meta": { "location":"https://example.com/v2/ServiceProviderConfig", "resourceType": "ServiceProviderConfig", "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff594\"" } } 12.6. Resource Type Representation The following is a non-normative example of the SCIM resource type representation in JSON format. { "schemas": ["urn:scim:schemas:core:2.0:ResourceType"], "id":"User", "name":"User", "endpoint": "/Users", "description": "Core User", "schema": "urn:scim:schemas:core:2.0:User", "schemaExtensions": [ { "schema": "urn:scim:schemas:extension:enterprise:2.0:EnterpriseUser", "required": true } ], "meta": { "location":"https://example.com/v2/ResourceTypes/User", "resourceType": "ResourceType", "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff595\"" } } 12.7. Schema Representation The following is intended as normative example of the SCIM Schema representation in JSON format. Where permitted individual values and schema MAY change. Included but not limited to, are schemas for User, Group, and enterprise user. {[ { "id" : "urn:scim:schemas:core:2.0:User", "name" : "User", "description" : "Core User", "attributes" : [ { "name" : "id", "type" : "string", "multiValued" : false, "description" : "Unique identifier for the SCIM resource as defined by the Service Provider. Each representation of the resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of resources. It MUST be a stable, non-reassignable identifier that does not change when the same resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. REQUIRED.", "required" : true, "caseExact" : false, "mutability" : "readOnly", "returned" : "always", "uniqueness" : "server" }, { "name" : "externalId", "type" : "string", "multiValued" : false, "description" : "An identifier for the Resource as defined by the Service Consumer.", "required" : true, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "userName", "type" : "string", "multiValued" : false, "description" : "Unique identifier for the User typically used by the user to directly authenticate to the service provider. Each User MUST include a non-empty userName value. This identifier MUST be unique across the Service Consumer's entire set of Users. REQUIRED", "required" : true, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "server" }, { "name" : "name", "type" : "complex", "multiValued" : false, "description" : "The components of the user's real name. Providers MAY return just the full name as a single string in the formatted sub-attribute, or they MAY return just the individual component attributes using the other sub-attributes, or they MAY return both. If both variants are returned, they SHOULD be describing the same name, with the formatted name indicating how the component attributes should be combined.", "required" : false, "caseExact" : false, "subAttributes" : [ { "name" : "formatted", "type" : "string", "multiValued" : false, "description" : "The full name, including all middle names, titles, and suffixes as appropriate, formatted for display (e.g. Ms. Barbara J Jensen, III.).", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "familyName", "type" : "string", "multiValued" : false, "description" : "The family name of the User, or Last Name in most Western languages (e.g. Jensen given the full name Ms. Barbara J Jensen, III.).", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "givenName", "type" : "string", "multiValued" : false, "description" : "The given name of the User, or First Name in most Western languages (e.g. Barbara given the full name Ms. Barbara J Jensen, III.).", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "middleName", "type" : "string", "multiValued" : false, "description" : "The middle name(s) of the User (e.g. Robert given the full name Ms. Barbara J Jensen, III.).", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "honorificPrefix", "type" : "string", "multiValued" : false, "description" : "The honorific prefix(es) of the User, or Title in most Western languages (e.g. Ms. given the full name Ms. Barbara J Jensen, III.).", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "honorificSuffix", "type" : "string", "multiValued" : false, "description" : "The honorific suffix(es) of the User, or Suffix in most Western languages (e.g. III. given the full name Ms. Barbara J Jensen, III.).", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "displayName", "type" : "string", "multiValued" : false, "description" : "The name of the User, suitable for display to end-users. The name SHOULD be the full name of the User being described if known", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "nickName", "type" : "string", "multiValued" : false, "description" : "The casual way to address the user in real life, e.g. \"Bob\" or \"Bobby\" instead of \"Robert\". This attribute SHOULD NOT be used to represent a User's username (e.g. bjensen or mpepperidge)", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "profileUrl", "type" : "string", "multiValued" : false, "description" : "A fully qualified URL to a page representing the User's online profile", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "title", "type" : "string", "multiValued" : false, "description" : "The user's title, such as \"Vice President.\"", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "userType", "type" : "string", "multiValued" : false, "description" : "Used to identify the organization to user relationship. Typical values used might be \"Contractor\", \"Employee\", \"Intern\", \"Temp\", \"External\", and \"Unknown\" but any value may be used ", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "preferredLanguage", "type" : "string", "multiValued" : false, "description" : "Indicates the User's preferred written or spoken language. Generally used for selecting a localized User interface. e.g., 'en_US' specifies the language English and country US.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "locale", "type" : "string", "multiValued" : false, "description" : "Used to indicate the User's default location for purposes of localizing items such as currency, date time format, numerical representations, etc.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "timezone", "type" : "string", "multiValued" : false, "description" : "The User's time zone in the \"Olson\" timezone database format [19]; e.g.,'America/Los_Angeles'", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "active", "type" : "boolean", "multiValued" : false, "description" : "A Boolean value indicating the User's administrative status.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "password", "type" : "string", "multiValued" : false, "description" : "The User's clear text password. This attribute is intended to be used as a means to specify an initial password when creating a new User or to reset an existing User's password.", "required" : false, "caseExact" : false, "mutability" : "writeOnly", "returned" : "never", "uniqueness" : "none" }, { "name" : "emails", "type" : "complex", "multiValued" : true, "description" : "E-mail addresses for the user. The value SHOULD be canonicalized by the Service Provider, e.g. bjensen@example.com instead of bjensen@EXAMPLE.COM. Canonical Type values of work, home, and other.", "required" : false, "caseExact" : false, "subAttributes" : [ { "name" : "value", "type" : "string", "multiValued" : false, "description" : "E-mail addresses for the user. The value SHOULD be canonicalized by the Service Provider, e.g. bjensen@example.com instead of bjensen@EXAMPLE.COM. Canonical Type values of work, home, and other.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "display", "type" : "string", "multiValued" : false, "description" : "A human readable name, primarily used for display purposes. READ-ONLY.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "type", "type" : "string", "multiValued" : false, "description" : "A label indicating the attribute's function; e.g., 'work' or 'home'.", "required" : false, "caseExact" : false, "canonicalValues" : [ "work", "home", "other" ], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "primary", "type" : "boolean", "multiValued" : false, "description" : "A Boolean value indicating the 'primary' or preferred attribute value for this attribute, e.g. the preferred mailing address or primary e-mail address. The primary attribute value 'true' MUST appear no more than once.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "phoneNumbers", "type" : "complex", "multiValued" : true, "description" : "Phone numbers for the User. The value SHOULD be canonicalized by the Service Provider according to format in RFC3966 [20] e.g. 'tel:+1-201-555-0123'. Canonical Type values of work, home, mobile, fax, pager and other.", "required" : false, "caseExact" : false, "subAttributes" : [ {"formatted": "Ms. Barbara J Jensen III", "familyName": "Jensen", "givenName": "Barbara", "middleName": "Jane", "honorificPrefix": "Ms.", "honorificSuffix": "III""name" : "value", "type" : "string", "multiValued" : false, "description" : "Phone number of the User", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" },"displayName": "Babs Jensen", "nickName": "Babs", "profileUrl": "https://login.example.com/bjensen", "emails": [{"value": "bjensen@example.com", "type": "work", "primary": true"name" : "display", "type" : "string", "multiValued" : false, "description" : "A human readable name, primarily used for display purposes. READ-ONLY.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "babs@jensen.org", "type": "home" } ], "addresses":"name" : "type", "type" : "string", "multiValued" : false, "description" : "A label indicating the attribute's function; e.g., 'work' or 'home' or 'mobile' etc.", "required" : false, "caseExact" : false, "canonicalValues" : [{ "type":"work","streetAddress": "100 Universal City Plaza", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "USA", "formatted": "100 Universal City Plaza\nHollywood, CA 91608 USA", "primary": true"home", "mobile", "fax", "pager", "other" ], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"type": "home", "streetAddress": "456 Hollywood Blvd", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "USA", "formatted": "456 Hollywood Blvd\nHollywood, CA 91608 USA""name" : "primary", "type" : "boolean", "multiValued" : false, "description" : "A Boolean value indicating the 'primary' or preferred attribute value for this attribute, e.g. the preferred phone number or primary phone number. The primary attribute value 'true' MUST appear no more than once.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ],"phoneNumbers":"mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "ims", "type" : "complex", "multiValued" : true, "description" : "Instant messaging addresses for the User.", "required" : false, "caseExact" : false, "subAttributes" : [ {"value": "555-555-5555", "type": "work""name" : "value", "type" : "string", "multiValued" : false, "description" : "Instant messaging address for the User.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "display", "type" : "string", "multiValued" : false, "description" : "A human readable name, primarily used for display purposes. READ-ONLY.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "555-555-4444", "type": "mobile" } ], "ims":"name" : "type", "type" : "string", "multiValued" : false, "description" : "A label indicating the attribute's function; e.g., 'aim', 'gtalk', 'mobile' etc.", "required" : false, "caseExact" : false, "canonicalValues" : [{ "value": "someaimhandle", "type": "aim" }"aim", "gtalk", "icq", "xmpp", "msn", "skype", "qq", "yahoo" ],"photos": [ { "value": "https://photos.example.com/profilephoto/72930000000Ccne/F", "type": "photo""mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "https://photos.example.com/profilephoto/72930000000Ccne/T", "type": "thumbnail""name" : "primary", "type" : "boolean", "multiValued" : false, "description" : "A Boolean value indicating the 'primary' or preferred attribute value for this attribute, e.g. the preferred messenger or primary messenger. The primary attribute value 'true' MUST appear no more than once.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ],"userType": "Employee", "title": "Tour Guide", "preferredLanguage":"en_US", "locale": "en_US", "timezone": "America/Los_Angeles", "active":true, "password":"t1meMa$heen", "groups":"mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "photos", "type" : "complex", "multiValued" : true, "description" : "URLs of photos of the User.", "required" : false, "caseExact" : false, "subAttributes" : [ {"value": "e9e30dba-f08f-4109-8486-d5c6a331660a", "$ref": "https://example.com/v1/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a", "display": "Tour Guides""name" : "value", "type" : "string", "multiValued" : false, "description" : "URL of a photo of the User.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "fc348aa8-3835-40eb-a20b-c726e15c55b5", "$ref": "https://example.com/v1/Groups/fc348aa8-3835-40eb-a20b-c726e15c55b5", "display": "Employees""name" : "display", "type" : "string", "multiValued" : false, "description" : "A human readable name, primarily used for display purposes. READ-ONLY.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7", "$ref": "https://example.com/v1/Groups/71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7", "display": "US Employees" } ], "x509Certificates":"name" : "type", "type" : "string", "multiValued" : false, "description" : "A label indicating the attribute's function; e.g., 'photo' or 'thumbnail'.", "required" : false, "caseExact" : false, "canonicalValues" : [ "photo", "thumbnail" ], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "MIIDQzCCAqygAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwTjELMAkGA1UEBhMCVVMx EzARBgNVBAgMCkNhbGlmb3JuaWExFDASBgNVBAoMC2V4YW1wbGUuY29tMRQwEgYD VQQDDAtleGFtcGxlLmNvbTAeFw0xMTEwMjIwNjI0MzFaFw0xMjEwMDQwNjI0MzFa MH8xCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRQwEgYDVQQKDAtl eGFtcGxlLmNvbTEhMB8GA1UEAwwYTXMuIEJhcmJhcmEgSiBKZW5zZW4gSUlJMSIw IAYJKoZIhvcNAQkBFhNiamVuc2VuQGV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0B AQEFAAOCAQ8AMIIBCgKCAQEA7Kr+Dcds/JQ5GwejJFcBIP682X3xpjis56AK02bc 1FLgzdLI8auoR+cC9/Vrh5t66HkQIOdA4unHh0AaZ4xL5PhVbXIPMB5vAPKpzz5i PSi8xO8SL7I7SDhcBVJhqVqr3HgllEG6UClDdHO7nkLuwXq8HcISKkbT5WFTVfFZ zidPl8HZ7DhXkZIRtJwBweq4bvm3hM1Os7UQH05ZS6cVDgweKNwdLLrT51ikSQG3 DYrl+ft781UQRIqxgwqCfXEuDiinPh0kkvIi5jivVu1Z9QiwlYEdRbLJ4zJQBmDr SGTMYn4lRc2HgHO4DqB/bnMVorHB0CC6AV1QoFK4GPe1LwIDAQABo3sweTAJBgNV HRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZp Y2F0ZTAdBgNVHQ4EFgQU8pD0U0vsZIsaA16lL8En8bx0F/gwHwYDVR0jBBgwFoAU dGeKitcaF7gnzsNwDx708kqaVt0wDQYJKoZIhvcNAQEFBQADgYEAA81SsFnOdYJt Ng5Tcq+/ByEDrBgnusx0jloUhByPMEVkoMZ3J7j1ZgI8rAbOkNngX8+pKfTiDz1R C4+dx8oU6Za+4NJXUjlL5CvV6BEYb1+QAEJwitTVvxB/A67g42/vzgAtoRUeDov1 +GFiBZ+GNF/cAYKcMtGcrs2i97ZkJMo=""name" : "primary", "type" : "boolean", "multiValued" : false, "description" : "A Boolean value indicating the 'primary' or preferred attribute value for this attribute, e.g. the preferred photo or thumbnail. The primary attribute value 'true' MUST appear no more than once.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ],"meta":"mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"resourceType": "User", "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"a330bc54f0671c9\"", "location": "https://example.com/v1/Users/2819c223-7f76-453a-919d-413861904646" } } 12.3. Enterprise User Extension Representation"name" : "addresses", "type" : "complex", "multiValued" : true, "description" : "A physical mailing address for this User, as described in (address Element). Canonical Type Values of work, home, and other. Thefollowingvalue attribute is anon-normative example of the fully populated User usingcomplex type with theenterprise User extension in JSON format. { "schemas": ["urn:scim:schemas:core:2.0:User", "urn:scim:schemas:extension:enterprise:2.0:User"], "id": "2819c223-7f76-453a-919d-413861904646", "externalId": "701984", "userName": "bjensen@example.com", "name":following sub-attributes.", "required" : false, "caseExact" : false, "subAttributes" : [ {"formatted": "Ms. Barbara J Jensen III", "familyName": "Jensen", "givenName": "Barbara", "middleName": "Jane", "honorificPrefix": "Ms.", "honorificSuffix": "III""name" : "formatted", "type" : "string", "multiValued" : false, "description" : "The full mailing address, formatted for display or use with a mailing label. This attribute MAY contain newlines.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" },"displayName": "Babs Jensen", "nickName": "Babs", "profileUrl": "https://login.example.com/bjensen", "emails": [{"value": "bjensen@example.com", "type": "work", "primary": true"name" : "streetAddress", "type" : "string", "multiValued" : false, "description" : "The full street address component, which may include house number, street name, PO BOX, and multi-line extended street address information. This attribute MAY contain newlines.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "babs@jensen.org", "type": "home" } ], "addresses": ["name" : "locality", "type" : "string", "multiValued" : false, "description" : "The city or locality component.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"streetAddress": "100 Universal City Plaza", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "USA", "formatted": "100 Universal City Plaza\nHollywood, CA 91608 USA", "type": "work", "primary": true"name" : "region", "type" : "string", "multiValued" : false, "description" : "The state or region component.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"streetAddress": "456 Hollywood Blvd", "locality": "Hollywood", "region": "CA", "postalCode": "91608", "country": "USA", "formatted": "456 Hollywood Blvd\nHollywood, CA 91608 USA", "type": "home" } ], "phoneNumbers": ["name" : "postalCode", "type" : "string", "multiValued" : false, "description" : "The zipcode or postal code component.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "555-555-5555", "type": "work""name" : "country", "type" : "string", "multiValued" : false, "description" : "The country name component.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "555-555-4444", "type": "mobile" } ], "ims":"name" : "type", "type" : "string", "multiValued" : false, "description" : "A label indicating the attribute's function; e.g., 'work' or 'home'.", "required" : false, "caseExact" : false, "canonicalValues" : [{ "value": "someaimhandle", "type": "aim""work", "home", "other" ], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ],"photos": [ { "value": "https://photos.example.com/profilephoto/72930000000Ccne/F", "type": "photo""mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "https://photos.example.com/profilephoto/72930000000Ccne/T", "type": "thumbnail" } ], "userType": "Employee", "title": "Tour Guide", "preferredLanguage":"en_US", "locale": "en_US", "timezone": "America/Los_Angeles", "active":true, "password":"t1meMa$heen", "groups":"name" : "groups", "type" : "complex", "multiValued" : true, "description" : "A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated", "required" : false, "caseExact" : false, "subAttributes" : [ {"value": "e9e30dba-f08f-4109-8486-d5c6a331660a", "$ref": "/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a", "display": "Tour Guides""name" : "value", "type" : "string", "multiValued" : false, "description" : "The identifier of the User's group.", "readOnly" : false, "required" : false, "caseExact" : false, "mutability" : "readOnly", "returned" : "default", "uniqueness" : "none" }, {"value": "fc348aa8-3835-40eb-a20b-c726e15c55b5", "$ref": "/Groups/fc348aa8-3835-40eb-a20b-c726e15c55b5", "display": "Employees""name" : "$ref", "type" : "string", "multiValued" : false, "description" : "The URI of the corresponding Group resource to which the user belongs", "readOnly" : false, "required" : false, "caseExact" : false, "mutability" : "readOnly", "returned" : "default", "uniqueness" : "none" }, {"value": "71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7", "$ref": "/Groups/71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7", "display": "US Employees" } ], "x509Certificates": ["name" : "display", "type" : "string", "multiValued" : false, "description" : "A human readable name, primarily used for display purposes. READ-ONLY.", "readOnly" : true, "required" : false, "caseExact" : false, "mutability" : "readOnly", "returned" : "default", "uniqueness" : "none" }, {"value": "MIIDQzCCAqygAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwTjELMAkGA1UEBhMCVVMx EzARBgNVBAgMCkNhbGlmb3JuaWExFDASBgNVBAoMC2V4YW1wbGUuY29tMRQwEgYD VQQDDAtleGFtcGxlLmNvbTAeFw0xMTEwMjIwNjI0MzFaFw0xMjEwMDQwNjI0MzFa MH8xCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRQwEgYDVQQKDAtl eGFtcGxlLmNvbTEhMB8GA1UEAwwYTXMuIEJhcmJhcmEgSiBKZW5zZW4gSUlJMSIw IAYJKoZIhvcNAQkBFhNiamVuc2VuQGV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0B AQEFAAOCAQ8AMIIBCgKCAQEA7Kr+Dcds/JQ5GwejJFcBIP682X3xpjis56AK02bc 1FLgzdLI8auoR+cC9/Vrh5t66HkQIOdA4unHh0AaZ4xL5PhVbXIPMB5vAPKpzz5i PSi8xO8SL7I7SDhcBVJhqVqr3HgllEG6UClDdHO7nkLuwXq8HcISKkbT5WFTVfFZ zidPl8HZ7DhXkZIRtJwBweq4bvm3hM1Os7UQH05ZS6cVDgweKNwdLLrT51ikSQG3 DYrl+ft781UQRIqxgwqCfXEuDiinPh0kkvIi5jivVu1Z9QiwlYEdRbLJ4zJQBmDr SGTMYn4lRc2HgHO4DqB/bnMVorHB0CC6AV1QoFK4GPe1LwIDAQABo3sweTAJBgNV HRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZp Y2F0ZTAdBgNVHQ4EFgQU8pD0U0vsZIsaA16lL8En8bx0F/gwHwYDVR0jBBgwFoAU dGeKitcaF7gnzsNwDx708kqaVt0wDQYJKoZIhvcNAQEFBQADgYEAA81SsFnOdYJt Ng5Tcq+/ByEDrBgnusx0jloUhByPMEVkoMZ3J7j1ZgI8rAbOkNngX8+pKfTiDz1R C4+dx8oU6Za+4NJXUjlL5CvV6BEYb1+QAEJwitTVvxB/A67g42/vzgAtoRUeDov1 +GFiBZ+GNF/cAYKcMtGcrs2i97ZkJMo=" }"name" : "type", "type" : "string", "multiValued" : false, "description" : "A label indicating the attribute's function; e.g., 'direct' or 'indirect'.", "readOnly" : false, "required" : false, "caseExact" : false, "canonicalValues" : [ "direct", "indirect" ],"urn:scim:schemas:extension:enterprise:2.0:User": { "employeeNumber": "701984", "costCenter": "4130", "organization": "Universal Studios", "division": "Theme Park", "department": "Tour Operations", "manager": { "managerId": "26118915-6090-4610-87e4-49d8ca9f808d", "$ref": "/Users/26118915-6090-4610-87e4-49d8ca9f808d", "displayName": "John Smith""mutability" : "readOnly", "returned" : "default", "uniqueness" : "none" } ], "mutability" : "readOnly", "returned" : "default", "uniqueness" : "none" },"meta":{"resourceType": "User", "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff591\"", "location": "https://example.com/v1/Users/2819c223-7f76-453a-919d-413861904646" } } 12.4. Group Representation The following is a non-normative example"name" : "entitlements", "type" : "complex", "multiValued" : true, "description" : "A list ofSCIM Group representation in JSON format. { "schemas": ["urn:scim:schemas:core:2.0:Group"], "id": "e9e30dba-f08f-4109-8486-d5c6a331660a", "displayName": "Tour Guides", "members":entitlements for the User that represent a thing the User has.", "required" : false, "caseExact" : false, "subAttributes" : [ {"value": "2819c223-7f76-453a-919d-413861904646", "$ref": "https://example.com/v1/Users/2819c223-7f76-453a-919d-413861904646", "display": "Babs Jensen""name" : "value", "type" : "string", "multiValued" : false, "description" : "The value of an entitlement.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"value": "902c246b-6245-4190-8e05-00816be7344a", "$ref": "https://example.com/v1/Users/902c246b-6245-4190-8e05-00816be7344a", "display": "Mandy Pepperidge" } ] "meta":"name" : "display", "type" : "string", "multiValued" : false, "description" : "A human readable name, primarily used for display purposes. READ-ONLY.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"resourceType": "Group", "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff592\"", "location": "https://example.com/v1/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a" } } 12.5. Service Provider Configuration Representation"name" : "type", "type" : "string", "multiValued" : false, "description" : "A label indicating the attribute's function.", "required" : false, "caseExact" : false, "canonicalValues" : [], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "primary", "type" : "boolean", "multiValued" : false, "description" : "A Boolean value indicating the 'primary' or preferred attribute value for this attribute. Thefollowing is a non-normative exampleprimary attribute value 'true' MUST appear no more than once.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "roles", "type" : "complex", "multiValued" : true, "description" : "A list of roles for theSCIM Service Provider Configuration representation in JSON format. { "schemas": ["urn:scim:schemas:core:2.0:ServiceProviderConfig"], "documentationUrl":"http://example.com/help/scim.html", "patch":User that collectively represent who the User is; e.g., 'Student', 'Faculty'.", "required" : false, "caseExact" : false, "subAttributes" : [ {"supported":true"name" : "value", "type" : "string", "multiValued" : false, "description" : "The value of a role.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" },"bulk":{"supported":true, "maxOperations":1000, "maxPayloadSize":1048576"name" : "display", "type" : "string", "multiValued" : false, "description" : "A human readable name, primarily used for display purposes. READ-ONLY.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" },"filter":{"supported":true, "maxResults": 200 }, "changePassword""name" : "type", "type" : "string", "multiValued" : false, "description" : "A label indicating the attribute's function.", "required" : false, "caseExact" : false, "canonicalValues" : [], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"supported":true"name" : "primary", "type" : "boolean", "multiValued" : false, "description" : "A Boolean value indicating the 'primary' or preferred attribute value for this attribute. The primary attribute value 'true' MUST appear no more than once.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" },"sort":{"supported":true"name" : "x509Certificates", "type" : "complex", "multiValued" : true, "description" : "A list of certificates issued to the User.", "required" : false, "caseExact" : false, "subAttributes" : [ { "name" : "value", "type" : "string", "multiValued" : false, "description" : "The value of a X509 certificate.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" },"etag":{"supported":true"name" : "display", "type" : "string", "multiValued" : false, "description" : "A human readable name, primarily used for display purposes. READ-ONLY.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" },"authenticationSchemes": [{"name": "OAuth Bearer Token", "description": "Authentication Scheme using"name" : "type", "type" : "string", "multiValued" : false, "description" : "A label indicating theOAuth Bearer Token Standard", "specUrl":"http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-01", "documentationUrl":"http://example.com/help/oauth.html", "type":"oauthbearertoken", "primary": trueattribute's function.", "required" : false, "caseExact" : false, "canonicalValues" : [], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"name": "HTTP Basic", "description": "Authentication Scheme using"name" : "primary", "type" : "boolean", "multiValued" : false, "description" : "A Boolean value indicating theHttp Basic Standard", "specUrl":"http://www.ietf.org/rfc/rfc2617.txt", "documentationUrl":"http://example.com/help/httpBasic.html", "type":"httpbasic"'primary' or preferred attribute value for this attribute. The primary attribute value 'true' MUST appear no more than once.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ],"meta": { "resourceType": "ServiceProviderConfig" "created": "2010-01-23T04:56:22Z", "lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff594\"" } } 12.6. Resource Type Representation The following is a normative example of the SCIM Resource Type representation in JSON format. { "schemas": ["urn:scim:schemas:core:2.0:ResourceType"], "name": "User", "endpoint": "/Users", "description": "Core User", "schema": "urn:scim:schemas:core:2.0:User", "schemaExtensions": [ { "schema": "urn:scim:schemas:extension:enterprise:2.0:EnterpriseUser", "required": true"mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ],"meta":"meta" : {"resourceType": "ResourceType", "created":"resourceType" : "Schema", "created" : "2010-01-23T04:56:22Z","lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff595\"" }"lastModified" : "2014-02-04T00:00:00Z", "version" : "W/\"3694e05e9dff596\"", "location" : "https://example.com/v2/Schemas/urn:scim:schemas:core:2.0:User" }12.7. Schema Representation The following is a normative example of the SCIM Schema representation in JSON format.}, {"id": "urn:scim:schemas:core:2.0:User", "name": "User", "description":"id" : "urn:scim:schemas:core:2.0:Group", "name" : "Group", "description" : "CoreUser", "attributes":[Group", "attributes" : [ {"name":"id", "type":"string", "multiValued":false, "description":"Unique"name" : "id", "type" : "string", "multiValued" : false, "description" : "Unique identifier for the SCIM resource as defined by the Service Provider. Each representation of the resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of resources. It MUST be a stable, non-reassignable identifier that does not change when the same resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. REQUIRED.","readOnly":true, "required":true, "caseExact":false"required" : true, "caseExact" : false, "mutability" : "readWrite", "returned" : "always", "uniqueness" : "server" }, {"name":"name", "type":"complex", "multiValued":false, "description":"The components of the user's real name. Providers MAY return just"name" : "externalId", "type" : "string", "multiValued" : false, "description" : "An identifier for thefull nameResource asa single string in the formatted sub-attribute, or they MAY return just the individual component attributes using the other sub-attributes, or they MAY return both. If both variants are returned, they SHOULD be describing the same name, with the formatted name indicating howdefined by thecomponent attributes should be combined.", "readOnly":false, "required":false, "caseExact":false, "subAttributes":[ { "name":"formatted", "type":"string", "multiValued":false, "description":"The full name, including all middle names, titles, and suffixes as appropriate, formatted for display (e.g. Ms. Barbara J Jensen, III.)." , "readOnly":false, "required":false, "caseExact":falseService Consumer.", "required" : true, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"name":"familyName", "type":"string", "multiValued":false, "description":"The family"name" : "displayName", "type" : "string", "multiValued" : false, "description" : "A human readable nameof the User, or Last Name in most Western languages (e.g. Jensen givenfor thefull name Ms. Barbara J Jensen, III.).", "readOnly":false, "required":false, "caseExact":falseGroup. REQUIRED.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"name":"givenName", "type":"string", "multiValued":false, "description":"The given name"name" : "members", "type" : "complex", "multiValued" : false, "description" : "A list of members of theUser, or First Name in most Western languages (e.g. Barbara given the full name Ms. Barbara J Jensen, III.).", "readOnly":false, "required":false, "caseExact":false },Group.", "required" : false, "caseExact" : false, "subAttributes" : [ {"name":"middleName", "type":"string", "multiValued":false, "description":"The middle name(s)"name" : "value", "type" : "string", "multiValued" : false, "description" : "The identifier of theUser (e.g. Robert given the full name Ms. Barbara J Jensen, III.).", "readOnly":false, "required":false, "caseExact":falsemember of this Group.", "required" : false, "caseExact" : false, "mutability" : "immutable", "returned" : "default", "uniqueness" : "none" }, {"name":"honorificPrefix", "type":"string", "multiValued":false, "description":"The honorific prefix(es)"name" : "$ref", "type" : "string", "multiValued" : false, "description" : "The URI of theUser, or Title in most Western languages (e.g. Ms. givencorresponding to thefull name Ms. Barbara J Jensen, III.).", "readOnly":false, "required":false, "caseExact":falsemember resource of this Group.", "required" : false, "caseExact" : false, "mutability" : "immutable", "returned" : "default", "uniqueness" : "none" }, {"name":"honorificSuffix", "type":"string", "multiValued":false, "description":"The honorific suffix(es) of"name" : "type", "type" : "string", "multiValued" : false, "description" : "A label indicating theUser,type of resource; e.g., 'User' orSuffix in most Western languages (e.g. III. given the full name Ms. Barbara J Jensen, III.).", "readOnly":false, "required":false, "caseExact":false'Group'.", "required" : false, "caseExact" : false, "canonicalValues" : [ "User", "Group" ], "mutability" : "immutable", "returned" : "default", "uniqueness" : "none" } ], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ], "meta" : { "resourceType" : "Schema", "created" : "2010-01-23T04:56:22Z", "lastModified" : "2014-02-04T00:00:00Z", "version" : "W/\"3694e05e9dff596\"", "location" : "https://example.com/v2/Schemas/urn:scim:schemas:core:2.0:Group" }]}, {"name":"emails", "type":"complex", "multiValued":true, "description":"E-mail addresses for the user. The value SHOULD be canonicalized by the Service Provider, e.g. bjensen@example.com instead of bjensen@EXAMPLE.COM. Canonical Type values of work, home, and other.", "readOnly":false, "required":false, "caseExact":false, "subAttributes":[ { "name":"value", "type":"string", "multiValued":false, "description":"E-mail addresses for the user. The value SHOULD be canonicalized by the Service Provider, e.g. bjensen@example.com instead of bjensen@EXAMPLE.COM. Canonical Type values"id" : "urn:scim:schemas:extension:enterprise:2.0:User", "name" : "EnterpriseUser", "description" : "Enterprise User", "attributes" : [ { "name" : "employeeNumber", "type" : "string", "multiValued" : false, "description" : "Numeric or alphanumeric identifier assigned to a person, typically based on order ofwork, home, and other.", "readOnly":false, "required":false, "caseExact":falsehire or association with an organization.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"name":"display", "type":"string", "multiValued":false, "description":"A human readable name, primarily used for display purposes. READ-ONLY.", "readOnly":true, "required":false, "caseExact":false"name" : "costCenter", "type" : "string", "multiValued" : false, "description" : "Identifies the name of a cost center.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"name":"type", "type":"string", "multiValued":false, "description":"A label indicating"name" : "organization", "type" : "string", "multiValued" : false, "description" : "Identifies theattribute's function; e.g., 'work' or 'home'.", "readOnly":false, "required":false, "caseExact":false, "canonicalValues":["work","home","other"]name of an organization.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"name":"primary", "type":"boolean", "multiValued":false, "description":"A Boolean value indicating the 'primary' or preferred attribute value for this attribute, e.g."name" : "division", "type" : "string", "multiValued" : false, "description" : "Identifies thepreferred mailing address or primary e-mail address. The primary attribute value 'true' MUST appear no more than once.", "readOnly":false, "required":false, "caseExact":false }name of a division.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"name":"addresses", "type":"complex", "multiValued":true, "description":"A physical mailing address for this User, as described in (address Element). Canonical Type Values"name" : "department", "type" : "string", "multiValued" : false, "description" : "Identifies the name ofwork, home, and other. The value attribute isa department.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, { "name" : "manager", "type" : "complex", "multiValued" : false, "description" : "The User's manager. A complex typewiththat optionally allows Service Providers to represent organizational hierarchy by referencing thefollowing sub-attributes.", "readOnly":false, "required":false, "caseExact":false, "subAttributes":[ { "name":"formatted", "type":"string", "multiValued":false, "description":"The full mailing address, formatted for display or use with a mailing label. This attribute MAY contain newlines.", "readOnly":false, "required":false, "caseExact":false }, { "name":"streetAddress", "type":"string", "multiValued":false, "description":"The full street address component, which may include house number, street name, PO BOX, and multi-line extended street address information. This\"id\" attributeMAY contain newlines.", "readOnly":false, "required":false, "caseExact":false }, { "name":"locality", "type":"string", "multiValued":false, "description":"The city or locality component.", "readOnly":false, "required":false, "caseExact":false }, { "name":"region", "type":"string", "multiValued":false, "description":"The state or region component.", "readOnly":false, "required":false, "caseExact":false },of another User.", "required" : false, "caseExact" : false, "subAttributes" : [ {"name":"postalCode", "type":"string", "multiValued":false, "description":"The zipcode or postal code component.", "readOnly":false, "required":false, "caseExact":false"name" : "managerId", "type" : "string", "multiValued" : false, "description" : "The id of the SCIM resource representing the User's manager. REQUIRED.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"name":"country", "type":"string", "multiValued":false, "description":"The country name component.", "readOnly":false, "required":false, "caseExact":false"name" : "$ref", "type" : "string", "multiValued" : false, "description" : "The URI of the SCIM resource representing the User's manager. REQUIRED.", "required" : false, "caseExact" : false, "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" }, {"name":"type", "type":"string", "multiValued":false, "description":"A label indicating"name" : "displayName", "type" : "string", "multiValued" : false, "description" : "The displayName of theattribute's function; e.g., 'work' or 'home'.", "readOnly":false, "required":false, "caseExact":false, "canonicalValues":["work","home","other"]User's manager. OPTIONAL and READ-ONLY.", "required" : false, "caseExact" : false, "mutability" : "readOnly", "returned" : "default", "uniqueness" : "none" }]], "mutability" : "readWrite", "returned" : "default", "uniqueness" : "none" } ],"meta":"meta" : {"resourceType": "Schema" "created":"resourceType" : "Schema", "created" : "2010-01-23T04:56:22Z","lastModified": "2011-05-13T04:42:34Z", "version": "W\/\"3694e05e9dff596\"", "location": "https://example.com/v1/Schemas/urn:scim:schemas:core:2.0:User""lastModified" : "2014-02-04T00:00:00Z", "version" : "W/\"3694e05e9dff596\"", "location" : "https://example.com/v2/Schemas/urn:scim:schemas:extension:enterprise:2.0:User" } } ]} 13. Security Considerations The SCIM Core schema contains personally identifiable information as well as other sensitive data. Aside from prohibiting password values in a SCIM response this specification does not provide any means or guarantee of confidentiality. 14. References 14.1. Normative References[PortableContacts] Smarr, J., "Portable Contacts 1.0 Draft C[ISO3166] "ISO 3166:1988 (E/F) -Schema Only", August 2008.Codes for the representation of names of countries - The International Organization for Standardization, 3rd edition", 08 1988. [ISO639-2] ISO 639.2 Registration Authority, "ISO639-2: Codes for the Representation of Names of Languages", July 2013. [Olson-TZ] "Sources for Time Zone and Daylight Saving Time Data", . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC3966] Schulzrinne, H., "The tel URI for Telephone Numbers", RFC 3966, December 2004. [RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, January 2005. [RFC4627] Crockford, D., "The application/json Media Type for JavaScript Object Notation (JSON)", RFC 4627, July 2006. [XML-Schema] Biron, P. and A. Malhotra, "XML Schema Part 2: Datatypes Second Edition", October 2004. 14.2. Informative References [PortableContacts] Smarr, J., "Portable Contacts 1.0 Draft C - Schema Only", August 2008. [RFC4512] Zeilenga, K., "Lightweight Directory Access Protocol (LDAP): Directory Information Models", RFC 4512, June 2006. Appendix A.ContributorsAcknowledgements The editors would like to acknowledge the contribution and work of the past draft editors: Chuck Mortimore, Salesforce Patrick Harding, Ping Paul Madsen, Ping Trey Drake, UnboundID The SCIM Community would like to thank the following people for the work they've done in the research, formulation, drafting, editing, and support of this specification. Morteza Ansari (morteza.ansari@cisco.com) Sidharth Choudhury (schoudhury@salesforce.com) Samuel Erdtman (samuel@erdtman.se) Kelly Grizzle (kelly.grizzle@sailpoint.com) Chris Phillips (cjphillips@gmail.com) Erik Wahlstroem (erik.wahlstrom@nexussafe.com) Phil Hunt (phil.hunt@yahoo.com) Special thanks to Joeseph Smarr, who's excellent work on the Portable Contacts Specification [PortableContacts] provided a basis for the SCIM schema structure and text. Appendix B. Change Log [[This section to be removed prior to publication as an RFC]] Draft 02 - KG - Addition of schema extensibility Draft 03 - PH - Revisions based on following tickets: 09 - Attribute uniquenes 10 - Returnability of attributes 35 - Attribute mutability (replaces readOnly) 52 - Minor textual changes 53 - Standard use of term client (some was consumer) 56 - Make manager attribute consistent with other $ref attrs 58 - Add optional id to ResourceType objects for consistency 59 - Fix capitalization per IETF editor practices 60 - Changed <eref> tags to normal <xref> and <reference> tags Authors' Addresses Kelly Grizzle SailPoint Email: kelly.grizzle@sailpoint.com Phil Hunt (editor) Oracle Corporation Email: phil.hunt@yahoo.com Erik Wahlstroem Technology Nexus Email: erik.wahlstrom@nexussafe.com Chuck Mortimore(editor)Salesforce.com Email: cmortimore@salesforce.comPatrick Harding Ping Identity Email: pharding@pingidentity.com Paul Madsen Ping Identity Email: pmadsen@pingidentity.com Trey Drake UnboundID Email: trey.drake@unboundid.com