https://ns.adobe.com/xdm/common/descriptors/descriptorManyToMany
Describes many to many relationship descriptor.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Deprecated | No | Forbidden | Permitted | descriptors/relationship/descriptorManyToMany.schema.json |
- Many to Many Relationship Descriptor
https://ns.adobe.com/xdm/common/descriptors/descriptorManyToMany
- Schema Descriptor
https://ns.adobe.com/xdm/common/descriptors/schemadescriptor
- Relationship Descriptor
https://ns.adobe.com/xdm/common/descriptors/relationshipdescriptor
- Schema Descriptor
{
"@id": "https://ns.adobe.com/example/descriptorManyToMany/1",
"@type": "xdm:descriptorManyToMany",
"xdm:sourceSchema": "https://ns.adobe.com/experience/aem/user",
"xdm:sourceVersion": 1,
"xdm:destinationSchema": "https://ns.adobe.com/xdm/context/profile",
"xdm:destinationVersion": 1,
"xdm:label": "UserProfile"
}
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:descriptorManyToMany"
Source to Destination cardinality
xdm:cardinality
- is optional
- type:
enum
- default:
"M:1"
- defined in Relationship Descriptor
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
M:1 |
|
1:1 |
When present, the selector used to match a specific item in the array pointed to by destProperty
xdm:destinationItem
- is optional
- type: complex
- defined in Relationship Descriptor
One of the following conditions need to be fulfilled.
Identity Service namespace associated with the source property
xdm:destinationNamespace
- is optional
- type:
string
- defined in Relationship Descriptor
string
When present, the property of the destination schema to which this descriptor applies. This value is a JSON Pointer, applied to an instance of an object described by 'xdm:destSchema'
xdm:destinationProperty
- is optional
- type: complex
- defined in Relationship Descriptor
One of the following conditions need to be fulfilled.
string
Array type:
All items must be of the type:
string
The destination schema this descriptor applies to
xdm:destinationSchema
- is optional
- type:
string
- defined in Relationship Descriptor
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
Provides a user friendly title for the destination->source edge
xdm:destinationToSourceTitle
- is optional
- type:
string
- defined in Relationship Descriptor
string
Major version being referenced.
xdm:destinationVersion
- is optional
- type:
number
- defined in Relationship Descriptor
number
Provides a user friendly name or label to this relationship
xdm:label
- is optional
- type:
string
- defined in Relationship Descriptor
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.
Identity Service namespace associated with the source property
xdm:sourceNamespace
- is optional
- type:
string
- defined in Relationship Descriptor
string
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)
Provides a user friendly title for the source->destination edge
xdm:sourceToDestinationTitle
- is optional
- type:
string
- defined in Relationship Descriptor
string
When present, provides additional information about the values in that field. Descriptor producer and consumer should coordinate on how to use this field, e.g. defining rules on formats, values, and operations.
xdm:sourceValue
- is optional
- type:
string
- defined in Relationship Descriptor
string
Major version being referenced.
xdm:sourceVersion
- is optional
- type:
number
- defined in Schema Descriptor
number