Skip to content

Commit

Permalink
chore(doc): split vertex/edge in the JSON schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenithar committed Nov 27, 2024
1 parent 3d8a158 commit 46c6d65
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion docs/reference/graph.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"vertices": {
"type": "array",
"items": {
"$ref": "#/definitions/Edge"
"$ref": "#/definitions/Vertex"
}
},
"verticeProperties": {
Expand Down Expand Up @@ -110,6 +110,23 @@
],
"title": "Edge"
},
"Vertex": {
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"description",
"label"
],
"title": "Vertex"
},
"Enum": {
"type": "object",
"additionalProperties": false,
Expand Down

0 comments on commit 46c6d65

Please sign in to comment.