Skip to content

Latest commit

 

History

History
302 lines (160 loc) · 7.22 KB

graph.schema.md

File metadata and controls

302 lines (160 loc) · 7.22 KB

XDM Graph Schema Schema

https://ns.adobe.com/xdm/context/graph

XDM graph schema to host graph data.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Experimental No Forbidden Permitted context/graph.schema.json

Schema Hierarchy

  • XDM Graph Schema https://ns.adobe.com/xdm/context/graph

XDM Graph Schema Example

{
  "xdm:graphId": "96698daa-d44a-4960-bb7e-588bfc928ea3",
  "xdm:directed": false,
  "xdm:graphType": "Person Graph",
  "xdm:graphCreateTimestamp": "2019-01-01T15:52:25+00:00",
  "xdm:firstCreatedTimestamp": "2019-01-01T15:52:25+00:00",
  "xdm:lastModifiedTimestamp": "2019-03-10T15:52:25+00:00"
}

XDM Graph Schema Properties

Property Type Required Default Defined by
repo:createDate string Optional Audit trail
repo:modifyDate string Optional Audit trail
xdm:createdByBatchID string Optional Audit trail
xdm:directed boolean Optional true XDM Graph Schema (this schema)
xdm:firstCreatedTimestamp string Optional XDM Graph Schema (this schema)
xdm:graphId string Optional XDM Graph Schema (this schema)
xdm:graphType string Optional XDM Graph Schema (this schema)
xdm:label string Optional XDM Graph Schema (this schema)
xdm:lastModifiedTimestamp string Optional XDM Graph Schema (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

repo:createDate

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

repo:createDate Type

string

repo:createDate Example

"2004-10-23T12:00:00-06:00"

repo:modifyDate

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

repo:modifyDate Type

string

repo:modifyDate Example

"2004-10-23T12:00:00-06:00"

xdm:createdByBatchID

Created by batch identifier

The dataset files in Catalog which has been originating the creation of the record.

xdm:createdByBatchID

xdm:createdByBatchID Type

string

  • format: uri-reference – URI Reference (according to RFC3986)

xdm:directed

Directed Graph Indicator

Directed graph indicator.

xdm:directed

  • is optional
  • type: boolean
  • default: true
  • defined in this schema

xdm:directed Type

boolean

xdm:firstCreatedTimestamp

Graph Created Date And Time

Time and date this graph was created.

xdm:firstCreatedTimestamp

  • is optional
  • type: string
  • defined in this schema

xdm:firstCreatedTimestamp Type

string

xdm:graphId

Graph Identifier

The unique identifier of the identity associated with this graph.

xdm:graphId

  • is optional
  • type: string
  • defined in this schema

xdm:graphId Type

string

xdm:graphType

Graph Type

Graph type. Examples - Person graph, Third party graph, Private graph etc.

xdm:graphType

  • is optional
  • type: string
  • defined in this schema

xdm:graphType Type

string

xdm:label

Graph Label

Graph label.

xdm:label

  • is optional
  • type: string
  • defined in this schema

xdm:label Type

string

xdm:lastModifiedTimestamp

Graph Last Modified Date And Time

Time and date this graph was last modified.

xdm:lastModifiedTimestamp

  • is optional
  • type: string
  • defined in this schema

xdm:lastModifiedTimestamp Type

string

xdm:modifiedByBatchID

Modified by batch identifier

The last dataset files in Catalog which has modified the record. At creation time, modifiedByBatchID is set as createdByBatchID.

xdm:modifiedByBatchID

xdm:modifiedByBatchID Type

string

  • format: uri-reference – URI Reference (according to RFC3986)

xdm:repositoryCreatedBy

Created by user identifier

User ID of who created the record.

xdm:repositoryCreatedBy

xdm:repositoryCreatedBy Type

string

xdm:repositoryLastModifiedBy

Modified by user identifier

User ID of who last modified the record. At creation time, modifiedByUser is set as createdByUser.

xdm:repositoryLastModifiedBy

xdm:repositoryLastModifiedBy Type

string