@podlite/schema 0.0.76 → 0.0.78
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.podlite +8 -0
- package/esm/codes/read.d.ts +1 -2
- package/esm/codes/read.js +0 -5
- package/esm/codes/read.js.map +1 -1
- package/esm/codes/scan.d.ts +0 -1
- package/esm/codes/scan.js +5 -13
- package/esm/codes/scan.js.map +1 -1
- package/esm/exportHtml.js +7 -1
- package/esm/exportHtml.js.map +1 -1
- package/esm/exportMarkdown.js +7 -1
- package/esm/exportMarkdown.js.map +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/esm/plugin-formatting-codes.js +28 -1
- package/esm/plugin-formatting-codes.js.map +1 -1
- package/esm/types.d.ts +5 -4
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/lib/codes/read.d.ts +1 -2
- package/lib/codes/read.js +0 -5
- package/lib/codes/scan.d.ts +0 -1
- package/lib/codes/scan.js +5 -13
- package/lib/exportHtml.js +7 -1
- package/lib/exportMarkdown.js +7 -1
- package/lib/index.js +1 -1
- package/lib/plugin-formatting-codes.js +28 -1
- package/lib/types.d.ts +5 -4
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/schema/AstTree.json +89 -36
- package/schema/PodliteDocument.json +89 -36
package/schema/AstTree.json
CHANGED
|
@@ -344,6 +344,9 @@
|
|
|
344
344
|
"items": {
|
|
345
345
|
"$ref": "#/definitions/ConfigItem"
|
|
346
346
|
}
|
|
347
|
+
},
|
|
348
|
+
"caption": {
|
|
349
|
+
"$ref": "#/definitions/BlockCaption"
|
|
347
350
|
}
|
|
348
351
|
},
|
|
349
352
|
"required": [
|
|
@@ -400,6 +403,39 @@
|
|
|
400
403
|
"value"
|
|
401
404
|
]
|
|
402
405
|
},
|
|
406
|
+
"BlockCaption": {
|
|
407
|
+
"type": "object",
|
|
408
|
+
"properties": {
|
|
409
|
+
"name": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"const": "caption"
|
|
412
|
+
},
|
|
413
|
+
"content": {
|
|
414
|
+
"type": "array",
|
|
415
|
+
"items": {
|
|
416
|
+
"$ref": "#/definitions/PodNode"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"set": {
|
|
420
|
+
"type": "array",
|
|
421
|
+
"items": {
|
|
422
|
+
"$ref": "#/definitions/ConfigItem"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"type": {
|
|
426
|
+
"type": "string",
|
|
427
|
+
"const": "block"
|
|
428
|
+
},
|
|
429
|
+
"guarded": {
|
|
430
|
+
"type": "boolean"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"required": [
|
|
434
|
+
"content",
|
|
435
|
+
"name",
|
|
436
|
+
"type"
|
|
437
|
+
]
|
|
438
|
+
},
|
|
403
439
|
"BlockData": {
|
|
404
440
|
"type": "object",
|
|
405
441
|
"properties": {
|
|
@@ -447,6 +483,9 @@
|
|
|
447
483
|
"items": {
|
|
448
484
|
"$ref": "#/definitions/ConfigItem"
|
|
449
485
|
}
|
|
486
|
+
},
|
|
487
|
+
"caption": {
|
|
488
|
+
"$ref": "#/definitions/BlockCaption"
|
|
450
489
|
}
|
|
451
490
|
},
|
|
452
491
|
"required": [
|
|
@@ -480,6 +519,9 @@
|
|
|
480
519
|
"$ref": "#/definitions/ConfigItem"
|
|
481
520
|
}
|
|
482
521
|
},
|
|
522
|
+
"caption": {
|
|
523
|
+
"$ref": "#/definitions/BlockCaption"
|
|
524
|
+
},
|
|
483
525
|
"margin": {
|
|
484
526
|
"type": "string"
|
|
485
527
|
},
|
|
@@ -584,6 +626,9 @@
|
|
|
584
626
|
"items": {
|
|
585
627
|
"$ref": "#/definitions/ConfigItem"
|
|
586
628
|
}
|
|
629
|
+
},
|
|
630
|
+
"caption": {
|
|
631
|
+
"$ref": "#/definitions/BlockCaption"
|
|
587
632
|
}
|
|
588
633
|
},
|
|
589
634
|
"required": [
|
|
@@ -653,6 +698,9 @@
|
|
|
653
698
|
"items": {
|
|
654
699
|
"$ref": "#/definitions/ConfigItem"
|
|
655
700
|
}
|
|
701
|
+
},
|
|
702
|
+
"caption": {
|
|
703
|
+
"$ref": "#/definitions/BlockCaption"
|
|
656
704
|
}
|
|
657
705
|
},
|
|
658
706
|
"required": [
|
|
@@ -710,6 +758,9 @@
|
|
|
710
758
|
"items": {
|
|
711
759
|
"$ref": "#/definitions/ConfigItem"
|
|
712
760
|
}
|
|
761
|
+
},
|
|
762
|
+
"caption": {
|
|
763
|
+
"$ref": "#/definitions/BlockCaption"
|
|
713
764
|
}
|
|
714
765
|
},
|
|
715
766
|
"required": [
|
|
@@ -767,6 +818,9 @@
|
|
|
767
818
|
"items": {
|
|
768
819
|
"$ref": "#/definitions/ConfigItem"
|
|
769
820
|
}
|
|
821
|
+
},
|
|
822
|
+
"caption": {
|
|
823
|
+
"$ref": "#/definitions/BlockCaption"
|
|
770
824
|
}
|
|
771
825
|
},
|
|
772
826
|
"required": [
|
|
@@ -824,6 +878,9 @@
|
|
|
824
878
|
"items": {
|
|
825
879
|
"$ref": "#/definitions/ConfigItem"
|
|
826
880
|
}
|
|
881
|
+
},
|
|
882
|
+
"caption": {
|
|
883
|
+
"$ref": "#/definitions/BlockCaption"
|
|
827
884
|
}
|
|
828
885
|
},
|
|
829
886
|
"required": [
|
|
@@ -881,6 +938,9 @@
|
|
|
881
938
|
"items": {
|
|
882
939
|
"$ref": "#/definitions/ConfigItem"
|
|
883
940
|
}
|
|
941
|
+
},
|
|
942
|
+
"caption": {
|
|
943
|
+
"$ref": "#/definitions/BlockCaption"
|
|
884
944
|
}
|
|
885
945
|
},
|
|
886
946
|
"required": [
|
|
@@ -938,6 +998,9 @@
|
|
|
938
998
|
"items": {
|
|
939
999
|
"$ref": "#/definitions/ConfigItem"
|
|
940
1000
|
}
|
|
1001
|
+
},
|
|
1002
|
+
"caption": {
|
|
1003
|
+
"$ref": "#/definitions/BlockCaption"
|
|
941
1004
|
}
|
|
942
1005
|
},
|
|
943
1006
|
"required": [
|
|
@@ -1004,6 +1067,9 @@
|
|
|
1004
1067
|
"items": {
|
|
1005
1068
|
"$ref": "#/definitions/ConfigItem"
|
|
1006
1069
|
}
|
|
1070
|
+
},
|
|
1071
|
+
"caption": {
|
|
1072
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1007
1073
|
}
|
|
1008
1074
|
},
|
|
1009
1075
|
"required": [
|
|
@@ -1062,6 +1128,9 @@
|
|
|
1062
1128
|
"items": {
|
|
1063
1129
|
"$ref": "#/definitions/ConfigItem"
|
|
1064
1130
|
}
|
|
1131
|
+
},
|
|
1132
|
+
"caption": {
|
|
1133
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1065
1134
|
}
|
|
1066
1135
|
},
|
|
1067
1136
|
"required": [
|
|
@@ -1119,6 +1188,9 @@
|
|
|
1119
1188
|
"items": {
|
|
1120
1189
|
"$ref": "#/definitions/ConfigItem"
|
|
1121
1190
|
}
|
|
1191
|
+
},
|
|
1192
|
+
"caption": {
|
|
1193
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1122
1194
|
}
|
|
1123
1195
|
},
|
|
1124
1196
|
"required": [
|
|
@@ -1790,6 +1862,9 @@
|
|
|
1790
1862
|
"$ref": "#/definitions/ConfigItem"
|
|
1791
1863
|
}
|
|
1792
1864
|
},
|
|
1865
|
+
"caption": {
|
|
1866
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1867
|
+
},
|
|
1793
1868
|
"margin": {
|
|
1794
1869
|
"type": "string"
|
|
1795
1870
|
},
|
|
@@ -1850,6 +1925,9 @@
|
|
|
1850
1925
|
"$ref": "#/definitions/ConfigItem"
|
|
1851
1926
|
}
|
|
1852
1927
|
},
|
|
1928
|
+
"caption": {
|
|
1929
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1930
|
+
},
|
|
1853
1931
|
"margin": {
|
|
1854
1932
|
"type": "string"
|
|
1855
1933
|
},
|
|
@@ -1900,7 +1978,6 @@
|
|
|
1900
1978
|
"code": {
|
|
1901
1979
|
"enum": [
|
|
1902
1980
|
"directive-unreadable",
|
|
1903
|
-
"markup-code-entity-in-code",
|
|
1904
1981
|
"markup-code-foreign-closer",
|
|
1905
1982
|
"markup-code-longer-run",
|
|
1906
1983
|
"markup-code-reserved",
|
|
@@ -1984,6 +2061,9 @@
|
|
|
1984
2061
|
"$ref": "#/definitions/ConfigItem"
|
|
1985
2062
|
}
|
|
1986
2063
|
},
|
|
2064
|
+
"caption": {
|
|
2065
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2066
|
+
},
|
|
1987
2067
|
"margin": {
|
|
1988
2068
|
"type": "string"
|
|
1989
2069
|
},
|
|
@@ -2214,6 +2294,9 @@
|
|
|
2214
2294
|
"items": {
|
|
2215
2295
|
"$ref": "#/definitions/ConfigItem"
|
|
2216
2296
|
}
|
|
2297
|
+
},
|
|
2298
|
+
"caption": {
|
|
2299
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2217
2300
|
}
|
|
2218
2301
|
},
|
|
2219
2302
|
"required": [
|
|
@@ -2326,6 +2409,9 @@
|
|
|
2326
2409
|
"items": {
|
|
2327
2410
|
"$ref": "#/definitions/ConfigItem"
|
|
2328
2411
|
}
|
|
2412
|
+
},
|
|
2413
|
+
"caption": {
|
|
2414
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2329
2415
|
}
|
|
2330
2416
|
},
|
|
2331
2417
|
"required": [
|
|
@@ -2344,7 +2430,7 @@
|
|
|
2344
2430
|
"const": "picture"
|
|
2345
2431
|
},
|
|
2346
2432
|
"caption": {
|
|
2347
|
-
"
|
|
2433
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2348
2434
|
},
|
|
2349
2435
|
"link": {
|
|
2350
2436
|
"type": "string"
|
|
@@ -2428,39 +2514,6 @@
|
|
|
2428
2514
|
"type"
|
|
2429
2515
|
]
|
|
2430
2516
|
},
|
|
2431
|
-
"BlockCaption": {
|
|
2432
|
-
"type": "object",
|
|
2433
|
-
"properties": {
|
|
2434
|
-
"name": {
|
|
2435
|
-
"type": "string",
|
|
2436
|
-
"const": "caption"
|
|
2437
|
-
},
|
|
2438
|
-
"content": {
|
|
2439
|
-
"type": "array",
|
|
2440
|
-
"items": {
|
|
2441
|
-
"$ref": "#/definitions/PodNode"
|
|
2442
|
-
}
|
|
2443
|
-
},
|
|
2444
|
-
"set": {
|
|
2445
|
-
"type": "array",
|
|
2446
|
-
"items": {
|
|
2447
|
-
"$ref": "#/definitions/ConfigItem"
|
|
2448
|
-
}
|
|
2449
|
-
},
|
|
2450
|
-
"type": {
|
|
2451
|
-
"type": "string",
|
|
2452
|
-
"const": "block"
|
|
2453
|
-
},
|
|
2454
|
-
"guarded": {
|
|
2455
|
-
"type": "boolean"
|
|
2456
|
-
}
|
|
2457
|
-
},
|
|
2458
|
-
"required": [
|
|
2459
|
-
"content",
|
|
2460
|
-
"name",
|
|
2461
|
-
"type"
|
|
2462
|
-
]
|
|
2463
|
-
},
|
|
2464
2517
|
"BlockImage": {
|
|
2465
2518
|
"type": "object",
|
|
2466
2519
|
"properties": {
|
|
@@ -2469,7 +2522,7 @@
|
|
|
2469
2522
|
"const": "image"
|
|
2470
2523
|
},
|
|
2471
2524
|
"caption": {
|
|
2472
|
-
"
|
|
2525
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2473
2526
|
},
|
|
2474
2527
|
"link": {
|
|
2475
2528
|
"type": "string"
|
|
@@ -344,6 +344,9 @@
|
|
|
344
344
|
"items": {
|
|
345
345
|
"$ref": "#/definitions/ConfigItem"
|
|
346
346
|
}
|
|
347
|
+
},
|
|
348
|
+
"caption": {
|
|
349
|
+
"$ref": "#/definitions/BlockCaption"
|
|
347
350
|
}
|
|
348
351
|
},
|
|
349
352
|
"required": [
|
|
@@ -400,6 +403,39 @@
|
|
|
400
403
|
"value"
|
|
401
404
|
]
|
|
402
405
|
},
|
|
406
|
+
"BlockCaption": {
|
|
407
|
+
"type": "object",
|
|
408
|
+
"properties": {
|
|
409
|
+
"name": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"const": "caption"
|
|
412
|
+
},
|
|
413
|
+
"content": {
|
|
414
|
+
"type": "array",
|
|
415
|
+
"items": {
|
|
416
|
+
"$ref": "#/definitions/PodNode"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"set": {
|
|
420
|
+
"type": "array",
|
|
421
|
+
"items": {
|
|
422
|
+
"$ref": "#/definitions/ConfigItem"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"type": {
|
|
426
|
+
"type": "string",
|
|
427
|
+
"const": "block"
|
|
428
|
+
},
|
|
429
|
+
"guarded": {
|
|
430
|
+
"type": "boolean"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"required": [
|
|
434
|
+
"content",
|
|
435
|
+
"name",
|
|
436
|
+
"type"
|
|
437
|
+
]
|
|
438
|
+
},
|
|
403
439
|
"BlockData": {
|
|
404
440
|
"type": "object",
|
|
405
441
|
"properties": {
|
|
@@ -447,6 +483,9 @@
|
|
|
447
483
|
"items": {
|
|
448
484
|
"$ref": "#/definitions/ConfigItem"
|
|
449
485
|
}
|
|
486
|
+
},
|
|
487
|
+
"caption": {
|
|
488
|
+
"$ref": "#/definitions/BlockCaption"
|
|
450
489
|
}
|
|
451
490
|
},
|
|
452
491
|
"required": [
|
|
@@ -480,6 +519,9 @@
|
|
|
480
519
|
"$ref": "#/definitions/ConfigItem"
|
|
481
520
|
}
|
|
482
521
|
},
|
|
522
|
+
"caption": {
|
|
523
|
+
"$ref": "#/definitions/BlockCaption"
|
|
524
|
+
},
|
|
483
525
|
"margin": {
|
|
484
526
|
"type": "string"
|
|
485
527
|
},
|
|
@@ -584,6 +626,9 @@
|
|
|
584
626
|
"items": {
|
|
585
627
|
"$ref": "#/definitions/ConfigItem"
|
|
586
628
|
}
|
|
629
|
+
},
|
|
630
|
+
"caption": {
|
|
631
|
+
"$ref": "#/definitions/BlockCaption"
|
|
587
632
|
}
|
|
588
633
|
},
|
|
589
634
|
"required": [
|
|
@@ -653,6 +698,9 @@
|
|
|
653
698
|
"items": {
|
|
654
699
|
"$ref": "#/definitions/ConfigItem"
|
|
655
700
|
}
|
|
701
|
+
},
|
|
702
|
+
"caption": {
|
|
703
|
+
"$ref": "#/definitions/BlockCaption"
|
|
656
704
|
}
|
|
657
705
|
},
|
|
658
706
|
"required": [
|
|
@@ -710,6 +758,9 @@
|
|
|
710
758
|
"items": {
|
|
711
759
|
"$ref": "#/definitions/ConfigItem"
|
|
712
760
|
}
|
|
761
|
+
},
|
|
762
|
+
"caption": {
|
|
763
|
+
"$ref": "#/definitions/BlockCaption"
|
|
713
764
|
}
|
|
714
765
|
},
|
|
715
766
|
"required": [
|
|
@@ -767,6 +818,9 @@
|
|
|
767
818
|
"items": {
|
|
768
819
|
"$ref": "#/definitions/ConfigItem"
|
|
769
820
|
}
|
|
821
|
+
},
|
|
822
|
+
"caption": {
|
|
823
|
+
"$ref": "#/definitions/BlockCaption"
|
|
770
824
|
}
|
|
771
825
|
},
|
|
772
826
|
"required": [
|
|
@@ -824,6 +878,9 @@
|
|
|
824
878
|
"items": {
|
|
825
879
|
"$ref": "#/definitions/ConfigItem"
|
|
826
880
|
}
|
|
881
|
+
},
|
|
882
|
+
"caption": {
|
|
883
|
+
"$ref": "#/definitions/BlockCaption"
|
|
827
884
|
}
|
|
828
885
|
},
|
|
829
886
|
"required": [
|
|
@@ -881,6 +938,9 @@
|
|
|
881
938
|
"items": {
|
|
882
939
|
"$ref": "#/definitions/ConfigItem"
|
|
883
940
|
}
|
|
941
|
+
},
|
|
942
|
+
"caption": {
|
|
943
|
+
"$ref": "#/definitions/BlockCaption"
|
|
884
944
|
}
|
|
885
945
|
},
|
|
886
946
|
"required": [
|
|
@@ -938,6 +998,9 @@
|
|
|
938
998
|
"items": {
|
|
939
999
|
"$ref": "#/definitions/ConfigItem"
|
|
940
1000
|
}
|
|
1001
|
+
},
|
|
1002
|
+
"caption": {
|
|
1003
|
+
"$ref": "#/definitions/BlockCaption"
|
|
941
1004
|
}
|
|
942
1005
|
},
|
|
943
1006
|
"required": [
|
|
@@ -1004,6 +1067,9 @@
|
|
|
1004
1067
|
"items": {
|
|
1005
1068
|
"$ref": "#/definitions/ConfigItem"
|
|
1006
1069
|
}
|
|
1070
|
+
},
|
|
1071
|
+
"caption": {
|
|
1072
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1007
1073
|
}
|
|
1008
1074
|
},
|
|
1009
1075
|
"required": [
|
|
@@ -1062,6 +1128,9 @@
|
|
|
1062
1128
|
"items": {
|
|
1063
1129
|
"$ref": "#/definitions/ConfigItem"
|
|
1064
1130
|
}
|
|
1131
|
+
},
|
|
1132
|
+
"caption": {
|
|
1133
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1065
1134
|
}
|
|
1066
1135
|
},
|
|
1067
1136
|
"required": [
|
|
@@ -1119,6 +1188,9 @@
|
|
|
1119
1188
|
"items": {
|
|
1120
1189
|
"$ref": "#/definitions/ConfigItem"
|
|
1121
1190
|
}
|
|
1191
|
+
},
|
|
1192
|
+
"caption": {
|
|
1193
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1122
1194
|
}
|
|
1123
1195
|
},
|
|
1124
1196
|
"required": [
|
|
@@ -1790,6 +1862,9 @@
|
|
|
1790
1862
|
"$ref": "#/definitions/ConfigItem"
|
|
1791
1863
|
}
|
|
1792
1864
|
},
|
|
1865
|
+
"caption": {
|
|
1866
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1867
|
+
},
|
|
1793
1868
|
"margin": {
|
|
1794
1869
|
"type": "string"
|
|
1795
1870
|
},
|
|
@@ -1850,6 +1925,9 @@
|
|
|
1850
1925
|
"$ref": "#/definitions/ConfigItem"
|
|
1851
1926
|
}
|
|
1852
1927
|
},
|
|
1928
|
+
"caption": {
|
|
1929
|
+
"$ref": "#/definitions/BlockCaption"
|
|
1930
|
+
},
|
|
1853
1931
|
"margin": {
|
|
1854
1932
|
"type": "string"
|
|
1855
1933
|
},
|
|
@@ -1900,7 +1978,6 @@
|
|
|
1900
1978
|
"code": {
|
|
1901
1979
|
"enum": [
|
|
1902
1980
|
"directive-unreadable",
|
|
1903
|
-
"markup-code-entity-in-code",
|
|
1904
1981
|
"markup-code-foreign-closer",
|
|
1905
1982
|
"markup-code-longer-run",
|
|
1906
1983
|
"markup-code-reserved",
|
|
@@ -1984,6 +2061,9 @@
|
|
|
1984
2061
|
"$ref": "#/definitions/ConfigItem"
|
|
1985
2062
|
}
|
|
1986
2063
|
},
|
|
2064
|
+
"caption": {
|
|
2065
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2066
|
+
},
|
|
1987
2067
|
"margin": {
|
|
1988
2068
|
"type": "string"
|
|
1989
2069
|
},
|
|
@@ -2214,6 +2294,9 @@
|
|
|
2214
2294
|
"items": {
|
|
2215
2295
|
"$ref": "#/definitions/ConfigItem"
|
|
2216
2296
|
}
|
|
2297
|
+
},
|
|
2298
|
+
"caption": {
|
|
2299
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2217
2300
|
}
|
|
2218
2301
|
},
|
|
2219
2302
|
"required": [
|
|
@@ -2326,6 +2409,9 @@
|
|
|
2326
2409
|
"items": {
|
|
2327
2410
|
"$ref": "#/definitions/ConfigItem"
|
|
2328
2411
|
}
|
|
2412
|
+
},
|
|
2413
|
+
"caption": {
|
|
2414
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2329
2415
|
}
|
|
2330
2416
|
},
|
|
2331
2417
|
"required": [
|
|
@@ -2344,7 +2430,7 @@
|
|
|
2344
2430
|
"const": "picture"
|
|
2345
2431
|
},
|
|
2346
2432
|
"caption": {
|
|
2347
|
-
"
|
|
2433
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2348
2434
|
},
|
|
2349
2435
|
"link": {
|
|
2350
2436
|
"type": "string"
|
|
@@ -2428,39 +2514,6 @@
|
|
|
2428
2514
|
"type"
|
|
2429
2515
|
]
|
|
2430
2516
|
},
|
|
2431
|
-
"BlockCaption": {
|
|
2432
|
-
"type": "object",
|
|
2433
|
-
"properties": {
|
|
2434
|
-
"name": {
|
|
2435
|
-
"type": "string",
|
|
2436
|
-
"const": "caption"
|
|
2437
|
-
},
|
|
2438
|
-
"content": {
|
|
2439
|
-
"type": "array",
|
|
2440
|
-
"items": {
|
|
2441
|
-
"$ref": "#/definitions/PodNode"
|
|
2442
|
-
}
|
|
2443
|
-
},
|
|
2444
|
-
"set": {
|
|
2445
|
-
"type": "array",
|
|
2446
|
-
"items": {
|
|
2447
|
-
"$ref": "#/definitions/ConfigItem"
|
|
2448
|
-
}
|
|
2449
|
-
},
|
|
2450
|
-
"type": {
|
|
2451
|
-
"type": "string",
|
|
2452
|
-
"const": "block"
|
|
2453
|
-
},
|
|
2454
|
-
"guarded": {
|
|
2455
|
-
"type": "boolean"
|
|
2456
|
-
}
|
|
2457
|
-
},
|
|
2458
|
-
"required": [
|
|
2459
|
-
"content",
|
|
2460
|
-
"name",
|
|
2461
|
-
"type"
|
|
2462
|
-
]
|
|
2463
|
-
},
|
|
2464
2517
|
"BlockImage": {
|
|
2465
2518
|
"type": "object",
|
|
2466
2519
|
"properties": {
|
|
@@ -2469,7 +2522,7 @@
|
|
|
2469
2522
|
"const": "image"
|
|
2470
2523
|
},
|
|
2471
2524
|
"caption": {
|
|
2472
|
-
"
|
|
2525
|
+
"$ref": "#/definitions/BlockCaption"
|
|
2473
2526
|
},
|
|
2474
2527
|
"link": {
|
|
2475
2528
|
"type": "string"
|