document-schema 7.15.3 → 7.16.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.
- package/dist/bijection-constructs-3By08A5K.cjs +14695 -0
- package/dist/bijection-constructs-DlP29TpB.js +14624 -0
- package/dist/bijection-constructs.cjs +4 -0
- package/dist/bijection-constructs.d.cts +6 -0
- package/dist/bijection-constructs.d.ts +6 -0
- package/dist/bijection-constructs.js +2 -0
- package/dist/bijection-corpus.cjs +12 -0
- package/dist/bijection-corpus.d.cts +46 -0
- package/dist/bijection-corpus.d.ts +46 -0
- package/dist/bijection-corpus.js +2 -0
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-C9cYkjnd.d.cts → construct-GVdTKrE7.d.cts} +3 -3
- package/dist/{construct-C9cYkjnd.d.ts → construct-GVdTKrE7.d.ts} +3 -3
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-CSf8z9NW.d.cts → content-DQui8vwD.d.cts} +7917 -9507
- package/dist/{content-1yGdeaVT.d.ts → content-DaST7v0K.d.ts} +7917 -9507
- package/dist/content-drawing-DAC7_N1K.d.cts +1606 -0
- package/dist/content-drawing-DNxYhY-G.d.ts +1606 -0
- package/dist/content-drawing.cjs +186 -0
- package/dist/content-drawing.d.cts +2 -0
- package/dist/content-drawing.d.ts +2 -0
- package/dist/content-drawing.js +171 -0
- package/dist/content-json-schema-defs.cjs +27 -3033
- package/dist/content-json-schema-defs.d.cts +2 -6
- package/dist/content-json-schema-defs.d.ts +2 -6
- package/dist/content-json-schema-defs.js +28 -3031
- package/dist/content-sheet.cjs +408 -0
- package/dist/content-sheet.d.cts +2 -0
- package/dist/content-sheet.d.ts +2 -0
- package/dist/content-sheet.js +385 -0
- package/dist/content-vocabulary.cjs +190 -0
- package/dist/content-vocabulary.d.cts +2 -0
- package/dist/content-vocabulary.d.ts +2 -0
- package/dist/content-vocabulary.js +168 -0
- package/dist/content.cjs +29 -781
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +6 -701
- package/dist/decompose.d.cts +3 -2
- package/dist/decompose.d.ts +3 -2
- package/dist/definitions.cjs +2 -1
- package/dist/definitions.d.cts +4 -4
- package/dist/definitions.d.ts +4 -4
- package/dist/definitions.js +2 -1
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/index.cjs +69 -63
- package/dist/index.d.cts +11 -9
- package/dist/index.d.ts +11 -9
- package/dist/index.js +10 -6
- package/dist/json-schema-defs-blocks.cjs +1036 -0
- package/dist/json-schema-defs-blocks.d.cts +5 -0
- package/dist/json-schema-defs-blocks.d.ts +5 -0
- package/dist/json-schema-defs-blocks.js +1035 -0
- package/dist/json-schema-defs-math.cjs +291 -0
- package/dist/json-schema-defs-math.d.cts +5 -0
- package/dist/json-schema-defs-math.d.ts +5 -0
- package/dist/json-schema-defs-math.js +290 -0
- package/dist/json-schema-defs-shared.cjs +42 -0
- package/dist/json-schema-defs-shared.d.cts +9 -0
- package/dist/json-schema-defs-shared.d.ts +9 -0
- package/dist/json-schema-defs-shared.js +38 -0
- package/dist/json-schema-defs-sheet.cjs +944 -0
- package/dist/json-schema-defs-sheet.d.cts +5 -0
- package/dist/json-schema-defs-sheet.d.ts +5 -0
- package/dist/json-schema-defs-sheet.js +943 -0
- package/dist/json-schema-defs-tree.cjs +237 -0
- package/dist/json-schema-defs-tree.d.cts +5 -0
- package/dist/json-schema-defs-tree.d.ts +5 -0
- package/dist/json-schema-defs-tree.js +237 -0
- package/dist/json-schema-defs-vector.cjs +513 -0
- package/dist/json-schema-defs-vector.d.cts +5 -0
- package/dist/json-schema-defs-vector.d.ts +5 -0
- package/dist/json-schema-defs-vector.js +512 -0
- package/dist/magic-string.es-CB2hOw9v.js +1012 -0
- package/dist/magic-string.es-MEBc20Ce.cjs +1012 -0
- package/dist/{math-BScHxedi.d.cts → math-DdIQCljT.d.cts} +9 -9
- package/dist/{math-BScHxedi.d.ts → math-DdIQCljT.d.ts} +9 -9
- package/dist/math.d.cts +1 -1
- package/dist/math.d.ts +1 -1
- package/dist/{package-node-CpE1BAqK.d.ts → package-node-BMbep0jw.d.ts} +44 -43
- package/dist/{package-node-ng7Yimj9.d.cts → package-node-DXhNJt15.d.cts} +44 -43
- package/dist/package-node.cjs +12 -9
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package-node.js +4 -1
- package/dist/package.d.cts +12 -12
- package/dist/package.d.ts +12 -12
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
- package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
- package/dist/style.d.cts +1 -1
- package/dist/style.d.ts +1 -1
- package/dist/table-grid.d.cts +2 -2
- package/dist/table-grid.d.ts +2 -2
- package/dist/text-layout.d.cts +1 -1
- package/dist/text-layout.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
|
@@ -0,0 +1,513 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_json_schema_defs_shared = require("./json-schema-defs-shared.cjs");
|
|
3
|
+
//#region src/json-schema-defs-vector.ts
|
|
4
|
+
const DEFS_VECTOR = {
|
|
5
|
+
ContentStrokeDash: {
|
|
6
|
+
type: "object",
|
|
7
|
+
properties: {
|
|
8
|
+
dots1: {
|
|
9
|
+
type: "integer",
|
|
10
|
+
exclusiveMinimum: 0,
|
|
11
|
+
maximum: require_json_schema_defs_shared.MAX_SAFE_INTEGER
|
|
12
|
+
},
|
|
13
|
+
dots1LengthPt: {
|
|
14
|
+
type: "number",
|
|
15
|
+
exclusiveMinimum: 0
|
|
16
|
+
},
|
|
17
|
+
dots2: {
|
|
18
|
+
type: "integer",
|
|
19
|
+
exclusiveMinimum: 0,
|
|
20
|
+
maximum: require_json_schema_defs_shared.MAX_SAFE_INTEGER
|
|
21
|
+
},
|
|
22
|
+
dots2LengthPt: {
|
|
23
|
+
type: "number",
|
|
24
|
+
exclusiveMinimum: 0
|
|
25
|
+
},
|
|
26
|
+
distancePt: {
|
|
27
|
+
type: "number",
|
|
28
|
+
minimum: 0
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
required: [
|
|
32
|
+
"dots1",
|
|
33
|
+
"dots1LengthPt",
|
|
34
|
+
"distancePt"
|
|
35
|
+
],
|
|
36
|
+
additionalProperties: false
|
|
37
|
+
},
|
|
38
|
+
ContentStroke: {
|
|
39
|
+
type: "object",
|
|
40
|
+
properties: {
|
|
41
|
+
color: { $ref: "#/$defs/Color" },
|
|
42
|
+
widthPt: {
|
|
43
|
+
type: "number",
|
|
44
|
+
exclusiveMinimum: 0
|
|
45
|
+
},
|
|
46
|
+
style: { $ref: "#/$defs/ContentStrokeStyle" },
|
|
47
|
+
opacity: {
|
|
48
|
+
type: "number",
|
|
49
|
+
minimum: 0,
|
|
50
|
+
maximum: 1
|
|
51
|
+
},
|
|
52
|
+
dashPattern: { $ref: "#/$defs/ContentStrokeDash" }
|
|
53
|
+
},
|
|
54
|
+
required: ["color", "widthPt"],
|
|
55
|
+
additionalProperties: false
|
|
56
|
+
},
|
|
57
|
+
ContentGradientStyle: {
|
|
58
|
+
type: "string",
|
|
59
|
+
enum: [
|
|
60
|
+
"linear",
|
|
61
|
+
"axial",
|
|
62
|
+
"radial",
|
|
63
|
+
"ellipsoid",
|
|
64
|
+
"square",
|
|
65
|
+
"rectangular"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
ContentGradientFill: {
|
|
69
|
+
type: "object",
|
|
70
|
+
properties: {
|
|
71
|
+
kind: {
|
|
72
|
+
type: "string",
|
|
73
|
+
const: "gradient"
|
|
74
|
+
},
|
|
75
|
+
style: { $ref: "#/$defs/ContentGradientStyle" },
|
|
76
|
+
startColor: { $ref: "#/$defs/Color" },
|
|
77
|
+
endColor: { $ref: "#/$defs/Color" },
|
|
78
|
+
angleDeg: { type: "number" }
|
|
79
|
+
},
|
|
80
|
+
required: [
|
|
81
|
+
"kind",
|
|
82
|
+
"style",
|
|
83
|
+
"startColor",
|
|
84
|
+
"endColor"
|
|
85
|
+
],
|
|
86
|
+
additionalProperties: false
|
|
87
|
+
},
|
|
88
|
+
ContentHatchStyle: {
|
|
89
|
+
type: "string",
|
|
90
|
+
enum: [
|
|
91
|
+
"single",
|
|
92
|
+
"double",
|
|
93
|
+
"triple"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
ContentHatchFill: {
|
|
97
|
+
type: "object",
|
|
98
|
+
properties: {
|
|
99
|
+
kind: {
|
|
100
|
+
type: "string",
|
|
101
|
+
const: "hatch"
|
|
102
|
+
},
|
|
103
|
+
style: { $ref: "#/$defs/ContentHatchStyle" },
|
|
104
|
+
color: { $ref: "#/$defs/Color" },
|
|
105
|
+
distancePt: {
|
|
106
|
+
type: "number",
|
|
107
|
+
minimum: 0
|
|
108
|
+
},
|
|
109
|
+
rotationDeg: { type: "number" }
|
|
110
|
+
},
|
|
111
|
+
required: [
|
|
112
|
+
"kind",
|
|
113
|
+
"style",
|
|
114
|
+
"color",
|
|
115
|
+
"distancePt"
|
|
116
|
+
],
|
|
117
|
+
additionalProperties: false
|
|
118
|
+
},
|
|
119
|
+
ContentBitmapFill: {
|
|
120
|
+
type: "object",
|
|
121
|
+
properties: {
|
|
122
|
+
kind: {
|
|
123
|
+
type: "string",
|
|
124
|
+
const: "bitmap"
|
|
125
|
+
},
|
|
126
|
+
format: {
|
|
127
|
+
type: "string",
|
|
128
|
+
enum: [
|
|
129
|
+
"png",
|
|
130
|
+
"jpeg",
|
|
131
|
+
"svg",
|
|
132
|
+
"gif"
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
base64: { type: "string" }
|
|
136
|
+
},
|
|
137
|
+
required: [
|
|
138
|
+
"kind",
|
|
139
|
+
"format",
|
|
140
|
+
"base64"
|
|
141
|
+
],
|
|
142
|
+
additionalProperties: false
|
|
143
|
+
},
|
|
144
|
+
ContentFillPattern: { oneOf: [
|
|
145
|
+
{ $ref: "#/$defs/ContentGradientFill" },
|
|
146
|
+
{ $ref: "#/$defs/ContentHatchFill" },
|
|
147
|
+
{ $ref: "#/$defs/ContentBitmapFill" }
|
|
148
|
+
] },
|
|
149
|
+
ContentPathPoint: {
|
|
150
|
+
type: "object",
|
|
151
|
+
properties: {
|
|
152
|
+
xPt: { type: "number" },
|
|
153
|
+
yPt: { type: "number" }
|
|
154
|
+
},
|
|
155
|
+
required: ["xPt", "yPt"],
|
|
156
|
+
additionalProperties: false
|
|
157
|
+
},
|
|
158
|
+
ContentPathSegment: { oneOf: [{
|
|
159
|
+
type: "object",
|
|
160
|
+
properties: {
|
|
161
|
+
kind: {
|
|
162
|
+
type: "string",
|
|
163
|
+
const: "line"
|
|
164
|
+
},
|
|
165
|
+
to: { $ref: "#/$defs/ContentPathPoint" }
|
|
166
|
+
},
|
|
167
|
+
required: ["kind", "to"],
|
|
168
|
+
additionalProperties: false
|
|
169
|
+
}, {
|
|
170
|
+
type: "object",
|
|
171
|
+
properties: {
|
|
172
|
+
kind: {
|
|
173
|
+
type: "string",
|
|
174
|
+
const: "cubic"
|
|
175
|
+
},
|
|
176
|
+
control1: { $ref: "#/$defs/ContentPathPoint" },
|
|
177
|
+
control2: { $ref: "#/$defs/ContentPathPoint" },
|
|
178
|
+
to: { $ref: "#/$defs/ContentPathPoint" }
|
|
179
|
+
},
|
|
180
|
+
required: [
|
|
181
|
+
"kind",
|
|
182
|
+
"control1",
|
|
183
|
+
"control2",
|
|
184
|
+
"to"
|
|
185
|
+
],
|
|
186
|
+
additionalProperties: false
|
|
187
|
+
}] },
|
|
188
|
+
ContentSubpath: {
|
|
189
|
+
type: "object",
|
|
190
|
+
properties: {
|
|
191
|
+
start: { $ref: "#/$defs/ContentPathPoint" },
|
|
192
|
+
segments: {
|
|
193
|
+
type: "array",
|
|
194
|
+
items: { $ref: "#/$defs/ContentPathSegment" }
|
|
195
|
+
},
|
|
196
|
+
closed: { type: "boolean" }
|
|
197
|
+
},
|
|
198
|
+
required: [
|
|
199
|
+
"start",
|
|
200
|
+
"segments",
|
|
201
|
+
"closed"
|
|
202
|
+
],
|
|
203
|
+
additionalProperties: false
|
|
204
|
+
},
|
|
205
|
+
ContentVector: { oneOf: [
|
|
206
|
+
{
|
|
207
|
+
type: "object",
|
|
208
|
+
properties: {
|
|
209
|
+
kind: {
|
|
210
|
+
type: "string",
|
|
211
|
+
const: "rect"
|
|
212
|
+
},
|
|
213
|
+
frame: { $ref: "#/$defs/Box" },
|
|
214
|
+
rotationDeg: { type: "number" },
|
|
215
|
+
fill: { $ref: "#/$defs/Color" },
|
|
216
|
+
fillPattern: { $ref: "#/$defs/ContentFillPattern" },
|
|
217
|
+
fillOpacity: {
|
|
218
|
+
type: "number",
|
|
219
|
+
minimum: 0,
|
|
220
|
+
maximum: 1
|
|
221
|
+
},
|
|
222
|
+
stroke: { $ref: "#/$defs/ContentStroke" },
|
|
223
|
+
paintOrder: { type: "number" },
|
|
224
|
+
sourcePath: { type: "string" },
|
|
225
|
+
source: { $ref: "#/$defs/SourceResidue" },
|
|
226
|
+
frames: {
|
|
227
|
+
type: "array",
|
|
228
|
+
items: { $ref: "#/$defs/LayoutFrame" }
|
|
229
|
+
},
|
|
230
|
+
origin: { $ref: "#/$defs/ContentOrigin" },
|
|
231
|
+
interpretation: { $ref: "#/$defs/ContentInterpretation" }
|
|
232
|
+
},
|
|
233
|
+
required: ["kind", "frame"],
|
|
234
|
+
additionalProperties: false
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
type: "object",
|
|
238
|
+
properties: {
|
|
239
|
+
kind: {
|
|
240
|
+
type: "string",
|
|
241
|
+
const: "ellipse"
|
|
242
|
+
},
|
|
243
|
+
frame: { $ref: "#/$defs/Box" },
|
|
244
|
+
rotationDeg: { type: "number" },
|
|
245
|
+
fill: { $ref: "#/$defs/Color" },
|
|
246
|
+
fillPattern: { $ref: "#/$defs/ContentFillPattern" },
|
|
247
|
+
fillOpacity: {
|
|
248
|
+
type: "number",
|
|
249
|
+
minimum: 0,
|
|
250
|
+
maximum: 1
|
|
251
|
+
},
|
|
252
|
+
stroke: { $ref: "#/$defs/ContentStroke" },
|
|
253
|
+
paintOrder: { type: "number" },
|
|
254
|
+
sourcePath: { type: "string" },
|
|
255
|
+
source: { $ref: "#/$defs/SourceResidue" },
|
|
256
|
+
frames: {
|
|
257
|
+
type: "array",
|
|
258
|
+
items: { $ref: "#/$defs/LayoutFrame" }
|
|
259
|
+
},
|
|
260
|
+
origin: { $ref: "#/$defs/ContentOrigin" },
|
|
261
|
+
interpretation: { $ref: "#/$defs/ContentInterpretation" }
|
|
262
|
+
},
|
|
263
|
+
required: ["kind", "frame"],
|
|
264
|
+
additionalProperties: false
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
type: "object",
|
|
268
|
+
properties: {
|
|
269
|
+
kind: {
|
|
270
|
+
type: "string",
|
|
271
|
+
const: "line"
|
|
272
|
+
},
|
|
273
|
+
from: { $ref: "#/$defs/ContentPathPoint" },
|
|
274
|
+
to: { $ref: "#/$defs/ContentPathPoint" },
|
|
275
|
+
stroke: { $ref: "#/$defs/ContentStroke" },
|
|
276
|
+
paintOrder: { type: "number" },
|
|
277
|
+
sourcePath: { type: "string" },
|
|
278
|
+
source: { $ref: "#/$defs/SourceResidue" },
|
|
279
|
+
frames: {
|
|
280
|
+
type: "array",
|
|
281
|
+
items: { $ref: "#/$defs/LayoutFrame" }
|
|
282
|
+
},
|
|
283
|
+
origin: { $ref: "#/$defs/ContentOrigin" },
|
|
284
|
+
interpretation: { $ref: "#/$defs/ContentInterpretation" }
|
|
285
|
+
},
|
|
286
|
+
required: [
|
|
287
|
+
"kind",
|
|
288
|
+
"from",
|
|
289
|
+
"to",
|
|
290
|
+
"stroke"
|
|
291
|
+
],
|
|
292
|
+
additionalProperties: false
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
type: "object",
|
|
296
|
+
properties: {
|
|
297
|
+
kind: {
|
|
298
|
+
type: "string",
|
|
299
|
+
const: "path"
|
|
300
|
+
},
|
|
301
|
+
frame: { $ref: "#/$defs/Box" },
|
|
302
|
+
rotationDeg: { type: "number" },
|
|
303
|
+
subpaths: {
|
|
304
|
+
type: "array",
|
|
305
|
+
items: { $ref: "#/$defs/ContentSubpath" }
|
|
306
|
+
},
|
|
307
|
+
fill: { $ref: "#/$defs/Color" },
|
|
308
|
+
fillPattern: { $ref: "#/$defs/ContentFillPattern" },
|
|
309
|
+
fillOpacity: {
|
|
310
|
+
type: "number",
|
|
311
|
+
minimum: 0,
|
|
312
|
+
maximum: 1
|
|
313
|
+
},
|
|
314
|
+
fillRule: {
|
|
315
|
+
type: "string",
|
|
316
|
+
enum: ["nonzero", "evenodd"]
|
|
317
|
+
},
|
|
318
|
+
stroke: { $ref: "#/$defs/ContentStroke" },
|
|
319
|
+
paintOrder: { type: "number" },
|
|
320
|
+
sourcePath: { type: "string" },
|
|
321
|
+
source: { $ref: "#/$defs/SourceResidue" },
|
|
322
|
+
frames: {
|
|
323
|
+
type: "array",
|
|
324
|
+
items: { $ref: "#/$defs/LayoutFrame" }
|
|
325
|
+
},
|
|
326
|
+
origin: { $ref: "#/$defs/ContentOrigin" },
|
|
327
|
+
interpretation: { $ref: "#/$defs/ContentInterpretation" }
|
|
328
|
+
},
|
|
329
|
+
required: [
|
|
330
|
+
"kind",
|
|
331
|
+
"frame",
|
|
332
|
+
"subpaths"
|
|
333
|
+
],
|
|
334
|
+
additionalProperties: false
|
|
335
|
+
}
|
|
336
|
+
] },
|
|
337
|
+
ContentEmbeddedObject: {
|
|
338
|
+
type: "object",
|
|
339
|
+
properties: {
|
|
340
|
+
objectKind: {
|
|
341
|
+
type: "string",
|
|
342
|
+
enum: require_json_schema_defs_shared.EMBEDDED_OBJECT_KINDS
|
|
343
|
+
},
|
|
344
|
+
document: { $ref: require_json_schema_defs_shared.CONTENT_DOCUMENT_URI },
|
|
345
|
+
frame: { $ref: "#/$defs/Box" },
|
|
346
|
+
anchorRow: {
|
|
347
|
+
type: "integer",
|
|
348
|
+
minimum: 0,
|
|
349
|
+
maximum: require_json_schema_defs_shared.MAX_SAFE_INTEGER
|
|
350
|
+
},
|
|
351
|
+
anchorColumn: {
|
|
352
|
+
type: "integer",
|
|
353
|
+
minimum: 0,
|
|
354
|
+
maximum: require_json_schema_defs_shared.MAX_SAFE_INTEGER
|
|
355
|
+
},
|
|
356
|
+
offsetXPt: { type: "number" },
|
|
357
|
+
offsetYPt: { type: "number" },
|
|
358
|
+
source: { $ref: "#/$defs/SourceResidue" }
|
|
359
|
+
},
|
|
360
|
+
required: [
|
|
361
|
+
"objectKind",
|
|
362
|
+
"document",
|
|
363
|
+
"frame"
|
|
364
|
+
],
|
|
365
|
+
additionalProperties: false
|
|
366
|
+
},
|
|
367
|
+
SectionGroup: {
|
|
368
|
+
type: "object",
|
|
369
|
+
properties: {
|
|
370
|
+
node: { $ref: "#/$defs/SectionDescriptor" },
|
|
371
|
+
style: { type: "string" },
|
|
372
|
+
children: {
|
|
373
|
+
type: "array",
|
|
374
|
+
items: { oneOf: [
|
|
375
|
+
{ $ref: "#/$defs/HeadingGroup" },
|
|
376
|
+
{ $ref: "#/$defs/ListGroup" },
|
|
377
|
+
{ $ref: "#/$defs/SectionConstructGroup" },
|
|
378
|
+
{ $ref: "#/$defs/TreeBlockLeaf" }
|
|
379
|
+
] }
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
required: ["node", "children"],
|
|
383
|
+
additionalProperties: false
|
|
384
|
+
},
|
|
385
|
+
HeadingGroup: {
|
|
386
|
+
type: "object",
|
|
387
|
+
properties: {
|
|
388
|
+
node: { $ref: "#/$defs/HeadingParagraph" },
|
|
389
|
+
style: { type: "string" },
|
|
390
|
+
children: {
|
|
391
|
+
type: "array",
|
|
392
|
+
items: { oneOf: [
|
|
393
|
+
{ $ref: "#/$defs/HeadingGroup" },
|
|
394
|
+
{ $ref: "#/$defs/ListGroup" },
|
|
395
|
+
{ $ref: "#/$defs/SectionConstructGroup" },
|
|
396
|
+
{ $ref: "#/$defs/TreeBlockLeaf" }
|
|
397
|
+
] }
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
required: ["node", "children"],
|
|
401
|
+
additionalProperties: false
|
|
402
|
+
},
|
|
403
|
+
ListGroup: {
|
|
404
|
+
type: "object",
|
|
405
|
+
properties: {
|
|
406
|
+
node: { $ref: "#/$defs/ListParagraph" },
|
|
407
|
+
style: { type: "string" },
|
|
408
|
+
children: {
|
|
409
|
+
type: "array",
|
|
410
|
+
items: { oneOf: [
|
|
411
|
+
{ $ref: "#/$defs/ListGroup" },
|
|
412
|
+
{ $ref: "#/$defs/ShapeConstructGroup" },
|
|
413
|
+
{ $ref: "#/$defs/TreeBlockLeaf" }
|
|
414
|
+
] }
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
required: ["node", "children"],
|
|
418
|
+
additionalProperties: false
|
|
419
|
+
},
|
|
420
|
+
SlideGroup: {
|
|
421
|
+
type: "object",
|
|
422
|
+
properties: {
|
|
423
|
+
node: { $ref: "#/$defs/SlideDescriptor" },
|
|
424
|
+
style: { type: "string" },
|
|
425
|
+
children: {
|
|
426
|
+
type: "array",
|
|
427
|
+
items: { $ref: "#/$defs/ShapeGroup" }
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
required: ["node", "children"],
|
|
431
|
+
additionalProperties: false
|
|
432
|
+
},
|
|
433
|
+
ShapeGroup: {
|
|
434
|
+
type: "object",
|
|
435
|
+
properties: {
|
|
436
|
+
node: { $ref: "#/$defs/ShapeDescriptor" },
|
|
437
|
+
style: { type: "string" },
|
|
438
|
+
children: {
|
|
439
|
+
type: "array",
|
|
440
|
+
items: { oneOf: [
|
|
441
|
+
{ $ref: "#/$defs/ListGroup" },
|
|
442
|
+
{ $ref: "#/$defs/ShapeConstructGroup" },
|
|
443
|
+
{ $ref: "#/$defs/TreeBlockLeaf" }
|
|
444
|
+
] }
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
required: ["node", "children"],
|
|
448
|
+
additionalProperties: false
|
|
449
|
+
},
|
|
450
|
+
SheetGroup: {
|
|
451
|
+
type: "object",
|
|
452
|
+
properties: {
|
|
453
|
+
node: { $ref: "#/$defs/SheetDescriptor" },
|
|
454
|
+
style: { type: "string" },
|
|
455
|
+
children: {
|
|
456
|
+
type: "array",
|
|
457
|
+
items: { oneOf: [{ $ref: "#/$defs/ContentSheetImage" }, { $ref: "#/$defs/ContentEmbeddedObject" }] }
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
required: ["node", "children"],
|
|
461
|
+
additionalProperties: false
|
|
462
|
+
},
|
|
463
|
+
DrawPageGroup: {
|
|
464
|
+
type: "object",
|
|
465
|
+
properties: {
|
|
466
|
+
node: { $ref: "#/$defs/DrawPageDescriptor" },
|
|
467
|
+
style: { type: "string" },
|
|
468
|
+
children: {
|
|
469
|
+
type: "array",
|
|
470
|
+
items: { oneOf: [{ $ref: "#/$defs/ShapeGroup" }, { $ref: "#/$defs/ContentVector" }] }
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
required: ["node", "children"],
|
|
474
|
+
additionalProperties: false
|
|
475
|
+
},
|
|
476
|
+
SectionConstructGroup: {
|
|
477
|
+
type: "object",
|
|
478
|
+
properties: {
|
|
479
|
+
node: { $ref: "#/$defs/ConstructDescriptor" },
|
|
480
|
+
style: { type: "string" },
|
|
481
|
+
children: {
|
|
482
|
+
type: "array",
|
|
483
|
+
items: { oneOf: [
|
|
484
|
+
{ $ref: "#/$defs/HeadingGroup" },
|
|
485
|
+
{ $ref: "#/$defs/ListGroup" },
|
|
486
|
+
{ $ref: "#/$defs/SectionConstructGroup" },
|
|
487
|
+
{ $ref: "#/$defs/TreeBlockLeaf" }
|
|
488
|
+
] }
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
required: ["node", "children"],
|
|
492
|
+
additionalProperties: false
|
|
493
|
+
},
|
|
494
|
+
ShapeConstructGroup: {
|
|
495
|
+
type: "object",
|
|
496
|
+
properties: {
|
|
497
|
+
node: { $ref: "#/$defs/ConstructDescriptor" },
|
|
498
|
+
style: { type: "string" },
|
|
499
|
+
children: {
|
|
500
|
+
type: "array",
|
|
501
|
+
items: { oneOf: [
|
|
502
|
+
{ $ref: "#/$defs/ListGroup" },
|
|
503
|
+
{ $ref: "#/$defs/ShapeConstructGroup" },
|
|
504
|
+
{ $ref: "#/$defs/TreeBlockLeaf" }
|
|
505
|
+
] }
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
required: ["node", "children"],
|
|
509
|
+
additionalProperties: false
|
|
510
|
+
}
|
|
511
|
+
};
|
|
512
|
+
//#endregion
|
|
513
|
+
exports.DEFS_VECTOR = DEFS_VECTOR;
|