https://ns.adobe.com/xdm/context/graph-edge
XDM graph schema for edge/relationship between two nodes/vertices.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | context/graph-edge.schema.json |
- XDM Graph Edge
https://ns.adobe.com/xdm/context/graph-edge
- Extensibility base schema
https://ns.adobe.com/xdm/common/extensible
- Audit trail
https://ns.adobe.com/xdm/common/auditable
- Extensibility base schema
{
"xdm:edges": [
{
"xdm:sourceNodeId": "aam_1|0",
"xdm:targetNodeId": "dpuuid_1|10",
"xdm:dataProvider": [
{
"xdm:dataProviderId": 5,
"xdm:firstSeenTimestamp": "2019-02-01T15:52:25+00:00",
"xdm:lastSeenTimestamp": "2019-02-01T15:52:25+00:00",
"xdm:trusted": true,
"xdm:directed": false,
"xdm:relationType": "online_deterministic",
"xdm:frequency": 1,
"xdm:lastCalculatedTimestamp": "2019-02-01T15:52:25+00:00"
}
]
}
]
}
Property | Type | Required | Defined by |
---|---|---|---|
repo:createDate | string |
Optional | Audit trail |
repo:modifyDate | string |
Optional | Audit trail |
xdm:createdByBatchID | string |
Optional | Audit trail |
xdm:edges | object[] |
Optional | XDM Graph Edge (this schema) |
xdm:modifiedByBatchID | string |
Optional | Audit trail |
xdm:repositoryCreatedBy | string |
Optional | Audit trail |
xdm:repositoryLastModifiedBy | string |
Optional | Audit trail |
* |
any | Additional | this schema allows additional properties |
The server date and time when the resource was created in the repository, such as when an asset file is first uploaded or a directory is created by the server as the parent of a new asset. The date time property should conform to ISO 8601 standard. An example form is "2004-10-23T12:00:00-06:00".
repo:createDate
- is optional
- type:
string
- defined in Audit trail
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
"2004-10-23T12:00:00-06:00"
The server date and time when the resource was last modified in the repository, such as when a new version of an asset is uploaded or a directory's child resource is added or removed. The date time property should conform to ISO 8601 standard. An example form is "2004-10-23T12:00:00-06:00".
repo:modifyDate
- is optional
- type:
string
- defined in Audit trail
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
"2004-10-23T12:00:00-06:00"
The dataset files in Catalog which has been originating the creation of the record.
xdm:createdByBatchID
- is optional
- type:
string
- defined in Audit trail
string
- format:
uri-reference
– URI Reference (according to RFC3986)
Array of edges.
xdm:edges
-
is optional
-
type:
object[]
-
defined in this schema
Array type: object[]
All items must be of the type:
object
with following properties:
Property | Type | Required |
---|---|---|
xdm:dataProvider |
array | Optional |
xdm:edgeId |
string | Optional |
xdm:label |
string | Optional |
xdm:relation |
string | Optional |
xdm:sourceNodeId |
string | Optional |
xdm:targetNodeId |
string | Optional |
undefined
xdm:dataProvider
- is optional
- type:
object[]
Array type: object[]
All items must be of the type:
object
with following properties:
Property | Type | Required | Default |
---|---|---|---|
xdm:dataProviderId |
integer | Optional | |
xdm:directed |
boolean | Optional | false |
xdm:firstSeenTimestamp |
string | Optional | |
xdm:frequency |
integer | Optional | |
xdm:lastCalculatedTimestamp |
string | Optional | |
xdm:lastSeenTimestamp |
string | Optional | |
xdm:relationType |
string | Optional | |
xdm:score |
number | Optional | |
xdm:summedRecency |
integer | Optional | |
xdm:trusted |
boolean | Optional | true |
Identifier of the Data Provider..
xdm:dataProviderId
- is optional
- type:
integer
integer
Nature of graph whether it is directed or birectional.
xdm:directed
- is optional
- type:
boolean
- default:
false
boolean
Time and date the relation was first observed.
xdm:firstSeenTimestamp
- is optional
- type:
string
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
Frequency of the observed relationship.
xdm:frequency
- is optional
- type:
integer
integer
Time and date the relationship score was last calculated.
xdm:lastCalculatedTimestamp
- is optional
- type:
string
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
Time and date the relation was last observed.
xdm:lastSeenTimestamp
- is optional
- type:
string
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
The method that established the relationship - Online/Offline deterministic/probabilistic.
xdm:relationType
- is optional
- type:
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
online_deterministic |
Online Deterministic |
online_probabilistic |
Online Probabilistic |
offline_deterministic |
Offline Deterministic |
offline_probabilistic |
Offline Probabilistic |
Imputed score of relationship.
xdm:score
- is optional
- type:
number
number
Recency score of relationship.
xdm:summedRecency
- is optional
- type:
integer
integer
Indicator of whether the data source is trusted or not.
xdm:trusted
- is optional
- type:
boolean
- default:
true
boolean
The unique identifier of the identity associated with this graph edge.
xdm:edgeId
- is optional
- type:
string
string
Additional description.
xdm:label
- is optional
- type:
string
string
Relation description.
xdm:relation
- is optional
- type:
string
string
Source node identifier.
xdm:sourceNodeId
- is optional
- type:
string
string
Target node identifier.
xdm:targetNodeId
- is optional
- type:
string
string
The last dataset files in Catalog which has modified the record. At creation time, modifiedByBatchID
is set as createdByBatchID
.
xdm:modifiedByBatchID
- is optional
- type:
string
- defined in Audit trail
string
- format:
uri-reference
– URI Reference (according to RFC3986)
User ID of who created the record.
xdm:repositoryCreatedBy
- is optional
- type:
string
- defined in Audit trail
string
User ID of who last modified the record. At creation time, modifiedByUser
is set as createdByUser
.
xdm:repositoryLastModifiedBy
- is optional
- type:
string
- defined in Audit trail
string