@seatmap-fyi/map-domain 0.0.0-stage → 0.1.0-alpha.1

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.
@@ -0,0 +1,1629 @@
1
+ import { type PhysicalDocumentV1, type SeatingGroup, type SeatSlot, type UUID, NumberingScheme, LabelDirection, RowLabelPosition, SeatingKind, CurveMode, DecorationKind, LabelAlignment, RowAlignment, SectionOutlineRole, AreaKind, ShapeKind, VenueGlyph } from "./types.js";
2
+ import { z } from "zod";
3
+ import { type DomainIssue } from "./issues.js";
4
+ export declare const groupSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5
+ kind: z.ZodLiteral<SeatingKind.Straight>;
6
+ recipe: z.ZodObject<{
7
+ seatPitchM: z.ZodNumber;
8
+ rowPitchM: z.ZodNumber;
9
+ rowAlignment: z.ZodOptional<z.ZodEnum<typeof RowAlignment>>;
10
+ }, z.core.$strict>;
11
+ labels: z.ZodObject<{
12
+ rows: z.ZodObject<{
13
+ scheme: z.ZodEnum<typeof NumberingScheme>;
14
+ startAt: z.ZodNumber;
15
+ direction: z.ZodEnum<typeof LabelDirection>;
16
+ prefix: z.ZodOptional<z.ZodString>;
17
+ suffix: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strict>;
19
+ seats: z.ZodObject<{
20
+ scheme: z.ZodEnum<typeof NumberingScheme>;
21
+ startAt: z.ZodNumber;
22
+ direction: z.ZodEnum<typeof LabelDirection>;
23
+ prefix: z.ZodOptional<z.ZodString>;
24
+ suffix: z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strict>;
26
+ rowStyle: z.ZodObject<{
27
+ visible: z.ZodBoolean;
28
+ fontSizeM: z.ZodNumber;
29
+ position: z.ZodEnum<typeof RowLabelPosition>;
30
+ }, z.core.$strict>;
31
+ }, z.core.$strict>;
32
+ rows: z.ZodArray<z.ZodObject<{
33
+ id: z.ZodString;
34
+ labelOverride: z.ZodOptional<z.ZodString>;
35
+ offsetM: z.ZodOptional<z.ZodObject<{
36
+ x: z.ZodNumber;
37
+ y: z.ZodNumber;
38
+ }, z.core.$strict>>;
39
+ seatSequenceOverride: z.ZodOptional<z.ZodObject<{
40
+ scheme: z.ZodEnum<typeof NumberingScheme>;
41
+ startAt: z.ZodNumber;
42
+ direction: z.ZodEnum<typeof LabelDirection>;
43
+ prefix: z.ZodOptional<z.ZodString>;
44
+ suffix: z.ZodOptional<z.ZodString>;
45
+ }, z.core.$strict>>;
46
+ seats: z.ZodArray<z.ZodObject<{
47
+ id: z.ZodString;
48
+ labelOverride: z.ZodOptional<z.ZodString>;
49
+ attributes: z.ZodOptional<z.ZodObject<{
50
+ accessible: z.ZodOptional<z.ZodBoolean>;
51
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
52
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
53
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
54
+ companionForSeatId: z.ZodOptional<z.ZodString>;
55
+ }, z.core.$strict>>;
56
+ override: z.ZodOptional<z.ZodObject<{
57
+ offsetM: z.ZodOptional<z.ZodObject<{
58
+ x: z.ZodNumber;
59
+ y: z.ZodNumber;
60
+ }, z.core.$strict>>;
61
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
62
+ sizeM: z.ZodOptional<z.ZodObject<{
63
+ width: z.ZodNumber;
64
+ height: z.ZodNumber;
65
+ }, z.core.$strict>>;
66
+ }, z.core.$strict>>;
67
+ }, z.core.$strict>>;
68
+ }, z.core.$strict>>;
69
+ name: z.ZodString;
70
+ sectionId: z.ZodNullable<z.ZodString>;
71
+ seatSizeM: z.ZodObject<{
72
+ width: z.ZodNumber;
73
+ height: z.ZodNumber;
74
+ }, z.core.$strict>;
75
+ boundary: z.ZodOptional<z.ZodObject<{
76
+ outer: z.ZodArray<z.ZodObject<{
77
+ x: z.ZodNumber;
78
+ y: z.ZodNumber;
79
+ }, z.core.$strict>>;
80
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
81
+ x: z.ZodNumber;
82
+ y: z.ZodNumber;
83
+ }, z.core.$strict>>>;
84
+ }, z.core.$strict>>;
85
+ seatLabelStyle: z.ZodObject<{
86
+ visible: z.ZodBoolean;
87
+ fontSizeM: z.ZodNumber;
88
+ }, z.core.$strict>;
89
+ id: z.ZodString;
90
+ parentId: z.ZodNullable<z.ZodString>;
91
+ transform: z.ZodObject<{
92
+ positionM: z.ZodObject<{
93
+ x: z.ZodNumber;
94
+ y: z.ZodNumber;
95
+ }, z.core.$strict>;
96
+ rotationDeg: z.ZodNumber;
97
+ flipX: z.ZodOptional<z.ZodBoolean>;
98
+ flipY: z.ZodOptional<z.ZodBoolean>;
99
+ }, z.core.$strict>;
100
+ zIndex: z.ZodNumber;
101
+ }, z.core.$strict>, z.ZodObject<{
102
+ kind: z.ZodLiteral<SeatingKind.Curved>;
103
+ recipe: z.ZodObject<{
104
+ innerRadiusM: z.ZodNumber;
105
+ axisRatio: z.ZodOptional<z.ZodNumber>;
106
+ rowPitchM: z.ZodNumber;
107
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
108
+ kind: z.ZodLiteral<CurveMode.Sweep>;
109
+ startAngleDeg: z.ZodNumber;
110
+ sweepAngleDeg: z.ZodNumber;
111
+ }, z.core.$strict>, z.ZodObject<{
112
+ kind: z.ZodLiteral<CurveMode.Pitch>;
113
+ centerAngleDeg: z.ZodNumber;
114
+ seatPitchM: z.ZodNumber;
115
+ }, z.core.$strict>], "kind">;
116
+ }, z.core.$strict>;
117
+ labels: z.ZodObject<{
118
+ rows: z.ZodObject<{
119
+ scheme: z.ZodEnum<typeof NumberingScheme>;
120
+ startAt: z.ZodNumber;
121
+ direction: z.ZodEnum<typeof LabelDirection>;
122
+ prefix: z.ZodOptional<z.ZodString>;
123
+ suffix: z.ZodOptional<z.ZodString>;
124
+ }, z.core.$strict>;
125
+ seats: z.ZodObject<{
126
+ scheme: z.ZodEnum<typeof NumberingScheme>;
127
+ startAt: z.ZodNumber;
128
+ direction: z.ZodEnum<typeof LabelDirection>;
129
+ prefix: z.ZodOptional<z.ZodString>;
130
+ suffix: z.ZodOptional<z.ZodString>;
131
+ }, z.core.$strict>;
132
+ rowStyle: z.ZodObject<{
133
+ visible: z.ZodBoolean;
134
+ fontSizeM: z.ZodNumber;
135
+ position: z.ZodEnum<typeof RowLabelPosition>;
136
+ }, z.core.$strict>;
137
+ }, z.core.$strict>;
138
+ rows: z.ZodArray<z.ZodObject<{
139
+ id: z.ZodString;
140
+ labelOverride: z.ZodOptional<z.ZodString>;
141
+ offsetM: z.ZodOptional<z.ZodObject<{
142
+ x: z.ZodNumber;
143
+ y: z.ZodNumber;
144
+ }, z.core.$strict>>;
145
+ seatSequenceOverride: z.ZodOptional<z.ZodObject<{
146
+ scheme: z.ZodEnum<typeof NumberingScheme>;
147
+ startAt: z.ZodNumber;
148
+ direction: z.ZodEnum<typeof LabelDirection>;
149
+ prefix: z.ZodOptional<z.ZodString>;
150
+ suffix: z.ZodOptional<z.ZodString>;
151
+ }, z.core.$strict>>;
152
+ seats: z.ZodArray<z.ZodObject<{
153
+ id: z.ZodString;
154
+ labelOverride: z.ZodOptional<z.ZodString>;
155
+ attributes: z.ZodOptional<z.ZodObject<{
156
+ accessible: z.ZodOptional<z.ZodBoolean>;
157
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
158
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
159
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
160
+ companionForSeatId: z.ZodOptional<z.ZodString>;
161
+ }, z.core.$strict>>;
162
+ override: z.ZodOptional<z.ZodObject<{
163
+ offsetM: z.ZodOptional<z.ZodObject<{
164
+ x: z.ZodNumber;
165
+ y: z.ZodNumber;
166
+ }, z.core.$strict>>;
167
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
168
+ sizeM: z.ZodOptional<z.ZodObject<{
169
+ width: z.ZodNumber;
170
+ height: z.ZodNumber;
171
+ }, z.core.$strict>>;
172
+ }, z.core.$strict>>;
173
+ }, z.core.$strict>>;
174
+ }, z.core.$strict>>;
175
+ name: z.ZodString;
176
+ sectionId: z.ZodNullable<z.ZodString>;
177
+ seatSizeM: z.ZodObject<{
178
+ width: z.ZodNumber;
179
+ height: z.ZodNumber;
180
+ }, z.core.$strict>;
181
+ boundary: z.ZodOptional<z.ZodObject<{
182
+ outer: z.ZodArray<z.ZodObject<{
183
+ x: z.ZodNumber;
184
+ y: z.ZodNumber;
185
+ }, z.core.$strict>>;
186
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
187
+ x: z.ZodNumber;
188
+ y: z.ZodNumber;
189
+ }, z.core.$strict>>>;
190
+ }, z.core.$strict>>;
191
+ seatLabelStyle: z.ZodObject<{
192
+ visible: z.ZodBoolean;
193
+ fontSizeM: z.ZodNumber;
194
+ }, z.core.$strict>;
195
+ id: z.ZodString;
196
+ parentId: z.ZodNullable<z.ZodString>;
197
+ transform: z.ZodObject<{
198
+ positionM: z.ZodObject<{
199
+ x: z.ZodNumber;
200
+ y: z.ZodNumber;
201
+ }, z.core.$strict>;
202
+ rotationDeg: z.ZodNumber;
203
+ flipX: z.ZodOptional<z.ZodBoolean>;
204
+ flipY: z.ZodOptional<z.ZodBoolean>;
205
+ }, z.core.$strict>;
206
+ zIndex: z.ZodNumber;
207
+ }, z.core.$strict>, z.ZodObject<{
208
+ kind: z.ZodLiteral<SeatingKind.Rectangular>;
209
+ recipe: z.ZodObject<{
210
+ widthM: z.ZodNumber;
211
+ depthM: z.ZodNumber;
212
+ chairGapM: z.ZodNumber;
213
+ chairPitchM: z.ZodOptional<z.ZodNumber>;
214
+ }, z.core.$strict>;
215
+ labels: z.ZodObject<{
216
+ table: z.ZodString;
217
+ chairs: z.ZodObject<{
218
+ scheme: z.ZodEnum<typeof NumberingScheme>;
219
+ startAt: z.ZodNumber;
220
+ direction: z.ZodEnum<typeof LabelDirection>;
221
+ prefix: z.ZodOptional<z.ZodString>;
222
+ suffix: z.ZodOptional<z.ZodString>;
223
+ }, z.core.$strict>;
224
+ tableStyle: z.ZodObject<{
225
+ visible: z.ZodBoolean;
226
+ fontSizeM: z.ZodNumber;
227
+ }, z.core.$strict>;
228
+ }, z.core.$strict>;
229
+ chairsBySide: z.ZodObject<{
230
+ top: z.ZodArray<z.ZodObject<{
231
+ id: z.ZodString;
232
+ labelOverride: z.ZodOptional<z.ZodString>;
233
+ attributes: z.ZodOptional<z.ZodObject<{
234
+ accessible: z.ZodOptional<z.ZodBoolean>;
235
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
236
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
237
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
238
+ companionForSeatId: z.ZodOptional<z.ZodString>;
239
+ }, z.core.$strict>>;
240
+ override: z.ZodOptional<z.ZodObject<{
241
+ offsetM: z.ZodOptional<z.ZodObject<{
242
+ x: z.ZodNumber;
243
+ y: z.ZodNumber;
244
+ }, z.core.$strict>>;
245
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
246
+ sizeM: z.ZodOptional<z.ZodObject<{
247
+ width: z.ZodNumber;
248
+ height: z.ZodNumber;
249
+ }, z.core.$strict>>;
250
+ }, z.core.$strict>>;
251
+ }, z.core.$strict>>;
252
+ right: z.ZodArray<z.ZodObject<{
253
+ id: z.ZodString;
254
+ labelOverride: z.ZodOptional<z.ZodString>;
255
+ attributes: z.ZodOptional<z.ZodObject<{
256
+ accessible: z.ZodOptional<z.ZodBoolean>;
257
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
258
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
259
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
260
+ companionForSeatId: z.ZodOptional<z.ZodString>;
261
+ }, z.core.$strict>>;
262
+ override: z.ZodOptional<z.ZodObject<{
263
+ offsetM: z.ZodOptional<z.ZodObject<{
264
+ x: z.ZodNumber;
265
+ y: z.ZodNumber;
266
+ }, z.core.$strict>>;
267
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
268
+ sizeM: z.ZodOptional<z.ZodObject<{
269
+ width: z.ZodNumber;
270
+ height: z.ZodNumber;
271
+ }, z.core.$strict>>;
272
+ }, z.core.$strict>>;
273
+ }, z.core.$strict>>;
274
+ bottom: z.ZodArray<z.ZodObject<{
275
+ id: z.ZodString;
276
+ labelOverride: z.ZodOptional<z.ZodString>;
277
+ attributes: z.ZodOptional<z.ZodObject<{
278
+ accessible: z.ZodOptional<z.ZodBoolean>;
279
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
280
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
281
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
282
+ companionForSeatId: z.ZodOptional<z.ZodString>;
283
+ }, z.core.$strict>>;
284
+ override: z.ZodOptional<z.ZodObject<{
285
+ offsetM: z.ZodOptional<z.ZodObject<{
286
+ x: z.ZodNumber;
287
+ y: z.ZodNumber;
288
+ }, z.core.$strict>>;
289
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
290
+ sizeM: z.ZodOptional<z.ZodObject<{
291
+ width: z.ZodNumber;
292
+ height: z.ZodNumber;
293
+ }, z.core.$strict>>;
294
+ }, z.core.$strict>>;
295
+ }, z.core.$strict>>;
296
+ left: z.ZodArray<z.ZodObject<{
297
+ id: z.ZodString;
298
+ labelOverride: z.ZodOptional<z.ZodString>;
299
+ attributes: z.ZodOptional<z.ZodObject<{
300
+ accessible: z.ZodOptional<z.ZodBoolean>;
301
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
302
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
303
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
304
+ companionForSeatId: z.ZodOptional<z.ZodString>;
305
+ }, z.core.$strict>>;
306
+ override: z.ZodOptional<z.ZodObject<{
307
+ offsetM: z.ZodOptional<z.ZodObject<{
308
+ x: z.ZodNumber;
309
+ y: z.ZodNumber;
310
+ }, z.core.$strict>>;
311
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
312
+ sizeM: z.ZodOptional<z.ZodObject<{
313
+ width: z.ZodNumber;
314
+ height: z.ZodNumber;
315
+ }, z.core.$strict>>;
316
+ }, z.core.$strict>>;
317
+ }, z.core.$strict>>;
318
+ }, z.core.$strict>;
319
+ name: z.ZodString;
320
+ sectionId: z.ZodNullable<z.ZodString>;
321
+ seatSizeM: z.ZodObject<{
322
+ width: z.ZodNumber;
323
+ height: z.ZodNumber;
324
+ }, z.core.$strict>;
325
+ boundary: z.ZodOptional<z.ZodObject<{
326
+ outer: z.ZodArray<z.ZodObject<{
327
+ x: z.ZodNumber;
328
+ y: z.ZodNumber;
329
+ }, z.core.$strict>>;
330
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
331
+ x: z.ZodNumber;
332
+ y: z.ZodNumber;
333
+ }, z.core.$strict>>>;
334
+ }, z.core.$strict>>;
335
+ seatLabelStyle: z.ZodObject<{
336
+ visible: z.ZodBoolean;
337
+ fontSizeM: z.ZodNumber;
338
+ }, z.core.$strict>;
339
+ id: z.ZodString;
340
+ parentId: z.ZodNullable<z.ZodString>;
341
+ transform: z.ZodObject<{
342
+ positionM: z.ZodObject<{
343
+ x: z.ZodNumber;
344
+ y: z.ZodNumber;
345
+ }, z.core.$strict>;
346
+ rotationDeg: z.ZodNumber;
347
+ flipX: z.ZodOptional<z.ZodBoolean>;
348
+ flipY: z.ZodOptional<z.ZodBoolean>;
349
+ }, z.core.$strict>;
350
+ zIndex: z.ZodNumber;
351
+ }, z.core.$strict>, z.ZodObject<{
352
+ kind: z.ZodLiteral<SeatingKind.Round>;
353
+ recipe: z.ZodObject<{
354
+ diameterM: z.ZodNumber;
355
+ chairGapM: z.ZodNumber;
356
+ startAngleDeg: z.ZodNumber;
357
+ }, z.core.$strict>;
358
+ labels: z.ZodObject<{
359
+ table: z.ZodString;
360
+ chairs: z.ZodObject<{
361
+ scheme: z.ZodEnum<typeof NumberingScheme>;
362
+ startAt: z.ZodNumber;
363
+ direction: z.ZodEnum<typeof LabelDirection>;
364
+ prefix: z.ZodOptional<z.ZodString>;
365
+ suffix: z.ZodOptional<z.ZodString>;
366
+ }, z.core.$strict>;
367
+ tableStyle: z.ZodObject<{
368
+ visible: z.ZodBoolean;
369
+ fontSizeM: z.ZodNumber;
370
+ }, z.core.$strict>;
371
+ }, z.core.$strict>;
372
+ chairs: z.ZodArray<z.ZodObject<{
373
+ id: z.ZodString;
374
+ labelOverride: z.ZodOptional<z.ZodString>;
375
+ attributes: z.ZodOptional<z.ZodObject<{
376
+ accessible: z.ZodOptional<z.ZodBoolean>;
377
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
378
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
379
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
380
+ companionForSeatId: z.ZodOptional<z.ZodString>;
381
+ }, z.core.$strict>>;
382
+ override: z.ZodOptional<z.ZodObject<{
383
+ offsetM: z.ZodOptional<z.ZodObject<{
384
+ x: z.ZodNumber;
385
+ y: z.ZodNumber;
386
+ }, z.core.$strict>>;
387
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
388
+ sizeM: z.ZodOptional<z.ZodObject<{
389
+ width: z.ZodNumber;
390
+ height: z.ZodNumber;
391
+ }, z.core.$strict>>;
392
+ }, z.core.$strict>>;
393
+ }, z.core.$strict>>;
394
+ name: z.ZodString;
395
+ sectionId: z.ZodNullable<z.ZodString>;
396
+ seatSizeM: z.ZodObject<{
397
+ width: z.ZodNumber;
398
+ height: z.ZodNumber;
399
+ }, z.core.$strict>;
400
+ boundary: z.ZodOptional<z.ZodObject<{
401
+ outer: z.ZodArray<z.ZodObject<{
402
+ x: z.ZodNumber;
403
+ y: z.ZodNumber;
404
+ }, z.core.$strict>>;
405
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
406
+ x: z.ZodNumber;
407
+ y: z.ZodNumber;
408
+ }, z.core.$strict>>>;
409
+ }, z.core.$strict>>;
410
+ seatLabelStyle: z.ZodObject<{
411
+ visible: z.ZodBoolean;
412
+ fontSizeM: z.ZodNumber;
413
+ }, z.core.$strict>;
414
+ id: z.ZodString;
415
+ parentId: z.ZodNullable<z.ZodString>;
416
+ transform: z.ZodObject<{
417
+ positionM: z.ZodObject<{
418
+ x: z.ZodNumber;
419
+ y: z.ZodNumber;
420
+ }, z.core.$strict>;
421
+ rotationDeg: z.ZodNumber;
422
+ flipX: z.ZodOptional<z.ZodBoolean>;
423
+ flipY: z.ZodOptional<z.ZodBoolean>;
424
+ }, z.core.$strict>;
425
+ zIndex: z.ZodNumber;
426
+ }, z.core.$strict>], "kind">;
427
+ export declare const decorationStyleSchema: z.ZodObject<{
428
+ fill: z.ZodOptional<z.ZodObject<{
429
+ color: z.ZodString;
430
+ opacity: z.ZodNumber;
431
+ }, z.core.$strict>>;
432
+ stroke: z.ZodOptional<z.ZodObject<{
433
+ color: z.ZodString;
434
+ opacity: z.ZodNumber;
435
+ }, z.core.$strict>>;
436
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
437
+ }, z.core.$strict>;
438
+ export declare const documentSchema: z.ZodObject<{
439
+ schemaVersion: z.ZodLiteral<1>;
440
+ mapId: z.ZodString;
441
+ name: z.ZodString;
442
+ coordinateSystem: z.ZodObject<{
443
+ unit: z.ZodLiteral<"metre">;
444
+ xAxis: z.ZodLiteral<"right">;
445
+ yAxis: z.ZodLiteral<"down">;
446
+ rotation: z.ZodLiteral<"clockwise">;
447
+ }, z.core.$strict>;
448
+ background: z.ZodObject<{
449
+ color: z.ZodString;
450
+ opacity: z.ZodNumber;
451
+ }, z.core.$strict>;
452
+ sections: z.ZodArray<z.ZodObject<{
453
+ id: z.ZodString;
454
+ label: z.ZodString;
455
+ displayLabel: z.ZodOptional<z.ZodString>;
456
+ outline: z.ZodOptional<z.ZodObject<{
457
+ outer: z.ZodArray<z.ZodObject<{
458
+ x: z.ZodNumber;
459
+ y: z.ZodNumber;
460
+ }, z.core.$strict>>;
461
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
462
+ x: z.ZodNumber;
463
+ y: z.ZodNumber;
464
+ }, z.core.$strict>>>;
465
+ }, z.core.$strict>>;
466
+ outlineRole: z.ZodOptional<z.ZodEnum<typeof SectionOutlineRole>>;
467
+ style: z.ZodOptional<z.ZodObject<{
468
+ fill: z.ZodOptional<z.ZodObject<{
469
+ color: z.ZodString;
470
+ opacity: z.ZodNumber;
471
+ }, z.core.$strict>>;
472
+ stroke: z.ZodOptional<z.ZodObject<{
473
+ color: z.ZodString;
474
+ opacity: z.ZodNumber;
475
+ }, z.core.$strict>>;
476
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
477
+ }, z.core.$strict>>;
478
+ labelPlacement: z.ZodOptional<z.ZodObject<{
479
+ positionM: z.ZodObject<{
480
+ x: z.ZodNumber;
481
+ y: z.ZodNumber;
482
+ }, z.core.$strict>;
483
+ rotationDeg: z.ZodNumber;
484
+ align: z.ZodEnum<typeof LabelAlignment>;
485
+ }, z.core.$strict>>;
486
+ labelStyle: z.ZodObject<{
487
+ visible: z.ZodBoolean;
488
+ fontSizeM: z.ZodNumber;
489
+ }, z.core.$strict>;
490
+ }, z.core.$strict>>;
491
+ collections: z.ZodArray<z.ZodObject<{
492
+ name: z.ZodString;
493
+ id: z.ZodString;
494
+ parentId: z.ZodNullable<z.ZodString>;
495
+ transform: z.ZodObject<{
496
+ positionM: z.ZodObject<{
497
+ x: z.ZodNumber;
498
+ y: z.ZodNumber;
499
+ }, z.core.$strict>;
500
+ rotationDeg: z.ZodNumber;
501
+ flipX: z.ZodOptional<z.ZodBoolean>;
502
+ flipY: z.ZodOptional<z.ZodBoolean>;
503
+ }, z.core.$strict>;
504
+ zIndex: z.ZodNumber;
505
+ }, z.core.$strict>>;
506
+ seatingGroups: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
507
+ kind: z.ZodLiteral<SeatingKind.Straight>;
508
+ recipe: z.ZodObject<{
509
+ seatPitchM: z.ZodNumber;
510
+ rowPitchM: z.ZodNumber;
511
+ rowAlignment: z.ZodOptional<z.ZodEnum<typeof RowAlignment>>;
512
+ }, z.core.$strict>;
513
+ labels: z.ZodObject<{
514
+ rows: z.ZodObject<{
515
+ scheme: z.ZodEnum<typeof NumberingScheme>;
516
+ startAt: z.ZodNumber;
517
+ direction: z.ZodEnum<typeof LabelDirection>;
518
+ prefix: z.ZodOptional<z.ZodString>;
519
+ suffix: z.ZodOptional<z.ZodString>;
520
+ }, z.core.$strict>;
521
+ seats: z.ZodObject<{
522
+ scheme: z.ZodEnum<typeof NumberingScheme>;
523
+ startAt: z.ZodNumber;
524
+ direction: z.ZodEnum<typeof LabelDirection>;
525
+ prefix: z.ZodOptional<z.ZodString>;
526
+ suffix: z.ZodOptional<z.ZodString>;
527
+ }, z.core.$strict>;
528
+ rowStyle: z.ZodObject<{
529
+ visible: z.ZodBoolean;
530
+ fontSizeM: z.ZodNumber;
531
+ position: z.ZodEnum<typeof RowLabelPosition>;
532
+ }, z.core.$strict>;
533
+ }, z.core.$strict>;
534
+ rows: z.ZodArray<z.ZodObject<{
535
+ id: z.ZodString;
536
+ labelOverride: z.ZodOptional<z.ZodString>;
537
+ offsetM: z.ZodOptional<z.ZodObject<{
538
+ x: z.ZodNumber;
539
+ y: z.ZodNumber;
540
+ }, z.core.$strict>>;
541
+ seatSequenceOverride: z.ZodOptional<z.ZodObject<{
542
+ scheme: z.ZodEnum<typeof NumberingScheme>;
543
+ startAt: z.ZodNumber;
544
+ direction: z.ZodEnum<typeof LabelDirection>;
545
+ prefix: z.ZodOptional<z.ZodString>;
546
+ suffix: z.ZodOptional<z.ZodString>;
547
+ }, z.core.$strict>>;
548
+ seats: z.ZodArray<z.ZodObject<{
549
+ id: z.ZodString;
550
+ labelOverride: z.ZodOptional<z.ZodString>;
551
+ attributes: z.ZodOptional<z.ZodObject<{
552
+ accessible: z.ZodOptional<z.ZodBoolean>;
553
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
554
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
555
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
556
+ companionForSeatId: z.ZodOptional<z.ZodString>;
557
+ }, z.core.$strict>>;
558
+ override: z.ZodOptional<z.ZodObject<{
559
+ offsetM: z.ZodOptional<z.ZodObject<{
560
+ x: z.ZodNumber;
561
+ y: z.ZodNumber;
562
+ }, z.core.$strict>>;
563
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
564
+ sizeM: z.ZodOptional<z.ZodObject<{
565
+ width: z.ZodNumber;
566
+ height: z.ZodNumber;
567
+ }, z.core.$strict>>;
568
+ }, z.core.$strict>>;
569
+ }, z.core.$strict>>;
570
+ }, z.core.$strict>>;
571
+ name: z.ZodString;
572
+ sectionId: z.ZodNullable<z.ZodString>;
573
+ seatSizeM: z.ZodObject<{
574
+ width: z.ZodNumber;
575
+ height: z.ZodNumber;
576
+ }, z.core.$strict>;
577
+ boundary: z.ZodOptional<z.ZodObject<{
578
+ outer: z.ZodArray<z.ZodObject<{
579
+ x: z.ZodNumber;
580
+ y: z.ZodNumber;
581
+ }, z.core.$strict>>;
582
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
583
+ x: z.ZodNumber;
584
+ y: z.ZodNumber;
585
+ }, z.core.$strict>>>;
586
+ }, z.core.$strict>>;
587
+ seatLabelStyle: z.ZodObject<{
588
+ visible: z.ZodBoolean;
589
+ fontSizeM: z.ZodNumber;
590
+ }, z.core.$strict>;
591
+ id: z.ZodString;
592
+ parentId: z.ZodNullable<z.ZodString>;
593
+ transform: z.ZodObject<{
594
+ positionM: z.ZodObject<{
595
+ x: z.ZodNumber;
596
+ y: z.ZodNumber;
597
+ }, z.core.$strict>;
598
+ rotationDeg: z.ZodNumber;
599
+ flipX: z.ZodOptional<z.ZodBoolean>;
600
+ flipY: z.ZodOptional<z.ZodBoolean>;
601
+ }, z.core.$strict>;
602
+ zIndex: z.ZodNumber;
603
+ }, z.core.$strict>, z.ZodObject<{
604
+ kind: z.ZodLiteral<SeatingKind.Curved>;
605
+ recipe: z.ZodObject<{
606
+ innerRadiusM: z.ZodNumber;
607
+ axisRatio: z.ZodOptional<z.ZodNumber>;
608
+ rowPitchM: z.ZodNumber;
609
+ placement: z.ZodDiscriminatedUnion<[z.ZodObject<{
610
+ kind: z.ZodLiteral<CurveMode.Sweep>;
611
+ startAngleDeg: z.ZodNumber;
612
+ sweepAngleDeg: z.ZodNumber;
613
+ }, z.core.$strict>, z.ZodObject<{
614
+ kind: z.ZodLiteral<CurveMode.Pitch>;
615
+ centerAngleDeg: z.ZodNumber;
616
+ seatPitchM: z.ZodNumber;
617
+ }, z.core.$strict>], "kind">;
618
+ }, z.core.$strict>;
619
+ labels: z.ZodObject<{
620
+ rows: z.ZodObject<{
621
+ scheme: z.ZodEnum<typeof NumberingScheme>;
622
+ startAt: z.ZodNumber;
623
+ direction: z.ZodEnum<typeof LabelDirection>;
624
+ prefix: z.ZodOptional<z.ZodString>;
625
+ suffix: z.ZodOptional<z.ZodString>;
626
+ }, z.core.$strict>;
627
+ seats: z.ZodObject<{
628
+ scheme: z.ZodEnum<typeof NumberingScheme>;
629
+ startAt: z.ZodNumber;
630
+ direction: z.ZodEnum<typeof LabelDirection>;
631
+ prefix: z.ZodOptional<z.ZodString>;
632
+ suffix: z.ZodOptional<z.ZodString>;
633
+ }, z.core.$strict>;
634
+ rowStyle: z.ZodObject<{
635
+ visible: z.ZodBoolean;
636
+ fontSizeM: z.ZodNumber;
637
+ position: z.ZodEnum<typeof RowLabelPosition>;
638
+ }, z.core.$strict>;
639
+ }, z.core.$strict>;
640
+ rows: z.ZodArray<z.ZodObject<{
641
+ id: z.ZodString;
642
+ labelOverride: z.ZodOptional<z.ZodString>;
643
+ offsetM: z.ZodOptional<z.ZodObject<{
644
+ x: z.ZodNumber;
645
+ y: z.ZodNumber;
646
+ }, z.core.$strict>>;
647
+ seatSequenceOverride: z.ZodOptional<z.ZodObject<{
648
+ scheme: z.ZodEnum<typeof NumberingScheme>;
649
+ startAt: z.ZodNumber;
650
+ direction: z.ZodEnum<typeof LabelDirection>;
651
+ prefix: z.ZodOptional<z.ZodString>;
652
+ suffix: z.ZodOptional<z.ZodString>;
653
+ }, z.core.$strict>>;
654
+ seats: z.ZodArray<z.ZodObject<{
655
+ id: z.ZodString;
656
+ labelOverride: z.ZodOptional<z.ZodString>;
657
+ attributes: z.ZodOptional<z.ZodObject<{
658
+ accessible: z.ZodOptional<z.ZodBoolean>;
659
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
660
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
661
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
662
+ companionForSeatId: z.ZodOptional<z.ZodString>;
663
+ }, z.core.$strict>>;
664
+ override: z.ZodOptional<z.ZodObject<{
665
+ offsetM: z.ZodOptional<z.ZodObject<{
666
+ x: z.ZodNumber;
667
+ y: z.ZodNumber;
668
+ }, z.core.$strict>>;
669
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
670
+ sizeM: z.ZodOptional<z.ZodObject<{
671
+ width: z.ZodNumber;
672
+ height: z.ZodNumber;
673
+ }, z.core.$strict>>;
674
+ }, z.core.$strict>>;
675
+ }, z.core.$strict>>;
676
+ }, z.core.$strict>>;
677
+ name: z.ZodString;
678
+ sectionId: z.ZodNullable<z.ZodString>;
679
+ seatSizeM: z.ZodObject<{
680
+ width: z.ZodNumber;
681
+ height: z.ZodNumber;
682
+ }, z.core.$strict>;
683
+ boundary: z.ZodOptional<z.ZodObject<{
684
+ outer: z.ZodArray<z.ZodObject<{
685
+ x: z.ZodNumber;
686
+ y: z.ZodNumber;
687
+ }, z.core.$strict>>;
688
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
689
+ x: z.ZodNumber;
690
+ y: z.ZodNumber;
691
+ }, z.core.$strict>>>;
692
+ }, z.core.$strict>>;
693
+ seatLabelStyle: z.ZodObject<{
694
+ visible: z.ZodBoolean;
695
+ fontSizeM: z.ZodNumber;
696
+ }, z.core.$strict>;
697
+ id: z.ZodString;
698
+ parentId: z.ZodNullable<z.ZodString>;
699
+ transform: z.ZodObject<{
700
+ positionM: z.ZodObject<{
701
+ x: z.ZodNumber;
702
+ y: z.ZodNumber;
703
+ }, z.core.$strict>;
704
+ rotationDeg: z.ZodNumber;
705
+ flipX: z.ZodOptional<z.ZodBoolean>;
706
+ flipY: z.ZodOptional<z.ZodBoolean>;
707
+ }, z.core.$strict>;
708
+ zIndex: z.ZodNumber;
709
+ }, z.core.$strict>, z.ZodObject<{
710
+ kind: z.ZodLiteral<SeatingKind.Rectangular>;
711
+ recipe: z.ZodObject<{
712
+ widthM: z.ZodNumber;
713
+ depthM: z.ZodNumber;
714
+ chairGapM: z.ZodNumber;
715
+ chairPitchM: z.ZodOptional<z.ZodNumber>;
716
+ }, z.core.$strict>;
717
+ labels: z.ZodObject<{
718
+ table: z.ZodString;
719
+ chairs: z.ZodObject<{
720
+ scheme: z.ZodEnum<typeof NumberingScheme>;
721
+ startAt: z.ZodNumber;
722
+ direction: z.ZodEnum<typeof LabelDirection>;
723
+ prefix: z.ZodOptional<z.ZodString>;
724
+ suffix: z.ZodOptional<z.ZodString>;
725
+ }, z.core.$strict>;
726
+ tableStyle: z.ZodObject<{
727
+ visible: z.ZodBoolean;
728
+ fontSizeM: z.ZodNumber;
729
+ }, z.core.$strict>;
730
+ }, z.core.$strict>;
731
+ chairsBySide: z.ZodObject<{
732
+ top: z.ZodArray<z.ZodObject<{
733
+ id: z.ZodString;
734
+ labelOverride: z.ZodOptional<z.ZodString>;
735
+ attributes: z.ZodOptional<z.ZodObject<{
736
+ accessible: z.ZodOptional<z.ZodBoolean>;
737
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
738
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
739
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
740
+ companionForSeatId: z.ZodOptional<z.ZodString>;
741
+ }, z.core.$strict>>;
742
+ override: z.ZodOptional<z.ZodObject<{
743
+ offsetM: z.ZodOptional<z.ZodObject<{
744
+ x: z.ZodNumber;
745
+ y: z.ZodNumber;
746
+ }, z.core.$strict>>;
747
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
748
+ sizeM: z.ZodOptional<z.ZodObject<{
749
+ width: z.ZodNumber;
750
+ height: z.ZodNumber;
751
+ }, z.core.$strict>>;
752
+ }, z.core.$strict>>;
753
+ }, z.core.$strict>>;
754
+ right: z.ZodArray<z.ZodObject<{
755
+ id: z.ZodString;
756
+ labelOverride: z.ZodOptional<z.ZodString>;
757
+ attributes: z.ZodOptional<z.ZodObject<{
758
+ accessible: z.ZodOptional<z.ZodBoolean>;
759
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
760
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
761
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
762
+ companionForSeatId: z.ZodOptional<z.ZodString>;
763
+ }, z.core.$strict>>;
764
+ override: z.ZodOptional<z.ZodObject<{
765
+ offsetM: z.ZodOptional<z.ZodObject<{
766
+ x: z.ZodNumber;
767
+ y: z.ZodNumber;
768
+ }, z.core.$strict>>;
769
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
770
+ sizeM: z.ZodOptional<z.ZodObject<{
771
+ width: z.ZodNumber;
772
+ height: z.ZodNumber;
773
+ }, z.core.$strict>>;
774
+ }, z.core.$strict>>;
775
+ }, z.core.$strict>>;
776
+ bottom: z.ZodArray<z.ZodObject<{
777
+ id: z.ZodString;
778
+ labelOverride: z.ZodOptional<z.ZodString>;
779
+ attributes: z.ZodOptional<z.ZodObject<{
780
+ accessible: z.ZodOptional<z.ZodBoolean>;
781
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
782
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
783
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
784
+ companionForSeatId: z.ZodOptional<z.ZodString>;
785
+ }, z.core.$strict>>;
786
+ override: z.ZodOptional<z.ZodObject<{
787
+ offsetM: z.ZodOptional<z.ZodObject<{
788
+ x: z.ZodNumber;
789
+ y: z.ZodNumber;
790
+ }, z.core.$strict>>;
791
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
792
+ sizeM: z.ZodOptional<z.ZodObject<{
793
+ width: z.ZodNumber;
794
+ height: z.ZodNumber;
795
+ }, z.core.$strict>>;
796
+ }, z.core.$strict>>;
797
+ }, z.core.$strict>>;
798
+ left: z.ZodArray<z.ZodObject<{
799
+ id: z.ZodString;
800
+ labelOverride: z.ZodOptional<z.ZodString>;
801
+ attributes: z.ZodOptional<z.ZodObject<{
802
+ accessible: z.ZodOptional<z.ZodBoolean>;
803
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
804
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
805
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
806
+ companionForSeatId: z.ZodOptional<z.ZodString>;
807
+ }, z.core.$strict>>;
808
+ override: z.ZodOptional<z.ZodObject<{
809
+ offsetM: z.ZodOptional<z.ZodObject<{
810
+ x: z.ZodNumber;
811
+ y: z.ZodNumber;
812
+ }, z.core.$strict>>;
813
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
814
+ sizeM: z.ZodOptional<z.ZodObject<{
815
+ width: z.ZodNumber;
816
+ height: z.ZodNumber;
817
+ }, z.core.$strict>>;
818
+ }, z.core.$strict>>;
819
+ }, z.core.$strict>>;
820
+ }, z.core.$strict>;
821
+ name: z.ZodString;
822
+ sectionId: z.ZodNullable<z.ZodString>;
823
+ seatSizeM: z.ZodObject<{
824
+ width: z.ZodNumber;
825
+ height: z.ZodNumber;
826
+ }, z.core.$strict>;
827
+ boundary: z.ZodOptional<z.ZodObject<{
828
+ outer: z.ZodArray<z.ZodObject<{
829
+ x: z.ZodNumber;
830
+ y: z.ZodNumber;
831
+ }, z.core.$strict>>;
832
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
833
+ x: z.ZodNumber;
834
+ y: z.ZodNumber;
835
+ }, z.core.$strict>>>;
836
+ }, z.core.$strict>>;
837
+ seatLabelStyle: z.ZodObject<{
838
+ visible: z.ZodBoolean;
839
+ fontSizeM: z.ZodNumber;
840
+ }, z.core.$strict>;
841
+ id: z.ZodString;
842
+ parentId: z.ZodNullable<z.ZodString>;
843
+ transform: z.ZodObject<{
844
+ positionM: z.ZodObject<{
845
+ x: z.ZodNumber;
846
+ y: z.ZodNumber;
847
+ }, z.core.$strict>;
848
+ rotationDeg: z.ZodNumber;
849
+ flipX: z.ZodOptional<z.ZodBoolean>;
850
+ flipY: z.ZodOptional<z.ZodBoolean>;
851
+ }, z.core.$strict>;
852
+ zIndex: z.ZodNumber;
853
+ }, z.core.$strict>, z.ZodObject<{
854
+ kind: z.ZodLiteral<SeatingKind.Round>;
855
+ recipe: z.ZodObject<{
856
+ diameterM: z.ZodNumber;
857
+ chairGapM: z.ZodNumber;
858
+ startAngleDeg: z.ZodNumber;
859
+ }, z.core.$strict>;
860
+ labels: z.ZodObject<{
861
+ table: z.ZodString;
862
+ chairs: z.ZodObject<{
863
+ scheme: z.ZodEnum<typeof NumberingScheme>;
864
+ startAt: z.ZodNumber;
865
+ direction: z.ZodEnum<typeof LabelDirection>;
866
+ prefix: z.ZodOptional<z.ZodString>;
867
+ suffix: z.ZodOptional<z.ZodString>;
868
+ }, z.core.$strict>;
869
+ tableStyle: z.ZodObject<{
870
+ visible: z.ZodBoolean;
871
+ fontSizeM: z.ZodNumber;
872
+ }, z.core.$strict>;
873
+ }, z.core.$strict>;
874
+ chairs: z.ZodArray<z.ZodObject<{
875
+ id: z.ZodString;
876
+ labelOverride: z.ZodOptional<z.ZodString>;
877
+ attributes: z.ZodOptional<z.ZodObject<{
878
+ accessible: z.ZodOptional<z.ZodBoolean>;
879
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
880
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
881
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
882
+ companionForSeatId: z.ZodOptional<z.ZodString>;
883
+ }, z.core.$strict>>;
884
+ override: z.ZodOptional<z.ZodObject<{
885
+ offsetM: z.ZodOptional<z.ZodObject<{
886
+ x: z.ZodNumber;
887
+ y: z.ZodNumber;
888
+ }, z.core.$strict>>;
889
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
890
+ sizeM: z.ZodOptional<z.ZodObject<{
891
+ width: z.ZodNumber;
892
+ height: z.ZodNumber;
893
+ }, z.core.$strict>>;
894
+ }, z.core.$strict>>;
895
+ }, z.core.$strict>>;
896
+ name: z.ZodString;
897
+ sectionId: z.ZodNullable<z.ZodString>;
898
+ seatSizeM: z.ZodObject<{
899
+ width: z.ZodNumber;
900
+ height: z.ZodNumber;
901
+ }, z.core.$strict>;
902
+ boundary: z.ZodOptional<z.ZodObject<{
903
+ outer: z.ZodArray<z.ZodObject<{
904
+ x: z.ZodNumber;
905
+ y: z.ZodNumber;
906
+ }, z.core.$strict>>;
907
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
908
+ x: z.ZodNumber;
909
+ y: z.ZodNumber;
910
+ }, z.core.$strict>>>;
911
+ }, z.core.$strict>>;
912
+ seatLabelStyle: z.ZodObject<{
913
+ visible: z.ZodBoolean;
914
+ fontSizeM: z.ZodNumber;
915
+ }, z.core.$strict>;
916
+ id: z.ZodString;
917
+ parentId: z.ZodNullable<z.ZodString>;
918
+ transform: z.ZodObject<{
919
+ positionM: z.ZodObject<{
920
+ x: z.ZodNumber;
921
+ y: z.ZodNumber;
922
+ }, z.core.$strict>;
923
+ rotationDeg: z.ZodNumber;
924
+ flipX: z.ZodOptional<z.ZodBoolean>;
925
+ flipY: z.ZodOptional<z.ZodBoolean>;
926
+ }, z.core.$strict>;
927
+ zIndex: z.ZodNumber;
928
+ }, z.core.$strict>], "kind">>;
929
+ areas: z.ZodArray<z.ZodObject<{
930
+ kind: z.ZodLiteral<AreaKind>;
931
+ sectionId: z.ZodNullable<z.ZodString>;
932
+ label: z.ZodString;
933
+ labelStyle: z.ZodObject<{
934
+ visible: z.ZodBoolean;
935
+ fontSizeM: z.ZodNumber;
936
+ }, z.core.$strict>;
937
+ capacity: z.ZodNumber;
938
+ shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
939
+ kind: z.ZodLiteral<ShapeKind.Rectangle>;
940
+ widthM: z.ZodNumber;
941
+ heightM: z.ZodNumber;
942
+ cornerRadiusM: z.ZodNumber;
943
+ }, z.core.$strict>, z.ZodObject<{
944
+ kind: z.ZodLiteral<ShapeKind.Polygon>;
945
+ boundary: z.ZodObject<{
946
+ outer: z.ZodArray<z.ZodObject<{
947
+ x: z.ZodNumber;
948
+ y: z.ZodNumber;
949
+ }, z.core.$strict>>;
950
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
951
+ x: z.ZodNumber;
952
+ y: z.ZodNumber;
953
+ }, z.core.$strict>>>;
954
+ }, z.core.$strict>;
955
+ }, z.core.$strict>], "kind">;
956
+ id: z.ZodString;
957
+ parentId: z.ZodNullable<z.ZodString>;
958
+ transform: z.ZodObject<{
959
+ positionM: z.ZodObject<{
960
+ x: z.ZodNumber;
961
+ y: z.ZodNumber;
962
+ }, z.core.$strict>;
963
+ rotationDeg: z.ZodNumber;
964
+ flipX: z.ZodOptional<z.ZodBoolean>;
965
+ flipY: z.ZodOptional<z.ZodBoolean>;
966
+ }, z.core.$strict>;
967
+ zIndex: z.ZodNumber;
968
+ }, z.core.$strict>>;
969
+ decorations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
970
+ kind: z.ZodLiteral<DecorationKind.Text>;
971
+ text: z.ZodString;
972
+ fontSizeM: z.ZodNumber;
973
+ align: z.ZodEnum<typeof LabelAlignment>;
974
+ style: z.ZodOptional<z.ZodObject<{
975
+ fill: z.ZodOptional<z.ZodObject<{
976
+ color: z.ZodString;
977
+ opacity: z.ZodNumber;
978
+ }, z.core.$strict>>;
979
+ stroke: z.ZodOptional<z.ZodObject<{
980
+ color: z.ZodString;
981
+ opacity: z.ZodNumber;
982
+ }, z.core.$strict>>;
983
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
984
+ }, z.core.$strict>>;
985
+ id: z.ZodString;
986
+ parentId: z.ZodNullable<z.ZodString>;
987
+ transform: z.ZodObject<{
988
+ positionM: z.ZodObject<{
989
+ x: z.ZodNumber;
990
+ y: z.ZodNumber;
991
+ }, z.core.$strict>;
992
+ rotationDeg: z.ZodNumber;
993
+ flipX: z.ZodOptional<z.ZodBoolean>;
994
+ flipY: z.ZodOptional<z.ZodBoolean>;
995
+ }, z.core.$strict>;
996
+ zIndex: z.ZodNumber;
997
+ }, z.core.$strict>, z.ZodObject<{
998
+ kind: z.ZodLiteral<DecorationKind.Rectangle>;
999
+ sizeM: z.ZodObject<{
1000
+ width: z.ZodNumber;
1001
+ height: z.ZodNumber;
1002
+ }, z.core.$strict>;
1003
+ cornerRadiusM: z.ZodNumber;
1004
+ style: z.ZodOptional<z.ZodObject<{
1005
+ fill: z.ZodOptional<z.ZodObject<{
1006
+ color: z.ZodString;
1007
+ opacity: z.ZodNumber;
1008
+ }, z.core.$strict>>;
1009
+ stroke: z.ZodOptional<z.ZodObject<{
1010
+ color: z.ZodString;
1011
+ opacity: z.ZodNumber;
1012
+ }, z.core.$strict>>;
1013
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1014
+ }, z.core.$strict>>;
1015
+ id: z.ZodString;
1016
+ parentId: z.ZodNullable<z.ZodString>;
1017
+ transform: z.ZodObject<{
1018
+ positionM: z.ZodObject<{
1019
+ x: z.ZodNumber;
1020
+ y: z.ZodNumber;
1021
+ }, z.core.$strict>;
1022
+ rotationDeg: z.ZodNumber;
1023
+ flipX: z.ZodOptional<z.ZodBoolean>;
1024
+ flipY: z.ZodOptional<z.ZodBoolean>;
1025
+ }, z.core.$strict>;
1026
+ zIndex: z.ZodNumber;
1027
+ }, z.core.$strict>, z.ZodObject<{
1028
+ kind: z.ZodLiteral<DecorationKind.Circle>;
1029
+ radiusM: z.ZodNumber;
1030
+ style: z.ZodOptional<z.ZodObject<{
1031
+ fill: z.ZodOptional<z.ZodObject<{
1032
+ color: z.ZodString;
1033
+ opacity: z.ZodNumber;
1034
+ }, z.core.$strict>>;
1035
+ stroke: z.ZodOptional<z.ZodObject<{
1036
+ color: z.ZodString;
1037
+ opacity: z.ZodNumber;
1038
+ }, z.core.$strict>>;
1039
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1040
+ }, z.core.$strict>>;
1041
+ id: z.ZodString;
1042
+ parentId: z.ZodNullable<z.ZodString>;
1043
+ transform: z.ZodObject<{
1044
+ positionM: z.ZodObject<{
1045
+ x: z.ZodNumber;
1046
+ y: z.ZodNumber;
1047
+ }, z.core.$strict>;
1048
+ rotationDeg: z.ZodNumber;
1049
+ flipX: z.ZodOptional<z.ZodBoolean>;
1050
+ flipY: z.ZodOptional<z.ZodBoolean>;
1051
+ }, z.core.$strict>;
1052
+ zIndex: z.ZodNumber;
1053
+ }, z.core.$strict>, z.ZodObject<{
1054
+ kind: z.ZodLiteral<DecorationKind.Line>;
1055
+ pointsM: z.ZodArray<z.ZodObject<{
1056
+ x: z.ZodNumber;
1057
+ y: z.ZodNumber;
1058
+ }, z.core.$strict>>;
1059
+ style: z.ZodOptional<z.ZodObject<{
1060
+ fill: z.ZodOptional<z.ZodObject<{
1061
+ color: z.ZodString;
1062
+ opacity: z.ZodNumber;
1063
+ }, z.core.$strict>>;
1064
+ stroke: z.ZodOptional<z.ZodObject<{
1065
+ color: z.ZodString;
1066
+ opacity: z.ZodNumber;
1067
+ }, z.core.$strict>>;
1068
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1069
+ }, z.core.$strict>>;
1070
+ id: z.ZodString;
1071
+ parentId: z.ZodNullable<z.ZodString>;
1072
+ transform: z.ZodObject<{
1073
+ positionM: z.ZodObject<{
1074
+ x: z.ZodNumber;
1075
+ y: z.ZodNumber;
1076
+ }, z.core.$strict>;
1077
+ rotationDeg: z.ZodNumber;
1078
+ flipX: z.ZodOptional<z.ZodBoolean>;
1079
+ flipY: z.ZodOptional<z.ZodBoolean>;
1080
+ }, z.core.$strict>;
1081
+ zIndex: z.ZodNumber;
1082
+ }, z.core.$strict>, z.ZodObject<{
1083
+ kind: z.ZodLiteral<DecorationKind.Polygon>;
1084
+ boundary: z.ZodObject<{
1085
+ outer: z.ZodArray<z.ZodObject<{
1086
+ x: z.ZodNumber;
1087
+ y: z.ZodNumber;
1088
+ }, z.core.$strict>>;
1089
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
1090
+ x: z.ZodNumber;
1091
+ y: z.ZodNumber;
1092
+ }, z.core.$strict>>>;
1093
+ }, z.core.$strict>;
1094
+ style: z.ZodOptional<z.ZodObject<{
1095
+ fill: z.ZodOptional<z.ZodObject<{
1096
+ color: z.ZodString;
1097
+ opacity: z.ZodNumber;
1098
+ }, z.core.$strict>>;
1099
+ stroke: z.ZodOptional<z.ZodObject<{
1100
+ color: z.ZodString;
1101
+ opacity: z.ZodNumber;
1102
+ }, z.core.$strict>>;
1103
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1104
+ }, z.core.$strict>>;
1105
+ id: z.ZodString;
1106
+ parentId: z.ZodNullable<z.ZodString>;
1107
+ transform: z.ZodObject<{
1108
+ positionM: z.ZodObject<{
1109
+ x: z.ZodNumber;
1110
+ y: z.ZodNumber;
1111
+ }, z.core.$strict>;
1112
+ rotationDeg: z.ZodNumber;
1113
+ flipX: z.ZodOptional<z.ZodBoolean>;
1114
+ flipY: z.ZodOptional<z.ZodBoolean>;
1115
+ }, z.core.$strict>;
1116
+ zIndex: z.ZodNumber;
1117
+ }, z.core.$strict>, z.ZodObject<{
1118
+ kind: z.ZodLiteral<DecorationKind.Icon>;
1119
+ iconId: z.ZodEnum<typeof VenueGlyph>;
1120
+ sizeM: z.ZodObject<{
1121
+ width: z.ZodNumber;
1122
+ height: z.ZodNumber;
1123
+ }, z.core.$strict>;
1124
+ style: z.ZodOptional<z.ZodObject<{
1125
+ fill: z.ZodOptional<z.ZodObject<{
1126
+ color: z.ZodString;
1127
+ opacity: z.ZodNumber;
1128
+ }, z.core.$strict>>;
1129
+ stroke: z.ZodOptional<z.ZodObject<{
1130
+ color: z.ZodString;
1131
+ opacity: z.ZodNumber;
1132
+ }, z.core.$strict>>;
1133
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1134
+ }, z.core.$strict>>;
1135
+ id: z.ZodString;
1136
+ parentId: z.ZodNullable<z.ZodString>;
1137
+ transform: z.ZodObject<{
1138
+ positionM: z.ZodObject<{
1139
+ x: z.ZodNumber;
1140
+ y: z.ZodNumber;
1141
+ }, z.core.$strict>;
1142
+ rotationDeg: z.ZodNumber;
1143
+ flipX: z.ZodOptional<z.ZodBoolean>;
1144
+ flipY: z.ZodOptional<z.ZodBoolean>;
1145
+ }, z.core.$strict>;
1146
+ zIndex: z.ZodNumber;
1147
+ }, z.core.$strict>, z.ZodObject<{
1148
+ kind: z.ZodLiteral<DecorationKind.Image>;
1149
+ assetId: z.ZodString;
1150
+ sizeM: z.ZodObject<{
1151
+ width: z.ZodNumber;
1152
+ height: z.ZodNumber;
1153
+ }, z.core.$strict>;
1154
+ opacity: z.ZodNumber;
1155
+ style: z.ZodOptional<z.ZodObject<{
1156
+ fill: z.ZodOptional<z.ZodObject<{
1157
+ color: z.ZodString;
1158
+ opacity: z.ZodNumber;
1159
+ }, z.core.$strict>>;
1160
+ stroke: z.ZodOptional<z.ZodObject<{
1161
+ color: z.ZodString;
1162
+ opacity: z.ZodNumber;
1163
+ }, z.core.$strict>>;
1164
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1165
+ }, z.core.$strict>>;
1166
+ id: z.ZodString;
1167
+ parentId: z.ZodNullable<z.ZodString>;
1168
+ transform: z.ZodObject<{
1169
+ positionM: z.ZodObject<{
1170
+ x: z.ZodNumber;
1171
+ y: z.ZodNumber;
1172
+ }, z.core.$strict>;
1173
+ rotationDeg: z.ZodNumber;
1174
+ flipX: z.ZodOptional<z.ZodBoolean>;
1175
+ flipY: z.ZodOptional<z.ZodBoolean>;
1176
+ }, z.core.$strict>;
1177
+ zIndex: z.ZodNumber;
1178
+ }, z.core.$strict>], "kind">>;
1179
+ assets: z.ZodArray<z.ZodObject<{
1180
+ id: z.ZodString;
1181
+ mimeType: z.ZodEnum<{
1182
+ "image/png": "image/png";
1183
+ "image/jpeg": "image/jpeg";
1184
+ "image/webp": "image/webp";
1185
+ "image/svg+xml": "image/svg+xml";
1186
+ }>;
1187
+ }, z.core.$strict>>;
1188
+ }, z.core.$strict>;
1189
+ export declare const areaSchema: z.ZodObject<{
1190
+ kind: z.ZodLiteral<AreaKind>;
1191
+ sectionId: z.ZodNullable<z.ZodString>;
1192
+ label: z.ZodString;
1193
+ labelStyle: z.ZodObject<{
1194
+ visible: z.ZodBoolean;
1195
+ fontSizeM: z.ZodNumber;
1196
+ }, z.core.$strict>;
1197
+ capacity: z.ZodNumber;
1198
+ shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
1199
+ kind: z.ZodLiteral<ShapeKind.Rectangle>;
1200
+ widthM: z.ZodNumber;
1201
+ heightM: z.ZodNumber;
1202
+ cornerRadiusM: z.ZodNumber;
1203
+ }, z.core.$strict>, z.ZodObject<{
1204
+ kind: z.ZodLiteral<ShapeKind.Polygon>;
1205
+ boundary: z.ZodObject<{
1206
+ outer: z.ZodArray<z.ZodObject<{
1207
+ x: z.ZodNumber;
1208
+ y: z.ZodNumber;
1209
+ }, z.core.$strict>>;
1210
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
1211
+ x: z.ZodNumber;
1212
+ y: z.ZodNumber;
1213
+ }, z.core.$strict>>>;
1214
+ }, z.core.$strict>;
1215
+ }, z.core.$strict>], "kind">;
1216
+ id: z.ZodString;
1217
+ parentId: z.ZodNullable<z.ZodString>;
1218
+ transform: z.ZodObject<{
1219
+ positionM: z.ZodObject<{
1220
+ x: z.ZodNumber;
1221
+ y: z.ZodNumber;
1222
+ }, z.core.$strict>;
1223
+ rotationDeg: z.ZodNumber;
1224
+ flipX: z.ZodOptional<z.ZodBoolean>;
1225
+ flipY: z.ZodOptional<z.ZodBoolean>;
1226
+ }, z.core.$strict>;
1227
+ zIndex: z.ZodNumber;
1228
+ }, z.core.$strict>;
1229
+ export declare const decorationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1230
+ kind: z.ZodLiteral<DecorationKind.Text>;
1231
+ text: z.ZodString;
1232
+ fontSizeM: z.ZodNumber;
1233
+ align: z.ZodEnum<typeof LabelAlignment>;
1234
+ style: z.ZodOptional<z.ZodObject<{
1235
+ fill: z.ZodOptional<z.ZodObject<{
1236
+ color: z.ZodString;
1237
+ opacity: z.ZodNumber;
1238
+ }, z.core.$strict>>;
1239
+ stroke: z.ZodOptional<z.ZodObject<{
1240
+ color: z.ZodString;
1241
+ opacity: z.ZodNumber;
1242
+ }, z.core.$strict>>;
1243
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1244
+ }, z.core.$strict>>;
1245
+ id: z.ZodString;
1246
+ parentId: z.ZodNullable<z.ZodString>;
1247
+ transform: z.ZodObject<{
1248
+ positionM: z.ZodObject<{
1249
+ x: z.ZodNumber;
1250
+ y: z.ZodNumber;
1251
+ }, z.core.$strict>;
1252
+ rotationDeg: z.ZodNumber;
1253
+ flipX: z.ZodOptional<z.ZodBoolean>;
1254
+ flipY: z.ZodOptional<z.ZodBoolean>;
1255
+ }, z.core.$strict>;
1256
+ zIndex: z.ZodNumber;
1257
+ }, z.core.$strict>, z.ZodObject<{
1258
+ kind: z.ZodLiteral<DecorationKind.Rectangle>;
1259
+ sizeM: z.ZodObject<{
1260
+ width: z.ZodNumber;
1261
+ height: z.ZodNumber;
1262
+ }, z.core.$strict>;
1263
+ cornerRadiusM: z.ZodNumber;
1264
+ style: z.ZodOptional<z.ZodObject<{
1265
+ fill: z.ZodOptional<z.ZodObject<{
1266
+ color: z.ZodString;
1267
+ opacity: z.ZodNumber;
1268
+ }, z.core.$strict>>;
1269
+ stroke: z.ZodOptional<z.ZodObject<{
1270
+ color: z.ZodString;
1271
+ opacity: z.ZodNumber;
1272
+ }, z.core.$strict>>;
1273
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1274
+ }, z.core.$strict>>;
1275
+ id: z.ZodString;
1276
+ parentId: z.ZodNullable<z.ZodString>;
1277
+ transform: z.ZodObject<{
1278
+ positionM: z.ZodObject<{
1279
+ x: z.ZodNumber;
1280
+ y: z.ZodNumber;
1281
+ }, z.core.$strict>;
1282
+ rotationDeg: z.ZodNumber;
1283
+ flipX: z.ZodOptional<z.ZodBoolean>;
1284
+ flipY: z.ZodOptional<z.ZodBoolean>;
1285
+ }, z.core.$strict>;
1286
+ zIndex: z.ZodNumber;
1287
+ }, z.core.$strict>, z.ZodObject<{
1288
+ kind: z.ZodLiteral<DecorationKind.Circle>;
1289
+ radiusM: z.ZodNumber;
1290
+ style: z.ZodOptional<z.ZodObject<{
1291
+ fill: z.ZodOptional<z.ZodObject<{
1292
+ color: z.ZodString;
1293
+ opacity: z.ZodNumber;
1294
+ }, z.core.$strict>>;
1295
+ stroke: z.ZodOptional<z.ZodObject<{
1296
+ color: z.ZodString;
1297
+ opacity: z.ZodNumber;
1298
+ }, z.core.$strict>>;
1299
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1300
+ }, z.core.$strict>>;
1301
+ id: z.ZodString;
1302
+ parentId: z.ZodNullable<z.ZodString>;
1303
+ transform: z.ZodObject<{
1304
+ positionM: z.ZodObject<{
1305
+ x: z.ZodNumber;
1306
+ y: z.ZodNumber;
1307
+ }, z.core.$strict>;
1308
+ rotationDeg: z.ZodNumber;
1309
+ flipX: z.ZodOptional<z.ZodBoolean>;
1310
+ flipY: z.ZodOptional<z.ZodBoolean>;
1311
+ }, z.core.$strict>;
1312
+ zIndex: z.ZodNumber;
1313
+ }, z.core.$strict>, z.ZodObject<{
1314
+ kind: z.ZodLiteral<DecorationKind.Line>;
1315
+ pointsM: z.ZodArray<z.ZodObject<{
1316
+ x: z.ZodNumber;
1317
+ y: z.ZodNumber;
1318
+ }, z.core.$strict>>;
1319
+ style: z.ZodOptional<z.ZodObject<{
1320
+ fill: z.ZodOptional<z.ZodObject<{
1321
+ color: z.ZodString;
1322
+ opacity: z.ZodNumber;
1323
+ }, z.core.$strict>>;
1324
+ stroke: z.ZodOptional<z.ZodObject<{
1325
+ color: z.ZodString;
1326
+ opacity: z.ZodNumber;
1327
+ }, z.core.$strict>>;
1328
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1329
+ }, z.core.$strict>>;
1330
+ id: z.ZodString;
1331
+ parentId: z.ZodNullable<z.ZodString>;
1332
+ transform: z.ZodObject<{
1333
+ positionM: z.ZodObject<{
1334
+ x: z.ZodNumber;
1335
+ y: z.ZodNumber;
1336
+ }, z.core.$strict>;
1337
+ rotationDeg: z.ZodNumber;
1338
+ flipX: z.ZodOptional<z.ZodBoolean>;
1339
+ flipY: z.ZodOptional<z.ZodBoolean>;
1340
+ }, z.core.$strict>;
1341
+ zIndex: z.ZodNumber;
1342
+ }, z.core.$strict>, z.ZodObject<{
1343
+ kind: z.ZodLiteral<DecorationKind.Polygon>;
1344
+ boundary: z.ZodObject<{
1345
+ outer: z.ZodArray<z.ZodObject<{
1346
+ x: z.ZodNumber;
1347
+ y: z.ZodNumber;
1348
+ }, z.core.$strict>>;
1349
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
1350
+ x: z.ZodNumber;
1351
+ y: z.ZodNumber;
1352
+ }, z.core.$strict>>>;
1353
+ }, z.core.$strict>;
1354
+ style: z.ZodOptional<z.ZodObject<{
1355
+ fill: z.ZodOptional<z.ZodObject<{
1356
+ color: z.ZodString;
1357
+ opacity: z.ZodNumber;
1358
+ }, z.core.$strict>>;
1359
+ stroke: z.ZodOptional<z.ZodObject<{
1360
+ color: z.ZodString;
1361
+ opacity: z.ZodNumber;
1362
+ }, z.core.$strict>>;
1363
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1364
+ }, z.core.$strict>>;
1365
+ id: z.ZodString;
1366
+ parentId: z.ZodNullable<z.ZodString>;
1367
+ transform: z.ZodObject<{
1368
+ positionM: z.ZodObject<{
1369
+ x: z.ZodNumber;
1370
+ y: z.ZodNumber;
1371
+ }, z.core.$strict>;
1372
+ rotationDeg: z.ZodNumber;
1373
+ flipX: z.ZodOptional<z.ZodBoolean>;
1374
+ flipY: z.ZodOptional<z.ZodBoolean>;
1375
+ }, z.core.$strict>;
1376
+ zIndex: z.ZodNumber;
1377
+ }, z.core.$strict>, z.ZodObject<{
1378
+ kind: z.ZodLiteral<DecorationKind.Icon>;
1379
+ iconId: z.ZodEnum<typeof VenueGlyph>;
1380
+ sizeM: z.ZodObject<{
1381
+ width: z.ZodNumber;
1382
+ height: z.ZodNumber;
1383
+ }, z.core.$strict>;
1384
+ style: z.ZodOptional<z.ZodObject<{
1385
+ fill: z.ZodOptional<z.ZodObject<{
1386
+ color: z.ZodString;
1387
+ opacity: z.ZodNumber;
1388
+ }, z.core.$strict>>;
1389
+ stroke: z.ZodOptional<z.ZodObject<{
1390
+ color: z.ZodString;
1391
+ opacity: z.ZodNumber;
1392
+ }, z.core.$strict>>;
1393
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1394
+ }, z.core.$strict>>;
1395
+ id: z.ZodString;
1396
+ parentId: z.ZodNullable<z.ZodString>;
1397
+ transform: z.ZodObject<{
1398
+ positionM: z.ZodObject<{
1399
+ x: z.ZodNumber;
1400
+ y: z.ZodNumber;
1401
+ }, z.core.$strict>;
1402
+ rotationDeg: z.ZodNumber;
1403
+ flipX: z.ZodOptional<z.ZodBoolean>;
1404
+ flipY: z.ZodOptional<z.ZodBoolean>;
1405
+ }, z.core.$strict>;
1406
+ zIndex: z.ZodNumber;
1407
+ }, z.core.$strict>, z.ZodObject<{
1408
+ kind: z.ZodLiteral<DecorationKind.Image>;
1409
+ assetId: z.ZodString;
1410
+ sizeM: z.ZodObject<{
1411
+ width: z.ZodNumber;
1412
+ height: z.ZodNumber;
1413
+ }, z.core.$strict>;
1414
+ opacity: z.ZodNumber;
1415
+ style: z.ZodOptional<z.ZodObject<{
1416
+ fill: z.ZodOptional<z.ZodObject<{
1417
+ color: z.ZodString;
1418
+ opacity: z.ZodNumber;
1419
+ }, z.core.$strict>>;
1420
+ stroke: z.ZodOptional<z.ZodObject<{
1421
+ color: z.ZodString;
1422
+ opacity: z.ZodNumber;
1423
+ }, z.core.$strict>>;
1424
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1425
+ }, z.core.$strict>>;
1426
+ id: z.ZodString;
1427
+ parentId: z.ZodNullable<z.ZodString>;
1428
+ transform: z.ZodObject<{
1429
+ positionM: z.ZodObject<{
1430
+ x: z.ZodNumber;
1431
+ y: z.ZodNumber;
1432
+ }, z.core.$strict>;
1433
+ rotationDeg: z.ZodNumber;
1434
+ flipX: z.ZodOptional<z.ZodBoolean>;
1435
+ flipY: z.ZodOptional<z.ZodBoolean>;
1436
+ }, z.core.$strict>;
1437
+ zIndex: z.ZodNumber;
1438
+ }, z.core.$strict>], "kind">;
1439
+ export declare const collectionSchema: z.ZodObject<{
1440
+ name: z.ZodString;
1441
+ id: z.ZodString;
1442
+ parentId: z.ZodNullable<z.ZodString>;
1443
+ transform: z.ZodObject<{
1444
+ positionM: z.ZodObject<{
1445
+ x: z.ZodNumber;
1446
+ y: z.ZodNumber;
1447
+ }, z.core.$strict>;
1448
+ rotationDeg: z.ZodNumber;
1449
+ flipX: z.ZodOptional<z.ZodBoolean>;
1450
+ flipY: z.ZodOptional<z.ZodBoolean>;
1451
+ }, z.core.$strict>;
1452
+ zIndex: z.ZodNumber;
1453
+ }, z.core.$strict>;
1454
+ export declare const assetSchema: z.ZodObject<{
1455
+ id: z.ZodString;
1456
+ mimeType: z.ZodEnum<{
1457
+ "image/png": "image/png";
1458
+ "image/jpeg": "image/jpeg";
1459
+ "image/webp": "image/webp";
1460
+ "image/svg+xml": "image/svg+xml";
1461
+ }>;
1462
+ }, z.core.$strict>;
1463
+ export declare const paintSchema: z.ZodObject<{
1464
+ color: z.ZodString;
1465
+ opacity: z.ZodNumber;
1466
+ }, z.core.$strict>;
1467
+ export declare const transformSchema: z.ZodObject<{
1468
+ positionM: z.ZodObject<{
1469
+ x: z.ZodNumber;
1470
+ y: z.ZodNumber;
1471
+ }, z.core.$strict>;
1472
+ rotationDeg: z.ZodNumber;
1473
+ flipX: z.ZodOptional<z.ZodBoolean>;
1474
+ flipY: z.ZodOptional<z.ZodBoolean>;
1475
+ }, z.core.$strict>;
1476
+ export declare const mapNameSchema: z.ZodString;
1477
+ export declare const sectionSchema: z.ZodObject<{
1478
+ id: z.ZodString;
1479
+ label: z.ZodString;
1480
+ displayLabel: z.ZodOptional<z.ZodString>;
1481
+ outline: z.ZodOptional<z.ZodObject<{
1482
+ outer: z.ZodArray<z.ZodObject<{
1483
+ x: z.ZodNumber;
1484
+ y: z.ZodNumber;
1485
+ }, z.core.$strict>>;
1486
+ holes: z.ZodArray<z.ZodArray<z.ZodObject<{
1487
+ x: z.ZodNumber;
1488
+ y: z.ZodNumber;
1489
+ }, z.core.$strict>>>;
1490
+ }, z.core.$strict>>;
1491
+ outlineRole: z.ZodOptional<z.ZodEnum<typeof SectionOutlineRole>>;
1492
+ style: z.ZodOptional<z.ZodObject<{
1493
+ fill: z.ZodOptional<z.ZodObject<{
1494
+ color: z.ZodString;
1495
+ opacity: z.ZodNumber;
1496
+ }, z.core.$strict>>;
1497
+ stroke: z.ZodOptional<z.ZodObject<{
1498
+ color: z.ZodString;
1499
+ opacity: z.ZodNumber;
1500
+ }, z.core.$strict>>;
1501
+ strokeWidthM: z.ZodOptional<z.ZodNumber>;
1502
+ }, z.core.$strict>>;
1503
+ labelPlacement: z.ZodOptional<z.ZodObject<{
1504
+ positionM: z.ZodObject<{
1505
+ x: z.ZodNumber;
1506
+ y: z.ZodNumber;
1507
+ }, z.core.$strict>;
1508
+ rotationDeg: z.ZodNumber;
1509
+ align: z.ZodEnum<typeof LabelAlignment>;
1510
+ }, z.core.$strict>>;
1511
+ labelStyle: z.ZodObject<{
1512
+ visible: z.ZodBoolean;
1513
+ fontSizeM: z.ZodNumber;
1514
+ }, z.core.$strict>;
1515
+ }, z.core.$strict>;
1516
+ export declare const uuidSchema: z.ZodString;
1517
+ export declare const dimensionSchema: z.ZodNumber;
1518
+ export declare const coordinateSchema: z.ZodNumber;
1519
+ export declare const rotationSchema: z.ZodNumber;
1520
+ export declare const positiveCountSchema: z.ZodNumber;
1521
+ export declare const labelSequenceSchema: z.ZodObject<{
1522
+ scheme: z.ZodEnum<typeof NumberingScheme>;
1523
+ startAt: z.ZodNumber;
1524
+ direction: z.ZodEnum<typeof LabelDirection>;
1525
+ prefix: z.ZodOptional<z.ZodString>;
1526
+ suffix: z.ZodOptional<z.ZodString>;
1527
+ }, z.core.$strict>;
1528
+ export declare const inventoryLabelSchema: z.ZodString;
1529
+ export declare const attributesSchema: z.ZodOptional<z.ZodObject<{
1530
+ accessible: z.ZodOptional<z.ZodBoolean>;
1531
+ restrictedView: z.ZodOptional<z.ZodBoolean>;
1532
+ hearingAssistance: z.ZodOptional<z.ZodBoolean>;
1533
+ semiAmbulatory: z.ZodOptional<z.ZodBoolean>;
1534
+ companionForSeatId: z.ZodOptional<z.ZodString>;
1535
+ }, z.core.$strict>>;
1536
+ export declare const seatOverrideSchema: z.ZodOptional<z.ZodObject<{
1537
+ offsetM: z.ZodOptional<z.ZodObject<{
1538
+ x: z.ZodNumber;
1539
+ y: z.ZodNumber;
1540
+ }, z.core.$strict>>;
1541
+ rotationDeltaDeg: z.ZodOptional<z.ZodNumber>;
1542
+ sizeM: z.ZodOptional<z.ZodObject<{
1543
+ width: z.ZodNumber;
1544
+ height: z.ZodNumber;
1545
+ }, z.core.$strict>>;
1546
+ }, z.core.$strict>>;
1547
+ export declare function validateRecipe(group: SeatingGroup): z.ZodSafeParseResult<{
1548
+ seatPitchM: number;
1549
+ rowPitchM: number;
1550
+ rowAlignment?: RowAlignment | undefined;
1551
+ }> | z.ZodSafeParseResult<{
1552
+ innerRadiusM: number;
1553
+ rowPitchM: number;
1554
+ placement: {
1555
+ kind: CurveMode.Sweep;
1556
+ startAngleDeg: number;
1557
+ sweepAngleDeg: number;
1558
+ } | {
1559
+ kind: CurveMode.Pitch;
1560
+ centerAngleDeg: number;
1561
+ seatPitchM: number;
1562
+ };
1563
+ axisRatio?: number | undefined;
1564
+ }> | z.ZodSafeParseResult<{
1565
+ widthM: number;
1566
+ depthM: number;
1567
+ chairGapM: number;
1568
+ chairPitchM?: number | undefined;
1569
+ }> | z.ZodSafeParseResult<{
1570
+ diameterM: number;
1571
+ chairGapM: number;
1572
+ startAngleDeg: number;
1573
+ }>;
1574
+ export declare function validateSequences(group: SeatingGroup): z.ZodSafeParseResult<{
1575
+ rows: {
1576
+ scheme: NumberingScheme;
1577
+ startAt: number;
1578
+ direction: LabelDirection;
1579
+ prefix?: string | undefined;
1580
+ suffix?: string | undefined;
1581
+ };
1582
+ seats: {
1583
+ scheme: NumberingScheme;
1584
+ startAt: number;
1585
+ direction: LabelDirection;
1586
+ prefix?: string | undefined;
1587
+ suffix?: string | undefined;
1588
+ };
1589
+ rowStyle: {
1590
+ visible: boolean;
1591
+ fontSizeM: number;
1592
+ position: RowLabelPosition;
1593
+ };
1594
+ }> | z.ZodSafeParseResult<{
1595
+ table: string;
1596
+ chairs: {
1597
+ scheme: NumberingScheme;
1598
+ startAt: number;
1599
+ direction: LabelDirection;
1600
+ prefix?: string | undefined;
1601
+ suffix?: string | undefined;
1602
+ };
1603
+ tableStyle: {
1604
+ visible: boolean;
1605
+ fontSizeM: number;
1606
+ };
1607
+ }>;
1608
+ export declare enum DocumentParseStatus {
1609
+ Accepted = "accepted",
1610
+ Rejected = "rejected"
1611
+ }
1612
+ export type ParseResult = {
1613
+ status: DocumentParseStatus.Accepted;
1614
+ document: PhysicalDocumentV1;
1615
+ } | {
1616
+ status: DocumentParseStatus.Rejected;
1617
+ issues: DomainIssue[];
1618
+ };
1619
+ export declare function groupSeatCount(group: SeatingGroup): number;
1620
+ export declare function seatSlots(group: SeatingGroup): Generator<SeatSlot>;
1621
+ export declare function capacity(document: PhysicalDocumentV1): {
1622
+ physicalSeats: number;
1623
+ gaQuantity: number;
1624
+ };
1625
+ export declare function structuralIssues(document: PhysicalDocumentV1, changedGroups?: ReadonlySet<UUID>): DomainIssue[];
1626
+ export declare function parsePhysicalDocument(input: unknown): ParseResult;
1627
+ /** Prepared entity schemas have already passed. Recheck global references and only changed world geometry. */
1628
+ export declare function validatePreparedDocument(document: PhysicalDocumentV1, changedGroups: ReadonlySet<UUID>): DomainIssue[];
1629
+ export declare function serializePhysicalDocument(document: PhysicalDocumentV1): string;