UNPKG

1.38 kBJSONView Raw
1{
2 "title": "Paragraph",
3 "@id": "stencila:Paragraph",
4 "extends": "Entity",
5 "role": "secondary",
6 "status": "stable",
7 "category": "prose",
8 "description": "Paragraph",
9 "properties": {
10 "type": {
11 "@id": "schema:type",
12 "description": "The name of the type.",
13 "type": "string",
14 "enum": [
15 "Paragraph"
16 ],
17 "default": "Paragraph",
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 "content": {
33 "@id": "stencila:content",
34 "description": "The contents of the paragraph.",
35 "type": "array",
36 "items": {
37 "$ref": "InlineContent.schema.json"
38 },
39 "from": "Paragraph",
40 "isArray": true
41 }
42 },
43 "required": [
44 "type",
45 "content"
46 ],
47 "file": "Paragraph.schema.yaml",
48 "children": [],
49 "descendants": [],
50 "$schema": "http://json-schema.org/draft-07/schema#",
51 "$id": "https://schema.stenci.la/v0/Paragraph.schema.json",
52 "source": "https://github.com/stencila/schema/blob/master/Paragraph.schema.yaml",
53 "type": "object",
54 "additionalProperties": false,
55 "propertyAliases": {}
56}