1 | {
|
2 | "title": "Emphasis",
|
3 | "@id": "stencila:Emphasis",
|
4 | "extends": "Mark",
|
5 | "role": "secondary",
|
6 | "status": "stable",
|
7 | "category": "text",
|
8 | "description": "Emphasised content.",
|
9 | "$comment": "Analogues of `Delete` in other schema include:\n - HTML [`<em>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em)\n - JATS XML [`<italic>`](https://jats.nlm.nih.gov/archiving/tag-library/1.1/element/italic.html)\n - MDAST [`Emphasis`](https://github.com/syntax-tree/mdast#emphasis)\n - Pandoc [`Emph`](https://github.com/jgm/pandoc-types/blob/1.17.5.4/Text/Pandoc/Definition.hs#L256)\n",
|
10 | "properties": {
|
11 | "type": {
|
12 | "@id": "schema:type",
|
13 | "description": "The name of the type.",
|
14 | "type": "string",
|
15 | "enum": [
|
16 | "Emphasis"
|
17 | ],
|
18 | "default": "Emphasis",
|
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 | "examples": [
|
45 | {
|
46 | "type": "Paragraph",
|
47 | "content": [
|
48 | "The following content has extra ",
|
49 | {
|
50 | "type": "Emphasis",
|
51 | "content": [
|
52 | "emphasis"
|
53 | ]
|
54 | }
|
55 | ]
|
56 | }
|
57 | ],
|
58 | "file": "Emphasis.schema.yaml",
|
59 | "children": [],
|
60 | "descendants": [],
|
61 | "$schema": "http://json-schema.org/draft-07/schema#",
|
62 | "$id": "https://schema.stenci.la/v1/Emphasis.schema.json",
|
63 | "source": "https://github.com/stencila/schema/blob/master/schema/Emphasis.schema.yaml",
|
64 | "type": "object",
|
65 | "additionalProperties": false,
|
66 | "required": [
|
67 | "type",
|
68 | "content"
|
69 | ],
|
70 | "propertyAliases": {}
|
71 | }
|