@hyperscale0/udl 1.0.341 → 1.0.347

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 (50) hide show
  1. package/README.md +3 -2
  2. package/dist/canonical.d.ts +15 -3
  3. package/dist/canonical.d.ts.map +1 -1
  4. package/dist/canonical.js +77 -12
  5. package/dist/canonical.js.map +1 -1
  6. package/dist/diagnostics.d.ts +1 -1
  7. package/dist/diagnostics.d.ts.map +1 -1
  8. package/dist/diagnostics.js +2 -0
  9. package/dist/diagnostics.js.map +1 -1
  10. package/dist/formats.d.ts +27 -0
  11. package/dist/formats.d.ts.map +1 -0
  12. package/dist/formats.js +31 -0
  13. package/dist/formats.js.map +1 -0
  14. package/dist/index.d.ts +4 -2
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +4 -2
  17. package/dist/index.js.map +1 -1
  18. package/dist/object-contract.d.ts +4 -0
  19. package/dist/object-contract.d.ts.map +1 -1
  20. package/dist/object-contract.js.map +1 -1
  21. package/dist/object-semantics-schema.d.ts +276 -92
  22. package/dist/object-semantics-schema.d.ts.map +1 -1
  23. package/dist/schema.d.ts +6481 -115
  24. package/dist/schema.d.ts.map +1 -1
  25. package/dist/schema.js +58 -10
  26. package/dist/schema.js.map +1 -1
  27. package/dist/serialize.d.ts +5 -0
  28. package/dist/serialize.d.ts.map +1 -0
  29. package/dist/serialize.js +14 -0
  30. package/dist/serialize.js.map +1 -0
  31. package/dist/validation.d.ts +19 -0
  32. package/dist/validation.d.ts.map +1 -1
  33. package/dist/validation.js +49 -7
  34. package/dist/validation.js.map +1 -1
  35. package/package.json +3 -2
  36. package/spec/cars.udl.json +1 -1
  37. package/spec/udl.schema.json +529 -489
  38. package/src/canonical.ts +84 -14
  39. package/src/diagnostics.ts +6 -0
  40. package/src/formats.ts +56 -0
  41. package/src/index.ts +9 -1
  42. package/src/object-contract.ts +4 -1
  43. package/src/schema.ts +71 -11
  44. package/src/serialize.ts +14 -0
  45. package/src/validation.ts +65 -10
  46. package/dist/json.d.ts +0 -2
  47. package/dist/json.d.ts.map +0 -1
  48. package/dist/json.js +0 -30
  49. package/dist/json.js.map +0 -1
  50. package/src/json.ts +0 -34
@@ -254,11 +254,15 @@ export declare const semanticActionSchema: z.ZodObject<{
254
254
  instrument: "instrument";
255
255
  object: "object";
256
256
  }>;
257
- targetFamily: z.ZodOptional<z.ZodObject<{
257
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
258
+ module: z.ZodString;
259
+ exportPath: z.ZodString;
260
+ digest: z.ZodString;
261
+ }, z.core.$strict>, z.ZodObject<{
258
262
  module: z.ZodString;
259
263
  exportPath: z.ZodString;
260
264
  revision: z.ZodNumber;
261
- }, z.core.$strict>>;
265
+ }, z.core.$strict>]>>;
262
266
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
263
267
  }, z.core.$strict>, z.ZodObject<{
264
268
  name: z.ZodString;
@@ -340,11 +344,15 @@ export declare const semanticActionSchema: z.ZodObject<{
340
344
  instrument: "instrument";
341
345
  object: "object";
342
346
  }>>;
343
- targetFamily: z.ZodOptional<z.ZodObject<{
347
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
348
+ module: z.ZodString;
349
+ exportPath: z.ZodString;
350
+ digest: z.ZodString;
351
+ }, z.core.$strict>, z.ZodObject<{
344
352
  module: z.ZodString;
345
353
  exportPath: z.ZodString;
346
354
  revision: z.ZodNumber;
347
- }, z.core.$strict>>;
355
+ }, z.core.$strict>]>>;
348
356
  target: z.ZodOptional<z.ZodString>;
349
357
  maxItems: z.ZodNumber;
350
358
  }, z.core.$strict>], "type">>>;
@@ -421,11 +429,15 @@ export declare const semanticActionSchema: z.ZodObject<{
421
429
  }, z.core.$strict>>;
422
430
  }, z.core.$strict>, z.ZodObject<{
423
431
  selection: z.ZodObject<{
424
- family: z.ZodOptional<z.ZodObject<{
432
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
433
+ module: z.ZodString;
434
+ exportPath: z.ZodString;
435
+ digest: z.ZodString;
436
+ }, z.core.$strict>, z.ZodObject<{
425
437
  module: z.ZodString;
426
438
  exportPath: z.ZodString;
427
439
  revision: z.ZodNumber;
428
- }, z.core.$strict>>;
440
+ }, z.core.$strict>]>>;
429
441
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
430
442
  reference: z.ZodString;
431
443
  anchor: z.ZodString;
@@ -523,11 +535,15 @@ export declare const semanticActionSchema: z.ZodObject<{
523
535
  instrument: "instrument";
524
536
  object: "object";
525
537
  }>;
526
- targetFamily: z.ZodOptional<z.ZodObject<{
538
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
539
+ module: z.ZodString;
540
+ exportPath: z.ZodString;
541
+ digest: z.ZodString;
542
+ }, z.core.$strict>, z.ZodObject<{
527
543
  module: z.ZodString;
528
544
  exportPath: z.ZodString;
529
545
  revision: z.ZodNumber;
530
- }, z.core.$strict>>;
546
+ }, z.core.$strict>]>>;
531
547
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
532
548
  }, z.core.$strict>, z.ZodObject<{
533
549
  name: z.ZodString;
@@ -609,11 +625,15 @@ export declare const semanticActionSchema: z.ZodObject<{
609
625
  instrument: "instrument";
610
626
  object: "object";
611
627
  }>>;
612
- targetFamily: z.ZodOptional<z.ZodObject<{
628
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
629
+ module: z.ZodString;
630
+ exportPath: z.ZodString;
631
+ digest: z.ZodString;
632
+ }, z.core.$strict>, z.ZodObject<{
613
633
  module: z.ZodString;
614
634
  exportPath: z.ZodString;
615
635
  revision: z.ZodNumber;
616
- }, z.core.$strict>>;
636
+ }, z.core.$strict>]>>;
617
637
  target: z.ZodOptional<z.ZodString>;
618
638
  maxItems: z.ZodNumber;
619
639
  }, z.core.$strict>], "type">>;
@@ -640,11 +660,15 @@ export declare const semanticActionSchema: z.ZodObject<{
640
660
  instrument: "instrument";
641
661
  object: "object";
642
662
  }>;
643
- targetFamily: z.ZodOptional<z.ZodObject<{
663
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
664
+ module: z.ZodString;
665
+ exportPath: z.ZodString;
666
+ digest: z.ZodString;
667
+ }, z.core.$strict>, z.ZodObject<{
644
668
  module: z.ZodString;
645
669
  exportPath: z.ZodString;
646
670
  revision: z.ZodNumber;
647
- }, z.core.$strict>>;
671
+ }, z.core.$strict>]>>;
648
672
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
649
673
  }, z.core.$strict>, z.ZodObject<{
650
674
  name: z.ZodString;
@@ -726,11 +750,15 @@ export declare const semanticActionSchema: z.ZodObject<{
726
750
  instrument: "instrument";
727
751
  object: "object";
728
752
  }>>;
729
- targetFamily: z.ZodOptional<z.ZodObject<{
753
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
754
+ module: z.ZodString;
755
+ exportPath: z.ZodString;
756
+ digest: z.ZodString;
757
+ }, z.core.$strict>, z.ZodObject<{
730
758
  module: z.ZodString;
731
759
  exportPath: z.ZodString;
732
760
  revision: z.ZodNumber;
733
- }, z.core.$strict>>;
761
+ }, z.core.$strict>]>>;
734
762
  target: z.ZodOptional<z.ZodString>;
735
763
  maxItems: z.ZodNumber;
736
764
  }, z.core.$strict>], "type">;
@@ -797,11 +825,15 @@ export declare const semanticActionSchema: z.ZodObject<{
797
825
  instrument: "instrument";
798
826
  object: "object";
799
827
  }>;
800
- targetFamily: z.ZodOptional<z.ZodObject<{
828
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
829
+ module: z.ZodString;
830
+ exportPath: z.ZodString;
831
+ digest: z.ZodString;
832
+ }, z.core.$strict>, z.ZodObject<{
801
833
  module: z.ZodString;
802
834
  exportPath: z.ZodString;
803
835
  revision: z.ZodNumber;
804
- }, z.core.$strict>>;
836
+ }, z.core.$strict>]>>;
805
837
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
806
838
  }, z.core.$strict>, z.ZodObject<{
807
839
  name: z.ZodString;
@@ -883,11 +915,15 @@ export declare const semanticActionSchema: z.ZodObject<{
883
915
  instrument: "instrument";
884
916
  object: "object";
885
917
  }>>;
886
- targetFamily: z.ZodOptional<z.ZodObject<{
918
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
919
+ module: z.ZodString;
920
+ exportPath: z.ZodString;
921
+ digest: z.ZodString;
922
+ }, z.core.$strict>, z.ZodObject<{
887
923
  module: z.ZodString;
888
924
  exportPath: z.ZodString;
889
925
  revision: z.ZodNumber;
890
- }, z.core.$strict>>;
926
+ }, z.core.$strict>]>>;
891
927
  target: z.ZodOptional<z.ZodString>;
892
928
  maxItems: z.ZodNumber;
893
929
  }, z.core.$strict>], "type">>;
@@ -932,11 +968,15 @@ export declare const semanticActionSchema: z.ZodObject<{
932
968
  }, z.core.$strict>, z.ZodObject<{
933
969
  kind: z.ZodLiteral<"aggregate">;
934
970
  selection: z.ZodObject<{
935
- family: z.ZodOptional<z.ZodObject<{
971
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
972
+ module: z.ZodString;
973
+ exportPath: z.ZodString;
974
+ digest: z.ZodString;
975
+ }, z.core.$strict>, z.ZodObject<{
936
976
  module: z.ZodString;
937
977
  exportPath: z.ZodString;
938
978
  revision: z.ZodNumber;
939
- }, z.core.$strict>>;
979
+ }, z.core.$strict>]>>;
940
980
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
941
981
  reference: z.ZodString;
942
982
  anchor: z.ZodString;
@@ -1031,11 +1071,15 @@ export declare const semanticActionSchema: z.ZodObject<{
1031
1071
  target: z.ZodString;
1032
1072
  op: z.ZodLiteral<"aggregate">;
1033
1073
  selection: z.ZodObject<{
1034
- family: z.ZodOptional<z.ZodObject<{
1074
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1075
+ module: z.ZodString;
1076
+ exportPath: z.ZodString;
1077
+ digest: z.ZodString;
1078
+ }, z.core.$strict>, z.ZodObject<{
1035
1079
  module: z.ZodString;
1036
1080
  exportPath: z.ZodString;
1037
1081
  revision: z.ZodNumber;
1038
- }, z.core.$strict>>;
1082
+ }, z.core.$strict>]>>;
1039
1083
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1040
1084
  reference: z.ZodString;
1041
1085
  anchor: z.ZodString;
@@ -1465,11 +1509,15 @@ export declare const semanticActionSchema: z.ZodObject<{
1465
1509
  }, z.core.$strict>>;
1466
1510
  }, z.core.$strict>, z.ZodObject<{
1467
1511
  selection: z.ZodObject<{
1468
- family: z.ZodOptional<z.ZodObject<{
1512
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1513
+ module: z.ZodString;
1514
+ exportPath: z.ZodString;
1515
+ digest: z.ZodString;
1516
+ }, z.core.$strict>, z.ZodObject<{
1469
1517
  module: z.ZodString;
1470
1518
  exportPath: z.ZodString;
1471
1519
  revision: z.ZodNumber;
1472
- }, z.core.$strict>>;
1520
+ }, z.core.$strict>]>>;
1473
1521
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1474
1522
  reference: z.ZodString;
1475
1523
  anchor: z.ZodString;
@@ -1583,11 +1631,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
1583
1631
  instrument: "instrument";
1584
1632
  object: "object";
1585
1633
  }>;
1586
- targetFamily: z.ZodOptional<z.ZodObject<{
1634
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1635
+ module: z.ZodString;
1636
+ exportPath: z.ZodString;
1637
+ digest: z.ZodString;
1638
+ }, z.core.$strict>, z.ZodObject<{
1587
1639
  module: z.ZodString;
1588
1640
  exportPath: z.ZodString;
1589
1641
  revision: z.ZodNumber;
1590
- }, z.core.$strict>>;
1642
+ }, z.core.$strict>]>>;
1591
1643
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1592
1644
  }, z.core.$strict>, z.ZodObject<{
1593
1645
  name: z.ZodString;
@@ -1669,11 +1721,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
1669
1721
  instrument: "instrument";
1670
1722
  object: "object";
1671
1723
  }>>;
1672
- targetFamily: z.ZodOptional<z.ZodObject<{
1724
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1725
+ module: z.ZodString;
1726
+ exportPath: z.ZodString;
1727
+ digest: z.ZodString;
1728
+ }, z.core.$strict>, z.ZodObject<{
1673
1729
  module: z.ZodString;
1674
1730
  exportPath: z.ZodString;
1675
1731
  revision: z.ZodNumber;
1676
- }, z.core.$strict>>;
1732
+ }, z.core.$strict>]>>;
1677
1733
  target: z.ZodOptional<z.ZodString>;
1678
1734
  maxItems: z.ZodNumber;
1679
1735
  }, z.core.$strict>], "type">>;
@@ -1741,11 +1797,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
1741
1797
  target: z.ZodString;
1742
1798
  op: z.ZodLiteral<"aggregate">;
1743
1799
  selection: z.ZodObject<{
1744
- family: z.ZodOptional<z.ZodObject<{
1800
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1801
+ module: z.ZodString;
1802
+ exportPath: z.ZodString;
1803
+ digest: z.ZodString;
1804
+ }, z.core.$strict>, z.ZodObject<{
1745
1805
  module: z.ZodString;
1746
1806
  exportPath: z.ZodString;
1747
1807
  revision: z.ZodNumber;
1748
- }, z.core.$strict>>;
1808
+ }, z.core.$strict>]>>;
1749
1809
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1750
1810
  reference: z.ZodString;
1751
1811
  anchor: z.ZodString;
@@ -1969,11 +2029,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
1969
2029
  }, z.core.$strict>, z.ZodObject<{
1970
2030
  kind: z.ZodLiteral<"aggregate">;
1971
2031
  selection: z.ZodObject<{
1972
- family: z.ZodOptional<z.ZodObject<{
2032
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2033
+ module: z.ZodString;
2034
+ exportPath: z.ZodString;
2035
+ digest: z.ZodString;
2036
+ }, z.core.$strict>, z.ZodObject<{
1973
2037
  module: z.ZodString;
1974
2038
  exportPath: z.ZodString;
1975
2039
  revision: z.ZodNumber;
1976
- }, z.core.$strict>>;
2040
+ }, z.core.$strict>]>>;
1977
2041
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1978
2042
  reference: z.ZodString;
1979
2043
  anchor: z.ZodString;
@@ -2112,11 +2176,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2112
2176
  instrument: "instrument";
2113
2177
  object: "object";
2114
2178
  }>;
2115
- targetFamily: z.ZodOptional<z.ZodObject<{
2179
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2180
+ module: z.ZodString;
2181
+ exportPath: z.ZodString;
2182
+ digest: z.ZodString;
2183
+ }, z.core.$strict>, z.ZodObject<{
2116
2184
  module: z.ZodString;
2117
2185
  exportPath: z.ZodString;
2118
2186
  revision: z.ZodNumber;
2119
- }, z.core.$strict>>;
2187
+ }, z.core.$strict>]>>;
2120
2188
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2121
2189
  }, z.core.$strict>, z.ZodObject<{
2122
2190
  name: z.ZodString;
@@ -2198,11 +2266,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2198
2266
  instrument: "instrument";
2199
2267
  object: "object";
2200
2268
  }>>;
2201
- targetFamily: z.ZodOptional<z.ZodObject<{
2269
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2270
+ module: z.ZodString;
2271
+ exportPath: z.ZodString;
2272
+ digest: z.ZodString;
2273
+ }, z.core.$strict>, z.ZodObject<{
2202
2274
  module: z.ZodString;
2203
2275
  exportPath: z.ZodString;
2204
2276
  revision: z.ZodNumber;
2205
- }, z.core.$strict>>;
2277
+ }, z.core.$strict>]>>;
2206
2278
  target: z.ZodOptional<z.ZodString>;
2207
2279
  maxItems: z.ZodNumber;
2208
2280
  }, z.core.$strict>], "type">>>;
@@ -2279,11 +2351,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2279
2351
  }, z.core.$strict>>;
2280
2352
  }, z.core.$strict>, z.ZodObject<{
2281
2353
  selection: z.ZodObject<{
2282
- family: z.ZodOptional<z.ZodObject<{
2354
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2355
+ module: z.ZodString;
2356
+ exportPath: z.ZodString;
2357
+ digest: z.ZodString;
2358
+ }, z.core.$strict>, z.ZodObject<{
2283
2359
  module: z.ZodString;
2284
2360
  exportPath: z.ZodString;
2285
2361
  revision: z.ZodNumber;
2286
- }, z.core.$strict>>;
2362
+ }, z.core.$strict>]>>;
2287
2363
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2288
2364
  reference: z.ZodString;
2289
2365
  anchor: z.ZodString;
@@ -2381,11 +2457,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2381
2457
  instrument: "instrument";
2382
2458
  object: "object";
2383
2459
  }>;
2384
- targetFamily: z.ZodOptional<z.ZodObject<{
2460
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2461
+ module: z.ZodString;
2462
+ exportPath: z.ZodString;
2463
+ digest: z.ZodString;
2464
+ }, z.core.$strict>, z.ZodObject<{
2385
2465
  module: z.ZodString;
2386
2466
  exportPath: z.ZodString;
2387
2467
  revision: z.ZodNumber;
2388
- }, z.core.$strict>>;
2468
+ }, z.core.$strict>]>>;
2389
2469
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2390
2470
  }, z.core.$strict>, z.ZodObject<{
2391
2471
  name: z.ZodString;
@@ -2467,11 +2547,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2467
2547
  instrument: "instrument";
2468
2548
  object: "object";
2469
2549
  }>>;
2470
- targetFamily: z.ZodOptional<z.ZodObject<{
2550
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2551
+ module: z.ZodString;
2552
+ exportPath: z.ZodString;
2553
+ digest: z.ZodString;
2554
+ }, z.core.$strict>, z.ZodObject<{
2471
2555
  module: z.ZodString;
2472
2556
  exportPath: z.ZodString;
2473
2557
  revision: z.ZodNumber;
2474
- }, z.core.$strict>>;
2558
+ }, z.core.$strict>]>>;
2475
2559
  target: z.ZodOptional<z.ZodString>;
2476
2560
  maxItems: z.ZodNumber;
2477
2561
  }, z.core.$strict>], "type">>;
@@ -2498,11 +2582,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2498
2582
  instrument: "instrument";
2499
2583
  object: "object";
2500
2584
  }>;
2501
- targetFamily: z.ZodOptional<z.ZodObject<{
2585
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2586
+ module: z.ZodString;
2587
+ exportPath: z.ZodString;
2588
+ digest: z.ZodString;
2589
+ }, z.core.$strict>, z.ZodObject<{
2502
2590
  module: z.ZodString;
2503
2591
  exportPath: z.ZodString;
2504
2592
  revision: z.ZodNumber;
2505
- }, z.core.$strict>>;
2593
+ }, z.core.$strict>]>>;
2506
2594
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2507
2595
  }, z.core.$strict>, z.ZodObject<{
2508
2596
  name: z.ZodString;
@@ -2584,11 +2672,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2584
2672
  instrument: "instrument";
2585
2673
  object: "object";
2586
2674
  }>>;
2587
- targetFamily: z.ZodOptional<z.ZodObject<{
2675
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2676
+ module: z.ZodString;
2677
+ exportPath: z.ZodString;
2678
+ digest: z.ZodString;
2679
+ }, z.core.$strict>, z.ZodObject<{
2588
2680
  module: z.ZodString;
2589
2681
  exportPath: z.ZodString;
2590
2682
  revision: z.ZodNumber;
2591
- }, z.core.$strict>>;
2683
+ }, z.core.$strict>]>>;
2592
2684
  target: z.ZodOptional<z.ZodString>;
2593
2685
  maxItems: z.ZodNumber;
2594
2686
  }, z.core.$strict>], "type">;
@@ -2655,11 +2747,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2655
2747
  instrument: "instrument";
2656
2748
  object: "object";
2657
2749
  }>;
2658
- targetFamily: z.ZodOptional<z.ZodObject<{
2750
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2751
+ module: z.ZodString;
2752
+ exportPath: z.ZodString;
2753
+ digest: z.ZodString;
2754
+ }, z.core.$strict>, z.ZodObject<{
2659
2755
  module: z.ZodString;
2660
2756
  exportPath: z.ZodString;
2661
2757
  revision: z.ZodNumber;
2662
- }, z.core.$strict>>;
2758
+ }, z.core.$strict>]>>;
2663
2759
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2664
2760
  }, z.core.$strict>, z.ZodObject<{
2665
2761
  name: z.ZodString;
@@ -2741,11 +2837,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2741
2837
  instrument: "instrument";
2742
2838
  object: "object";
2743
2839
  }>>;
2744
- targetFamily: z.ZodOptional<z.ZodObject<{
2840
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2841
+ module: z.ZodString;
2842
+ exportPath: z.ZodString;
2843
+ digest: z.ZodString;
2844
+ }, z.core.$strict>, z.ZodObject<{
2745
2845
  module: z.ZodString;
2746
2846
  exportPath: z.ZodString;
2747
2847
  revision: z.ZodNumber;
2748
- }, z.core.$strict>>;
2848
+ }, z.core.$strict>]>>;
2749
2849
  target: z.ZodOptional<z.ZodString>;
2750
2850
  maxItems: z.ZodNumber;
2751
2851
  }, z.core.$strict>], "type">>;
@@ -2790,11 +2890,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2790
2890
  }, z.core.$strict>, z.ZodObject<{
2791
2891
  kind: z.ZodLiteral<"aggregate">;
2792
2892
  selection: z.ZodObject<{
2793
- family: z.ZodOptional<z.ZodObject<{
2893
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2894
+ module: z.ZodString;
2895
+ exportPath: z.ZodString;
2896
+ digest: z.ZodString;
2897
+ }, z.core.$strict>, z.ZodObject<{
2794
2898
  module: z.ZodString;
2795
2899
  exportPath: z.ZodString;
2796
2900
  revision: z.ZodNumber;
2797
- }, z.core.$strict>>;
2901
+ }, z.core.$strict>]>>;
2798
2902
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2799
2903
  reference: z.ZodString;
2800
2904
  anchor: z.ZodString;
@@ -2889,11 +2993,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
2889
2993
  target: z.ZodString;
2890
2994
  op: z.ZodLiteral<"aggregate">;
2891
2995
  selection: z.ZodObject<{
2892
- family: z.ZodOptional<z.ZodObject<{
2996
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2997
+ module: z.ZodString;
2998
+ exportPath: z.ZodString;
2999
+ digest: z.ZodString;
3000
+ }, z.core.$strict>, z.ZodObject<{
2893
3001
  module: z.ZodString;
2894
3002
  exportPath: z.ZodString;
2895
3003
  revision: z.ZodNumber;
2896
- }, z.core.$strict>>;
3004
+ }, z.core.$strict>]>>;
2897
3005
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2898
3006
  reference: z.ZodString;
2899
3007
  anchor: z.ZodString;
@@ -3323,11 +3431,15 @@ export declare const semanticInstrumentSchema: z.ZodObject<{
3323
3431
  }, z.core.$strict>>;
3324
3432
  }, z.core.$strict>, z.ZodObject<{
3325
3433
  selection: z.ZodObject<{
3326
- family: z.ZodOptional<z.ZodObject<{
3434
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3435
+ module: z.ZodString;
3436
+ exportPath: z.ZodString;
3437
+ digest: z.ZodString;
3438
+ }, z.core.$strict>, z.ZodObject<{
3327
3439
  module: z.ZodString;
3328
3440
  exportPath: z.ZodString;
3329
3441
  revision: z.ZodNumber;
3330
- }, z.core.$strict>>;
3442
+ }, z.core.$strict>]>>;
3331
3443
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
3332
3444
  reference: z.ZodString;
3333
3445
  anchor: z.ZodString;
@@ -3815,11 +3927,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
3815
3927
  instrument: "instrument";
3816
3928
  object: "object";
3817
3929
  }>;
3818
- targetFamily: z.ZodOptional<z.ZodObject<{
3930
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3931
+ module: z.ZodString;
3932
+ exportPath: z.ZodString;
3933
+ digest: z.ZodString;
3934
+ }, z.core.$strict>, z.ZodObject<{
3819
3935
  module: z.ZodString;
3820
3936
  exportPath: z.ZodString;
3821
3937
  revision: z.ZodNumber;
3822
- }, z.core.$strict>>;
3938
+ }, z.core.$strict>]>>;
3823
3939
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
3824
3940
  }, z.core.$strict>, z.ZodObject<{
3825
3941
  name: z.ZodString;
@@ -3901,11 +4017,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
3901
4017
  instrument: "instrument";
3902
4018
  object: "object";
3903
4019
  }>>;
3904
- targetFamily: z.ZodOptional<z.ZodObject<{
4020
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4021
+ module: z.ZodString;
4022
+ exportPath: z.ZodString;
4023
+ digest: z.ZodString;
4024
+ }, z.core.$strict>, z.ZodObject<{
3905
4025
  module: z.ZodString;
3906
4026
  exportPath: z.ZodString;
3907
4027
  revision: z.ZodNumber;
3908
- }, z.core.$strict>>;
4028
+ }, z.core.$strict>]>>;
3909
4029
  target: z.ZodOptional<z.ZodString>;
3910
4030
  maxItems: z.ZodNumber;
3911
4031
  }, z.core.$strict>], "type">>;
@@ -3972,11 +4092,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
3972
4092
  instrument: "instrument";
3973
4093
  object: "object";
3974
4094
  }>;
3975
- targetFamily: z.ZodOptional<z.ZodObject<{
4095
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4096
+ module: z.ZodString;
4097
+ exportPath: z.ZodString;
4098
+ digest: z.ZodString;
4099
+ }, z.core.$strict>, z.ZodObject<{
3976
4100
  module: z.ZodString;
3977
4101
  exportPath: z.ZodString;
3978
4102
  revision: z.ZodNumber;
3979
- }, z.core.$strict>>;
4103
+ }, z.core.$strict>]>>;
3980
4104
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
3981
4105
  }, z.core.$strict>, z.ZodObject<{
3982
4106
  name: z.ZodString;
@@ -4058,11 +4182,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
4058
4182
  instrument: "instrument";
4059
4183
  object: "object";
4060
4184
  }>>;
4061
- targetFamily: z.ZodOptional<z.ZodObject<{
4185
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4186
+ module: z.ZodString;
4187
+ exportPath: z.ZodString;
4188
+ digest: z.ZodString;
4189
+ }, z.core.$strict>, z.ZodObject<{
4062
4190
  module: z.ZodString;
4063
4191
  exportPath: z.ZodString;
4064
4192
  revision: z.ZodNumber;
4065
- }, z.core.$strict>>;
4193
+ }, z.core.$strict>]>>;
4066
4194
  target: z.ZodOptional<z.ZodString>;
4067
4195
  maxItems: z.ZodNumber;
4068
4196
  }, z.core.$strict>], "type">>;
@@ -4130,11 +4258,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
4130
4258
  target: z.ZodString;
4131
4259
  op: z.ZodLiteral<"aggregate">;
4132
4260
  selection: z.ZodObject<{
4133
- family: z.ZodOptional<z.ZodObject<{
4261
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4262
+ module: z.ZodString;
4263
+ exportPath: z.ZodString;
4264
+ digest: z.ZodString;
4265
+ }, z.core.$strict>, z.ZodObject<{
4134
4266
  module: z.ZodString;
4135
4267
  exportPath: z.ZodString;
4136
4268
  revision: z.ZodNumber;
4137
- }, z.core.$strict>>;
4269
+ }, z.core.$strict>]>>;
4138
4270
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
4139
4271
  reference: z.ZodString;
4140
4272
  anchor: z.ZodString;
@@ -4358,11 +4490,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
4358
4490
  }, z.core.$strict>, z.ZodObject<{
4359
4491
  kind: z.ZodLiteral<"aggregate">;
4360
4492
  selection: z.ZodObject<{
4361
- family: z.ZodOptional<z.ZodObject<{
4493
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4494
+ module: z.ZodString;
4495
+ exportPath: z.ZodString;
4496
+ digest: z.ZodString;
4497
+ }, z.core.$strict>, z.ZodObject<{
4362
4498
  module: z.ZodString;
4363
4499
  exportPath: z.ZodString;
4364
4500
  revision: z.ZodNumber;
4365
- }, z.core.$strict>>;
4501
+ }, z.core.$strict>]>>;
4366
4502
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
4367
4503
  reference: z.ZodString;
4368
4504
  anchor: z.ZodString;
@@ -4501,11 +4637,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
4501
4637
  instrument: "instrument";
4502
4638
  object: "object";
4503
4639
  }>;
4504
- targetFamily: z.ZodOptional<z.ZodObject<{
4640
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4641
+ module: z.ZodString;
4642
+ exportPath: z.ZodString;
4643
+ digest: z.ZodString;
4644
+ }, z.core.$strict>, z.ZodObject<{
4505
4645
  module: z.ZodString;
4506
4646
  exportPath: z.ZodString;
4507
4647
  revision: z.ZodNumber;
4508
- }, z.core.$strict>>;
4648
+ }, z.core.$strict>]>>;
4509
4649
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
4510
4650
  }, z.core.$strict>, z.ZodObject<{
4511
4651
  name: z.ZodString;
@@ -4587,11 +4727,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
4587
4727
  instrument: "instrument";
4588
4728
  object: "object";
4589
4729
  }>>;
4590
- targetFamily: z.ZodOptional<z.ZodObject<{
4730
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4731
+ module: z.ZodString;
4732
+ exportPath: z.ZodString;
4733
+ digest: z.ZodString;
4734
+ }, z.core.$strict>, z.ZodObject<{
4591
4735
  module: z.ZodString;
4592
4736
  exportPath: z.ZodString;
4593
4737
  revision: z.ZodNumber;
4594
- }, z.core.$strict>>;
4738
+ }, z.core.$strict>]>>;
4595
4739
  target: z.ZodOptional<z.ZodString>;
4596
4740
  maxItems: z.ZodNumber;
4597
4741
  }, z.core.$strict>], "type">>>;
@@ -4668,11 +4812,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
4668
4812
  }, z.core.$strict>>;
4669
4813
  }, z.core.$strict>, z.ZodObject<{
4670
4814
  selection: z.ZodObject<{
4671
- family: z.ZodOptional<z.ZodObject<{
4815
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4816
+ module: z.ZodString;
4817
+ exportPath: z.ZodString;
4818
+ digest: z.ZodString;
4819
+ }, z.core.$strict>, z.ZodObject<{
4672
4820
  module: z.ZodString;
4673
4821
  exportPath: z.ZodString;
4674
4822
  revision: z.ZodNumber;
4675
- }, z.core.$strict>>;
4823
+ }, z.core.$strict>]>>;
4676
4824
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
4677
4825
  reference: z.ZodString;
4678
4826
  anchor: z.ZodString;
@@ -4770,11 +4918,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
4770
4918
  instrument: "instrument";
4771
4919
  object: "object";
4772
4920
  }>;
4773
- targetFamily: z.ZodOptional<z.ZodObject<{
4921
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4922
+ module: z.ZodString;
4923
+ exportPath: z.ZodString;
4924
+ digest: z.ZodString;
4925
+ }, z.core.$strict>, z.ZodObject<{
4774
4926
  module: z.ZodString;
4775
4927
  exportPath: z.ZodString;
4776
4928
  revision: z.ZodNumber;
4777
- }, z.core.$strict>>;
4929
+ }, z.core.$strict>]>>;
4778
4930
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
4779
4931
  }, z.core.$strict>, z.ZodObject<{
4780
4932
  name: z.ZodString;
@@ -4856,11 +5008,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
4856
5008
  instrument: "instrument";
4857
5009
  object: "object";
4858
5010
  }>>;
4859
- targetFamily: z.ZodOptional<z.ZodObject<{
5011
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5012
+ module: z.ZodString;
5013
+ exportPath: z.ZodString;
5014
+ digest: z.ZodString;
5015
+ }, z.core.$strict>, z.ZodObject<{
4860
5016
  module: z.ZodString;
4861
5017
  exportPath: z.ZodString;
4862
5018
  revision: z.ZodNumber;
4863
- }, z.core.$strict>>;
5019
+ }, z.core.$strict>]>>;
4864
5020
  target: z.ZodOptional<z.ZodString>;
4865
5021
  maxItems: z.ZodNumber;
4866
5022
  }, z.core.$strict>], "type">>;
@@ -4887,11 +5043,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
4887
5043
  instrument: "instrument";
4888
5044
  object: "object";
4889
5045
  }>;
4890
- targetFamily: z.ZodOptional<z.ZodObject<{
5046
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5047
+ module: z.ZodString;
5048
+ exportPath: z.ZodString;
5049
+ digest: z.ZodString;
5050
+ }, z.core.$strict>, z.ZodObject<{
4891
5051
  module: z.ZodString;
4892
5052
  exportPath: z.ZodString;
4893
5053
  revision: z.ZodNumber;
4894
- }, z.core.$strict>>;
5054
+ }, z.core.$strict>]>>;
4895
5055
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
4896
5056
  }, z.core.$strict>, z.ZodObject<{
4897
5057
  name: z.ZodString;
@@ -4973,11 +5133,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
4973
5133
  instrument: "instrument";
4974
5134
  object: "object";
4975
5135
  }>>;
4976
- targetFamily: z.ZodOptional<z.ZodObject<{
5136
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5137
+ module: z.ZodString;
5138
+ exportPath: z.ZodString;
5139
+ digest: z.ZodString;
5140
+ }, z.core.$strict>, z.ZodObject<{
4977
5141
  module: z.ZodString;
4978
5142
  exportPath: z.ZodString;
4979
5143
  revision: z.ZodNumber;
4980
- }, z.core.$strict>>;
5144
+ }, z.core.$strict>]>>;
4981
5145
  target: z.ZodOptional<z.ZodString>;
4982
5146
  maxItems: z.ZodNumber;
4983
5147
  }, z.core.$strict>], "type">;
@@ -5044,11 +5208,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
5044
5208
  instrument: "instrument";
5045
5209
  object: "object";
5046
5210
  }>;
5047
- targetFamily: z.ZodOptional<z.ZodObject<{
5211
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5212
+ module: z.ZodString;
5213
+ exportPath: z.ZodString;
5214
+ digest: z.ZodString;
5215
+ }, z.core.$strict>, z.ZodObject<{
5048
5216
  module: z.ZodString;
5049
5217
  exportPath: z.ZodString;
5050
5218
  revision: z.ZodNumber;
5051
- }, z.core.$strict>>;
5219
+ }, z.core.$strict>]>>;
5052
5220
  target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
5053
5221
  }, z.core.$strict>, z.ZodObject<{
5054
5222
  name: z.ZodString;
@@ -5130,11 +5298,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
5130
5298
  instrument: "instrument";
5131
5299
  object: "object";
5132
5300
  }>>;
5133
- targetFamily: z.ZodOptional<z.ZodObject<{
5301
+ targetFamily: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5302
+ module: z.ZodString;
5303
+ exportPath: z.ZodString;
5304
+ digest: z.ZodString;
5305
+ }, z.core.$strict>, z.ZodObject<{
5134
5306
  module: z.ZodString;
5135
5307
  exportPath: z.ZodString;
5136
5308
  revision: z.ZodNumber;
5137
- }, z.core.$strict>>;
5309
+ }, z.core.$strict>]>>;
5138
5310
  target: z.ZodOptional<z.ZodString>;
5139
5311
  maxItems: z.ZodNumber;
5140
5312
  }, z.core.$strict>], "type">>;
@@ -5179,11 +5351,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
5179
5351
  }, z.core.$strict>, z.ZodObject<{
5180
5352
  kind: z.ZodLiteral<"aggregate">;
5181
5353
  selection: z.ZodObject<{
5182
- family: z.ZodOptional<z.ZodObject<{
5354
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5355
+ module: z.ZodString;
5356
+ exportPath: z.ZodString;
5357
+ digest: z.ZodString;
5358
+ }, z.core.$strict>, z.ZodObject<{
5183
5359
  module: z.ZodString;
5184
5360
  exportPath: z.ZodString;
5185
5361
  revision: z.ZodNumber;
5186
- }, z.core.$strict>>;
5362
+ }, z.core.$strict>]>>;
5187
5363
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
5188
5364
  reference: z.ZodString;
5189
5365
  anchor: z.ZodString;
@@ -5278,11 +5454,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
5278
5454
  target: z.ZodString;
5279
5455
  op: z.ZodLiteral<"aggregate">;
5280
5456
  selection: z.ZodObject<{
5281
- family: z.ZodOptional<z.ZodObject<{
5457
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5458
+ module: z.ZodString;
5459
+ exportPath: z.ZodString;
5460
+ digest: z.ZodString;
5461
+ }, z.core.$strict>, z.ZodObject<{
5282
5462
  module: z.ZodString;
5283
5463
  exportPath: z.ZodString;
5284
5464
  revision: z.ZodNumber;
5285
- }, z.core.$strict>>;
5465
+ }, z.core.$strict>]>>;
5286
5466
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
5287
5467
  reference: z.ZodString;
5288
5468
  anchor: z.ZodString;
@@ -5712,11 +5892,15 @@ export declare const documentSemanticsSchema: z.ZodObject<{
5712
5892
  }, z.core.$strict>>;
5713
5893
  }, z.core.$strict>, z.ZodObject<{
5714
5894
  selection: z.ZodObject<{
5715
- family: z.ZodOptional<z.ZodObject<{
5895
+ family: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
5896
+ module: z.ZodString;
5897
+ exportPath: z.ZodString;
5898
+ digest: z.ZodString;
5899
+ }, z.core.$strict>, z.ZodObject<{
5716
5900
  module: z.ZodString;
5717
5901
  exportPath: z.ZodString;
5718
5902
  revision: z.ZodNumber;
5719
- }, z.core.$strict>>;
5903
+ }, z.core.$strict>]>>;
5720
5904
  instrument: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
5721
5905
  reference: z.ZodString;
5722
5906
  anchor: z.ZodString;