1 | {
|
2 | "title": "NontextualAnnotation",
|
3 | "@id": "stencila:NontextualAnnotation",
|
4 | "extends": "Mark",
|
5 | "role": "secondary",
|
6 | "status": "stable",
|
7 | "category": "text",
|
8 | "description": "Inline text that has a non-textual annotation.",
|
9 | "$comment": "Use cases include annotating spelling errors, denoting proper names in Chinese text,\nrepresenting underline text, and other forms of annotation. See\n- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u\n- http://html5doctor.com/u-element/\n- https://jats.nlm.nih.gov/archiving/tag-library/1.1/element/underline.html\n- https://github.com/jgm/pandoc-types/blob/master/src/Text/Pandoc/Definition.hs#L320\n",
|
10 | "properties": {
|
11 | "type": {
|
12 | "@id": "schema:type",
|
13 | "description": "The name of the type.",
|
14 | "type": "string",
|
15 | "enum": [
|
16 | "NontextualAnnotation"
|
17 | ],
|
18 | "default": "NontextualAnnotation",
|
19 | "from": "Entity"
|
20 | },
|
21 | "id": {
|
22 | "@id": "schema:id",
|
23 | "description": "The identifier for this item.",
|
24 | "type": "string",
|
25 | "from": "Entity"
|
26 | },
|
27 | "meta": {
|
28 | "@id": "stencila:meta",
|
29 | "description": "Metadata associated with this item.",
|
30 | "type": "object",
|
31 | "from": "Entity"
|
32 | },
|
33 | "content": {
|
34 | "@id": "stencila:content",
|
35 | "description": "The content that is marked.",
|
36 | "type": "array",
|
37 | "items": {
|
38 | "$ref": "InlineContent.schema.json"
|
39 | },
|
40 | "from": "Mark",
|
41 | "isArray": true
|
42 | }
|
43 | },
|
44 | "file": "NontextualAnnotation.schema.yaml",
|
45 | "children": [],
|
46 | "descendants": [],
|
47 | "$schema": "http://json-schema.org/draft-07/schema#",
|
48 | "$id": "https://schema.stenci.la/v1/NontextualAnnotation.schema.json",
|
49 | "source": "https://github.com/stencila/schema/blob/master/schema/NontextualAnnotation.schema.yaml",
|
50 | "type": "object",
|
51 | "additionalProperties": false,
|
52 | "required": [
|
53 | "type",
|
54 | "content"
|
55 | ],
|
56 | "propertyAliases": {}
|
57 | }
|