UNPKG

4.77 kBJSONView Raw
1{
2 "title": "Entity",
3 "@id": "stencila:Entity",
4 "status": "stable",
5 "role": "base",
6 "category": "metadata",
7 "description": "The most simple compound (ie. non-atomic like `number`, `string` etc) type.",
8 "$comment": "This type exists mainly to have a more simple base class than schema.org's `Thing`.\nThis schema includes special properties that are analagours to JSON-LDs `@type` and `@id`,\nas well as a `meta` property that can be used by applications for ad-hoc extensions.\n",
9 "properties": {
10 "type": {
11 "@id": "schema:type",
12 "description": "The name of the type.",
13 "type": "string",
14 "enum": [
15 "Entity",
16 "ArrayValidator",
17 "Article",
18 "AudioObject",
19 "BooleanValidator",
20 "Brand",
21 "Cite",
22 "CiteGroup",
23 "Code",
24 "CodeBlock",
25 "CodeChunk",
26 "CodeError",
27 "CodeExpression",
28 "CodeFragment",
29 "Collection",
30 "Comment",
31 "ConstantValidator",
32 "ContactPoint",
33 "CreativeWork",
34 "Datatable",
35 "DatatableColumn",
36 "Date",
37 "DefinedTerm",
38 "Delete",
39 "Emphasis",
40 "EnumValidator",
41 "Figure",
42 "Function",
43 "Grant",
44 "Heading",
45 "ImageObject",
46 "Include",
47 "IntegerValidator",
48 "Link",
49 "List",
50 "ListItem",
51 "Mark",
52 "Math",
53 "MathBlock",
54 "MathFragment",
55 "MediaObject",
56 "MonetaryGrant",
57 "NontextualAnnotation",
58 "NumberValidator",
59 "Organization",
60 "Paragraph",
61 "Parameter",
62 "Periodical",
63 "Person",
64 "PostalAddress",
65 "Product",
66 "PropertyValue",
67 "PublicationIssue",
68 "PublicationVolume",
69 "Quote",
70 "QuoteBlock",
71 "Review",
72 "SoftwareApplication",
73 "SoftwareEnvironment",
74 "SoftwareSession",
75 "SoftwareSourceCode",
76 "StringValidator",
77 "Strong",
78 "Subscript",
79 "Superscript",
80 "Table",
81 "TableCell",
82 "TableRow",
83 "ThematicBreak",
84 "Thing",
85 "TupleValidator",
86 "Variable",
87 "VideoObject",
88 "VolumeMount"
89 ],
90 "default": "Entity",
91 "from": "Entity"
92 },
93 "id": {
94 "@id": "schema:id",
95 "description": "The identifier for this item.",
96 "type": "string",
97 "from": "Entity"
98 },
99 "meta": {
100 "@id": "stencila:meta",
101 "description": "Metadata associated with this item.",
102 "type": "object",
103 "from": "Entity"
104 }
105 },
106 "required": [
107 "type"
108 ],
109 "file": "Entity.schema.yaml",
110 "children": [
111 "ArrayValidator",
112 "BooleanValidator",
113 "Cite",
114 "CiteGroup",
115 "Code",
116 "CodeError",
117 "ConstantValidator",
118 "Date",
119 "EnumValidator",
120 "Function",
121 "Heading",
122 "Include",
123 "Link",
124 "List",
125 "Mark",
126 "Math",
127 "NumberValidator",
128 "Paragraph",
129 "QuoteBlock",
130 "StringValidator",
131 "TableCell",
132 "TableRow",
133 "ThematicBreak",
134 "Thing",
135 "TupleValidator",
136 "Variable"
137 ],
138 "descendants": [
139 "ArrayValidator",
140 "Article",
141 "AudioObject",
142 "BooleanValidator",
143 "Brand",
144 "Cite",
145 "CiteGroup",
146 "Code",
147 "CodeBlock",
148 "CodeChunk",
149 "CodeError",
150 "CodeExpression",
151 "CodeFragment",
152 "Collection",
153 "Comment",
154 "ConstantValidator",
155 "ContactPoint",
156 "CreativeWork",
157 "Datatable",
158 "DatatableColumn",
159 "Date",
160 "DefinedTerm",
161 "Delete",
162 "Emphasis",
163 "EnumValidator",
164 "Figure",
165 "Function",
166 "Grant",
167 "Heading",
168 "ImageObject",
169 "Include",
170 "IntegerValidator",
171 "Link",
172 "List",
173 "ListItem",
174 "Mark",
175 "Math",
176 "MathBlock",
177 "MathFragment",
178 "MediaObject",
179 "MonetaryGrant",
180 "NontextualAnnotation",
181 "NumberValidator",
182 "Organization",
183 "Paragraph",
184 "Parameter",
185 "Periodical",
186 "Person",
187 "PostalAddress",
188 "Product",
189 "PropertyValue",
190 "PublicationIssue",
191 "PublicationVolume",
192 "Quote",
193 "QuoteBlock",
194 "Review",
195 "SoftwareApplication",
196 "SoftwareEnvironment",
197 "SoftwareSession",
198 "SoftwareSourceCode",
199 "StringValidator",
200 "Strong",
201 "Subscript",
202 "Superscript",
203 "Table",
204 "TableCell",
205 "TableRow",
206 "ThematicBreak",
207 "Thing",
208 "TupleValidator",
209 "Variable",
210 "VideoObject",
211 "VolumeMount"
212 ],
213 "$schema": "http://json-schema.org/draft-07/schema#",
214 "$id": "https://schema.stenci.la/v0/Entity.schema.json",
215 "source": "https://github.com/stencila/schema/blob/master/Entity.schema.yaml",
216 "type": "object",
217 "additionalProperties": false
218}