https://ns.adobe.com/xdm/descriptors/descriptorLabel
Describes a label at the field level for a given class/fieldgroup/schema
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | Yes | Stable | No | Forbidden | Permitted | descriptors/label/descriptorLabel.schema.json |
- Label Descriptor
https://ns.adobe.com/xdm/descriptors/descriptorLabel- Schema Descriptor
https://ns.adobe.com/xdm/common/descriptors/schemadescriptor
- Schema Descriptor
{
"@type": "xdm:descriptorLabel",
"xdm:sourceSchema": "https://ns.adobe.com/xdm/context/profile-privacy",
"xdm:sourceVersion": 1,
"xdm:sourceProperty": "/identityPrivacyInfo/identityIABConsent/consentTimestamp",
"xdm:labels": [
"sampleDUlELabelResourceID1",
"sampleDUlELabelResourceID2",
"sampleDUlELabelResourceID3",
"sampleDUlELabelResourceID4"
]
}{
"@type": "xdm:descriptorLabel",
"xdm:sourceSchema": "https://ns.adobe.com/xdm/context/profile-privacy",
"xdm:sourceVersion": 1,
"xdm:excludeProperty": "/identityPrivacyInfo/identityIABConsent/consentTimestamp",
"xdm:labels": [
"sampleDUlELabelResourceID1",
"sampleDUlELabelResourceID2",
"sampleDUlELabelResourceID3",
"sampleDUlELabelResourceID4"
]
}{
"@type": "xdm:descriptorLabel",
"xdm:sourceSchema": "https://ns.adobe.com/xdm/context/profile-work-details",
"xdm:sourceVersion": 1,
"xdm:sourceProperty": [
"/workAddress",
"/workEmail"
],
"xdm:excludeProperty": [
"/workAddress/street3",
"/workAddress/street4",
"/workEmail/status"
],
"xdm:labels": [
"sampleDUlELabelResourceID1",
"sampleDUlELabelResourceID2",
"sampleDUlELabelResourceID3",
"sampleDUlELabelResourceID4"
]
}| Property | Type | Required | Defined by |
|---|---|---|---|
| @id | string |
Optional | Schema Descriptor |
| @type | const |
Optional | Label Descriptor (this schema) |
| xdm:excludeProperty | complex | Optional | Label Descriptor (this schema) |
| xdm:labels | string[] |
Optional | Label Descriptor (this schema) |
| xdm:sourceItem | complex | Optional | Schema Descriptor |
| xdm:sourceProperty | complex | Optional | Schema Descriptor |
| xdm:sourceSchema | string |
Optional | Schema Descriptor |
| xdm:sourceVersion | number |
Optional | Schema Descriptor |
* |
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 Schema Descriptor
string
- format:
uri-reference– URI Reference (according to RFC3986)
@type
- is optional
- type:
const - defined in this schema
The value of this property must be equal to:
"xdm:descriptorLabel"When present, the property of the source schema to which this descriptor excludes. This value is a JSON Pointer, applied to an instance of an object described by xdm:sourceSchema.
xdm:excludeProperty
- is optional
- type: complex
- defined in this schema
One of the following conditions need to be fulfilled.
string
Array type:
All items must be of the type:
string
When present, it allows an array of labels. Values are resources IDs
xdm:labels
-
is optional
-
type:
string[] -
defined in this schema
Array type: string[]
All items must be of the type:
string
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 Schema Descriptor
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: complex
- defined in Schema Descriptor
One of the following conditions need to be fulfilled.
string
Array type:
All items must be of the type:
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 Schema Descriptor
string
- format:
uri– Uniformous Resource Identifier (according to RFC3986)
Major version being referenced.
xdm:sourceVersion
- is optional
- type:
number - defined in Schema Descriptor
number