Skip to content

Latest commit

 

History

History
259 lines (128 loc) · 4.48 KB

graph-node.schema.md

File metadata and controls

259 lines (128 loc) · 4.48 KB

XDM Graph Node/Vertex Schema Schema

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

XDM Schema for a graph Node/Vertex.

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

Schema Hierarchy

  • XDM Graph Node/Vertex Schema https://ns.adobe.com/xdm/context/graph-node

XDM Graph Node/Vertex Schema Example

{
  "xdm:nodes": [
    {
      "xdm:nodeId": "aam_1|0",
      "xdm:nodeType": "Identity",
      "xdm:firstSeenTimestamp": "2019-01-01T15:52:25+00:00",
      "xdm:lastSeenTimestamp": "2019-01-01T15:52:25+00:00",
      "xdm:firstCreateTimestamp": "2019-01-01T15:52:25+00:00",
      "xdm:lastModifiedTimestamp": "2019-01-01T15:52:25+00:00"
    },
    {
      "xdm:nodeId": "dpuuid_1|10",
      "xdm:nodeType": "Identity",
      "xdm:firstSeenTimestamp": "2019-03-01T15:52:25+00:00",
      "xdm:lastSeenTimestamp": "2019-03-01T15:52:25+00:00",
      "xdm:firstCreateTimestamp": "2019-03-01T15:52:25+00:00",
      "xdm:lastModifiedTimestamp": "2019-03-01T15:52:25+00:00"
    }
  ]
}

XDM Graph Node/Vertex Schema Properties

Property Type Required Defined by
xdm:nodes object[] Optional XDM Graph Node/Vertex Schema (this schema)
* any Additional this schema allows additional properties

xdm:nodes

Array Of Nodes

Array of nodes.

xdm:nodes

  • is optional

  • type: object[]

  • defined in this schema

xdm:nodes Type

Array type: object[]

All items must be of the type: object with following properties:

Property Type Required
xdm:dataSource string Optional
xdm:firstCreateTimestamp string Optional
xdm:firstSeenTimestamp string Optional
xdm:label string Optional
xdm:lastModifiedTimestamp string Optional
xdm:lastSeenTimestamp string Optional
xdm:nodeId string Optional
xdm:nodeType string Optional

xdm:dataSource

Data Source

Data source for the node.

xdm:dataSource

  • is optional
  • type: string
xdm:dataSource Type

string

xdm:firstCreateTimestamp

Node Created Date And Time

Time and date this node was first created.

xdm:firstCreateTimestamp

  • is optional
  • type: string
xdm:firstCreateTimestamp Type

string

xdm:firstSeenTimestamp

Node First Seen Date And Time

Time and date this node was first seen.

xdm:firstSeenTimestamp

  • is optional
  • type: string
xdm:firstSeenTimestamp Type

string

xdm:label

Node Label

Node label.

xdm:label

  • is optional
  • type: string
xdm:label Type

string

xdm:lastModifiedTimestamp

Node Last Modified Date And Time

Time and date this node was last modified.

xdm:lastModifiedTimestamp

  • is optional
  • type: string
xdm:lastModifiedTimestamp Type

string

xdm:lastSeenTimestamp

Node Last Seen Date And Time

Time and date this node was last seen.

xdm:lastSeenTimestamp

  • is optional
  • type: string
xdm:lastSeenTimestamp Type

string

xdm:nodeId

Node Identifier

The unique identifier of the identity associated with this graph node.

xdm:nodeId

  • is optional
  • type: string
xdm:nodeId Type

string

xdm:nodeType

Node Type

Type of node.

xdm:nodeType

  • is optional
  • type: string
xdm:nodeType Type

string