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