@podlite/schema 0.0.5 → 0.0.9
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.
- package/CHANGELOG.md +15 -0
- package/lib/ast-helpers.d.ts +1 -0
- package/lib/ast-helpers.js +15 -0
- package/lib/ast-inerator.d.ts +7 -0
- package/lib/ast-inerator.js +70 -0
- package/lib/blocks-helpers.d.ts +20 -10
- package/lib/blocks-helpers.js +54 -34
- package/lib/index.d.ts +6 -8
- package/lib/index.js +38 -52
- package/lib/query-helpers.d.ts +27 -0
- package/lib/query-helpers.js +133 -0
- package/lib/types.d.ts +30 -4
- package/package.json +20 -11
- package/schema/AstTree.json +329 -140
- package/schema/PodliteDocument.json +329 -140
- package/schema/index.d.ts +3 -0
- package/schema/index.js +4 -0
|
@@ -22,6 +22,214 @@
|
|
|
22
22
|
"type"
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
|
+
"Toc": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"type": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"enum": [
|
|
31
|
+
"toc"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"title": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"content": {
|
|
38
|
+
"$ref": "#/definitions/TocList"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": [
|
|
42
|
+
"content",
|
|
43
|
+
"type"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"TocList": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"type": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"enum": [
|
|
52
|
+
"toc-list"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"level": {
|
|
56
|
+
"type": "number"
|
|
57
|
+
},
|
|
58
|
+
"content": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"anyOf": [
|
|
62
|
+
{
|
|
63
|
+
"$ref": "#/definitions/TocList"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"$ref": "#/definitions/TocItem"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": [
|
|
73
|
+
"content",
|
|
74
|
+
"level",
|
|
75
|
+
"type"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"TocItem": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"type": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"enum": [
|
|
84
|
+
"toc-item"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"node": {
|
|
88
|
+
"$ref": "#/definitions/PodNode"
|
|
89
|
+
},
|
|
90
|
+
"content": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": {
|
|
93
|
+
"$ref": "#/definitions/PodNode"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": [
|
|
98
|
+
"content",
|
|
99
|
+
"node",
|
|
100
|
+
"type"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"PodNode": {
|
|
104
|
+
"anyOf": [
|
|
105
|
+
{
|
|
106
|
+
"$ref": "#/definitions/Image"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"$ref": "#/definitions/Toc"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"$ref": "#/definitions/BlockImage"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"$ref": "#/definitions/BlockCaption"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"$ref": "#/definitions/RootBlock"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"$ref": "#/definitions/FormattingCodeB"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"$ref": "#/definitions/FormattingCodeC"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"$ref": "#/definitions/FormattingCodeE"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"$ref": "#/definitions/FormattingCodeN"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"$ref": "#/definitions/FormattingCodeX"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"$ref": "#/definitions/FormattingCodeZ"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"$ref": "#/definitions/FormattingCodeV"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"$ref": "#/definitions/FormattingCodeS"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"$ref": "#/definitions/FormattingCodeA"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"$ref": "#/definitions/FormattingCodeD"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"$ref": "#/definitions/FormattingCodeL"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"$ref": "#/definitions/FormattingCodeI"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"$ref": "#/definitions/FormattingCodeAny"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"$ref": "#/definitions/Ambient"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"$ref": "#/definitions/Verbatim"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"$ref": "#/definitions/Text"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"$ref": "#/definitions/Para"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"$ref": "#/definitions/Code"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"$ref": "#/definitions/BlankLine"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"$ref": "#/definitions/List"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"$ref": "#/definitions/BlockConfig"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"$ref": "#/definitions/Alias"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"$ref": "#/definitions/Separator"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"$ref": "#/definitions/BlockPod"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"$ref": "#/definitions/BlockData"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"$ref": "#/definitions/BlockComment"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"$ref": "#/definitions/BlockDefn"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"$ref": "#/definitions/BlockItem"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"$ref": "#/definitions/BlockOutput"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"$ref": "#/definitions/BlockInput"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"$ref": "#/definitions/BlockPara"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"$ref": "#/definitions/BlockCode"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"$ref": "#/definitions/BlockNested"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"$ref": "#/definitions/BlockHead"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"$ref": "#/definitions/BlockTable"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"$ref": "#/definitions/BlockNamed"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"type": "string"
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
},
|
|
25
233
|
"BlockImage": {
|
|
26
234
|
"type": "object",
|
|
27
235
|
"properties": {
|
|
@@ -31,15 +239,24 @@
|
|
|
31
239
|
"image"
|
|
32
240
|
]
|
|
33
241
|
},
|
|
242
|
+
"caption": {
|
|
243
|
+
"type": "string"
|
|
244
|
+
},
|
|
245
|
+
"link": {
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
34
248
|
"content": {
|
|
35
249
|
"type": "array",
|
|
36
250
|
"items": [
|
|
37
251
|
{
|
|
38
252
|
"$ref": "#/definitions/Image"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"$ref": "#/definitions/BlockCaption"
|
|
39
256
|
}
|
|
40
257
|
],
|
|
41
|
-
"minItems":
|
|
42
|
-
"maxItems":
|
|
258
|
+
"minItems": 2,
|
|
259
|
+
"maxItems": 2
|
|
43
260
|
},
|
|
44
261
|
"type": {
|
|
45
262
|
"type": "string",
|
|
@@ -65,6 +282,9 @@
|
|
|
65
282
|
}
|
|
66
283
|
]
|
|
67
284
|
}
|
|
285
|
+
},
|
|
286
|
+
"id": {
|
|
287
|
+
"type": "string"
|
|
68
288
|
}
|
|
69
289
|
},
|
|
70
290
|
"required": [
|
|
@@ -75,6 +295,34 @@
|
|
|
75
295
|
"type"
|
|
76
296
|
]
|
|
77
297
|
},
|
|
298
|
+
"BlockCaption": {
|
|
299
|
+
"type": "object",
|
|
300
|
+
"properties": {
|
|
301
|
+
"name": {
|
|
302
|
+
"type": "string",
|
|
303
|
+
"enum": [
|
|
304
|
+
"caption"
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
"content": {
|
|
308
|
+
"type": "array",
|
|
309
|
+
"items": {
|
|
310
|
+
"$ref": "#/definitions/PodNode"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"type": {
|
|
314
|
+
"type": "string",
|
|
315
|
+
"enum": [
|
|
316
|
+
"block"
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"required": [
|
|
321
|
+
"content",
|
|
322
|
+
"name",
|
|
323
|
+
"type"
|
|
324
|
+
]
|
|
325
|
+
},
|
|
78
326
|
"Location": {
|
|
79
327
|
"type": "object",
|
|
80
328
|
"properties": {
|
|
@@ -228,6 +476,9 @@
|
|
|
228
476
|
}
|
|
229
477
|
]
|
|
230
478
|
}
|
|
479
|
+
},
|
|
480
|
+
"id": {
|
|
481
|
+
"type": "string"
|
|
231
482
|
}
|
|
232
483
|
},
|
|
233
484
|
"required": [
|
|
@@ -243,130 +494,6 @@
|
|
|
243
494
|
"$ref": "#/definitions/PodNode"
|
|
244
495
|
}
|
|
245
496
|
},
|
|
246
|
-
"PodNode": {
|
|
247
|
-
"anyOf": [
|
|
248
|
-
{
|
|
249
|
-
"$ref": "#/definitions/Image"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"$ref": "#/definitions/BlockImage"
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"$ref": "#/definitions/RootBlock"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"$ref": "#/definitions/FormattingCodeB"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"$ref": "#/definitions/FormattingCodeC"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"$ref": "#/definitions/FormattingCodeE"
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"$ref": "#/definitions/FormattingCodeN"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"$ref": "#/definitions/FormattingCodeX"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"$ref": "#/definitions/FormattingCodeZ"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"$ref": "#/definitions/FormattingCodeV"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"$ref": "#/definitions/FormattingCodeS"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"$ref": "#/definitions/FormattingCodeA"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"$ref": "#/definitions/FormattingCodeD"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"$ref": "#/definitions/FormattingCodeL"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"$ref": "#/definitions/FormattingCodeI"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"$ref": "#/definitions/FormattingCodeAny"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"$ref": "#/definitions/Ambient"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"$ref": "#/definitions/Verbatim"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"$ref": "#/definitions/Text"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"$ref": "#/definitions/Para"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"$ref": "#/definitions/Code"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"$ref": "#/definitions/BlankLine"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"$ref": "#/definitions/List"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"$ref": "#/definitions/BlockConfig"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"$ref": "#/definitions/Alias"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"$ref": "#/definitions/Separator"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"$ref": "#/definitions/BlockPod"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"$ref": "#/definitions/BlockData"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"$ref": "#/definitions/BlockComment"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"$ref": "#/definitions/BlockDefn"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"$ref": "#/definitions/BlockItem"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"$ref": "#/definitions/BlockOutput"
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"$ref": "#/definitions/BlockInput"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"$ref": "#/definitions/BlockPara"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"$ref": "#/definitions/BlockCode"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"$ref": "#/definitions/BlockNested"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"$ref": "#/definitions/BlockHead"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"$ref": "#/definitions/BlockTable"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"$ref": "#/definitions/BlockNamed"
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"type": "string"
|
|
367
|
-
}
|
|
368
|
-
]
|
|
369
|
-
},
|
|
370
497
|
"FormattingCodeB": {
|
|
371
498
|
"type": "object",
|
|
372
499
|
"properties": {
|
|
@@ -1029,9 +1156,15 @@
|
|
|
1029
1156
|
{
|
|
1030
1157
|
"$ref": "#/definitions/Image"
|
|
1031
1158
|
},
|
|
1159
|
+
{
|
|
1160
|
+
"$ref": "#/definitions/Toc"
|
|
1161
|
+
},
|
|
1032
1162
|
{
|
|
1033
1163
|
"$ref": "#/definitions/BlockImage"
|
|
1034
1164
|
},
|
|
1165
|
+
{
|
|
1166
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1167
|
+
},
|
|
1035
1168
|
{
|
|
1036
1169
|
"$ref": "#/definitions/RootBlock"
|
|
1037
1170
|
},
|
|
@@ -1302,6 +1435,9 @@
|
|
|
1302
1435
|
}
|
|
1303
1436
|
]
|
|
1304
1437
|
}
|
|
1438
|
+
},
|
|
1439
|
+
"id": {
|
|
1440
|
+
"type": "string"
|
|
1305
1441
|
}
|
|
1306
1442
|
},
|
|
1307
1443
|
"required": [
|
|
@@ -1428,6 +1564,9 @@
|
|
|
1428
1564
|
}
|
|
1429
1565
|
]
|
|
1430
1566
|
}
|
|
1567
|
+
},
|
|
1568
|
+
"id": {
|
|
1569
|
+
"type": "string"
|
|
1431
1570
|
}
|
|
1432
1571
|
},
|
|
1433
1572
|
"required": [
|
|
@@ -1477,6 +1616,9 @@
|
|
|
1477
1616
|
}
|
|
1478
1617
|
]
|
|
1479
1618
|
}
|
|
1619
|
+
},
|
|
1620
|
+
"id": {
|
|
1621
|
+
"type": "string"
|
|
1480
1622
|
}
|
|
1481
1623
|
},
|
|
1482
1624
|
"required": [
|
|
@@ -1526,6 +1668,9 @@
|
|
|
1526
1668
|
}
|
|
1527
1669
|
]
|
|
1528
1670
|
}
|
|
1671
|
+
},
|
|
1672
|
+
"id": {
|
|
1673
|
+
"type": "string"
|
|
1529
1674
|
}
|
|
1530
1675
|
},
|
|
1531
1676
|
"required": [
|
|
@@ -1575,6 +1720,9 @@
|
|
|
1575
1720
|
}
|
|
1576
1721
|
]
|
|
1577
1722
|
}
|
|
1723
|
+
},
|
|
1724
|
+
"id": {
|
|
1725
|
+
"type": "string"
|
|
1578
1726
|
}
|
|
1579
1727
|
},
|
|
1580
1728
|
"required": [
|
|
@@ -1624,6 +1772,9 @@
|
|
|
1624
1772
|
}
|
|
1625
1773
|
]
|
|
1626
1774
|
}
|
|
1775
|
+
},
|
|
1776
|
+
"id": {
|
|
1777
|
+
"type": "string"
|
|
1627
1778
|
}
|
|
1628
1779
|
},
|
|
1629
1780
|
"required": [
|
|
@@ -1673,6 +1824,9 @@
|
|
|
1673
1824
|
}
|
|
1674
1825
|
]
|
|
1675
1826
|
}
|
|
1827
|
+
},
|
|
1828
|
+
"id": {
|
|
1829
|
+
"type": "string"
|
|
1676
1830
|
}
|
|
1677
1831
|
},
|
|
1678
1832
|
"required": [
|
|
@@ -1722,6 +1876,9 @@
|
|
|
1722
1876
|
}
|
|
1723
1877
|
]
|
|
1724
1878
|
}
|
|
1879
|
+
},
|
|
1880
|
+
"id": {
|
|
1881
|
+
"type": "string"
|
|
1725
1882
|
}
|
|
1726
1883
|
},
|
|
1727
1884
|
"required": [
|
|
@@ -1771,6 +1928,9 @@
|
|
|
1771
1928
|
}
|
|
1772
1929
|
]
|
|
1773
1930
|
}
|
|
1931
|
+
},
|
|
1932
|
+
"id": {
|
|
1933
|
+
"type": "string"
|
|
1774
1934
|
}
|
|
1775
1935
|
},
|
|
1776
1936
|
"required": [
|
|
@@ -1820,6 +1980,9 @@
|
|
|
1820
1980
|
}
|
|
1821
1981
|
]
|
|
1822
1982
|
}
|
|
1983
|
+
},
|
|
1984
|
+
"id": {
|
|
1985
|
+
"type": "string"
|
|
1823
1986
|
}
|
|
1824
1987
|
},
|
|
1825
1988
|
"required": [
|
|
@@ -1875,6 +2038,9 @@
|
|
|
1875
2038
|
}
|
|
1876
2039
|
]
|
|
1877
2040
|
}
|
|
2041
|
+
},
|
|
2042
|
+
"id": {
|
|
2043
|
+
"type": "string"
|
|
1878
2044
|
}
|
|
1879
2045
|
},
|
|
1880
2046
|
"required": [
|
|
@@ -1941,6 +2107,9 @@
|
|
|
1941
2107
|
}
|
|
1942
2108
|
]
|
|
1943
2109
|
}
|
|
2110
|
+
},
|
|
2111
|
+
"id": {
|
|
2112
|
+
"type": "string"
|
|
1944
2113
|
}
|
|
1945
2114
|
},
|
|
1946
2115
|
"required": [
|
|
@@ -2060,24 +2229,41 @@
|
|
|
2060
2229
|
"type": "string"
|
|
2061
2230
|
},
|
|
2062
2231
|
"content": {
|
|
2063
|
-
"
|
|
2064
|
-
"items": [
|
|
2232
|
+
"anyOf": [
|
|
2065
2233
|
{
|
|
2066
|
-
"
|
|
2067
|
-
|
|
2068
|
-
"$ref": "#/definitions/Verbatim"
|
|
2069
|
-
},
|
|
2070
|
-
{
|
|
2071
|
-
"$ref": "#/definitions/Para"
|
|
2072
|
-
},
|
|
2234
|
+
"type": "array",
|
|
2235
|
+
"items": [
|
|
2073
2236
|
{
|
|
2074
|
-
"
|
|
2237
|
+
"anyOf": [
|
|
2238
|
+
{
|
|
2239
|
+
"$ref": "#/definitions/Verbatim"
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"$ref": "#/definitions/Para"
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"$ref": "#/definitions/Code"
|
|
2246
|
+
}
|
|
2247
|
+
]
|
|
2075
2248
|
}
|
|
2076
|
-
]
|
|
2249
|
+
],
|
|
2250
|
+
"minItems": 0,
|
|
2251
|
+
"maxItems": 1
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
"type": "array",
|
|
2255
|
+
"items": {
|
|
2256
|
+
"anyOf": [
|
|
2257
|
+
{
|
|
2258
|
+
"$ref": "#/definitions/Image"
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2262
|
+
}
|
|
2263
|
+
]
|
|
2264
|
+
}
|
|
2077
2265
|
}
|
|
2078
|
-
]
|
|
2079
|
-
"minItems": 0,
|
|
2080
|
-
"maxItems": 1
|
|
2266
|
+
]
|
|
2081
2267
|
},
|
|
2082
2268
|
"type": {
|
|
2083
2269
|
"type": "string",
|
|
@@ -2103,6 +2289,9 @@
|
|
|
2103
2289
|
}
|
|
2104
2290
|
]
|
|
2105
2291
|
}
|
|
2292
|
+
},
|
|
2293
|
+
"id": {
|
|
2294
|
+
"type": "string"
|
|
2106
2295
|
}
|
|
2107
2296
|
},
|
|
2108
2297
|
"required": [
|
package/schema/index.js
ADDED