@vivliostyle/cli 5.9.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/dist/browser.d.ts +1 -1
  2. package/dist/browser.d.ts.map +1 -1
  3. package/dist/browser.js +20 -51
  4. package/dist/browser.js.map +1 -1
  5. package/dist/build.d.ts +1 -1
  6. package/dist/build.d.ts.map +1 -1
  7. package/dist/build.js +46 -47
  8. package/dist/build.js.map +1 -1
  9. package/dist/builder.d.ts +5 -6
  10. package/dist/builder.d.ts.map +1 -1
  11. package/dist/builder.js +124 -103
  12. package/dist/builder.js.map +1 -1
  13. package/dist/cli.js +5 -10
  14. package/dist/cli.js.map +1 -1
  15. package/dist/commands/build.js +10 -16
  16. package/dist/commands/build.js.map +1 -1
  17. package/dist/commands/build.parser.d.ts +3 -3
  18. package/dist/commands/build.parser.d.ts.map +1 -1
  19. package/dist/commands/build.parser.js +13 -21
  20. package/dist/commands/build.parser.js.map +1 -1
  21. package/dist/commands/init.js +7 -9
  22. package/dist/commands/init.js.map +1 -1
  23. package/dist/commands/init.parser.d.ts +2 -2
  24. package/dist/commands/init.parser.d.ts.map +1 -1
  25. package/dist/commands/init.parser.js +3 -10
  26. package/dist/commands/init.parser.js.map +1 -1
  27. package/dist/commands/preview.js +8 -11
  28. package/dist/commands/preview.js.map +1 -1
  29. package/dist/commands/preview.parser.d.ts +2 -2
  30. package/dist/commands/preview.parser.d.ts.map +1 -1
  31. package/dist/commands/preview.parser.js +5 -12
  32. package/dist/commands/preview.parser.js.map +1 -1
  33. package/dist/config.d.ts +29 -18
  34. package/dist/config.d.ts.map +1 -1
  35. package/dist/config.js +285 -251
  36. package/dist/config.js.map +1 -1
  37. package/dist/const.d.ts +2 -0
  38. package/dist/const.d.ts.map +1 -1
  39. package/dist/const.js +12 -15
  40. package/dist/const.js.map +1 -1
  41. package/dist/container.js +31 -41
  42. package/dist/container.js.map +1 -1
  43. package/dist/epub.d.ts.map +1 -1
  44. package/dist/epub.js +10 -17
  45. package/dist/epub.js.map +1 -1
  46. package/dist/html.d.ts +3 -3
  47. package/dist/html.d.ts.map +1 -1
  48. package/dist/html.js +21 -30
  49. package/dist/html.js.map +1 -1
  50. package/dist/index.d.ts +5 -5
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +3 -9
  53. package/dist/index.js.map +1 -1
  54. package/dist/init.js +12 -19
  55. package/dist/init.js.map +1 -1
  56. package/dist/input.d.ts +2 -2
  57. package/dist/input.d.ts.map +1 -1
  58. package/dist/input.js +8 -16
  59. package/dist/input.js.map +1 -1
  60. package/dist/markdown.js +9 -17
  61. package/dist/markdown.js.map +1 -1
  62. package/dist/output.d.ts +1 -1
  63. package/dist/output.d.ts.map +1 -1
  64. package/dist/output.js +6 -16
  65. package/dist/output.js.map +1 -1
  66. package/dist/pdf.d.ts +3 -3
  67. package/dist/pdf.d.ts.map +1 -1
  68. package/dist/pdf.js +66 -79
  69. package/dist/pdf.js.map +1 -1
  70. package/dist/postprocess.d.ts +5 -5
  71. package/dist/postprocess.d.ts.map +1 -1
  72. package/dist/postprocess.js +54 -81
  73. package/dist/postprocess.js.map +1 -1
  74. package/dist/preview.d.ts +1 -1
  75. package/dist/preview.d.ts.map +1 -1
  76. package/dist/preview.js +53 -58
  77. package/dist/preview.js.map +1 -1
  78. package/dist/schema/pubManifest.d.ts +2 -471
  79. package/dist/schema/pubManifest.d.ts.map +1 -1
  80. package/dist/schema/pubManifest.js +41 -42
  81. package/dist/schema/pubManifest.js.map +1 -1
  82. package/dist/schema/publication.schema.d.ts +12 -12
  83. package/dist/schema/publication.schema.d.ts.map +1 -1
  84. package/dist/schema/publication.schema.js +1 -2
  85. package/dist/schema/publication.schema.js.map +1 -1
  86. package/dist/schema/vivliostyle.d.ts +1 -1
  87. package/dist/schema/vivliostyle.d.ts.map +1 -1
  88. package/dist/schema/vivliostyle.js +7 -8
  89. package/dist/schema/vivliostyle.js.map +1 -1
  90. package/dist/schema/vivliostyleConfig.schema.d.ts +22 -9
  91. package/dist/schema/vivliostyleConfig.schema.d.ts.map +1 -1
  92. package/dist/schema/vivliostyleConfig.schema.js +1 -2
  93. package/dist/schema/vivliostyleConfig.schema.js.map +1 -1
  94. package/dist/server.d.ts +7 -6
  95. package/dist/server.d.ts.map +1 -1
  96. package/dist/server.js +26 -38
  97. package/dist/server.js.map +1 -1
  98. package/dist/theme.d.ts +6 -0
  99. package/dist/theme.d.ts.map +1 -0
  100. package/dist/theme.js +74 -0
  101. package/dist/theme.js.map +1 -0
  102. package/dist/util.d.ts +3 -3
  103. package/dist/util.d.ts.map +1 -1
  104. package/dist/util.js +80 -98
  105. package/dist/util.js.map +1 -1
  106. package/dist/webbook.d.ts +1 -1
  107. package/dist/webbook.d.ts.map +1 -1
  108. package/dist/webbook.js +40 -44
  109. package/dist/webbook.js.map +1 -1
  110. package/package.json +32 -16
  111. package/schemas/pubManifest/README.md +5 -0
  112. package/schemas/pubManifest/module/ItemList.schema.json +32 -0
  113. package/schemas/pubManifest/module/bcp.schema.json +7 -0
  114. package/schemas/pubManifest/module/context.schema.json +62 -0
  115. package/schemas/pubManifest/module/contributor-object.schema.json +42 -0
  116. package/schemas/pubManifest/module/contributor.schema.json +26 -0
  117. package/schemas/pubManifest/module/date.schema.json +7 -0
  118. package/schemas/pubManifest/module/duration.schema.json +7 -0
  119. package/schemas/pubManifest/module/item-lists.schema.json +16 -0
  120. package/schemas/pubManifest/module/language.schema.json +16 -0
  121. package/schemas/pubManifest/module/link.schema.json +60 -0
  122. package/schemas/pubManifest/module/localizable-object.schema.json +15 -0
  123. package/schemas/pubManifest/module/localizable.schema.json +26 -0
  124. package/schemas/pubManifest/module/resource.categorization.schema.json +31 -0
  125. package/schemas/pubManifest/module/strings.schema.json +9 -0
  126. package/schemas/pubManifest/module/url.schema.json +7 -0
  127. package/schemas/pubManifest/module/urls.schema.json +18 -0
  128. package/schemas/pubManifest/publication.schema.json +123 -0
  129. package/schemas/vivliostyle/vivliostyleConfig.schema.json +348 -0
  130. package/types/better-ajv-errors.d.ts +28 -0
  131. package/types/custom.d.ts +9 -0
  132. package/types/playwright.d.ts +49 -0
  133. package/dist/schema/pubManifest/module/ItemList.schema.json +0 -32
  134. package/dist/schema/pubManifest/module/bcp.schema.json +0 -7
  135. package/dist/schema/pubManifest/module/context.schema.json +0 -62
  136. package/dist/schema/pubManifest/module/contributor-object.schema.json +0 -42
  137. package/dist/schema/pubManifest/module/contributor.schema.json +0 -26
  138. package/dist/schema/pubManifest/module/date.schema.json +0 -7
  139. package/dist/schema/pubManifest/module/duration.schema.json +0 -7
  140. package/dist/schema/pubManifest/module/item-lists.schema.json +0 -16
  141. package/dist/schema/pubManifest/module/language.schema.json +0 -16
  142. package/dist/schema/pubManifest/module/link.schema.json +0 -60
  143. package/dist/schema/pubManifest/module/localizable-object.schema.json +0 -15
  144. package/dist/schema/pubManifest/module/localizable.schema.json +0 -26
  145. package/dist/schema/pubManifest/module/resource.categorization.schema.json +0 -31
  146. package/dist/schema/pubManifest/module/strings.schema.json +0 -9
  147. package/dist/schema/pubManifest/module/url.schema.json +0 -7
  148. package/dist/schema/pubManifest/module/urls.schema.json +0 -18
  149. package/dist/schema/pubManifest/publication.schema.json +0 -123
  150. package/dist/schema/vivliostyle/vivliostyleConfig.schema.json +0 -296
@@ -0,0 +1,32 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/ItemList.schema.json",
4
+ "title": "schema.org ItemList object",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "oneOf": [
9
+ {
10
+ "type": "string",
11
+ "const": "ItemList"
12
+ },
13
+ {
14
+ "type": "array",
15
+ "items": {
16
+ "type": "string"
17
+ },
18
+ "contains": {
19
+ "const": "ItemList"
20
+ }
21
+ }
22
+ ]
23
+ },
24
+ "itemListElement": {
25
+ "type": ["array"],
26
+ "items": {
27
+ "type": "string"
28
+ }
29
+ }
30
+ },
31
+ "required": ["type", "itemListElement"]
32
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/bcp.schema.json",
4
+ "title": "BCP47 Language tag",
5
+ "type": "string",
6
+ "pattern": "^((?:(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))|((?:([A-Za-z]{2,3}(-(?:[A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-(?:[A-Za-z]{4}))?(-(?:[A-Za-z]{2}|[0-9]{3}))?(-(?:[A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-(?:[0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(?:x(-[A-Za-z0-9]{1,8})+))?)|(?:x(-[A-Za-z0-9]{1,8})+))$"
7
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/context.schema.json",
4
+ "title": "Publication Contexts",
5
+ "type": "array",
6
+ "items": [
7
+ {
8
+ "const": "https://schema.org"
9
+ },
10
+ {
11
+ "const": "https://www.w3.org/ns/pub-context"
12
+ }
13
+ ],
14
+ "additionalItems": {
15
+ "anyOf": [
16
+ {
17
+ "type": "string"
18
+ },
19
+ {
20
+ "type": "object",
21
+ "properties": {
22
+ "language": {
23
+ "$ref": "bcp.schema.json"
24
+ },
25
+ "direction": false
26
+ },
27
+ "required": ["language"]
28
+ },
29
+ {
30
+ "type": "object",
31
+ "properties": {
32
+ "direction": {
33
+ "type": "string",
34
+ "enum": ["ltr", "rtl"]
35
+ },
36
+ "language": false
37
+ },
38
+ "required": ["direction"]
39
+ },
40
+ {
41
+ "type": "object",
42
+ "properties": {
43
+ "language": {
44
+ "$ref": "bcp.schema.json"
45
+ },
46
+ "direction": {
47
+ "type": "string",
48
+ "enum": ["ltr", "rtl"]
49
+ }
50
+ },
51
+ "required": ["language", "direction"]
52
+ },
53
+ {
54
+ "type": "object",
55
+ "properties": {
56
+ "language": false,
57
+ "direction": false
58
+ }
59
+ }
60
+ ]
61
+ }
62
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/contributor-object.schema.json",
4
+ "title": "Contributor Object",
5
+ "type": "object",
6
+ "properties": {
7
+ "name": {
8
+ "$ref": "localizable.schema.json"
9
+ },
10
+ "id": {
11
+ "$ref": "url.schema.json"
12
+ },
13
+ "type": {
14
+ "oneOf": [
15
+ {
16
+ "type": "string",
17
+ "enum": ["Person", "Organization"],
18
+ "default": "Person"
19
+ },
20
+ {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "string"
24
+ },
25
+ "contains": {
26
+ "enum": ["Person", "Organization"]
27
+ }
28
+ }
29
+ ]
30
+ },
31
+ "url": {
32
+ "$ref": "url.schema.json"
33
+ },
34
+ "identifier": {
35
+ "type": "array",
36
+ "items": {
37
+ "type": "string"
38
+ }
39
+ }
40
+ },
41
+ "required": ["name"]
42
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/contributor.schema.json",
4
+ "title": "Contributor",
5
+ "anyOf": [
6
+ {
7
+ "type": "string"
8
+ },
9
+ {
10
+ "type": "array",
11
+ "items": {
12
+ "anyOf": [
13
+ {
14
+ "type": "string"
15
+ },
16
+ {
17
+ "$ref": "contributor-object.schema.json"
18
+ }
19
+ ]
20
+ }
21
+ },
22
+ {
23
+ "$ref": "contributor-object.schema.json"
24
+ }
25
+ ]
26
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/date.schema.json",
4
+ "title": "Dates",
5
+ "type": "string",
6
+ "format": "date-time"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/duration.schema.json",
4
+ "title": "Duration",
5
+ "type": "string",
6
+ "pattern": "^P(?!$)((\\d+Y)|(\\d+\\.\\d+Y$))?((\\d+M)|(\\d+\\.\\d+M$))?((\\d+W)|(\\d+\\.\\d+W$))?((\\d+D)|(\\d+\\.\\d+D$))?(T(?=\\d)((\\d+H)|(\\d+\\.\\d+H$))?((\\d+M)|(\\d+\\.\\d+M$))?(\\d+(\\.\\d+)?S)?)??$"
7
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/item-lists.schema.json",
4
+ "title": "Lists of ItemList",
5
+ "oneOf": [
6
+ {
7
+ "$ref": "ItemList.schema.json"
8
+ },
9
+ {
10
+ "type": "array",
11
+ "items": {
12
+ "$ref": "ItemList.schema.json"
13
+ }
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/language.schema.json",
4
+ "title": "Languages",
5
+ "oneOf": [
6
+ {
7
+ "$ref": "bcp.schema.json"
8
+ },
9
+ {
10
+ "type": "array",
11
+ "items": {
12
+ "$ref": "bcp.schema.json"
13
+ }
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/link.schema.json",
4
+ "title": "Publication Links",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "oneOf": [
9
+ {
10
+ "type": "string",
11
+ "const": "LinkedResource"
12
+ },
13
+ {
14
+ "type": "array",
15
+ "items": {
16
+ "type": "string"
17
+ },
18
+ "contains": {
19
+ "const": "LinkedResource"
20
+ }
21
+ }
22
+ ]
23
+ },
24
+ "url": {
25
+ "$ref": "url.schema.json"
26
+ },
27
+ "encodingFormat": {
28
+ "type": "string"
29
+ },
30
+ "name": {
31
+ "$ref": "localizable.schema.json"
32
+ },
33
+ "description": {
34
+ "anyOf": [
35
+ {
36
+ "type": "string"
37
+ },
38
+ {
39
+ "$ref": "localizable-object.schema.json"
40
+ }
41
+ ]
42
+ },
43
+ "rel": {
44
+ "type": ["string", "array"],
45
+ "items": {
46
+ "type": "string"
47
+ }
48
+ },
49
+ "integrity": {
50
+ "type": "string"
51
+ },
52
+ "duration": {
53
+ "$ref": "duration.schema.json"
54
+ },
55
+ "alternate": {
56
+ "$ref": "resource.categorization.schema.json"
57
+ }
58
+ },
59
+ "required": ["url"]
60
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/localizable-object.schema.json",
4
+ "title": "Localizable String Object",
5
+ "type": "object",
6
+ "properties": {
7
+ "value": {
8
+ "type": "string"
9
+ },
10
+ "language": {
11
+ "$ref": "bcp.schema.json"
12
+ }
13
+ },
14
+ "required": ["value"]
15
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/localizable.schema.json",
4
+ "title": "Localizable String or Object",
5
+ "anyOf": [
6
+ {
7
+ "type": "string"
8
+ },
9
+ {
10
+ "type": "array",
11
+ "items": {
12
+ "anyOf": [
13
+ {
14
+ "type": "string"
15
+ },
16
+ {
17
+ "$ref": "localizable-object.schema.json"
18
+ }
19
+ ]
20
+ }
21
+ },
22
+ {
23
+ "$ref": "localizable-object.schema.json"
24
+ }
25
+ ]
26
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/resource.categorization.schema.json",
4
+ "title": "Resource Categorization",
5
+ "oneOf": [
6
+ {
7
+ "oneOf": [
8
+ {
9
+ "$ref": "url.schema.json"
10
+ },
11
+ {
12
+ "$ref": "link.schema.json"
13
+ }
14
+ ]
15
+ },
16
+ {
17
+ "type": "array",
18
+ "items": {
19
+ "anyOf": [
20
+ {
21
+ "$ref": "url.schema.json"
22
+ },
23
+ {
24
+ "$ref": "link.schema.json"
25
+ }
26
+ ]
27
+ },
28
+ "uniqueItems": true
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/strings.schema.json",
4
+ "title": "Unique strings",
5
+ "type": ["string", "array"],
6
+ "items": {
7
+ "type": "string"
8
+ }
9
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/url.schema.json",
4
+ "title": "URL",
5
+ "type": "string",
6
+ "format": "uri-reference"
7
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/module/urls.schema.json",
4
+ "title": "URLs",
5
+ "oneOf": [
6
+ {
7
+ "type": "string",
8
+ "format": "uri-reference"
9
+ },
10
+ {
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string",
14
+ "format": "uri-reference"
15
+ }
16
+ }
17
+ ]
18
+ }
@@ -0,0 +1,123 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://www.w3.org/ns/pub-schema/manifest/publication.schema.json",
4
+ "title": "Publication Manifest",
5
+ "type": "object",
6
+ "properties": {
7
+ "@context": {
8
+ "$ref": "module/context.schema.json"
9
+ },
10
+ "type": {
11
+ "type": ["string", "array"],
12
+ "items": {
13
+ "type": "string"
14
+ }
15
+ },
16
+ "conformsTo": {
17
+ "oneOf": [
18
+ {
19
+ "$ref": "module/url.schema.json"
20
+ },
21
+ {
22
+ "type": "array",
23
+ "items": {
24
+ "$ref": "module/url.schema.json"
25
+ }
26
+ }
27
+ ]
28
+ },
29
+ "id": {
30
+ "type": "string"
31
+ },
32
+ "abridged": {
33
+ "type": "boolean"
34
+ },
35
+ "accessMode": {
36
+ "$ref": "module/strings.schema.json"
37
+ },
38
+ "accessModeSufficient": {
39
+ "$ref": "module/item-lists.schema.json"
40
+ },
41
+ "accessibilityFeature": {
42
+ "$ref": "module/strings.schema.json"
43
+ },
44
+ "accessibilityHazard": {
45
+ "$ref": "module/strings.schema.json"
46
+ },
47
+ "accessibilitySummary": {
48
+ "$ref": "module/localizable.schema.json"
49
+ },
50
+ "artist": {
51
+ "$ref": "module/contributor.schema.json"
52
+ },
53
+ "author": {
54
+ "$ref": "module/contributor.schema.json"
55
+ },
56
+ "colorist": {
57
+ "$ref": "module/contributor.schema.json"
58
+ },
59
+ "contributor": {
60
+ "$ref": "module/contributor.schema.json"
61
+ },
62
+ "creator": {
63
+ "$ref": "module/contributor.schema.json"
64
+ },
65
+ "editor": {
66
+ "$ref": "module/contributor.schema.json"
67
+ },
68
+ "illustrator": {
69
+ "$ref": "module/contributor.schema.json"
70
+ },
71
+ "inker": {
72
+ "$ref": "module/contributor.schema.json"
73
+ },
74
+ "letterer": {
75
+ "$ref": "module/contributor.schema.json"
76
+ },
77
+ "penciler": {
78
+ "$ref": "module/contributor.schema.json"
79
+ },
80
+ "publisher": {
81
+ "$ref": "module/contributor.schema.json"
82
+ },
83
+ "readBy": {
84
+ "$ref": "module/contributor.schema.json"
85
+ },
86
+ "translator": {
87
+ "$ref": "module/contributor.schema.json"
88
+ },
89
+ "url": {
90
+ "$ref": "module/urls.schema.json"
91
+ },
92
+ "duration": {
93
+ "$ref": "module/duration.schema.json"
94
+ },
95
+ "inLanguage": {
96
+ "$ref": "module/language.schema.json"
97
+ },
98
+ "dateModified": {
99
+ "$ref": "module/date.schema.json"
100
+ },
101
+ "datePublished": {
102
+ "$ref": "module/date.schema.json"
103
+ },
104
+ "name": {
105
+ "$ref": "module/localizable.schema.json"
106
+ },
107
+ "readingOrder": {
108
+ "$ref": "module/resource.categorization.schema.json"
109
+ },
110
+ "resources": {
111
+ "$ref": "module/resource.categorization.schema.json"
112
+ },
113
+ "links": {
114
+ "$ref": "module/resource.categorization.schema.json"
115
+ },
116
+ "readingProgression": {
117
+ "type": "string",
118
+ "enum": ["ltr", "rtl"],
119
+ "default": "ltr"
120
+ }
121
+ },
122
+ "required": ["@context", "conformsTo"]
123
+ }