rtistree 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/LICENSE +21 -0
  3. package/README.md +99 -0
  4. package/THIRD_PARTY_NOTICES.md +25 -0
  5. package/dist/art-direction.d.ts +77 -0
  6. package/dist/art-direction.js +186 -0
  7. package/dist/art-direction.js.map +1 -0
  8. package/dist/artifacts.d.ts +24 -0
  9. package/dist/artifacts.js +49 -0
  10. package/dist/artifacts.js.map +1 -0
  11. package/dist/assets.d.ts +16 -0
  12. package/dist/assets.js +96 -0
  13. package/dist/assets.js.map +1 -0
  14. package/dist/benchmark.d.ts +76 -0
  15. package/dist/benchmark.js +118 -0
  16. package/dist/benchmark.js.map +1 -0
  17. package/dist/cli.d.ts +2 -0
  18. package/dist/cli.js +300 -0
  19. package/dist/cli.js.map +1 -0
  20. package/dist/commands.d.ts +5315 -0
  21. package/dist/commands.js +591 -0
  22. package/dist/commands.js.map +1 -0
  23. package/dist/components.d.ts +20 -0
  24. package/dist/components.js +98 -0
  25. package/dist/components.js.map +1 -0
  26. package/dist/construction.d.ts +53 -0
  27. package/dist/construction.js +80 -0
  28. package/dist/construction.js.map +1 -0
  29. package/dist/critique.d.ts +44 -0
  30. package/dist/critique.js +45 -0
  31. package/dist/critique.js.map +1 -0
  32. package/dist/detail.d.ts +5 -0
  33. package/dist/detail.js +52 -0
  34. package/dist/detail.js.map +1 -0
  35. package/dist/document.d.ts +64 -0
  36. package/dist/document.js +56 -0
  37. package/dist/document.js.map +1 -0
  38. package/dist/export.d.ts +405 -0
  39. package/dist/export.js +344 -0
  40. package/dist/export.js.map +1 -0
  41. package/dist/font-inspection.d.ts +8 -0
  42. package/dist/font-inspection.js +34 -0
  43. package/dist/font-inspection.js.map +1 -0
  44. package/dist/graphics.d.ts +9 -0
  45. package/dist/graphics.js +72 -0
  46. package/dist/graphics.js.map +1 -0
  47. package/dist/history-storage.d.ts +10 -0
  48. package/dist/history-storage.js +59 -0
  49. package/dist/history-storage.js.map +1 -0
  50. package/dist/index.d.ts +27 -0
  51. package/dist/index.js +28 -0
  52. package/dist/index.js.map +1 -0
  53. package/dist/layout.d.ts +18 -0
  54. package/dist/layout.js +155 -0
  55. package/dist/layout.js.map +1 -0
  56. package/dist/loader.d.ts +9 -0
  57. package/dist/loader.js +108 -0
  58. package/dist/loader.js.map +1 -0
  59. package/dist/mcp.d.ts +4 -0
  60. package/dist/mcp.js +223 -0
  61. package/dist/mcp.js.map +1 -0
  62. package/dist/merge.d.ts +6 -0
  63. package/dist/merge.js +49 -0
  64. package/dist/merge.js.map +1 -0
  65. package/dist/native.d.ts +3 -0
  66. package/dist/native.js +6 -0
  67. package/dist/native.js.map +1 -0
  68. package/dist/paint.d.ts +9 -0
  69. package/dist/paint.js +331 -0
  70. package/dist/paint.js.map +1 -0
  71. package/dist/path-edit.d.ts +20 -0
  72. package/dist/path-edit.js +30 -0
  73. package/dist/path-edit.js.map +1 -0
  74. package/dist/pdf-output.d.ts +21 -0
  75. package/dist/pdf-output.js +297 -0
  76. package/dist/pdf-output.js.map +1 -0
  77. package/dist/pipeline.d.ts +39 -0
  78. package/dist/pipeline.js +227 -0
  79. package/dist/pipeline.js.map +1 -0
  80. package/dist/print-scene.d.ts +490 -0
  81. package/dist/print-scene.js +55 -0
  82. package/dist/print-scene.js.map +1 -0
  83. package/dist/production-workflow.d.ts +251 -0
  84. package/dist/production-workflow.js +335 -0
  85. package/dist/production-workflow.js.map +1 -0
  86. package/dist/program-worker.d.ts +1 -0
  87. package/dist/program-worker.js +31 -0
  88. package/dist/program-worker.js.map +1 -0
  89. package/dist/program.d.ts +85 -0
  90. package/dist/program.js +246 -0
  91. package/dist/program.js.map +1 -0
  92. package/dist/project-config.d.ts +91 -0
  93. package/dist/project-config.js +187 -0
  94. package/dist/project-config.js.map +1 -0
  95. package/dist/project.d.ts +897 -0
  96. package/dist/project.js +347 -0
  97. package/dist/project.js.map +1 -0
  98. package/dist/raster-edit.d.ts +61 -0
  99. package/dist/raster-edit.js +91 -0
  100. package/dist/raster-edit.js.map +1 -0
  101. package/dist/raster-studio.d.ts +84 -0
  102. package/dist/raster-studio.js +236 -0
  103. package/dist/raster-studio.js.map +1 -0
  104. package/dist/render.d.ts +79 -0
  105. package/dist/render.js +437 -0
  106. package/dist/render.js.map +1 -0
  107. package/dist/rich-text.d.ts +10 -0
  108. package/dist/rich-text.js +56 -0
  109. package/dist/rich-text.js.map +1 -0
  110. package/dist/schema.d.ts +1912 -0
  111. package/dist/schema.js +571 -0
  112. package/dist/schema.js.map +1 -0
  113. package/dist/spatial.d.ts +10 -0
  114. package/dist/spatial.js +29 -0
  115. package/dist/spatial.js.map +1 -0
  116. package/dist/studio-reference.d.ts +153 -0
  117. package/dist/studio-reference.js +39 -0
  118. package/dist/studio-reference.js.map +1 -0
  119. package/dist/svg.d.ts +5 -0
  120. package/dist/svg.js +315 -0
  121. package/dist/svg.js.map +1 -0
  122. package/dist/techniques.d.ts +74 -0
  123. package/dist/techniques.js +164 -0
  124. package/dist/techniques.js.map +1 -0
  125. package/dist/verify.d.ts +36 -0
  126. package/dist/verify.js +277 -0
  127. package/dist/verify.js.map +1 -0
  128. package/dist/viewport.d.ts +3 -0
  129. package/dist/viewport.js +71 -0
  130. package/dist/viewport.js.map +1 -0
  131. package/dist/workflow.d.ts +53 -0
  132. package/dist/workflow.js +66 -0
  133. package/dist/workflow.js.map +1 -0
  134. package/docs/agent-art-workflow.md +201 -0
  135. package/docs/agent-setup.md +83 -0
  136. package/docs/atelier.md +117 -0
  137. package/docs/cli-reference.md +61 -0
  138. package/docs/decisions/001-runtime-and-renderer.md +35 -0
  139. package/docs/decisions/002-composable-scenes-and-history.md +28 -0
  140. package/docs/decisions/003-editing-refinement-and-agent-validation.md +45 -0
  141. package/docs/decisions/004-print-production-and-projects.md +19 -0
  142. package/docs/decisions/005-programmable-digital-art.md +15 -0
  143. package/docs/decisions/006-staged-2d-art-production.md +13 -0
  144. package/docs/decisions/007-foundation-first-art-direction.md +13 -0
  145. package/docs/decisions/008-agent-onboarding-and-trial-lessons.md +48 -0
  146. package/docs/engine-overview.md +174 -0
  147. package/docs/evolution.md +179 -0
  148. package/docs/getting-started.md +107 -0
  149. package/docs/next-milestone.md +61 -0
  150. package/docs/previews/a3-production.json +36 -0
  151. package/docs/previews/benchmark.json +42 -0
  152. package/docs/previews/landscape.png +0 -0
  153. package/docs/previews/performance.json +24 -0
  154. package/docs/previews/poster.png +0 -0
  155. package/docs/production.md +107 -0
  156. package/docs/releasing.md +60 -0
  157. package/docs/scene-format.md +126 -0
  158. package/docs/studio.md +108 -0
  159. package/examples/hello/README.md +14 -0
  160. package/examples/hello/refine.json +10 -0
  161. package/examples/hello/render.mjs +9 -0
  162. package/examples/hello/scene.json +19 -0
  163. package/licenses/DM-Serif-Display-OFL.txt +93 -0
  164. package/licenses/Inter-OFL.txt +93 -0
  165. package/package.json +84 -0
  166. package/schemas/authoring.schema.json +2177 -0
  167. package/schemas/brief.schema.json +57 -0
  168. package/schemas/command.schema.json +3154 -0
  169. package/schemas/construction.schema.json +159 -0
  170. package/schemas/critique.schema.json +101 -0
  171. package/schemas/document.schema.json +41 -0
  172. package/schemas/export.schema.json +89 -0
  173. package/schemas/fragment.schema.json +1861 -0
  174. package/schemas/patch.schema.json +3177 -0
  175. package/schemas/pipeline.schema.json +205 -0
  176. package/schemas/production.schema.json +452 -0
  177. package/schemas/program.schema.json +152 -0
  178. package/schemas/project.schema.json +115 -0
  179. package/schemas/raster-read.schema.json +42 -0
  180. package/schemas/raster-write.schema.json +75 -0
  181. package/schemas/scene.schema.json +2014 -0
@@ -0,0 +1,3154 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "oneOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "restoreScene"
10
+ },
11
+ "scene": {
12
+ "type": "object",
13
+ "properties": {
14
+ "version": {
15
+ "type": "number",
16
+ "const": 1
17
+ },
18
+ "canvas": {
19
+ "type": "object",
20
+ "properties": {
21
+ "width": {
22
+ "type": "integer",
23
+ "minimum": 1,
24
+ "maximum": 8192
25
+ },
26
+ "height": {
27
+ "type": "integer",
28
+ "minimum": 1,
29
+ "maximum": 8192
30
+ },
31
+ "colour_space": {
32
+ "default": "srgb",
33
+ "type": "string",
34
+ "const": "srgb"
35
+ },
36
+ "background": {
37
+ "default": "#00000000",
38
+ "$ref": "#/$defs/__schema0"
39
+ }
40
+ },
41
+ "required": ["width", "height", "colour_space", "background"],
42
+ "additionalProperties": false
43
+ },
44
+ "document": {
45
+ "$ref": "#/$defs/__schema1"
46
+ },
47
+ "paragraph_styles": {
48
+ "type": "object",
49
+ "propertyNames": {
50
+ "$ref": "#/$defs/__schema2"
51
+ },
52
+ "additionalProperties": {
53
+ "$ref": "#/$defs/__schema3"
54
+ }
55
+ },
56
+ "fonts": {
57
+ "type": "object",
58
+ "propertyNames": {
59
+ "$ref": "#/$defs/__schema2"
60
+ },
61
+ "additionalProperties": {
62
+ "$ref": "#/$defs/__schema11"
63
+ }
64
+ },
65
+ "metadata": {
66
+ "default": {},
67
+ "type": "object",
68
+ "propertyNames": {
69
+ "type": "string"
70
+ },
71
+ "additionalProperties": {
72
+ "$ref": "#/$defs/__schema12"
73
+ }
74
+ },
75
+ "assets": {
76
+ "default": {},
77
+ "type": "object",
78
+ "propertyNames": {
79
+ "$ref": "#/$defs/__schema2"
80
+ },
81
+ "additionalProperties": {
82
+ "$ref": "#/$defs/__schema13"
83
+ }
84
+ },
85
+ "layers": {
86
+ "maxItems": 256,
87
+ "type": "array",
88
+ "items": {
89
+ "$ref": "#/$defs/__schema14"
90
+ }
91
+ },
92
+ "verification": {
93
+ "default": {
94
+ "rules": []
95
+ },
96
+ "type": "object",
97
+ "properties": {
98
+ "rules": {
99
+ "default": [],
100
+ "maxItems": 256,
101
+ "type": "array",
102
+ "items": {
103
+ "$ref": "#/$defs/__schema55"
104
+ }
105
+ }
106
+ },
107
+ "required": ["rules"],
108
+ "additionalProperties": false
109
+ }
110
+ },
111
+ "required": ["version", "canvas", "metadata", "assets", "layers", "verification"],
112
+ "additionalProperties": false
113
+ }
114
+ },
115
+ "required": ["type", "scene"],
116
+ "additionalProperties": false
117
+ },
118
+ {
119
+ "type": "object",
120
+ "properties": {
121
+ "type": {
122
+ "type": "string",
123
+ "const": "setDocument"
124
+ },
125
+ "document": {
126
+ "anyOf": [
127
+ {
128
+ "$ref": "#/$defs/__schema1"
129
+ },
130
+ {
131
+ "type": "null"
132
+ }
133
+ ]
134
+ }
135
+ },
136
+ "required": ["type", "document"],
137
+ "additionalProperties": false
138
+ },
139
+ {
140
+ "type": "object",
141
+ "properties": {
142
+ "type": {
143
+ "type": "string",
144
+ "const": "setPath"
145
+ },
146
+ "target": {
147
+ "$ref": "#/$defs/__schema56"
148
+ },
149
+ "segments": {
150
+ "minItems": 1,
151
+ "maxItems": 4096,
152
+ "type": "array",
153
+ "items": {
154
+ "$ref": "#/$defs/__schema57"
155
+ }
156
+ }
157
+ },
158
+ "required": ["type", "target", "segments"],
159
+ "additionalProperties": false
160
+ },
161
+ {
162
+ "type": "object",
163
+ "properties": {
164
+ "type": {
165
+ "type": "string",
166
+ "const": "setAffine"
167
+ },
168
+ "target": {
169
+ "$ref": "#/$defs/__schema56"
170
+ },
171
+ "matrix": {
172
+ "anyOf": [
173
+ {
174
+ "$ref": "#/$defs/__schema26"
175
+ },
176
+ {
177
+ "type": "null"
178
+ }
179
+ ]
180
+ }
181
+ },
182
+ "required": ["type", "target", "matrix"],
183
+ "additionalProperties": false
184
+ },
185
+ {
186
+ "type": "object",
187
+ "properties": {
188
+ "type": {
189
+ "type": "string",
190
+ "const": "setCrop"
191
+ },
192
+ "target": {
193
+ "$ref": "#/$defs/__schema56"
194
+ },
195
+ "crop": {
196
+ "anyOf": [
197
+ {
198
+ "$ref": "#/$defs/__schema18"
199
+ },
200
+ {
201
+ "type": "null"
202
+ }
203
+ ]
204
+ },
205
+ "focal_point": {
206
+ "$ref": "#/$defs/__schema37"
207
+ }
208
+ },
209
+ "required": ["type", "target", "crop"],
210
+ "additionalProperties": false
211
+ },
212
+ {
213
+ "type": "object",
214
+ "properties": {
215
+ "type": {
216
+ "type": "string",
217
+ "const": "setPerspective"
218
+ },
219
+ "target": {
220
+ "$ref": "#/$defs/__schema56"
221
+ },
222
+ "corners": {
223
+ "anyOf": [
224
+ {
225
+ "$ref": "#/$defs/__schema38"
226
+ },
227
+ {
228
+ "type": "null"
229
+ }
230
+ ]
231
+ }
232
+ },
233
+ "required": ["type", "target", "corners"],
234
+ "additionalProperties": false
235
+ },
236
+ {
237
+ "type": "object",
238
+ "properties": {
239
+ "type": {
240
+ "type": "string",
241
+ "const": "setTextRuns"
242
+ },
243
+ "target": {
244
+ "$ref": "#/$defs/__schema56"
245
+ },
246
+ "runs": {
247
+ "$ref": "#/$defs/__schema35"
248
+ }
249
+ },
250
+ "required": ["type", "target", "runs"],
251
+ "additionalProperties": false
252
+ },
253
+ {
254
+ "type": "object",
255
+ "properties": {
256
+ "type": {
257
+ "type": "string",
258
+ "const": "setParagraphStyle"
259
+ },
260
+ "id": {
261
+ "type": "string"
262
+ },
263
+ "style": {
264
+ "$ref": "#/$defs/__schema3"
265
+ }
266
+ },
267
+ "required": ["type", "id", "style"],
268
+ "additionalProperties": false
269
+ },
270
+ {
271
+ "type": "object",
272
+ "properties": {
273
+ "type": {
274
+ "type": "string",
275
+ "const": "useParagraphStyle"
276
+ },
277
+ "target": {
278
+ "$ref": "#/$defs/__schema56"
279
+ },
280
+ "id": {
281
+ "type": "string"
282
+ }
283
+ },
284
+ "required": ["type", "target", "id"],
285
+ "additionalProperties": false
286
+ },
287
+ {
288
+ "type": "object",
289
+ "properties": {
290
+ "type": {
291
+ "type": "string",
292
+ "const": "setAdjustmentStack"
293
+ },
294
+ "target": {
295
+ "$ref": "#/$defs/__schema56"
296
+ },
297
+ "operations": {
298
+ "maxItems": 1000,
299
+ "type": "array",
300
+ "items": {
301
+ "$ref": "#/$defs/__schema46"
302
+ }
303
+ }
304
+ },
305
+ "required": ["type", "target", "operations"],
306
+ "additionalProperties": false
307
+ },
308
+ {
309
+ "type": "object",
310
+ "properties": {
311
+ "type": {
312
+ "type": "string",
313
+ "const": "booleanPath"
314
+ },
315
+ "targets": {
316
+ "minItems": 2,
317
+ "maxItems": 32,
318
+ "type": "array",
319
+ "items": {
320
+ "$ref": "#/$defs/__schema58"
321
+ }
322
+ },
323
+ "id": {
324
+ "type": "string"
325
+ },
326
+ "operation": {
327
+ "type": "string",
328
+ "enum": ["union", "intersect", "subtract", "xor"]
329
+ }
330
+ },
331
+ "required": ["type", "targets", "id", "operation"],
332
+ "additionalProperties": false
333
+ },
334
+ {
335
+ "type": "object",
336
+ "properties": {
337
+ "type": {
338
+ "type": "string",
339
+ "const": "registerFont"
340
+ },
341
+ "id": {
342
+ "type": "string"
343
+ },
344
+ "font": {
345
+ "$ref": "#/$defs/__schema11"
346
+ }
347
+ },
348
+ "required": ["type", "id", "font"],
349
+ "additionalProperties": false
350
+ },
351
+ {
352
+ "type": "object",
353
+ "properties": {
354
+ "type": {
355
+ "type": "string",
356
+ "const": "removeFont"
357
+ },
358
+ "id": {
359
+ "type": "string"
360
+ }
361
+ },
362
+ "required": ["type", "id"],
363
+ "additionalProperties": false
364
+ },
365
+ {
366
+ "type": "object",
367
+ "properties": {
368
+ "type": {
369
+ "type": "string",
370
+ "const": "promoteRegion"
371
+ },
372
+ "target": {
373
+ "$ref": "#/$defs/__schema56"
374
+ },
375
+ "region": {
376
+ "$ref": "#/$defs/__schema50"
377
+ }
378
+ },
379
+ "required": ["type", "target", "region"],
380
+ "additionalProperties": false
381
+ },
382
+ {
383
+ "type": "object",
384
+ "properties": {
385
+ "type": {
386
+ "type": "string",
387
+ "const": "updateRegion"
388
+ },
389
+ "target": {
390
+ "$ref": "#/$defs/__schema56"
391
+ },
392
+ "region": {
393
+ "$ref": "#/$defs/__schema50"
394
+ }
395
+ },
396
+ "required": ["type", "target", "region"],
397
+ "additionalProperties": false
398
+ },
399
+ {
400
+ "type": "object",
401
+ "properties": {
402
+ "type": {
403
+ "type": "string",
404
+ "const": "demoteRegion"
405
+ },
406
+ "target": {
407
+ "$ref": "#/$defs/__schema56"
408
+ },
409
+ "id": {
410
+ "type": "string"
411
+ }
412
+ },
413
+ "required": ["type", "target", "id"],
414
+ "additionalProperties": false
415
+ },
416
+ {
417
+ "type": "object",
418
+ "properties": {
419
+ "type": {
420
+ "type": "string",
421
+ "const": "registerAsset"
422
+ },
423
+ "id": {
424
+ "type": "string"
425
+ },
426
+ "asset": {
427
+ "$ref": "#/$defs/__schema13"
428
+ }
429
+ },
430
+ "required": ["type", "id", "asset"],
431
+ "additionalProperties": false
432
+ },
433
+ {
434
+ "type": "object",
435
+ "properties": {
436
+ "type": {
437
+ "type": "string",
438
+ "const": "removeAsset"
439
+ },
440
+ "id": {
441
+ "type": "string"
442
+ }
443
+ },
444
+ "required": ["type", "id"],
445
+ "additionalProperties": false
446
+ },
447
+ {
448
+ "type": "object",
449
+ "properties": {
450
+ "type": {
451
+ "type": "string",
452
+ "const": "setShape"
453
+ },
454
+ "target": {
455
+ "$ref": "#/$defs/__schema56"
456
+ },
457
+ "shape": {
458
+ "$ref": "#/$defs/__schema29"
459
+ }
460
+ },
461
+ "required": ["type", "target", "shape"],
462
+ "additionalProperties": false
463
+ },
464
+ {
465
+ "type": "object",
466
+ "properties": {
467
+ "type": {
468
+ "type": "string",
469
+ "const": "setGenerator"
470
+ },
471
+ "target": {
472
+ "$ref": "#/$defs/__schema56"
473
+ },
474
+ "generator": {
475
+ "$ref": "#/$defs/__schema41"
476
+ }
477
+ },
478
+ "required": ["type", "target", "generator"],
479
+ "additionalProperties": false
480
+ },
481
+ {
482
+ "type": "object",
483
+ "properties": {
484
+ "type": {
485
+ "type": "string",
486
+ "const": "setTransform"
487
+ },
488
+ "target": {
489
+ "$ref": "#/$defs/__schema56"
490
+ },
491
+ "transform": {
492
+ "anyOf": [
493
+ {
494
+ "$ref": "#/$defs/__schema27"
495
+ },
496
+ {
497
+ "type": "null"
498
+ }
499
+ ]
500
+ }
501
+ },
502
+ "required": ["type", "target", "transform"],
503
+ "additionalProperties": false
504
+ },
505
+ {
506
+ "type": "object",
507
+ "properties": {
508
+ "type": {
509
+ "type": "string",
510
+ "const": "setMask"
511
+ },
512
+ "target": {
513
+ "$ref": "#/$defs/__schema56"
514
+ },
515
+ "mask": {
516
+ "anyOf": [
517
+ {
518
+ "$ref": "#/$defs/__schema42"
519
+ },
520
+ {
521
+ "type": "null"
522
+ }
523
+ ]
524
+ }
525
+ },
526
+ "required": ["type", "target", "mask"],
527
+ "additionalProperties": false
528
+ },
529
+ {
530
+ "type": "object",
531
+ "properties": {
532
+ "type": {
533
+ "type": "string",
534
+ "const": "setLayout"
535
+ },
536
+ "target": {
537
+ "$ref": "#/$defs/__schema56"
538
+ },
539
+ "layout": {
540
+ "anyOf": [
541
+ {
542
+ "$ref": "#/$defs/__schema28"
543
+ },
544
+ {
545
+ "type": "null"
546
+ }
547
+ ]
548
+ }
549
+ },
550
+ "required": ["type", "target", "layout"],
551
+ "additionalProperties": false
552
+ },
553
+ {
554
+ "type": "object",
555
+ "properties": {
556
+ "type": {
557
+ "type": "string",
558
+ "const": "setGeometry"
559
+ },
560
+ "target": {
561
+ "$ref": "#/$defs/__schema56"
562
+ },
563
+ "geometry": {
564
+ "type": "object",
565
+ "properties": {
566
+ "bounds": {
567
+ "$ref": "#/$defs/__schema17"
568
+ },
569
+ "width": {
570
+ "$ref": "#/$defs/__schema20"
571
+ },
572
+ "height": {
573
+ "$ref": "#/$defs/__schema24"
574
+ },
575
+ "anchor": {
576
+ "$ref": "#/$defs/__schema25"
577
+ },
578
+ "aspect_ratio": {
579
+ "$ref": "#/$defs/__schema22"
580
+ },
581
+ "grow": {
582
+ "$ref": "#/$defs/__schema23"
583
+ }
584
+ },
585
+ "additionalProperties": false
586
+ }
587
+ },
588
+ "required": ["type", "target", "geometry"],
589
+ "additionalProperties": false
590
+ },
591
+ {
592
+ "type": "object",
593
+ "properties": {
594
+ "type": {
595
+ "type": "string",
596
+ "const": "setSource"
597
+ },
598
+ "target": {
599
+ "$ref": "#/$defs/__schema56"
600
+ },
601
+ "source": {
602
+ "type": "string"
603
+ },
604
+ "fit": {
605
+ "$ref": "#/$defs/__schema40"
606
+ }
607
+ },
608
+ "required": ["type", "target", "source"],
609
+ "additionalProperties": false
610
+ },
611
+ {
612
+ "type": "object",
613
+ "properties": {
614
+ "type": {
615
+ "type": "string",
616
+ "const": "setVisibility"
617
+ },
618
+ "target": {
619
+ "$ref": "#/$defs/__schema56"
620
+ },
621
+ "visible": {
622
+ "type": "boolean"
623
+ }
624
+ },
625
+ "required": ["type", "target", "visible"],
626
+ "additionalProperties": false
627
+ },
628
+ {
629
+ "type": "object",
630
+ "properties": {
631
+ "type": {
632
+ "type": "string",
633
+ "const": "setRole"
634
+ },
635
+ "target": {
636
+ "$ref": "#/$defs/__schema56"
637
+ },
638
+ "role": {
639
+ "type": ["string", "null"]
640
+ }
641
+ },
642
+ "required": ["type", "target", "role"],
643
+ "additionalProperties": false
644
+ },
645
+ {
646
+ "type": "object",
647
+ "properties": {
648
+ "type": {
649
+ "type": "string",
650
+ "const": "setZ"
651
+ },
652
+ "target": {
653
+ "$ref": "#/$defs/__schema56"
654
+ },
655
+ "z": {
656
+ "type": "number"
657
+ }
658
+ },
659
+ "required": ["type", "target", "z"],
660
+ "additionalProperties": false
661
+ },
662
+ {
663
+ "type": "object",
664
+ "properties": {
665
+ "type": {
666
+ "type": "string",
667
+ "const": "setVerification"
668
+ },
669
+ "rules": {
670
+ "maxItems": 256,
671
+ "type": "array",
672
+ "items": {
673
+ "$ref": "#/$defs/__schema55"
674
+ }
675
+ }
676
+ },
677
+ "required": ["type", "rules"],
678
+ "additionalProperties": false
679
+ },
680
+ {
681
+ "type": "object",
682
+ "properties": {
683
+ "type": {
684
+ "type": "string",
685
+ "const": "updateEffect"
686
+ },
687
+ "target": {
688
+ "$ref": "#/$defs/__schema56"
689
+ },
690
+ "index": {
691
+ "type": "integer",
692
+ "minimum": 0,
693
+ "maximum": 9007199254740991
694
+ },
695
+ "effect": {
696
+ "$ref": "#/$defs/__schema45"
697
+ }
698
+ },
699
+ "required": ["type", "target", "index", "effect"],
700
+ "additionalProperties": false
701
+ },
702
+ {
703
+ "type": "object",
704
+ "properties": {
705
+ "type": {
706
+ "type": "string",
707
+ "const": "removeEffect"
708
+ },
709
+ "target": {
710
+ "$ref": "#/$defs/__schema56"
711
+ },
712
+ "index": {
713
+ "type": "integer",
714
+ "minimum": 0,
715
+ "maximum": 9007199254740991
716
+ }
717
+ },
718
+ "required": ["type", "target", "index"],
719
+ "additionalProperties": false
720
+ },
721
+ {
722
+ "type": "object",
723
+ "properties": {
724
+ "type": {
725
+ "type": "string",
726
+ "const": "updateRasterOperation"
727
+ },
728
+ "target": {
729
+ "$ref": "#/$defs/__schema56"
730
+ },
731
+ "index": {
732
+ "type": "integer",
733
+ "minimum": 0,
734
+ "maximum": 9007199254740991
735
+ },
736
+ "operation": {
737
+ "$ref": "#/$defs/__schema46"
738
+ }
739
+ },
740
+ "required": ["type", "target", "index", "operation"],
741
+ "additionalProperties": false
742
+ },
743
+ {
744
+ "type": "object",
745
+ "properties": {
746
+ "type": {
747
+ "type": "string",
748
+ "const": "removeRasterOperation"
749
+ },
750
+ "target": {
751
+ "$ref": "#/$defs/__schema56"
752
+ },
753
+ "index": {
754
+ "type": "integer",
755
+ "minimum": 0,
756
+ "maximum": 9007199254740991
757
+ }
758
+ },
759
+ "required": ["type", "target", "index"],
760
+ "additionalProperties": false
761
+ },
762
+ {
763
+ "type": "object",
764
+ "properties": {
765
+ "type": {
766
+ "type": "string",
767
+ "const": "removeTile"
768
+ },
769
+ "target": {
770
+ "$ref": "#/$defs/__schema56"
771
+ },
772
+ "index": {
773
+ "type": "integer",
774
+ "minimum": 0,
775
+ "maximum": 9007199254740991
776
+ }
777
+ },
778
+ "required": ["type", "target", "index"],
779
+ "additionalProperties": false
780
+ },
781
+ {
782
+ "type": "object",
783
+ "properties": {
784
+ "type": {
785
+ "type": "string",
786
+ "const": "addLayer"
787
+ },
788
+ "layer": {
789
+ "$ref": "#/$defs/__schema14"
790
+ },
791
+ "parent": {
792
+ "type": "string"
793
+ }
794
+ },
795
+ "required": ["type", "layer"],
796
+ "additionalProperties": false
797
+ },
798
+ {
799
+ "type": "object",
800
+ "properties": {
801
+ "type": {
802
+ "type": "string",
803
+ "const": "removeLayer"
804
+ },
805
+ "target": {
806
+ "$ref": "#/$defs/__schema56"
807
+ }
808
+ },
809
+ "required": ["type", "target"],
810
+ "additionalProperties": false
811
+ },
812
+ {
813
+ "type": "object",
814
+ "properties": {
815
+ "type": {
816
+ "type": "string",
817
+ "const": "moveLayer"
818
+ },
819
+ "target": {
820
+ "$ref": "#/$defs/__schema56"
821
+ },
822
+ "x": {
823
+ "type": "number"
824
+ },
825
+ "y": {
826
+ "type": "number"
827
+ }
828
+ },
829
+ "required": ["type", "target", "x", "y"],
830
+ "additionalProperties": false
831
+ },
832
+ {
833
+ "type": "object",
834
+ "properties": {
835
+ "type": {
836
+ "type": "string",
837
+ "const": "resizeLayer"
838
+ },
839
+ "target": {
840
+ "$ref": "#/$defs/__schema56"
841
+ },
842
+ "width": {
843
+ "type": "number",
844
+ "exclusiveMinimum": 0,
845
+ "maximum": 8192
846
+ },
847
+ "height": {
848
+ "type": "number",
849
+ "exclusiveMinimum": 0,
850
+ "maximum": 8192
851
+ }
852
+ },
853
+ "required": ["type", "target", "width", "height"],
854
+ "additionalProperties": false
855
+ },
856
+ {
857
+ "type": "object",
858
+ "properties": {
859
+ "type": {
860
+ "type": "string",
861
+ "const": "setOpacity"
862
+ },
863
+ "target": {
864
+ "$ref": "#/$defs/__schema56"
865
+ },
866
+ "opacity": {
867
+ "type": "number",
868
+ "minimum": 0,
869
+ "maximum": 1
870
+ }
871
+ },
872
+ "required": ["type", "target", "opacity"],
873
+ "additionalProperties": false
874
+ },
875
+ {
876
+ "type": "object",
877
+ "properties": {
878
+ "type": {
879
+ "type": "string",
880
+ "const": "setBlendMode"
881
+ },
882
+ "target": {
883
+ "$ref": "#/$defs/__schema56"
884
+ },
885
+ "blend_mode": {
886
+ "$ref": "#/$defs/__schema16"
887
+ }
888
+ },
889
+ "required": ["type", "target", "blend_mode"],
890
+ "additionalProperties": false
891
+ },
892
+ {
893
+ "type": "object",
894
+ "properties": {
895
+ "type": {
896
+ "type": "string",
897
+ "const": "setText"
898
+ },
899
+ "target": {
900
+ "$ref": "#/$defs/__schema56"
901
+ },
902
+ "content": {
903
+ "type": "string",
904
+ "maxLength": 50000
905
+ }
906
+ },
907
+ "required": ["type", "target", "content"],
908
+ "additionalProperties": false
909
+ },
910
+ {
911
+ "type": "object",
912
+ "properties": {
913
+ "type": {
914
+ "type": "string",
915
+ "const": "setStyle"
916
+ },
917
+ "target": {
918
+ "$ref": "#/$defs/__schema56"
919
+ },
920
+ "style": {
921
+ "type": "object",
922
+ "properties": {
923
+ "font": {
924
+ "$ref": "#/$defs/__schema2"
925
+ },
926
+ "size": {
927
+ "$ref": "#/$defs/__schema4"
928
+ },
929
+ "weight": {
930
+ "$ref": "#/$defs/__schema6"
931
+ },
932
+ "colour": {
933
+ "$ref": "#/$defs/__schema0"
934
+ },
935
+ "line_height": {
936
+ "$ref": "#/$defs/__schema7"
937
+ },
938
+ "align": {
939
+ "$ref": "#/$defs/__schema8"
940
+ },
941
+ "tracking": {
942
+ "$ref": "#/$defs/__schema9"
943
+ },
944
+ "kerning": {
945
+ "$ref": "#/$defs/__schema10"
946
+ }
947
+ },
948
+ "additionalProperties": false
949
+ }
950
+ },
951
+ "required": ["type", "target", "style"],
952
+ "additionalProperties": false
953
+ },
954
+ {
955
+ "type": "object",
956
+ "properties": {
957
+ "type": {
958
+ "type": "string",
959
+ "const": "applyEffect"
960
+ },
961
+ "target": {
962
+ "$ref": "#/$defs/__schema56"
963
+ },
964
+ "effect": {
965
+ "$ref": "#/$defs/__schema45"
966
+ }
967
+ },
968
+ "required": ["type", "target", "effect"],
969
+ "additionalProperties": false
970
+ },
971
+ {
972
+ "type": "object",
973
+ "properties": {
974
+ "type": {
975
+ "type": "string",
976
+ "const": "applyRasterOperation"
977
+ },
978
+ "target": {
979
+ "$ref": "#/$defs/__schema56"
980
+ },
981
+ "operation": {
982
+ "$ref": "#/$defs/__schema46"
983
+ }
984
+ },
985
+ "required": ["type", "target", "operation"],
986
+ "additionalProperties": false
987
+ },
988
+ {
989
+ "type": "object",
990
+ "properties": {
991
+ "type": {
992
+ "type": "string",
993
+ "const": "replaceTile"
994
+ },
995
+ "target": {
996
+ "$ref": "#/$defs/__schema56"
997
+ },
998
+ "tile": {
999
+ "$ref": "#/$defs/__schema51"
1000
+ }
1001
+ },
1002
+ "required": ["type", "target", "tile"],
1003
+ "additionalProperties": false
1004
+ },
1005
+ {
1006
+ "type": "object",
1007
+ "properties": {
1008
+ "type": {
1009
+ "type": "string",
1010
+ "const": "groupLayers"
1011
+ },
1012
+ "targets": {
1013
+ "minItems": 1,
1014
+ "type": "array",
1015
+ "items": {
1016
+ "$ref": "#/$defs/__schema59"
1017
+ }
1018
+ },
1019
+ "id": {
1020
+ "type": "string"
1021
+ },
1022
+ "role": {
1023
+ "type": "string"
1024
+ }
1025
+ },
1026
+ "required": ["type", "targets", "id"],
1027
+ "additionalProperties": false
1028
+ },
1029
+ {
1030
+ "type": "object",
1031
+ "properties": {
1032
+ "type": {
1033
+ "type": "string",
1034
+ "const": "align"
1035
+ },
1036
+ "targets": {
1037
+ "minItems": 1,
1038
+ "type": "array",
1039
+ "items": {
1040
+ "$ref": "#/$defs/__schema60"
1041
+ }
1042
+ },
1043
+ "axis": {
1044
+ "type": "string",
1045
+ "enum": ["left", "center", "right", "top", "middle", "bottom"]
1046
+ }
1047
+ },
1048
+ "required": ["type", "targets", "axis"],
1049
+ "additionalProperties": false
1050
+ },
1051
+ {
1052
+ "type": "object",
1053
+ "properties": {
1054
+ "type": {
1055
+ "type": "string",
1056
+ "const": "distribute"
1057
+ },
1058
+ "targets": {
1059
+ "minItems": 3,
1060
+ "type": "array",
1061
+ "items": {
1062
+ "$ref": "#/$defs/__schema61"
1063
+ }
1064
+ },
1065
+ "axis": {
1066
+ "type": "string",
1067
+ "enum": ["horizontal", "vertical"]
1068
+ }
1069
+ },
1070
+ "required": ["type", "targets", "axis"],
1071
+ "additionalProperties": false
1072
+ }
1073
+ ],
1074
+ "$defs": {
1075
+ "__schema0": {
1076
+ "type": "string",
1077
+ "pattern": "^#(?:[\\da-fA-F]{6}|[\\da-fA-F]{8})$"
1078
+ },
1079
+ "__schema1": {
1080
+ "type": "object",
1081
+ "properties": {
1082
+ "width": {
1083
+ "type": "number",
1084
+ "exclusiveMinimum": 0,
1085
+ "maximum": 2000
1086
+ },
1087
+ "height": {
1088
+ "type": "number",
1089
+ "exclusiveMinimum": 0,
1090
+ "maximum": 2000
1091
+ },
1092
+ "unit": {
1093
+ "default": "mm",
1094
+ "type": "string",
1095
+ "enum": ["mm", "in", "pt"]
1096
+ },
1097
+ "ppi": {
1098
+ "default": 300,
1099
+ "type": "number",
1100
+ "minimum": 36,
1101
+ "maximum": 1200
1102
+ },
1103
+ "bleed": {
1104
+ "default": 0,
1105
+ "type": "number",
1106
+ "minimum": 0,
1107
+ "maximum": 100
1108
+ },
1109
+ "safe_margin": {
1110
+ "default": 0,
1111
+ "type": "number",
1112
+ "minimum": 0,
1113
+ "maximum": 100
1114
+ }
1115
+ },
1116
+ "required": ["width", "height", "unit", "ppi", "bleed", "safe_margin"],
1117
+ "additionalProperties": false
1118
+ },
1119
+ "__schema2": {
1120
+ "type": "string",
1121
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,79}$"
1122
+ },
1123
+ "__schema3": {
1124
+ "type": "object",
1125
+ "properties": {
1126
+ "font": {
1127
+ "default": "inter",
1128
+ "$ref": "#/$defs/__schema2"
1129
+ },
1130
+ "size": {
1131
+ "default": 32,
1132
+ "$ref": "#/$defs/__schema4"
1133
+ },
1134
+ "weight": {
1135
+ "default": "regular",
1136
+ "$ref": "#/$defs/__schema6"
1137
+ },
1138
+ "colour": {
1139
+ "default": "#ffffff",
1140
+ "$ref": "#/$defs/__schema0"
1141
+ },
1142
+ "line_height": {
1143
+ "default": 1.2,
1144
+ "$ref": "#/$defs/__schema7"
1145
+ },
1146
+ "align": {
1147
+ "default": "left",
1148
+ "$ref": "#/$defs/__schema8"
1149
+ },
1150
+ "tracking": {
1151
+ "$ref": "#/$defs/__schema9"
1152
+ },
1153
+ "kerning": {
1154
+ "$ref": "#/$defs/__schema10"
1155
+ }
1156
+ },
1157
+ "required": ["font", "size", "weight", "colour", "line_height", "align"],
1158
+ "additionalProperties": false
1159
+ },
1160
+ "__schema4": {
1161
+ "type": "number",
1162
+ "exclusiveMinimum": 0,
1163
+ "maximum": 1024,
1164
+ "$ref": "#/$defs/__schema5"
1165
+ },
1166
+ "__schema5": {
1167
+ "type": "number"
1168
+ },
1169
+ "__schema6": {
1170
+ "type": "string",
1171
+ "enum": ["regular", "bold"]
1172
+ },
1173
+ "__schema7": {
1174
+ "type": "number",
1175
+ "exclusiveMinimum": 0,
1176
+ "maximum": 5,
1177
+ "$ref": "#/$defs/__schema5"
1178
+ },
1179
+ "__schema8": {
1180
+ "type": "string",
1181
+ "enum": ["left", "center", "right"]
1182
+ },
1183
+ "__schema9": {
1184
+ "type": "number",
1185
+ "minimum": -20,
1186
+ "maximum": 200,
1187
+ "$ref": "#/$defs/__schema5"
1188
+ },
1189
+ "__schema10": {
1190
+ "type": "boolean"
1191
+ },
1192
+ "__schema11": {
1193
+ "type": "object",
1194
+ "properties": {
1195
+ "source": {
1196
+ "type": "string",
1197
+ "minLength": 1
1198
+ },
1199
+ "hash": {
1200
+ "type": "string",
1201
+ "pattern": "^sha256:[a-f0-9]{64}$"
1202
+ }
1203
+ },
1204
+ "required": ["source"],
1205
+ "additionalProperties": false
1206
+ },
1207
+ "__schema12": {
1208
+ "anyOf": [
1209
+ {
1210
+ "type": "string"
1211
+ },
1212
+ {
1213
+ "type": "number"
1214
+ },
1215
+ {
1216
+ "type": "boolean"
1217
+ },
1218
+ {
1219
+ "type": "null"
1220
+ },
1221
+ {
1222
+ "type": "array",
1223
+ "items": {
1224
+ "$ref": "#/$defs/__schema12"
1225
+ }
1226
+ },
1227
+ {
1228
+ "type": "object",
1229
+ "propertyNames": {
1230
+ "type": "string"
1231
+ },
1232
+ "additionalProperties": {
1233
+ "$ref": "#/$defs/__schema12"
1234
+ }
1235
+ }
1236
+ ]
1237
+ },
1238
+ "__schema13": {
1239
+ "type": "object",
1240
+ "properties": {
1241
+ "recipe": {
1242
+ "type": "object",
1243
+ "properties": {
1244
+ "source": {
1245
+ "type": "string",
1246
+ "minLength": 1
1247
+ },
1248
+ "hash": {
1249
+ "type": "string",
1250
+ "pattern": "^sha256:[a-f0-9]{64}$"
1251
+ }
1252
+ },
1253
+ "required": ["source", "hash"],
1254
+ "additionalProperties": false
1255
+ },
1256
+ "type": {
1257
+ "default": "image",
1258
+ "type": "string",
1259
+ "enum": ["image", "generated-image"]
1260
+ },
1261
+ "source": {
1262
+ "type": "string",
1263
+ "minLength": 1,
1264
+ "maxLength": 2048
1265
+ },
1266
+ "hash": {
1267
+ "type": "string",
1268
+ "pattern": "^sha256:[a-f0-9]{64}$"
1269
+ }
1270
+ },
1271
+ "required": ["type", "source"],
1272
+ "additionalProperties": false
1273
+ },
1274
+ "__schema14": {
1275
+ "type": "object",
1276
+ "properties": {
1277
+ "id": {
1278
+ "$ref": "#/$defs/__schema2"
1279
+ },
1280
+ "name": {
1281
+ "type": "string",
1282
+ "maxLength": 256
1283
+ },
1284
+ "role": {
1285
+ "type": "string",
1286
+ "maxLength": 80
1287
+ },
1288
+ "type": {
1289
+ "type": "string",
1290
+ "enum": [
1291
+ "group",
1292
+ "vector",
1293
+ "text",
1294
+ "asset",
1295
+ "generated-asset",
1296
+ "procedural",
1297
+ "raster",
1298
+ "adjustment"
1299
+ ]
1300
+ },
1301
+ "visible": {
1302
+ "default": true,
1303
+ "type": "boolean"
1304
+ },
1305
+ "opacity": {
1306
+ "default": 1,
1307
+ "$ref": "#/$defs/__schema15"
1308
+ },
1309
+ "blend_mode": {
1310
+ "default": "normal",
1311
+ "$ref": "#/$defs/__schema16"
1312
+ },
1313
+ "z": {
1314
+ "default": 0,
1315
+ "$ref": "#/$defs/__schema5"
1316
+ },
1317
+ "bounds": {
1318
+ "$ref": "#/$defs/__schema17"
1319
+ },
1320
+ "width": {
1321
+ "$ref": "#/$defs/__schema20"
1322
+ },
1323
+ "aspect_ratio": {
1324
+ "$ref": "#/$defs/__schema22"
1325
+ },
1326
+ "grow": {
1327
+ "$ref": "#/$defs/__schema23"
1328
+ },
1329
+ "height": {
1330
+ "$ref": "#/$defs/__schema24"
1331
+ },
1332
+ "anchor": {
1333
+ "default": "top-left",
1334
+ "$ref": "#/$defs/__schema25"
1335
+ },
1336
+ "affine": {
1337
+ "$ref": "#/$defs/__schema26"
1338
+ },
1339
+ "transform": {
1340
+ "$ref": "#/$defs/__schema27"
1341
+ },
1342
+ "layout": {
1343
+ "$ref": "#/$defs/__schema28"
1344
+ },
1345
+ "shape": {
1346
+ "$ref": "#/$defs/__schema29"
1347
+ },
1348
+ "content": {
1349
+ "type": "string",
1350
+ "maxLength": 50000
1351
+ },
1352
+ "runs": {
1353
+ "$ref": "#/$defs/__schema35"
1354
+ },
1355
+ "paragraph_style": {
1356
+ "$ref": "#/$defs/__schema2"
1357
+ },
1358
+ "crop": {
1359
+ "$ref": "#/$defs/__schema18"
1360
+ },
1361
+ "focal_point": {
1362
+ "$ref": "#/$defs/__schema37"
1363
+ },
1364
+ "perspective": {
1365
+ "$ref": "#/$defs/__schema38"
1366
+ },
1367
+ "style": {
1368
+ "$ref": "#/$defs/__schema3"
1369
+ },
1370
+ "source": {
1371
+ "$ref": "#/$defs/__schema2"
1372
+ },
1373
+ "fit": {
1374
+ "default": "contain",
1375
+ "$ref": "#/$defs/__schema40"
1376
+ },
1377
+ "generator": {
1378
+ "$ref": "#/$defs/__schema41"
1379
+ },
1380
+ "mask": {
1381
+ "$ref": "#/$defs/__schema42"
1382
+ },
1383
+ "effects": {
1384
+ "default": [],
1385
+ "maxItems": 16,
1386
+ "type": "array",
1387
+ "items": {
1388
+ "$ref": "#/$defs/__schema45"
1389
+ }
1390
+ },
1391
+ "operations": {
1392
+ "default": [],
1393
+ "maxItems": 1000,
1394
+ "type": "array",
1395
+ "items": {
1396
+ "$ref": "#/$defs/__schema46"
1397
+ }
1398
+ },
1399
+ "regions": {
1400
+ "maxItems": 256,
1401
+ "type": "array",
1402
+ "items": {
1403
+ "$ref": "#/$defs/__schema50"
1404
+ }
1405
+ },
1406
+ "tiles": {
1407
+ "default": [],
1408
+ "maxItems": 4096,
1409
+ "type": "array",
1410
+ "items": {
1411
+ "$ref": "#/$defs/__schema51"
1412
+ }
1413
+ },
1414
+ "children": {
1415
+ "default": [],
1416
+ "maxItems": 256,
1417
+ "type": "array",
1418
+ "items": {
1419
+ "$ref": "#/$defs/__schema14"
1420
+ }
1421
+ }
1422
+ },
1423
+ "required": [
1424
+ "id",
1425
+ "type",
1426
+ "visible",
1427
+ "opacity",
1428
+ "blend_mode",
1429
+ "z",
1430
+ "anchor",
1431
+ "fit",
1432
+ "effects",
1433
+ "operations",
1434
+ "tiles",
1435
+ "children"
1436
+ ],
1437
+ "additionalProperties": false
1438
+ },
1439
+ "__schema15": {
1440
+ "type": "number",
1441
+ "minimum": 0,
1442
+ "maximum": 1,
1443
+ "$ref": "#/$defs/__schema5"
1444
+ },
1445
+ "__schema16": {
1446
+ "type": "string",
1447
+ "enum": [
1448
+ "normal",
1449
+ "multiply",
1450
+ "screen",
1451
+ "overlay",
1452
+ "darken",
1453
+ "lighten",
1454
+ "difference",
1455
+ "soft-light",
1456
+ "hard-light"
1457
+ ]
1458
+ },
1459
+ "__schema17": {
1460
+ "$ref": "#/$defs/__schema18"
1461
+ },
1462
+ "__schema18": {
1463
+ "type": "array",
1464
+ "prefixItems": [
1465
+ {
1466
+ "$ref": "#/$defs/__schema5"
1467
+ },
1468
+ {
1469
+ "$ref": "#/$defs/__schema5"
1470
+ },
1471
+ {
1472
+ "$ref": "#/$defs/__schema19"
1473
+ },
1474
+ {
1475
+ "$ref": "#/$defs/__schema19"
1476
+ }
1477
+ ],
1478
+ "items": false,
1479
+ "minItems": 4,
1480
+ "maxItems": 4
1481
+ },
1482
+ "__schema19": {
1483
+ "type": "number",
1484
+ "exclusiveMinimum": 0,
1485
+ "maximum": 8192,
1486
+ "$ref": "#/$defs/__schema5"
1487
+ },
1488
+ "__schema20": {
1489
+ "$ref": "#/$defs/__schema21"
1490
+ },
1491
+ "__schema21": {
1492
+ "anyOf": [
1493
+ {
1494
+ "$ref": "#/$defs/__schema19"
1495
+ },
1496
+ {
1497
+ "type": "string",
1498
+ "pattern": "^(?:100|\\d{1,2})(?:\\.\\d+)?%$"
1499
+ }
1500
+ ]
1501
+ },
1502
+ "__schema22": {
1503
+ "type": "number",
1504
+ "exclusiveMinimum": 0,
1505
+ "maximum": 100,
1506
+ "$ref": "#/$defs/__schema5"
1507
+ },
1508
+ "__schema23": {
1509
+ "type": "number",
1510
+ "minimum": 0,
1511
+ "maximum": 100,
1512
+ "$ref": "#/$defs/__schema5"
1513
+ },
1514
+ "__schema24": {
1515
+ "$ref": "#/$defs/__schema21"
1516
+ },
1517
+ "__schema25": {
1518
+ "type": "string",
1519
+ "enum": ["top-left", "center", "top-right", "bottom-left", "bottom-right"]
1520
+ },
1521
+ "__schema26": {
1522
+ "type": "array",
1523
+ "prefixItems": [
1524
+ {
1525
+ "$ref": "#/$defs/__schema5"
1526
+ },
1527
+ {
1528
+ "$ref": "#/$defs/__schema5"
1529
+ },
1530
+ {
1531
+ "$ref": "#/$defs/__schema5"
1532
+ },
1533
+ {
1534
+ "$ref": "#/$defs/__schema5"
1535
+ },
1536
+ {
1537
+ "$ref": "#/$defs/__schema5"
1538
+ },
1539
+ {
1540
+ "$ref": "#/$defs/__schema5"
1541
+ }
1542
+ ],
1543
+ "items": false,
1544
+ "minItems": 6,
1545
+ "maxItems": 6
1546
+ },
1547
+ "__schema27": {
1548
+ "type": "object",
1549
+ "properties": {
1550
+ "rotation": {
1551
+ "default": 0,
1552
+ "$ref": "#/$defs/__schema5"
1553
+ },
1554
+ "scale": {
1555
+ "default": [1, 1],
1556
+ "type": "array",
1557
+ "prefixItems": [
1558
+ {
1559
+ "type": "number",
1560
+ "exclusiveMinimum": 0,
1561
+ "maximum": 100,
1562
+ "$ref": "#/$defs/__schema5"
1563
+ },
1564
+ {
1565
+ "type": "number",
1566
+ "exclusiveMinimum": 0,
1567
+ "maximum": 100,
1568
+ "$ref": "#/$defs/__schema5"
1569
+ }
1570
+ ],
1571
+ "items": false,
1572
+ "minItems": 2,
1573
+ "maxItems": 2
1574
+ }
1575
+ },
1576
+ "required": ["rotation", "scale"],
1577
+ "additionalProperties": false
1578
+ },
1579
+ "__schema28": {
1580
+ "type": "object",
1581
+ "properties": {
1582
+ "type": {
1583
+ "default": "absolute",
1584
+ "type": "string",
1585
+ "enum": ["absolute", "horizontal", "vertical"]
1586
+ },
1587
+ "justify": {
1588
+ "type": "string",
1589
+ "enum": ["start", "center", "end", "space-between"]
1590
+ },
1591
+ "padding": {
1592
+ "default": 0,
1593
+ "type": "number",
1594
+ "minimum": 0,
1595
+ "maximum": 4096,
1596
+ "$ref": "#/$defs/__schema5"
1597
+ },
1598
+ "gap": {
1599
+ "default": 0,
1600
+ "type": "number",
1601
+ "minimum": 0,
1602
+ "maximum": 4096,
1603
+ "$ref": "#/$defs/__schema5"
1604
+ },
1605
+ "align": {
1606
+ "default": "start",
1607
+ "type": "string",
1608
+ "enum": ["start", "center", "end"]
1609
+ }
1610
+ },
1611
+ "required": ["type", "padding", "gap", "align"],
1612
+ "additionalProperties": false
1613
+ },
1614
+ "__schema29": {
1615
+ "oneOf": [
1616
+ {
1617
+ "type": "object",
1618
+ "properties": {
1619
+ "type": {
1620
+ "type": "string",
1621
+ "const": "rectangle"
1622
+ },
1623
+ "fill": {
1624
+ "$ref": "#/$defs/__schema0"
1625
+ },
1626
+ "radius": {
1627
+ "default": 0,
1628
+ "type": "number",
1629
+ "minimum": 0,
1630
+ "maximum": 4096,
1631
+ "$ref": "#/$defs/__schema5"
1632
+ },
1633
+ "stroke": {
1634
+ "$ref": "#/$defs/__schema0"
1635
+ },
1636
+ "stroke_width": {
1637
+ "default": 1,
1638
+ "type": "number",
1639
+ "minimum": 0,
1640
+ "maximum": 256,
1641
+ "$ref": "#/$defs/__schema5"
1642
+ },
1643
+ "line_cap": {
1644
+ "$ref": "#/$defs/__schema30"
1645
+ },
1646
+ "line_join": {
1647
+ "$ref": "#/$defs/__schema31"
1648
+ },
1649
+ "dash": {
1650
+ "$ref": "#/$defs/__schema32"
1651
+ },
1652
+ "dash_offset": {
1653
+ "$ref": "#/$defs/__schema34"
1654
+ }
1655
+ },
1656
+ "required": ["type", "fill", "radius", "stroke_width"],
1657
+ "additionalProperties": false
1658
+ },
1659
+ {
1660
+ "type": "object",
1661
+ "properties": {
1662
+ "type": {
1663
+ "type": "string",
1664
+ "const": "ellipse"
1665
+ },
1666
+ "fill": {
1667
+ "$ref": "#/$defs/__schema0"
1668
+ },
1669
+ "stroke": {
1670
+ "$ref": "#/$defs/__schema0"
1671
+ },
1672
+ "stroke_width": {
1673
+ "default": 1,
1674
+ "type": "number",
1675
+ "minimum": 0,
1676
+ "maximum": 256,
1677
+ "$ref": "#/$defs/__schema5"
1678
+ },
1679
+ "line_cap": {
1680
+ "$ref": "#/$defs/__schema30"
1681
+ },
1682
+ "line_join": {
1683
+ "$ref": "#/$defs/__schema31"
1684
+ },
1685
+ "dash": {
1686
+ "$ref": "#/$defs/__schema32"
1687
+ },
1688
+ "dash_offset": {
1689
+ "$ref": "#/$defs/__schema34"
1690
+ }
1691
+ },
1692
+ "required": ["type", "fill", "stroke_width"],
1693
+ "additionalProperties": false
1694
+ },
1695
+ {
1696
+ "type": "object",
1697
+ "properties": {
1698
+ "type": {
1699
+ "type": "string",
1700
+ "const": "path"
1701
+ },
1702
+ "d": {
1703
+ "type": "string",
1704
+ "minLength": 1,
1705
+ "maxLength": 100000
1706
+ },
1707
+ "fill": {
1708
+ "$ref": "#/$defs/__schema0"
1709
+ },
1710
+ "stroke": {
1711
+ "$ref": "#/$defs/__schema0"
1712
+ },
1713
+ "stroke_width": {
1714
+ "default": 1,
1715
+ "type": "number",
1716
+ "minimum": 0,
1717
+ "maximum": 256,
1718
+ "$ref": "#/$defs/__schema5"
1719
+ },
1720
+ "line_cap": {
1721
+ "$ref": "#/$defs/__schema30"
1722
+ },
1723
+ "line_join": {
1724
+ "$ref": "#/$defs/__schema31"
1725
+ },
1726
+ "dash": {
1727
+ "$ref": "#/$defs/__schema32"
1728
+ },
1729
+ "dash_offset": {
1730
+ "$ref": "#/$defs/__schema34"
1731
+ }
1732
+ },
1733
+ "required": ["type", "d", "fill", "stroke_width"],
1734
+ "additionalProperties": false
1735
+ }
1736
+ ]
1737
+ },
1738
+ "__schema30": {
1739
+ "type": "string",
1740
+ "enum": ["butt", "round", "square"]
1741
+ },
1742
+ "__schema31": {
1743
+ "type": "string",
1744
+ "enum": ["miter", "round", "bevel"]
1745
+ },
1746
+ "__schema32": {
1747
+ "maxItems": 32,
1748
+ "type": "array",
1749
+ "items": {
1750
+ "$ref": "#/$defs/__schema33"
1751
+ }
1752
+ },
1753
+ "__schema33": {
1754
+ "type": "number",
1755
+ "minimum": 0,
1756
+ "maximum": 10000,
1757
+ "$ref": "#/$defs/__schema5"
1758
+ },
1759
+ "__schema34": {
1760
+ "$ref": "#/$defs/__schema5"
1761
+ },
1762
+ "__schema35": {
1763
+ "maxItems": 256,
1764
+ "type": "array",
1765
+ "items": {
1766
+ "$ref": "#/$defs/__schema36"
1767
+ }
1768
+ },
1769
+ "__schema36": {
1770
+ "type": "object",
1771
+ "properties": {
1772
+ "text": {
1773
+ "type": "string"
1774
+ },
1775
+ "colour": {
1776
+ "$ref": "#/$defs/__schema0"
1777
+ },
1778
+ "weight": {
1779
+ "type": "string",
1780
+ "enum": ["regular", "bold"]
1781
+ }
1782
+ },
1783
+ "required": ["text"],
1784
+ "additionalProperties": false
1785
+ },
1786
+ "__schema37": {
1787
+ "type": "array",
1788
+ "prefixItems": [
1789
+ {
1790
+ "$ref": "#/$defs/__schema15"
1791
+ },
1792
+ {
1793
+ "$ref": "#/$defs/__schema15"
1794
+ }
1795
+ ],
1796
+ "items": false,
1797
+ "minItems": 2,
1798
+ "maxItems": 2
1799
+ },
1800
+ "__schema38": {
1801
+ "type": "array",
1802
+ "prefixItems": [
1803
+ {
1804
+ "$ref": "#/$defs/__schema39"
1805
+ },
1806
+ {
1807
+ "$ref": "#/$defs/__schema39"
1808
+ },
1809
+ {
1810
+ "$ref": "#/$defs/__schema39"
1811
+ },
1812
+ {
1813
+ "$ref": "#/$defs/__schema39"
1814
+ }
1815
+ ],
1816
+ "items": false,
1817
+ "minItems": 4,
1818
+ "maxItems": 4
1819
+ },
1820
+ "__schema39": {
1821
+ "type": "array",
1822
+ "prefixItems": [
1823
+ {
1824
+ "$ref": "#/$defs/__schema5"
1825
+ },
1826
+ {
1827
+ "$ref": "#/$defs/__schema5"
1828
+ }
1829
+ ],
1830
+ "items": false,
1831
+ "minItems": 2,
1832
+ "maxItems": 2
1833
+ },
1834
+ "__schema40": {
1835
+ "type": "string",
1836
+ "enum": ["contain", "cover", "stretch"]
1837
+ },
1838
+ "__schema41": {
1839
+ "oneOf": [
1840
+ {
1841
+ "type": "object",
1842
+ "properties": {
1843
+ "type": {
1844
+ "type": "string",
1845
+ "const": "solid"
1846
+ },
1847
+ "colour": {
1848
+ "$ref": "#/$defs/__schema0"
1849
+ }
1850
+ },
1851
+ "required": ["type", "colour"],
1852
+ "additionalProperties": false
1853
+ },
1854
+ {
1855
+ "type": "object",
1856
+ "properties": {
1857
+ "type": {
1858
+ "type": "string",
1859
+ "const": "gradient"
1860
+ },
1861
+ "from": {
1862
+ "$ref": "#/$defs/__schema0"
1863
+ },
1864
+ "to": {
1865
+ "$ref": "#/$defs/__schema0"
1866
+ },
1867
+ "angle": {
1868
+ "default": 90,
1869
+ "$ref": "#/$defs/__schema5"
1870
+ }
1871
+ },
1872
+ "required": ["type", "from", "to", "angle"],
1873
+ "additionalProperties": false
1874
+ },
1875
+ {
1876
+ "type": "object",
1877
+ "properties": {
1878
+ "type": {
1879
+ "type": "string",
1880
+ "const": "noise"
1881
+ },
1882
+ "seed": {
1883
+ "type": "integer",
1884
+ "minimum": 0,
1885
+ "maximum": 4294967295
1886
+ },
1887
+ "amount": {
1888
+ "$ref": "#/$defs/__schema15"
1889
+ },
1890
+ "colour": {
1891
+ "default": "#808080",
1892
+ "$ref": "#/$defs/__schema0"
1893
+ }
1894
+ },
1895
+ "required": ["type", "seed", "amount", "colour"],
1896
+ "additionalProperties": false
1897
+ }
1898
+ ]
1899
+ },
1900
+ "__schema42": {
1901
+ "anyOf": [
1902
+ {
1903
+ "oneOf": [
1904
+ {
1905
+ "type": "object",
1906
+ "properties": {
1907
+ "type": {
1908
+ "type": "string",
1909
+ "const": "path"
1910
+ },
1911
+ "d": {
1912
+ "type": "string",
1913
+ "minLength": 1,
1914
+ "maxLength": 100000
1915
+ },
1916
+ "space": {
1917
+ "$ref": "#/$defs/__schema43"
1918
+ },
1919
+ "reference_size": {
1920
+ "$ref": "#/$defs/__schema44"
1921
+ },
1922
+ "feather": {
1923
+ "default": 0,
1924
+ "type": "number",
1925
+ "minimum": 0,
1926
+ "maximum": 128,
1927
+ "$ref": "#/$defs/__schema5"
1928
+ },
1929
+ "expand": {
1930
+ "type": "number",
1931
+ "minimum": -128,
1932
+ "maximum": 128,
1933
+ "$ref": "#/$defs/__schema5"
1934
+ },
1935
+ "invert": {
1936
+ "type": "boolean"
1937
+ }
1938
+ },
1939
+ "required": ["type", "d", "feather"],
1940
+ "additionalProperties": false
1941
+ },
1942
+ {
1943
+ "type": "object",
1944
+ "properties": {
1945
+ "type": {
1946
+ "type": "string",
1947
+ "const": "rectangle"
1948
+ },
1949
+ "bounds": {
1950
+ "$ref": "#/$defs/__schema18"
1951
+ },
1952
+ "space": {
1953
+ "$ref": "#/$defs/__schema43"
1954
+ },
1955
+ "reference_size": {
1956
+ "$ref": "#/$defs/__schema44"
1957
+ },
1958
+ "expand": {
1959
+ "type": "number",
1960
+ "minimum": -128,
1961
+ "maximum": 128,
1962
+ "$ref": "#/$defs/__schema5"
1963
+ },
1964
+ "invert": {
1965
+ "type": "boolean"
1966
+ },
1967
+ "feather": {
1968
+ "default": 0,
1969
+ "type": "number",
1970
+ "minimum": 0,
1971
+ "maximum": 128,
1972
+ "$ref": "#/$defs/__schema5"
1973
+ }
1974
+ },
1975
+ "required": ["type", "bounds", "feather"],
1976
+ "additionalProperties": false
1977
+ },
1978
+ {
1979
+ "type": "object",
1980
+ "properties": {
1981
+ "type": {
1982
+ "type": "string",
1983
+ "const": "ellipse"
1984
+ },
1985
+ "bounds": {
1986
+ "$ref": "#/$defs/__schema18"
1987
+ },
1988
+ "space": {
1989
+ "$ref": "#/$defs/__schema43"
1990
+ },
1991
+ "reference_size": {
1992
+ "$ref": "#/$defs/__schema44"
1993
+ },
1994
+ "expand": {
1995
+ "type": "number",
1996
+ "minimum": -128,
1997
+ "maximum": 128,
1998
+ "$ref": "#/$defs/__schema5"
1999
+ },
2000
+ "invert": {
2001
+ "type": "boolean"
2002
+ },
2003
+ "feather": {
2004
+ "default": 0,
2005
+ "type": "number",
2006
+ "minimum": 0,
2007
+ "maximum": 128,
2008
+ "$ref": "#/$defs/__schema5"
2009
+ }
2010
+ },
2011
+ "required": ["type", "bounds", "feather"],
2012
+ "additionalProperties": false
2013
+ },
2014
+ {
2015
+ "type": "object",
2016
+ "properties": {
2017
+ "type": {
2018
+ "type": "string",
2019
+ "const": "polygon"
2020
+ },
2021
+ "points": {
2022
+ "minItems": 3,
2023
+ "maxItems": 4096,
2024
+ "type": "array",
2025
+ "items": {
2026
+ "$ref": "#/$defs/__schema39"
2027
+ }
2028
+ },
2029
+ "space": {
2030
+ "$ref": "#/$defs/__schema43"
2031
+ },
2032
+ "reference_size": {
2033
+ "$ref": "#/$defs/__schema44"
2034
+ },
2035
+ "expand": {
2036
+ "type": "number",
2037
+ "minimum": -128,
2038
+ "maximum": 128,
2039
+ "$ref": "#/$defs/__schema5"
2040
+ },
2041
+ "invert": {
2042
+ "type": "boolean"
2043
+ },
2044
+ "feather": {
2045
+ "default": 0,
2046
+ "type": "number",
2047
+ "minimum": 0,
2048
+ "maximum": 128,
2049
+ "$ref": "#/$defs/__schema5"
2050
+ }
2051
+ },
2052
+ "required": ["type", "points", "feather"],
2053
+ "additionalProperties": false
2054
+ },
2055
+ {
2056
+ "type": "object",
2057
+ "properties": {
2058
+ "type": {
2059
+ "type": "string",
2060
+ "const": "semantic-object"
2061
+ },
2062
+ "target": {
2063
+ "$ref": "#/$defs/__schema2"
2064
+ },
2065
+ "space": {
2066
+ "$ref": "#/$defs/__schema43"
2067
+ },
2068
+ "reference_size": {
2069
+ "$ref": "#/$defs/__schema44"
2070
+ },
2071
+ "expand": {
2072
+ "type": "number",
2073
+ "minimum": -128,
2074
+ "maximum": 128,
2075
+ "$ref": "#/$defs/__schema5"
2076
+ },
2077
+ "invert": {
2078
+ "type": "boolean"
2079
+ },
2080
+ "feather": {
2081
+ "default": 0,
2082
+ "type": "number",
2083
+ "minimum": 0,
2084
+ "maximum": 128,
2085
+ "$ref": "#/$defs/__schema5"
2086
+ }
2087
+ },
2088
+ "required": ["type", "target", "feather"],
2089
+ "additionalProperties": false
2090
+ }
2091
+ ]
2092
+ },
2093
+ {
2094
+ "type": "object",
2095
+ "properties": {
2096
+ "type": {
2097
+ "type": "string",
2098
+ "const": "combine"
2099
+ },
2100
+ "operation": {
2101
+ "type": "string",
2102
+ "enum": ["union", "intersect", "subtract", "xor"]
2103
+ },
2104
+ "masks": {
2105
+ "minItems": 2,
2106
+ "maxItems": 16,
2107
+ "type": "array",
2108
+ "items": {
2109
+ "$ref": "#/$defs/__schema42"
2110
+ }
2111
+ },
2112
+ "space": {
2113
+ "$ref": "#/$defs/__schema43"
2114
+ },
2115
+ "reference_size": {
2116
+ "$ref": "#/$defs/__schema44"
2117
+ },
2118
+ "feather": {
2119
+ "default": 0,
2120
+ "type": "number",
2121
+ "minimum": 0,
2122
+ "maximum": 128,
2123
+ "$ref": "#/$defs/__schema5"
2124
+ },
2125
+ "expand": {
2126
+ "type": "number",
2127
+ "minimum": -128,
2128
+ "maximum": 128,
2129
+ "$ref": "#/$defs/__schema5"
2130
+ },
2131
+ "invert": {
2132
+ "type": "boolean"
2133
+ }
2134
+ },
2135
+ "required": ["type", "operation", "masks", "feather"],
2136
+ "additionalProperties": false
2137
+ },
2138
+ {
2139
+ "type": "object",
2140
+ "properties": {
2141
+ "type": {
2142
+ "type": "string",
2143
+ "const": "image"
2144
+ },
2145
+ "source": {
2146
+ "$ref": "#/$defs/__schema2"
2147
+ },
2148
+ "bounds": {
2149
+ "$ref": "#/$defs/__schema18"
2150
+ },
2151
+ "channel": {
2152
+ "default": "luma",
2153
+ "type": "string",
2154
+ "enum": ["alpha", "luma", "colour"]
2155
+ },
2156
+ "colour": {
2157
+ "$ref": "#/$defs/__schema0"
2158
+ },
2159
+ "tolerance": {
2160
+ "default": 0.1,
2161
+ "$ref": "#/$defs/__schema15"
2162
+ },
2163
+ "space": {
2164
+ "$ref": "#/$defs/__schema43"
2165
+ },
2166
+ "reference_size": {
2167
+ "$ref": "#/$defs/__schema44"
2168
+ },
2169
+ "feather": {
2170
+ "default": 0,
2171
+ "type": "number",
2172
+ "minimum": 0,
2173
+ "maximum": 128,
2174
+ "$ref": "#/$defs/__schema5"
2175
+ },
2176
+ "expand": {
2177
+ "type": "number",
2178
+ "minimum": -128,
2179
+ "maximum": 128,
2180
+ "$ref": "#/$defs/__schema5"
2181
+ },
2182
+ "invert": {
2183
+ "type": "boolean"
2184
+ }
2185
+ },
2186
+ "required": ["type", "source", "bounds", "channel", "tolerance", "feather"],
2187
+ "additionalProperties": false
2188
+ }
2189
+ ]
2190
+ },
2191
+ "__schema43": {
2192
+ "type": "string",
2193
+ "enum": ["canvas", "layer"]
2194
+ },
2195
+ "__schema44": {
2196
+ "type": "array",
2197
+ "prefixItems": [
2198
+ {
2199
+ "$ref": "#/$defs/__schema19"
2200
+ },
2201
+ {
2202
+ "$ref": "#/$defs/__schema19"
2203
+ }
2204
+ ],
2205
+ "items": false,
2206
+ "minItems": 2,
2207
+ "maxItems": 2
2208
+ },
2209
+ "__schema45": {
2210
+ "oneOf": [
2211
+ {
2212
+ "type": "object",
2213
+ "properties": {
2214
+ "type": {
2215
+ "type": "string",
2216
+ "const": "blur"
2217
+ },
2218
+ "radius": {
2219
+ "type": "number",
2220
+ "minimum": 0,
2221
+ "maximum": 128,
2222
+ "$ref": "#/$defs/__schema5"
2223
+ }
2224
+ },
2225
+ "required": ["type", "radius"],
2226
+ "additionalProperties": false
2227
+ }
2228
+ ]
2229
+ },
2230
+ "__schema46": {
2231
+ "oneOf": [
2232
+ {
2233
+ "type": "object",
2234
+ "properties": {
2235
+ "type": {
2236
+ "type": "string",
2237
+ "const": "levels"
2238
+ },
2239
+ "space": {
2240
+ "$ref": "#/$defs/__schema43"
2241
+ },
2242
+ "reference_size": {
2243
+ "$ref": "#/$defs/__schema44"
2244
+ },
2245
+ "bounds": {
2246
+ "$ref": "#/$defs/__schema18"
2247
+ },
2248
+ "mask": {
2249
+ "$ref": "#/$defs/__schema47"
2250
+ },
2251
+ "black": {
2252
+ "default": 0,
2253
+ "$ref": "#/$defs/__schema15"
2254
+ },
2255
+ "white": {
2256
+ "default": 1,
2257
+ "$ref": "#/$defs/__schema15"
2258
+ },
2259
+ "gamma": {
2260
+ "default": 1,
2261
+ "type": "number",
2262
+ "minimum": 0.1,
2263
+ "maximum": 10,
2264
+ "$ref": "#/$defs/__schema5"
2265
+ }
2266
+ },
2267
+ "required": ["type", "bounds", "black", "white", "gamma"],
2268
+ "additionalProperties": false
2269
+ },
2270
+ {
2271
+ "type": "object",
2272
+ "properties": {
2273
+ "type": {
2274
+ "type": "string",
2275
+ "const": "curves"
2276
+ },
2277
+ "space": {
2278
+ "$ref": "#/$defs/__schema43"
2279
+ },
2280
+ "reference_size": {
2281
+ "$ref": "#/$defs/__schema44"
2282
+ },
2283
+ "bounds": {
2284
+ "$ref": "#/$defs/__schema18"
2285
+ },
2286
+ "mask": {
2287
+ "$ref": "#/$defs/__schema47"
2288
+ },
2289
+ "channel": {
2290
+ "default": "rgb",
2291
+ "type": "string",
2292
+ "enum": ["rgb", "r", "g", "b"]
2293
+ },
2294
+ "points": {
2295
+ "minItems": 2,
2296
+ "maxItems": 32,
2297
+ "type": "array",
2298
+ "items": {
2299
+ "$ref": "#/$defs/__schema48"
2300
+ }
2301
+ }
2302
+ },
2303
+ "required": ["type", "bounds", "channel", "points"],
2304
+ "additionalProperties": false
2305
+ },
2306
+ {
2307
+ "type": "object",
2308
+ "properties": {
2309
+ "type": {
2310
+ "type": "string",
2311
+ "const": "whiteBalance"
2312
+ },
2313
+ "space": {
2314
+ "$ref": "#/$defs/__schema43"
2315
+ },
2316
+ "reference_size": {
2317
+ "$ref": "#/$defs/__schema44"
2318
+ },
2319
+ "bounds": {
2320
+ "$ref": "#/$defs/__schema18"
2321
+ },
2322
+ "mask": {
2323
+ "$ref": "#/$defs/__schema47"
2324
+ },
2325
+ "temperature": {
2326
+ "type": "number",
2327
+ "minimum": -1,
2328
+ "maximum": 1,
2329
+ "$ref": "#/$defs/__schema5"
2330
+ },
2331
+ "tint": {
2332
+ "default": 0,
2333
+ "type": "number",
2334
+ "minimum": -1,
2335
+ "maximum": 1,
2336
+ "$ref": "#/$defs/__schema5"
2337
+ }
2338
+ },
2339
+ "required": ["type", "bounds", "temperature", "tint"],
2340
+ "additionalProperties": false
2341
+ },
2342
+ {
2343
+ "type": "object",
2344
+ "properties": {
2345
+ "type": {
2346
+ "type": "string",
2347
+ "const": "clone"
2348
+ },
2349
+ "space": {
2350
+ "$ref": "#/$defs/__schema43"
2351
+ },
2352
+ "reference_size": {
2353
+ "$ref": "#/$defs/__schema44"
2354
+ },
2355
+ "bounds": {
2356
+ "$ref": "#/$defs/__schema18"
2357
+ },
2358
+ "mask": {
2359
+ "$ref": "#/$defs/__schema47"
2360
+ },
2361
+ "source_offset": {
2362
+ "$ref": "#/$defs/__schema39"
2363
+ },
2364
+ "opacity": {
2365
+ "default": 1,
2366
+ "$ref": "#/$defs/__schema15"
2367
+ }
2368
+ },
2369
+ "required": ["type", "bounds", "source_offset", "opacity"],
2370
+ "additionalProperties": false
2371
+ },
2372
+ {
2373
+ "type": "object",
2374
+ "properties": {
2375
+ "type": {
2376
+ "type": "string",
2377
+ "const": "heal"
2378
+ },
2379
+ "space": {
2380
+ "$ref": "#/$defs/__schema43"
2381
+ },
2382
+ "reference_size": {
2383
+ "$ref": "#/$defs/__schema44"
2384
+ },
2385
+ "bounds": {
2386
+ "$ref": "#/$defs/__schema18"
2387
+ },
2388
+ "mask": {
2389
+ "$ref": "#/$defs/__schema47"
2390
+ },
2391
+ "source_offset": {
2392
+ "$ref": "#/$defs/__schema39"
2393
+ },
2394
+ "opacity": {
2395
+ "default": 1,
2396
+ "$ref": "#/$defs/__schema15"
2397
+ }
2398
+ },
2399
+ "required": ["type", "bounds", "source_offset", "opacity"],
2400
+ "additionalProperties": false
2401
+ },
2402
+ {
2403
+ "type": "object",
2404
+ "properties": {
2405
+ "type": {
2406
+ "type": "string",
2407
+ "const": "fill"
2408
+ },
2409
+ "space": {
2410
+ "$ref": "#/$defs/__schema43"
2411
+ },
2412
+ "reference_size": {
2413
+ "$ref": "#/$defs/__schema44"
2414
+ },
2415
+ "bounds": {
2416
+ "$ref": "#/$defs/__schema18"
2417
+ },
2418
+ "mask": {
2419
+ "$ref": "#/$defs/__schema47"
2420
+ },
2421
+ "colour": {
2422
+ "$ref": "#/$defs/__schema0"
2423
+ }
2424
+ },
2425
+ "required": ["type", "bounds", "colour"],
2426
+ "additionalProperties": false
2427
+ },
2428
+ {
2429
+ "type": "object",
2430
+ "properties": {
2431
+ "type": {
2432
+ "type": "string",
2433
+ "const": "paintStroke"
2434
+ },
2435
+ "space": {
2436
+ "$ref": "#/$defs/__schema43"
2437
+ },
2438
+ "reference_size": {
2439
+ "$ref": "#/$defs/__schema44"
2440
+ },
2441
+ "bounds": {
2442
+ "$ref": "#/$defs/__schema18"
2443
+ },
2444
+ "mask": {
2445
+ "$ref": "#/$defs/__schema47"
2446
+ },
2447
+ "path": {
2448
+ "minItems": 1,
2449
+ "maxItems": 4096,
2450
+ "type": "array",
2451
+ "items": {
2452
+ "$ref": "#/$defs/__schema39"
2453
+ }
2454
+ },
2455
+ "radius": {
2456
+ "type": "number",
2457
+ "exclusiveMinimum": 0,
2458
+ "maximum": 256,
2459
+ "$ref": "#/$defs/__schema5"
2460
+ },
2461
+ "hardness": {
2462
+ "default": 1,
2463
+ "$ref": "#/$defs/__schema15"
2464
+ },
2465
+ "colour": {
2466
+ "$ref": "#/$defs/__schema0"
2467
+ },
2468
+ "opacity": {
2469
+ "default": 1,
2470
+ "$ref": "#/$defs/__schema15"
2471
+ }
2472
+ },
2473
+ "required": ["type", "bounds", "path", "radius", "hardness", "colour", "opacity"],
2474
+ "additionalProperties": false
2475
+ },
2476
+ {
2477
+ "type": "object",
2478
+ "properties": {
2479
+ "type": {
2480
+ "type": "string",
2481
+ "const": "eraseStroke"
2482
+ },
2483
+ "space": {
2484
+ "$ref": "#/$defs/__schema43"
2485
+ },
2486
+ "reference_size": {
2487
+ "$ref": "#/$defs/__schema44"
2488
+ },
2489
+ "bounds": {
2490
+ "$ref": "#/$defs/__schema18"
2491
+ },
2492
+ "mask": {
2493
+ "$ref": "#/$defs/__schema47"
2494
+ },
2495
+ "path": {
2496
+ "minItems": 1,
2497
+ "maxItems": 4096,
2498
+ "type": "array",
2499
+ "items": {
2500
+ "$ref": "#/$defs/__schema39"
2501
+ }
2502
+ },
2503
+ "radius": {
2504
+ "type": "number",
2505
+ "exclusiveMinimum": 0,
2506
+ "maximum": 256,
2507
+ "$ref": "#/$defs/__schema5"
2508
+ },
2509
+ "hardness": {
2510
+ "default": 1,
2511
+ "$ref": "#/$defs/__schema15"
2512
+ },
2513
+ "opacity": {
2514
+ "default": 1,
2515
+ "$ref": "#/$defs/__schema15"
2516
+ }
2517
+ },
2518
+ "required": ["type", "bounds", "path", "radius", "hardness", "opacity"],
2519
+ "additionalProperties": false
2520
+ },
2521
+ {
2522
+ "type": "object",
2523
+ "properties": {
2524
+ "type": {
2525
+ "type": "string",
2526
+ "const": "brightness"
2527
+ },
2528
+ "space": {
2529
+ "$ref": "#/$defs/__schema43"
2530
+ },
2531
+ "reference_size": {
2532
+ "$ref": "#/$defs/__schema44"
2533
+ },
2534
+ "bounds": {
2535
+ "$ref": "#/$defs/__schema18"
2536
+ },
2537
+ "mask": {
2538
+ "$ref": "#/$defs/__schema47"
2539
+ },
2540
+ "amount": {
2541
+ "type": "number",
2542
+ "minimum": -1,
2543
+ "maximum": 1,
2544
+ "$ref": "#/$defs/__schema5"
2545
+ }
2546
+ },
2547
+ "required": ["type", "bounds", "amount"],
2548
+ "additionalProperties": false
2549
+ },
2550
+ {
2551
+ "type": "object",
2552
+ "properties": {
2553
+ "type": {
2554
+ "type": "string",
2555
+ "const": "contrast"
2556
+ },
2557
+ "space": {
2558
+ "$ref": "#/$defs/__schema43"
2559
+ },
2560
+ "reference_size": {
2561
+ "$ref": "#/$defs/__schema44"
2562
+ },
2563
+ "bounds": {
2564
+ "$ref": "#/$defs/__schema18"
2565
+ },
2566
+ "mask": {
2567
+ "$ref": "#/$defs/__schema47"
2568
+ },
2569
+ "amount": {
2570
+ "type": "number",
2571
+ "minimum": -1,
2572
+ "maximum": 1,
2573
+ "$ref": "#/$defs/__schema5"
2574
+ }
2575
+ },
2576
+ "required": ["type", "bounds", "amount"],
2577
+ "additionalProperties": false
2578
+ },
2579
+ {
2580
+ "type": "object",
2581
+ "properties": {
2582
+ "type": {
2583
+ "type": "string",
2584
+ "const": "saturation"
2585
+ },
2586
+ "space": {
2587
+ "$ref": "#/$defs/__schema43"
2588
+ },
2589
+ "reference_size": {
2590
+ "$ref": "#/$defs/__schema44"
2591
+ },
2592
+ "bounds": {
2593
+ "$ref": "#/$defs/__schema18"
2594
+ },
2595
+ "mask": {
2596
+ "$ref": "#/$defs/__schema47"
2597
+ },
2598
+ "amount": {
2599
+ "type": "number",
2600
+ "minimum": -1,
2601
+ "maximum": 1,
2602
+ "$ref": "#/$defs/__schema5"
2603
+ }
2604
+ },
2605
+ "required": ["type", "bounds", "amount"],
2606
+ "additionalProperties": false
2607
+ },
2608
+ {
2609
+ "type": "object",
2610
+ "properties": {
2611
+ "type": {
2612
+ "type": "string",
2613
+ "const": "hueShift"
2614
+ },
2615
+ "space": {
2616
+ "$ref": "#/$defs/__schema43"
2617
+ },
2618
+ "reference_size": {
2619
+ "$ref": "#/$defs/__schema44"
2620
+ },
2621
+ "bounds": {
2622
+ "$ref": "#/$defs/__schema18"
2623
+ },
2624
+ "mask": {
2625
+ "$ref": "#/$defs/__schema47"
2626
+ },
2627
+ "degrees": {
2628
+ "type": "number",
2629
+ "minimum": -360,
2630
+ "maximum": 360,
2631
+ "$ref": "#/$defs/__schema5"
2632
+ }
2633
+ },
2634
+ "required": ["type", "bounds", "degrees"],
2635
+ "additionalProperties": false
2636
+ },
2637
+ {
2638
+ "type": "object",
2639
+ "properties": {
2640
+ "type": {
2641
+ "type": "string",
2642
+ "const": "noise"
2643
+ },
2644
+ "space": {
2645
+ "$ref": "#/$defs/__schema43"
2646
+ },
2647
+ "reference_size": {
2648
+ "$ref": "#/$defs/__schema44"
2649
+ },
2650
+ "bounds": {
2651
+ "$ref": "#/$defs/__schema18"
2652
+ },
2653
+ "mask": {
2654
+ "$ref": "#/$defs/__schema47"
2655
+ },
2656
+ "amount": {
2657
+ "$ref": "#/$defs/__schema15"
2658
+ },
2659
+ "seed": {
2660
+ "type": "integer",
2661
+ "minimum": 0,
2662
+ "maximum": 4294967295
2663
+ }
2664
+ },
2665
+ "required": ["type", "bounds", "amount", "seed"],
2666
+ "additionalProperties": false
2667
+ },
2668
+ {
2669
+ "type": "object",
2670
+ "properties": {
2671
+ "type": {
2672
+ "type": "string",
2673
+ "const": "blur"
2674
+ },
2675
+ "space": {
2676
+ "$ref": "#/$defs/__schema43"
2677
+ },
2678
+ "reference_size": {
2679
+ "$ref": "#/$defs/__schema44"
2680
+ },
2681
+ "bounds": {
2682
+ "$ref": "#/$defs/__schema18"
2683
+ },
2684
+ "mask": {
2685
+ "$ref": "#/$defs/__schema47"
2686
+ },
2687
+ "radius": {
2688
+ "type": "number",
2689
+ "minimum": 0,
2690
+ "maximum": 128,
2691
+ "$ref": "#/$defs/__schema5"
2692
+ }
2693
+ },
2694
+ "required": ["type", "bounds", "radius"],
2695
+ "additionalProperties": false
2696
+ },
2697
+ {
2698
+ "type": "object",
2699
+ "properties": {
2700
+ "type": {
2701
+ "type": "string",
2702
+ "const": "colourReplace"
2703
+ },
2704
+ "space": {
2705
+ "$ref": "#/$defs/__schema43"
2706
+ },
2707
+ "reference_size": {
2708
+ "$ref": "#/$defs/__schema44"
2709
+ },
2710
+ "bounds": {
2711
+ "$ref": "#/$defs/__schema18"
2712
+ },
2713
+ "mask": {
2714
+ "$ref": "#/$defs/__schema47"
2715
+ },
2716
+ "from": {
2717
+ "$ref": "#/$defs/__schema0"
2718
+ },
2719
+ "to": {
2720
+ "$ref": "#/$defs/__schema0"
2721
+ },
2722
+ "tolerance": {
2723
+ "default": 0,
2724
+ "$ref": "#/$defs/__schema15"
2725
+ }
2726
+ },
2727
+ "required": ["type", "bounds", "from", "to", "tolerance"],
2728
+ "additionalProperties": false
2729
+ },
2730
+ {
2731
+ "type": "object",
2732
+ "properties": {
2733
+ "type": {
2734
+ "type": "string",
2735
+ "const": "setPixels"
2736
+ },
2737
+ "space": {
2738
+ "$ref": "#/$defs/__schema43"
2739
+ },
2740
+ "reference_size": {
2741
+ "$ref": "#/$defs/__schema44"
2742
+ },
2743
+ "bounds": {
2744
+ "$ref": "#/$defs/__schema18"
2745
+ },
2746
+ "mask": {
2747
+ "$ref": "#/$defs/__schema47"
2748
+ },
2749
+ "pixels": {
2750
+ "maxItems": 4096,
2751
+ "type": "array",
2752
+ "items": {
2753
+ "$ref": "#/$defs/__schema49"
2754
+ }
2755
+ }
2756
+ },
2757
+ "required": ["type", "bounds", "pixels"],
2758
+ "additionalProperties": false
2759
+ }
2760
+ ]
2761
+ },
2762
+ "__schema47": {
2763
+ "$ref": "#/$defs/__schema42"
2764
+ },
2765
+ "__schema48": {
2766
+ "type": "array",
2767
+ "prefixItems": [
2768
+ {
2769
+ "$ref": "#/$defs/__schema15"
2770
+ },
2771
+ {
2772
+ "$ref": "#/$defs/__schema15"
2773
+ }
2774
+ ],
2775
+ "items": false,
2776
+ "minItems": 2,
2777
+ "maxItems": 2
2778
+ },
2779
+ "__schema49": {
2780
+ "type": "object",
2781
+ "properties": {
2782
+ "x": {
2783
+ "type": "integer",
2784
+ "minimum": -9007199254740991,
2785
+ "maximum": 9007199254740991
2786
+ },
2787
+ "y": {
2788
+ "type": "integer",
2789
+ "minimum": -9007199254740991,
2790
+ "maximum": 9007199254740991
2791
+ },
2792
+ "colour": {
2793
+ "$ref": "#/$defs/__schema0"
2794
+ }
2795
+ },
2796
+ "required": ["x", "y", "colour"],
2797
+ "additionalProperties": false
2798
+ },
2799
+ "__schema50": {
2800
+ "type": "object",
2801
+ "properties": {
2802
+ "id": {
2803
+ "$ref": "#/$defs/__schema2"
2804
+ },
2805
+ "space": {
2806
+ "$ref": "#/$defs/__schema43"
2807
+ },
2808
+ "reference_size": {
2809
+ "$ref": "#/$defs/__schema44"
2810
+ },
2811
+ "bounds": {
2812
+ "$ref": "#/$defs/__schema18"
2813
+ },
2814
+ "scale": {
2815
+ "default": 2,
2816
+ "type": "integer",
2817
+ "minimum": 1,
2818
+ "maximum": 4
2819
+ },
2820
+ "source": {
2821
+ "$ref": "#/$defs/__schema2"
2822
+ },
2823
+ "composite": {
2824
+ "type": "string",
2825
+ "enum": ["replace", "over"]
2826
+ },
2827
+ "operations": {
2828
+ "default": [],
2829
+ "maxItems": 256,
2830
+ "type": "array",
2831
+ "items": {
2832
+ "$ref": "#/$defs/__schema46"
2833
+ }
2834
+ }
2835
+ },
2836
+ "required": ["id", "bounds", "scale", "operations"],
2837
+ "additionalProperties": false
2838
+ },
2839
+ "__schema51": {
2840
+ "type": "object",
2841
+ "properties": {
2842
+ "space": {
2843
+ "$ref": "#/$defs/__schema43"
2844
+ },
2845
+ "reference_size": {
2846
+ "$ref": "#/$defs/__schema44"
2847
+ },
2848
+ "bounds": {
2849
+ "$ref": "#/$defs/__schema18"
2850
+ },
2851
+ "palette": {
2852
+ "$ref": "#/$defs/__schema52"
2853
+ },
2854
+ "pixels": {
2855
+ "$ref": "#/$defs/__schema53"
2856
+ }
2857
+ },
2858
+ "required": ["bounds", "palette", "pixels"],
2859
+ "additionalProperties": false
2860
+ },
2861
+ "__schema52": {
2862
+ "type": "object",
2863
+ "propertyNames": {
2864
+ "type": "string",
2865
+ "minLength": 1,
2866
+ "maxLength": 1
2867
+ },
2868
+ "additionalProperties": {
2869
+ "$ref": "#/$defs/__schema0"
2870
+ }
2871
+ },
2872
+ "__schema53": {
2873
+ "minItems": 1,
2874
+ "maxItems": 256,
2875
+ "type": "array",
2876
+ "items": {
2877
+ "$ref": "#/$defs/__schema54"
2878
+ }
2879
+ },
2880
+ "__schema54": {
2881
+ "type": "string",
2882
+ "minLength": 1,
2883
+ "maxLength": 256
2884
+ },
2885
+ "__schema55": {
2886
+ "oneOf": [
2887
+ {
2888
+ "type": "object",
2889
+ "properties": {
2890
+ "type": {
2891
+ "type": "string",
2892
+ "const": "pixel-contrast"
2893
+ },
2894
+ "target": {
2895
+ "$ref": "#/$defs/__schema2"
2896
+ },
2897
+ "minimum": {
2898
+ "default": 4.5,
2899
+ "type": "number",
2900
+ "minimum": 1,
2901
+ "maximum": 21,
2902
+ "$ref": "#/$defs/__schema5"
2903
+ },
2904
+ "percentile": {
2905
+ "default": 0.1,
2906
+ "$ref": "#/$defs/__schema15"
2907
+ }
2908
+ },
2909
+ "required": ["type", "target", "minimum", "percentile"],
2910
+ "additionalProperties": false
2911
+ },
2912
+ {
2913
+ "type": "object",
2914
+ "properties": {
2915
+ "type": {
2916
+ "type": "string",
2917
+ "const": "visible-area"
2918
+ },
2919
+ "target": {
2920
+ "$ref": "#/$defs/__schema2"
2921
+ },
2922
+ "minimum": {
2923
+ "default": 0.5,
2924
+ "$ref": "#/$defs/__schema15"
2925
+ }
2926
+ },
2927
+ "required": ["type", "target", "minimum"],
2928
+ "additionalProperties": false
2929
+ },
2930
+ {
2931
+ "type": "object",
2932
+ "properties": {
2933
+ "type": {
2934
+ "type": "string",
2935
+ "const": "region-luma"
2936
+ },
2937
+ "bounds": {
2938
+ "$ref": "#/$defs/__schema18"
2939
+ },
2940
+ "minimum": {
2941
+ "default": 0,
2942
+ "$ref": "#/$defs/__schema15"
2943
+ },
2944
+ "maximum": {
2945
+ "default": 1,
2946
+ "$ref": "#/$defs/__schema15"
2947
+ }
2948
+ },
2949
+ "required": ["type", "bounds", "minimum", "maximum"],
2950
+ "additionalProperties": false
2951
+ },
2952
+ {
2953
+ "type": "object",
2954
+ "properties": {
2955
+ "type": {
2956
+ "type": "string",
2957
+ "const": "safe-area"
2958
+ },
2959
+ "target": {
2960
+ "$ref": "#/$defs/__schema2"
2961
+ },
2962
+ "minimum": {
2963
+ "minimum": 0,
2964
+ "$ref": "#/$defs/__schema5"
2965
+ }
2966
+ },
2967
+ "required": ["type", "target", "minimum"],
2968
+ "additionalProperties": false
2969
+ },
2970
+ {
2971
+ "type": "object",
2972
+ "properties": {
2973
+ "type": {
2974
+ "type": "string",
2975
+ "const": "text-overflow"
2976
+ },
2977
+ "target": {
2978
+ "$ref": "#/$defs/__schema2"
2979
+ }
2980
+ },
2981
+ "required": ["type", "target"],
2982
+ "additionalProperties": false
2983
+ },
2984
+ {
2985
+ "type": "object",
2986
+ "properties": {
2987
+ "type": {
2988
+ "type": "string",
2989
+ "const": "text-equals"
2990
+ },
2991
+ "target": {
2992
+ "$ref": "#/$defs/__schema2"
2993
+ },
2994
+ "expected": {
2995
+ "type": "string"
2996
+ }
2997
+ },
2998
+ "required": ["type", "target", "expected"],
2999
+ "additionalProperties": false
3000
+ },
3001
+ {
3002
+ "type": "object",
3003
+ "properties": {
3004
+ "type": {
3005
+ "type": "string",
3006
+ "const": "required-role"
3007
+ },
3008
+ "role": {
3009
+ "type": "string"
3010
+ }
3011
+ },
3012
+ "required": ["type", "role"],
3013
+ "additionalProperties": false
3014
+ },
3015
+ {
3016
+ "type": "object",
3017
+ "properties": {
3018
+ "type": {
3019
+ "type": "string",
3020
+ "const": "contrast"
3021
+ },
3022
+ "target": {
3023
+ "$ref": "#/$defs/__schema2"
3024
+ },
3025
+ "against": {
3026
+ "$ref": "#/$defs/__schema0"
3027
+ },
3028
+ "minimum": {
3029
+ "default": 4.5,
3030
+ "type": "number",
3031
+ "minimum": 1,
3032
+ "maximum": 21,
3033
+ "$ref": "#/$defs/__schema5"
3034
+ }
3035
+ },
3036
+ "required": ["type", "target", "against", "minimum"],
3037
+ "additionalProperties": false
3038
+ },
3039
+ {
3040
+ "type": "object",
3041
+ "properties": {
3042
+ "type": {
3043
+ "type": "string",
3044
+ "const": "no-overlap"
3045
+ },
3046
+ "target": {
3047
+ "$ref": "#/$defs/__schema2"
3048
+ },
3049
+ "other": {
3050
+ "$ref": "#/$defs/__schema2"
3051
+ }
3052
+ },
3053
+ "required": ["type", "target", "other"],
3054
+ "additionalProperties": false
3055
+ }
3056
+ ]
3057
+ },
3058
+ "__schema56": {
3059
+ "type": "string"
3060
+ },
3061
+ "__schema57": {
3062
+ "oneOf": [
3063
+ {
3064
+ "type": "object",
3065
+ "properties": {
3066
+ "type": {
3067
+ "type": "string",
3068
+ "const": "move"
3069
+ },
3070
+ "to": {
3071
+ "$ref": "#/$defs/__schema39"
3072
+ }
3073
+ },
3074
+ "required": ["type", "to"],
3075
+ "additionalProperties": false
3076
+ },
3077
+ {
3078
+ "type": "object",
3079
+ "properties": {
3080
+ "type": {
3081
+ "type": "string",
3082
+ "const": "line"
3083
+ },
3084
+ "to": {
3085
+ "$ref": "#/$defs/__schema39"
3086
+ }
3087
+ },
3088
+ "required": ["type", "to"],
3089
+ "additionalProperties": false
3090
+ },
3091
+ {
3092
+ "type": "object",
3093
+ "properties": {
3094
+ "type": {
3095
+ "type": "string",
3096
+ "const": "quadratic"
3097
+ },
3098
+ "control": {
3099
+ "$ref": "#/$defs/__schema39"
3100
+ },
3101
+ "to": {
3102
+ "$ref": "#/$defs/__schema39"
3103
+ }
3104
+ },
3105
+ "required": ["type", "control", "to"],
3106
+ "additionalProperties": false
3107
+ },
3108
+ {
3109
+ "type": "object",
3110
+ "properties": {
3111
+ "type": {
3112
+ "type": "string",
3113
+ "const": "cubic"
3114
+ },
3115
+ "control1": {
3116
+ "$ref": "#/$defs/__schema39"
3117
+ },
3118
+ "control2": {
3119
+ "$ref": "#/$defs/__schema39"
3120
+ },
3121
+ "to": {
3122
+ "$ref": "#/$defs/__schema39"
3123
+ }
3124
+ },
3125
+ "required": ["type", "control1", "control2", "to"],
3126
+ "additionalProperties": false
3127
+ },
3128
+ {
3129
+ "type": "object",
3130
+ "properties": {
3131
+ "type": {
3132
+ "type": "string",
3133
+ "const": "close"
3134
+ }
3135
+ },
3136
+ "required": ["type"],
3137
+ "additionalProperties": false
3138
+ }
3139
+ ]
3140
+ },
3141
+ "__schema58": {
3142
+ "type": "string"
3143
+ },
3144
+ "__schema59": {
3145
+ "type": "string"
3146
+ },
3147
+ "__schema60": {
3148
+ "type": "string"
3149
+ },
3150
+ "__schema61": {
3151
+ "type": "string"
3152
+ }
3153
+ }
3154
+ }