1 | {
|
2 | "title": "Node",
|
3 | "category": "metadata",
|
4 | "description": "Union type for all valid nodes.",
|
5 | "$comment": "The order of these types is important because it determines the\norder of attempted coercion (ie. parsing and reshaping to arrays)\n",
|
6 | "anyOf": [
|
7 | {
|
8 | "$ref": "Entity.schema.json"
|
9 | },
|
10 | {
|
11 | "type": "integer"
|
12 | },
|
13 | {
|
14 | "type": "number"
|
15 | },
|
16 | {
|
17 | "type": "boolean"
|
18 | },
|
19 | {
|
20 | "type": "null"
|
21 | },
|
22 | {
|
23 | "type": "string"
|
24 | },
|
25 | {
|
26 | "type": "array"
|
27 | },
|
28 | {
|
29 | "type": "object"
|
30 | }
|
31 | ],
|
32 | "file": "Node.schema.yaml",
|
33 | "children": [],
|
34 | "descendants": [],
|
35 | "$schema": "http://json-schema.org/draft-07/schema#",
|
36 | "$id": "https://schema.stenci.la/v0/Node.schema.json",
|
37 | "source": "https://github.com/stencila/schema/blob/master/Node.schema.yaml"
|
38 | }
|