Class: SCIMMY.Schemas.ResourceType

SCIM ResourceType Schema

Summary:
  • Ensures a ResourceType instance conforms to the ResourceType schema set out in RFC7643ยง6.

Usage

Instantiates a new resource type that conforms to the SCIM ResourceType schema definition

                    
                        new SCIMMY.Schemas.ResourceType(resource, basepathopt)
                    
                
Parameters:
Name Type Description
resource Object

the source data to feed through the schema definition

basepathopt String

the base path for resolution of a resource's location

Properties:
Name Type Description
name String

the resource type name. When applicable, service providers MUST specify the name, e.g., 'User'

descriptionopt String

the resource type's human-readable description. When applicable, service providers MUST specify the description

endpoint String

the resource type's HTTP-addressable endpoint relative to the Base URL, e.g., '/Users'

schema String

the resource type's primary/base schema URI

schemaExtensionsopt Object[]

a list of URIs of the resource type's schema extensions

Properties
Name Type Description
schema String

the URI of a schema extension

required Boolean

a Boolean value that specifies whether the schema extension is required for the resource type

Members