https://ns.adobe.com/xdm/common/desciptors/schemadescriptor
A descriptor that contains metadata about an XDM schema, including an optional property and array item selector, used to address the descriptor to a specific property or item.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | Yes | Forbidden | Permitted | common/descriptors/schemadescriptor.schema.json |
- Schema Descriptor
https://ns.adobe.com/xdm/common/desciptors/schemadescriptor
- Extensibility base schema
https://ns.adobe.com/xdm/common/extensible
- Item Selector
https://ns.adobe.com/xdm/common/descriptors/itemselector
- Extensibility base schema
{
"@id": "https://example.com/descriptors/1",
"@type": "xdm:descriptorPrimaryKey",
"xdm:source": "https://ns.adobe.com/xdm/context/profile",
"xdm:sourceProperty": "xdm:identities",
"xdm:sourceItem": {
"xdm:type": "https://ns.adobe.com/experience/mcid"
}
}
Property | Type | Required | Defined by |
---|---|---|---|
@id | string |
Optional | Schema Descriptor (this schema) |
@type | string |
Optional | Schema Descriptor (this schema) |
xdm:sourceItem | complex | Optional | Schema Descriptor (this schema) |
xdm:sourceProperty | string |
Optional | Schema Descriptor (this schema) |
xdm:sourceSchema | string |
Optional | Schema Descriptor (this schema) |
* |
any | Additional | this schema allows additional properties |
The unique identifier for the schema descriptor. This property is required when the descriptor is defined outside of the applicable schema, but is optional when applied via 'meta:descriptors'
@id
- is optional
- type:
string
- defined in this schema
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
The type of descriptor this object represents
@type
- is optional
- type:
string
- defined in this schema
string
Value | Description |
---|
When present, the selector used to match a specific item in the array pointed to by sourceProperty
xdm:sourceItem
- is optional
- type: complex
- defined in this schema
One of the following conditions need to be fulfilled.
When present, the property of the source schema to which this descriptor applies. This value is a JSON Pointer, applied to an instance of an object described by xdm:sourceSchema
.
xdm:sourceProperty
- is optional
- type:
string
- defined in this schema
string
The source schema this descriptor applies to. This property is required when the descriptor is defined outside of the applicable schema, but is optional when applied via 'meta:descriptors'
xdm:sourceSchema
- is optional
- type:
string
- defined in this schema
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)