UNPKG

1.64 kBJSONView Raw
1{
2 "title": "Quote",
3 "@id": "stencila:Quote",
4 "extends": "Mark",
5 "role": "secondary",
6 "status": "stable",
7 "category": "text",
8 "description": "Inline, quoted content.",
9 "properties": {
10 "type": {
11 "@id": "schema:type",
12 "description": "The name of the type.",
13 "type": "string",
14 "enum": [
15 "Quote"
16 ],
17 "default": "Quote",
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 content that is marked.",
35 "type": "array",
36 "items": {
37 "$ref": "InlineContent.schema.json"
38 },
39 "from": "Mark",
40 "isArray": true
41 },
42 "cite": {
43 "@id": "stencila:cite",
44 "description": "The source of the quote.",
45 "anyOf": [
46 {
47 "$ref": "Cite.schema.json"
48 },
49 {
50 "type": "string",
51 "format": "uri"
52 }
53 ],
54 "from": "Quote"
55 }
56 },
57 "file": "Quote.schema.yaml",
58 "children": [],
59 "descendants": [],
60 "$schema": "http://json-schema.org/draft-07/schema#",
61 "$id": "https://schema.stenci.la/v1/Quote.schema.json",
62 "source": "https://github.com/stencila/schema/blob/master/schema/Quote.schema.yaml",
63 "type": "object",
64 "additionalProperties": false,
65 "required": [
66 "type",
67 "content"
68 ],
69 "propertyAliases": {}
70}