UNPKG

1.56 kBJSONView Raw
1{
2 "title": "Heading",
3 "@id": "stencila:Heading",
4 "extends": "Entity",
5 "role": "secondary",
6 "status": "stable",
7 "category": "prose",
8 "description": "Heading",
9 "properties": {
10 "type": {
11 "@id": "schema:type",
12 "description": "The name of the type.",
13 "type": "string",
14 "enum": [
15 "Heading"
16 ],
17 "default": "Heading",
18 "from": "Entity"
19 },
20 "id": {
21 "@id": "schema:id",
22 "description": "The identifier for this item.",
23 "type": "string",
24 "from": "Entity"
25 },
26 "meta": {
27 "@id": "stencila:meta",
28 "description": "Metadata associated with this item.",
29 "type": "object",
30 "from": "Entity"
31 },
32 "depth": {
33 "@id": "stencila:depth",
34 "description": "The depth of the heading.",
35 "type": "number",
36 "default": 1,
37 "minimum": 1,
38 "maximum": 6,
39 "from": "Heading"
40 },
41 "content": {
42 "@id": "stencila:content",
43 "description": "Content of the heading.",
44 "type": "array",
45 "items": {
46 "$ref": "InlineContent.schema.json"
47 },
48 "from": "Heading",
49 "isArray": true
50 }
51 },
52 "required": [
53 "type",
54 "content"
55 ],
56 "file": "Heading.schema.yaml",
57 "children": [],
58 "descendants": [],
59 "$schema": "http://json-schema.org/draft-07/schema#",
60 "$id": "https://schema.stenci.la/v0/Heading.schema.json",
61 "source": "https://github.com/stencila/schema/blob/master/Heading.schema.yaml",
62 "type": "object",
63 "additionalProperties": false,
64 "propertyAliases": {}
65}