1 | {
|
2 | "title": "BooleanValidator",
|
3 | "@id": "stencila:BooleanValidator",
|
4 | "extends": "Entity",
|
5 | "role": "validation",
|
6 | "status": "unstable",
|
7 | "category": "data",
|
8 | "description": "A schema specifying that a node must be a boolean value.",
|
9 | "$comment": "A node will be valid against this schema if it is either `true` or `false.\nAnalogous to the JSON Schema `boolean` validation [type](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.1.1).\n",
|
10 | "properties": {
|
11 | "type": {
|
12 | "@id": "schema:type",
|
13 | "description": "The name of the type.",
|
14 | "type": "string",
|
15 | "enum": [
|
16 | "BooleanValidator"
|
17 | ],
|
18 | "default": "BooleanValidator",
|
19 | "from": "Entity"
|
20 | },
|
21 | "id": {
|
22 | "@id": "schema:id",
|
23 | "description": "The identifier for this item.",
|
24 | "type": "string",
|
25 | "from": "Entity"
|
26 | },
|
27 | "meta": {
|
28 | "@id": "stencila:meta",
|
29 | "description": "Metadata associated with this item.",
|
30 | "type": "object",
|
31 | "from": "Entity"
|
32 | }
|
33 | },
|
34 | "file": "BooleanValidator.schema.yaml",
|
35 | "children": [],
|
36 | "descendants": [],
|
37 | "$schema": "http://json-schema.org/draft-07/schema#",
|
38 | "$id": "https://schema.stenci.la/v0/BooleanValidator.schema.json",
|
39 | "source": "https://github.com/stencila/schema/blob/master/BooleanValidator.schema.yaml",
|
40 | "type": "object",
|
41 | "additionalProperties": false,
|
42 | "required": [
|
43 | "type"
|
44 | ],
|
45 | "propertyAliases": {}
|
46 | }
|