1 | {
|
2 | "title": "InlineContent",
|
3 | "category": "prose",
|
4 | "description": "Union type for valid inline content.",
|
5 | "$comment": "Note that this definition currently does not include\n`array` and `object` nodes (which are included in `Node`).\nThis seems incongruent, and may be changed in the future.\nThe order of these types is important because it determines the\norder of attempted coercion (particularly important for primitive types).\n",
|
6 | "anyOf": [
|
7 | {
|
8 | "$ref": "CodeFragment.schema.json"
|
9 | },
|
10 | {
|
11 | "$ref": "CodeExpression.schema.json"
|
12 | },
|
13 | {
|
14 | "$ref": "Delete.schema.json"
|
15 | },
|
16 | {
|
17 | "$ref": "Emphasis.schema.json"
|
18 | },
|
19 | {
|
20 | "$ref": "ImageObject.schema.json"
|
21 | },
|
22 | {
|
23 | "$ref": "Link.schema.json"
|
24 | },
|
25 | {
|
26 | "$ref": "MathFragment.schema.json"
|
27 | },
|
28 | {
|
29 | "$ref": "NontextualAnnotation.schema.json"
|
30 | },
|
31 | {
|
32 | "$ref": "Quote.schema.json"
|
33 | },
|
34 | {
|
35 | "$ref": "Strong.schema.json"
|
36 | },
|
37 | {
|
38 | "$ref": "Subscript.schema.json"
|
39 | },
|
40 | {
|
41 | "$ref": "Superscript.schema.json"
|
42 | },
|
43 | {
|
44 | "$ref": "Cite.schema.json"
|
45 | },
|
46 | {
|
47 | "$ref": "CiteGroup.schema.json"
|
48 | },
|
49 | {
|
50 | "type": "integer"
|
51 | },
|
52 | {
|
53 | "type": "number"
|
54 | },
|
55 | {
|
56 | "type": "boolean"
|
57 | },
|
58 | {
|
59 | "type": "null"
|
60 | },
|
61 | {
|
62 | "type": "string"
|
63 | }
|
64 | ],
|
65 | "file": "InlineContent.schema.yaml",
|
66 | "children": [],
|
67 | "descendants": [],
|
68 | "$schema": "http://json-schema.org/draft-07/schema#",
|
69 | "$id": "https://schema.stenci.la/v0/InlineContent.schema.json",
|
70 | "source": "https://github.com/stencila/schema/blob/master/InlineContent.schema.yaml"
|
71 | }
|