@stencila/schema
Version:
Extensions to schema.org to support semantic, composable, parameterize-able and executable documents
40 lines (39 loc) • 855 B
JSON
{
"title": "Node",
"category": "other",
"status": "unstable",
"description": "Union type for all valid nodes.",
"$comment": "The order of these types is important because it determines the\norder of attempted coercion (ie. parsing and reshaping to arrays)\n",
"anyOf": [
{
"$ref": "Entity.schema.json"
},
{
"type": "null"
},
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "object"
},
{
"type": "array"
}
],
"file": "Node.schema.yaml",
"children": [],
"descendants": [],
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://schema.stenci.la/v1/Node.schema.json",
"source": "https://github.com/stencila/schema/blob/master/schema/Node.schema.yaml"
}