1 | {
|
2 | "title": "Mark",
|
3 | "@id": "stencila:Mark",
|
4 | "extends": "Entity",
|
5 | "role": "base",
|
6 | "status": "stable",
|
7 | "category": "prose",
|
8 | "description": "A base class for nodes that mark some other inline content\nin some way (e.g. as being emphasised, or quoted).\n",
|
9 | "properties": {
|
10 | "type": {
|
11 | "@id": "schema:type",
|
12 | "description": "The name of the type.",
|
13 | "type": "string",
|
14 | "enum": [
|
15 | "Mark",
|
16 | "Delete",
|
17 | "Emphasis",
|
18 | "NontextualAnnotation",
|
19 | "Quote",
|
20 | "Strong",
|
21 | "Subscript",
|
22 | "Superscript"
|
23 | ],
|
24 | "default": "Mark",
|
25 | "from": "Entity"
|
26 | },
|
27 | "id": {
|
28 | "@id": "schema:id",
|
29 | "description": "The identifier for this item.",
|
30 | "type": "string",
|
31 | "from": "Entity"
|
32 | },
|
33 | "meta": {
|
34 | "@id": "stencila:meta",
|
35 | "description": "Metadata associated with this item.",
|
36 | "type": "object",
|
37 | "from": "Entity"
|
38 | },
|
39 | "content": {
|
40 | "@id": "stencila:content",
|
41 | "description": "The content that is marked.",
|
42 | "type": "array",
|
43 | "items": {
|
44 | "$ref": "InlineContent.schema.json"
|
45 | },
|
46 | "from": "Mark",
|
47 | "isArray": true
|
48 | }
|
49 | },
|
50 | "required": [
|
51 | "type",
|
52 | "content"
|
53 | ],
|
54 | "file": "Mark.schema.yaml",
|
55 | "children": [
|
56 | "Delete",
|
57 | "Emphasis",
|
58 | "NontextualAnnotation",
|
59 | "Quote",
|
60 | "Strong",
|
61 | "Subscript",
|
62 | "Superscript"
|
63 | ],
|
64 | "descendants": [
|
65 | "Delete",
|
66 | "Emphasis",
|
67 | "NontextualAnnotation",
|
68 | "Quote",
|
69 | "Strong",
|
70 | "Subscript",
|
71 | "Superscript"
|
72 | ],
|
73 | "$schema": "http://json-schema.org/draft-07/schema#",
|
74 | "$id": "https://schema.stenci.la/v0/Mark.schema.json",
|
75 | "source": "https://github.com/stencila/schema/blob/master/Mark.schema.yaml",
|
76 | "type": "object",
|
77 | "additionalProperties": false,
|
78 | "propertyAliases": {}
|
79 | }
|