Class: SCIMMY.Schemas.ResourceType
SCIM ResourceType Schema
Description
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)
- Extends:
- SCIMMY.Types.Schema
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
|
Members
(static) id: "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
SCIM schema URN namespace
- Type:
- {"urn:ietf:params:scim:schemas:core:2.0:ResourceType"}
- Extends:
- SCIMMY.Types.Schema.id
(static) definition: SCIMMY.Types.SchemaDefinition
Retrieves a schema's definition instance
- Type:
- {SCIMMY.Types.SchemaDefinition}
- Implements:
- SCIMMY.Types.Schema.definition