<%@language="javascript"%>
<% Response.ContentType = "application/json"; %>
{
	"totalResults": 3,
	"itemsPerPage": 10,
	"startIndex": 1,
	"schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"],
	"Resources": [{
		"id": "urn:ietf:params:scim:schemas:core:2.0:User",
		"name": "User",
		"description": "User Account",
		"attributes": [{
			"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 provider'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,
			"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., 'Jane' 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": "active",
			"type": "boolean",
			"multiValued": false,
			"description": "A Boolean value indicating the User's administrative status.",
			"required": false,
			"mutability": "readWrite",
			"returned": "default"
		},
		{
			"name": "emails",
			"type": "complex",
			"multiValued": true,
			"description": "Email 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,
			"subAttributes": [{
				"name": "value",
				"type": "string",
				"multiValued": false,
				"description": "Email 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": "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"],
				"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 email address.  The primary attribute value 'true' MUST appear no more than once.",
				"required": false,
				"mutability": "readWrite",
				"returned": "default"
			}],
			"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 the format specified in RFC 3966, e.g., 'tel:+1-201-555-0123'. Canonical type values of 'work', 'home', 'mobile', 'fax', 'pager', and 'other'.",
			"required": false,
			"subAttributes": [{
				"name": "value",
				"type": "string",
				"multiValued": false,
				"description": "Phone number of the User.",
				"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', 'home', 'mobile'.",
				"required": false,
				"caseExact": false,
				"canonicalValues": ["work",
				"mobile"],
				"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 phone number or primary phone number.  The primary attribute value 'true' MUST appear no more than once.",
				"required": false,
				"mutability": "readWrite",
				"returned": "default"
			}],
			"mutability": "readWrite",
			"returned": "default"
		},
		{
			"name": "groups",
			"type": "complex",
			"multiValued": true,
			"description": "A list of groups to which the user belongs, either through direct membership, through nested groups, or dynamically calculated.",
			"required": false,
			"subAttributes": [{
				"name": "value",
				"type": "string",
				"multiValued": false,
				"description": "The identifier of the User's group.",
				"required": false,
				"caseExact": false,
				"mutability": "readOnly",
				"returned": "default",
				"uniqueness": "none"
			},
			{
				"name": "$ref",
				"type": "reference",
				"referenceTypes": ["User",
				"Group"],
				"multiValued": false,
				"description": "The URI of the corresponding 'Group' resource to which the user belongs.",
				"required": false,
				"caseExact": false,
				"mutability": "readOnly",
				"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": "readOnly",
				"returned": "default",
				"uniqueness": "none"
			},
			{
				"name": "type",
				"type": "string",
				"multiValued": false,
				"description": "A label indicating the attribute's function, e.g., 'direct' or 'indirect'.",
				"required": false,
				"caseExact": false,
				"canonicalValues": ["direct",
				"indirect"],
				"mutability": "readOnly",
				"returned": "default",
				"uniqueness": "none"
			}],
			"mutability": "readOnly",
			"returned": "default"
		}
		],
			"meta": {
			"resourceType": "Schema",
			"location": "\/v2\/Schemas\/urn:ietf:params:scim:schemas:core:2.0:User"
		}
    },
	{
		"id": "urn:ietf:params:scim:schemas:extension:2.0:OrgUnit",
		"name": "OrgUnit",
		"description": "OrganisationUnit",
		"attributes": [
		{
			"name": "code",
			"type": "string",
			"multiValued": false,
			"description": "The organisation unit code (naam).",
			"required": true,
			"caseExact": false,
			"mutability": "readWrite",
			"returned": "default",
			"uniqueness": "none"
		},
		{
			"name": "costCenter",
			"type": "string",
			"multiValued": false,
			"description": "The organisation unit cost center (kostenplaats).",
			"required": false,
			"caseExact": false,
			"mutability": "readWrite",
			"returned": "default",
			"uniqueness": "none"
		}],
		"meta": {
			"resourceType": "Schema",
			"location": "\/v2\/Schemas\/urn:ietf:params:scim:schemas:extension:2.0:OrgUnit"
		}
		},
	{
		"id": "urn:ietf:params:scim:schemas:core:2.0:Group",
		"name": "Group",
		"description": "Group",
		"attributes": [{
			"name": "displayName",
			"type": "string",
			"multiValued": false,
			"description": "A human-readable name for the Group. REQUIRED.",
			"required": false,
			"caseExact": false,
			"mutability": "readWrite",
			"returned": "default",
			"uniqueness": "none"
		},
		{
			"name": "members",
			"type": "complex",
			"multiValued": true,
			"description": "A list of members of the Group.",
			"required": false,
			"subAttributes": [{
				"name": "value",
				"type": "string",
				"multiValued": false,
				"description": "Identifier of the member of this Group.",
				"required": false,
				"caseExact": false,
				"mutability": "immutable",
				"returned": "default",
				"uniqueness": "none"
			},
			{
				"name": "$ref",
				"type": "reference",
				"referenceTypes": ["User",
				"Group"],
				"multiValued": false,
				"description": "The URI corresponding to a SCIM resource that is a member of this Group.",
				"required": false,
				"caseExact": false,
				"mutability": "immutable",
				"returned": "default",
				"uniqueness": "none"
			},
			{
				"name": "type",
				"type": "string",
				"multiValued": false,
				"description": "A label indicating the type of resource, e.g., 'User' or 'Group'.",
				"required": false,
				"caseExact": false,
				"canonicalValues": ["User"],
				"mutability": "immutable",
				"returned": "default",
				"uniqueness": "none"
			}],
			"mutability": "readWrite",
			"returned": "default"
		}],
		"meta": {
			"resourceType": "Schema",
			"location": "\/v2\/Schemas\/urn:ietf:params:scim:schemas:core:2.0:Group"
		}
	},
	{
		"id": "urn:ietf:params: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 of hire or association with an organization.",
			"required": false,
			"caseExact": false,
			"mutability": "readWrite",
			"returned": "default",
			"uniqueness": "none"
		},
		{
			"name": "organization",
			"type": "string",
			"multiValued": false,
			"description": "Identifies the name of an organization.",
			"required": false,
			"caseExact": false,
			"mutability": "readWrite",
			"returned": "default",
			"uniqueness": "none"
		},
		{
			"name": "department",
			"type": "string",
			"multiValued": false,
			"description": "Identifies the name of a department.",
			"required": false,
			"caseExact": false,
			"mutability": "readWrite",
			"returned": "default",
			"uniqueness": "none"
		}],
		"meta": {
			"resourceType": "Schema",
			"location": "\/v2\/Schemas\/urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
		}
    },
	{
		"id": "urn:ietf:params:scim:schemas:extension:facilitor:2.0:User",
		"name": "FacilitorUser",
		"description": "Facilitor User",
		"attributes": [
      {
			"name": "orgUnit",
			"type": "complex",
			"multiValued": false,
			"description": "User organisation.",
			"required": false,
			"subAttributes": [{
   			"name": "value",
   			"type": "string",
   			"multiValued": false,
   			"description": "The organisation unit id.",
   			"required": false,
   			"caseExact": false,
   			"mutability": "readWrite",
   			"returned": "default",
   			"uniqueness": "none"
		      },
			   {
				"name": "$ref",
				"type": "reference",
				"referenceTypes": ["OrgUnit"],
				"multiValued": false,
				"description": "The URI of the corresponding 'OrgUnit' resource to which the user belongs.",
				"required": false,
				"caseExact": false,
				"mutability": "immutable",
				"returned": "default",
				"uniqueness": "none"
			}],
			"mutability": "readWrite",
			"returned": "default"
		},
      {
		   "name": "initials",
		   "type": "string",
		   "multiValued": false,
		   "description": "Initials of the person. E.g. 'A.T.M.'.",
		   "required": false,
		   "caseExact": false,
		   "mutability": "readWrite",
		   "returned": "default",
		   "uniqueness": "server"
		},
	   {
			"name": "title",
			"type": "string",
			"multiValued": false,
			"description": "A short descripton of the employee's job.",
			"required": false,
			"caseExact": false,
			"mutability": "readWrite",
			"returned": "default",
			"uniqueness": "server"
		}
		],
		"meta": {
			"resourceType": "Schema",
			"location": "\/v2\/Schemas\/urn:ietf:params:scim:schemas:extension:facilitor:2.0:User"
		}
   }
	]
}
