Nodes
A node describes a kind of entity in the domain. Nodes are listed under nodes, keyed by node id.
nodes:
person:
label: Person
description: A person who acts in or directs movies.
aliases: [Actor, Director]
properties:
name:
type: STRING
must_exist: true
Node
A node of the graph.
| Field | Type | Required | Description |
|---|---|---|---|
|
string |
No |
Shorthand for the identifying label. Expanded into labels when the model is decoded. |
|
No |
Labels of the node. |
|
|
map of property |
No |
Properties of the node keyed by id. |
|
map of node constraint |
No |
Constraints on the node keyed by id. |
|
No |
Extensions for the node. |
|
|
string |
No |
Description of the node. |
|
list of strings |
No |
Alternative names for the node. |
|
string |
No |
Reference or URI of an external resource describing the node. |
Labels
The labels of a node.
| Field | Type | Required | Description |
|---|---|---|---|
|
string |
No |
The label which identifies the node. |
|
list of strings |
No |
Labels implied by the node in addition to the identifier. |
|
list of strings |
No |
Labels which may be present on the node but aren’t required. |
|
No |
Extensions for the labels. |