@alpic-ai/api 0.0.0-dev.gd9ebdf8 → 0.0.0-dev.gd9ec27f

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 (3) hide show
  1. package/dist/index.d.mts +1295 -871
  2. package/dist/index.mjs +158 -58
  3. package/package.json +6 -6
package/dist/index.d.mts CHANGED
@@ -29,6 +29,7 @@ export declare const runtimeSchema: z.ZodEnum<{
29
29
  "python3.14": "python3.14";
30
30
  node22: "node22";
31
31
  node24: "node24";
32
+ node26: "node26";
32
33
  }>;
33
34
  export declare const transportSchema: z.ZodEnum<{
34
35
  stdio: "stdio";
@@ -1383,6 +1384,19 @@ type ClaudeSubmission = z.infer<typeof claudeSubmissionSchemaInternal>;
1383
1384
  type ChatgptSubmission = z.infer<typeof chatgptSubmissionSchemaInternal>;
1384
1385
  type Submission = ClaudeSubmission | ChatgptSubmission;
1385
1386
  //#endregion
1387
+ //#region ../domains/src/telemetry/schemas.d.ts
1388
+ export declare const TELEMETRY_SIGNALS: readonly ["logs", "metrics", "traces"];
1389
+ export declare const telemetrySignalSchema: z.ZodEnum<{
1390
+ logs: "logs";
1391
+ metrics: "metrics";
1392
+ traces: "traces";
1393
+ }>;
1394
+ export declare const OTLP_PROTOCOLS: readonly ["http/protobuf", "http/json"];
1395
+ export declare const otlpProtocolSchema: z.ZodEnum<{
1396
+ "http/protobuf": "http/protobuf";
1397
+ "http/json": "http/json";
1398
+ }>;
1399
+ //#endregion
1386
1400
  //#region src/api.contract.d.ts
1387
1401
  export type ApiContext = {
1388
1402
  request: Request & {
@@ -2675,6 +2689,206 @@ export declare const contract: {
2675
2689
  }>, Record<never, never>>;
2676
2690
  };
2677
2691
  };
2692
+ telemetryDestinations: {
2693
+ list: {
2694
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2695
+ environmentId: z.ZodString;
2696
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2697
+ id: z.ZodString;
2698
+ signal: z.ZodEnum<{
2699
+ logs: "logs";
2700
+ metrics: "metrics";
2701
+ traces: "traces";
2702
+ }>;
2703
+ endpoint: z.ZodString;
2704
+ protocol: z.ZodEnum<{
2705
+ "http/protobuf": "http/protobuf";
2706
+ "http/json": "http/json";
2707
+ }>;
2708
+ headers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2709
+ id: z.ZodString;
2710
+ name: z.ZodString;
2711
+ value: z.ZodNull;
2712
+ isSecret: z.ZodLiteral<true>;
2713
+ }, z.core.$strip>, z.ZodObject<{
2714
+ id: z.ZodString;
2715
+ name: z.ZodString;
2716
+ value: z.ZodString;
2717
+ isSecret: z.ZodLiteral<false>;
2718
+ }, z.core.$strip>], "isSecret">>;
2719
+ status: z.ZodEnum<{
2720
+ active: "active";
2721
+ suspended: "suspended";
2722
+ }>;
2723
+ lastFailureReason: z.ZodNullable<z.ZodEnum<{
2724
+ credentials: "credentials";
2725
+ "wrong-path": "wrong-path";
2726
+ "wrong-protocol": "wrong-protocol";
2727
+ "invalid-payload": "invalid-payload";
2728
+ "partial-rejection": "partial-rejection";
2729
+ "blocked-target": "blocked-target";
2730
+ timeout: "timeout";
2731
+ unreachable: "unreachable";
2732
+ "receiver-error": "receiver-error";
2733
+ "unexpected-status": "unexpected-status";
2734
+ }>>;
2735
+ isScopedToIntentionalRequestsOnly: z.ZodBoolean;
2736
+ }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2737
+ BAD_REQUEST: {};
2738
+ }>, {
2739
+ NOT_FOUND: {};
2740
+ }>, Record<never, never>>;
2741
+ };
2742
+ create: {
2743
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2744
+ environmentId: z.ZodString;
2745
+ signal: z.ZodEnum<{
2746
+ logs: "logs";
2747
+ metrics: "metrics";
2748
+ traces: "traces";
2749
+ }>;
2750
+ endpoint: z.ZodString;
2751
+ protocol: z.ZodDefault<z.ZodEnum<{
2752
+ "http/protobuf": "http/protobuf";
2753
+ "http/json": "http/json";
2754
+ }>>;
2755
+ isScopedToIntentionalRequestsOnly: z.ZodDefault<z.ZodBoolean>;
2756
+ headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
2757
+ name: z.ZodString;
2758
+ value: z.ZodString;
2759
+ isSecret: z.ZodBoolean;
2760
+ }, z.core.$strip>>>;
2761
+ }, z.core.$strip>, z.ZodObject<{
2762
+ id: z.ZodString;
2763
+ signal: z.ZodEnum<{
2764
+ logs: "logs";
2765
+ metrics: "metrics";
2766
+ traces: "traces";
2767
+ }>;
2768
+ endpoint: z.ZodString;
2769
+ protocol: z.ZodEnum<{
2770
+ "http/protobuf": "http/protobuf";
2771
+ "http/json": "http/json";
2772
+ }>;
2773
+ headers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2774
+ id: z.ZodString;
2775
+ name: z.ZodString;
2776
+ value: z.ZodNull;
2777
+ isSecret: z.ZodLiteral<true>;
2778
+ }, z.core.$strip>, z.ZodObject<{
2779
+ id: z.ZodString;
2780
+ name: z.ZodString;
2781
+ value: z.ZodString;
2782
+ isSecret: z.ZodLiteral<false>;
2783
+ }, z.core.$strip>], "isSecret">>;
2784
+ status: z.ZodEnum<{
2785
+ active: "active";
2786
+ suspended: "suspended";
2787
+ }>;
2788
+ lastFailureReason: z.ZodNullable<z.ZodEnum<{
2789
+ credentials: "credentials";
2790
+ "wrong-path": "wrong-path";
2791
+ "wrong-protocol": "wrong-protocol";
2792
+ "invalid-payload": "invalid-payload";
2793
+ "partial-rejection": "partial-rejection";
2794
+ "blocked-target": "blocked-target";
2795
+ timeout: "timeout";
2796
+ unreachable: "unreachable";
2797
+ "receiver-error": "receiver-error";
2798
+ "unexpected-status": "unexpected-status";
2799
+ }>>;
2800
+ isScopedToIntentionalRequestsOnly: z.ZodBoolean;
2801
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2802
+ BAD_REQUEST: {};
2803
+ }>, {
2804
+ NOT_FOUND: {};
2805
+ FORBIDDEN: {};
2806
+ OTLP_DESTINATION_UNVERIFIED: {
2807
+ status: number;
2808
+ };
2809
+ INTERNAL_SERVER_ERROR: {};
2810
+ }>, Record<never, never>>;
2811
+ };
2812
+ update: {
2813
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2814
+ environmentId: z.ZodString;
2815
+ destinationId: z.ZodString;
2816
+ endpoint: z.ZodOptional<z.ZodString>;
2817
+ protocol: z.ZodOptional<z.ZodEnum<{
2818
+ "http/protobuf": "http/protobuf";
2819
+ "http/json": "http/json";
2820
+ }>>;
2821
+ isScopedToIntentionalRequestsOnly: z.ZodOptional<z.ZodBoolean>;
2822
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2823
+ id: z.ZodOptional<z.ZodString>;
2824
+ name: z.ZodString;
2825
+ value: z.ZodOptional<z.ZodString>;
2826
+ isSecret: z.ZodBoolean;
2827
+ }, z.core.$strip>>>;
2828
+ }, z.core.$strip>, z.ZodObject<{
2829
+ id: z.ZodString;
2830
+ signal: z.ZodEnum<{
2831
+ logs: "logs";
2832
+ metrics: "metrics";
2833
+ traces: "traces";
2834
+ }>;
2835
+ endpoint: z.ZodString;
2836
+ protocol: z.ZodEnum<{
2837
+ "http/protobuf": "http/protobuf";
2838
+ "http/json": "http/json";
2839
+ }>;
2840
+ headers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2841
+ id: z.ZodString;
2842
+ name: z.ZodString;
2843
+ value: z.ZodNull;
2844
+ isSecret: z.ZodLiteral<true>;
2845
+ }, z.core.$strip>, z.ZodObject<{
2846
+ id: z.ZodString;
2847
+ name: z.ZodString;
2848
+ value: z.ZodString;
2849
+ isSecret: z.ZodLiteral<false>;
2850
+ }, z.core.$strip>], "isSecret">>;
2851
+ status: z.ZodEnum<{
2852
+ active: "active";
2853
+ suspended: "suspended";
2854
+ }>;
2855
+ lastFailureReason: z.ZodNullable<z.ZodEnum<{
2856
+ credentials: "credentials";
2857
+ "wrong-path": "wrong-path";
2858
+ "wrong-protocol": "wrong-protocol";
2859
+ "invalid-payload": "invalid-payload";
2860
+ "partial-rejection": "partial-rejection";
2861
+ "blocked-target": "blocked-target";
2862
+ timeout: "timeout";
2863
+ unreachable: "unreachable";
2864
+ "receiver-error": "receiver-error";
2865
+ "unexpected-status": "unexpected-status";
2866
+ }>>;
2867
+ isScopedToIntentionalRequestsOnly: z.ZodBoolean;
2868
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2869
+ BAD_REQUEST: {};
2870
+ }>, {
2871
+ NOT_FOUND: {};
2872
+ FORBIDDEN: {};
2873
+ OTLP_DESTINATION_UNVERIFIED: {
2874
+ status: number;
2875
+ };
2876
+ }>, Record<never, never>>;
2877
+ };
2878
+ delete: {
2879
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2880
+ environmentId: z.ZodString;
2881
+ destinationId: z.ZodString;
2882
+ }, z.core.$strip>, z.ZodObject<{
2883
+ success: z.ZodLiteral<true>;
2884
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2885
+ BAD_REQUEST: {};
2886
+ }>, {
2887
+ NOT_FOUND: {};
2888
+ INTERNAL_SERVER_ERROR: {};
2889
+ }>, Record<never, never>>;
2890
+ };
2891
+ };
2678
2892
  projects: {
2679
2893
  update: {
2680
2894
  v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
@@ -2691,6 +2905,7 @@ export declare const contract: {
2691
2905
  "python3.14": "python3.14";
2692
2906
  node22: "node22";
2693
2907
  node24: "node24";
2908
+ node26: "node26";
2694
2909
  }>;
2695
2910
  transport: z.ZodNullable<z.ZodEnum<{
2696
2911
  stdio: "stdio";
@@ -2769,6 +2984,7 @@ export declare const contract: {
2769
2984
  "python3.14": "python3.14";
2770
2985
  node22: "node22";
2771
2986
  node24: "node24";
2987
+ node26: "node26";
2772
2988
  }>;
2773
2989
  transport: z.ZodNullable<z.ZodEnum<{
2774
2990
  stdio: "stdio";
@@ -2846,6 +3062,7 @@ export declare const contract: {
2846
3062
  "python3.14": "python3.14";
2847
3063
  node22: "node22";
2848
3064
  node24: "node24";
3065
+ node26: "node26";
2849
3066
  }>;
2850
3067
  transport: z.ZodNullable<z.ZodEnum<{
2851
3068
  stdio: "stdio";
@@ -2921,6 +3138,7 @@ export declare const contract: {
2921
3138
  "python3.14": "python3.14";
2922
3139
  node22: "node22";
2923
3140
  node24: "node24";
3141
+ node26: "node26";
2924
3142
  }>;
2925
3143
  transport: z.ZodOptional<z.ZodEnum<{
2926
3144
  stdio: "stdio";
@@ -2957,6 +3175,7 @@ export declare const contract: {
2957
3175
  "python3.14": "python3.14";
2958
3176
  node22: "node22";
2959
3177
  node24: "node24";
3178
+ node26: "node26";
2960
3179
  }>;
2961
3180
  transport: z.ZodNullable<z.ZodEnum<{
2962
3181
  stdio: "stdio";
@@ -4553,6 +4772,206 @@ export declare const contractForDocs: {
4553
4772
  }>, Record<never, never>>;
4554
4773
  };
4555
4774
  };
4775
+ telemetryDestinations: {
4776
+ list: {
4777
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4778
+ environmentId: z.ZodString;
4779
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
4780
+ id: z.ZodString;
4781
+ signal: z.ZodEnum<{
4782
+ logs: "logs";
4783
+ metrics: "metrics";
4784
+ traces: "traces";
4785
+ }>;
4786
+ endpoint: z.ZodString;
4787
+ protocol: z.ZodEnum<{
4788
+ "http/protobuf": "http/protobuf";
4789
+ "http/json": "http/json";
4790
+ }>;
4791
+ headers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4792
+ id: z.ZodString;
4793
+ name: z.ZodString;
4794
+ value: z.ZodNull;
4795
+ isSecret: z.ZodLiteral<true>;
4796
+ }, z.core.$strip>, z.ZodObject<{
4797
+ id: z.ZodString;
4798
+ name: z.ZodString;
4799
+ value: z.ZodString;
4800
+ isSecret: z.ZodLiteral<false>;
4801
+ }, z.core.$strip>], "isSecret">>;
4802
+ status: z.ZodEnum<{
4803
+ active: "active";
4804
+ suspended: "suspended";
4805
+ }>;
4806
+ lastFailureReason: z.ZodNullable<z.ZodEnum<{
4807
+ credentials: "credentials";
4808
+ "wrong-path": "wrong-path";
4809
+ "wrong-protocol": "wrong-protocol";
4810
+ "invalid-payload": "invalid-payload";
4811
+ "partial-rejection": "partial-rejection";
4812
+ "blocked-target": "blocked-target";
4813
+ timeout: "timeout";
4814
+ unreachable: "unreachable";
4815
+ "receiver-error": "receiver-error";
4816
+ "unexpected-status": "unexpected-status";
4817
+ }>>;
4818
+ isScopedToIntentionalRequestsOnly: z.ZodBoolean;
4819
+ }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4820
+ BAD_REQUEST: {};
4821
+ }>, {
4822
+ NOT_FOUND: {};
4823
+ }>, Record<never, never>>;
4824
+ };
4825
+ create: {
4826
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4827
+ environmentId: z.ZodString;
4828
+ signal: z.ZodEnum<{
4829
+ logs: "logs";
4830
+ metrics: "metrics";
4831
+ traces: "traces";
4832
+ }>;
4833
+ endpoint: z.ZodString;
4834
+ protocol: z.ZodDefault<z.ZodEnum<{
4835
+ "http/protobuf": "http/protobuf";
4836
+ "http/json": "http/json";
4837
+ }>>;
4838
+ isScopedToIntentionalRequestsOnly: z.ZodDefault<z.ZodBoolean>;
4839
+ headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
4840
+ name: z.ZodString;
4841
+ value: z.ZodString;
4842
+ isSecret: z.ZodBoolean;
4843
+ }, z.core.$strip>>>;
4844
+ }, z.core.$strip>, z.ZodObject<{
4845
+ id: z.ZodString;
4846
+ signal: z.ZodEnum<{
4847
+ logs: "logs";
4848
+ metrics: "metrics";
4849
+ traces: "traces";
4850
+ }>;
4851
+ endpoint: z.ZodString;
4852
+ protocol: z.ZodEnum<{
4853
+ "http/protobuf": "http/protobuf";
4854
+ "http/json": "http/json";
4855
+ }>;
4856
+ headers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4857
+ id: z.ZodString;
4858
+ name: z.ZodString;
4859
+ value: z.ZodNull;
4860
+ isSecret: z.ZodLiteral<true>;
4861
+ }, z.core.$strip>, z.ZodObject<{
4862
+ id: z.ZodString;
4863
+ name: z.ZodString;
4864
+ value: z.ZodString;
4865
+ isSecret: z.ZodLiteral<false>;
4866
+ }, z.core.$strip>], "isSecret">>;
4867
+ status: z.ZodEnum<{
4868
+ active: "active";
4869
+ suspended: "suspended";
4870
+ }>;
4871
+ lastFailureReason: z.ZodNullable<z.ZodEnum<{
4872
+ credentials: "credentials";
4873
+ "wrong-path": "wrong-path";
4874
+ "wrong-protocol": "wrong-protocol";
4875
+ "invalid-payload": "invalid-payload";
4876
+ "partial-rejection": "partial-rejection";
4877
+ "blocked-target": "blocked-target";
4878
+ timeout: "timeout";
4879
+ unreachable: "unreachable";
4880
+ "receiver-error": "receiver-error";
4881
+ "unexpected-status": "unexpected-status";
4882
+ }>>;
4883
+ isScopedToIntentionalRequestsOnly: z.ZodBoolean;
4884
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4885
+ BAD_REQUEST: {};
4886
+ }>, {
4887
+ NOT_FOUND: {};
4888
+ FORBIDDEN: {};
4889
+ OTLP_DESTINATION_UNVERIFIED: {
4890
+ status: number;
4891
+ };
4892
+ INTERNAL_SERVER_ERROR: {};
4893
+ }>, Record<never, never>>;
4894
+ };
4895
+ update: {
4896
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4897
+ environmentId: z.ZodString;
4898
+ destinationId: z.ZodString;
4899
+ endpoint: z.ZodOptional<z.ZodString>;
4900
+ protocol: z.ZodOptional<z.ZodEnum<{
4901
+ "http/protobuf": "http/protobuf";
4902
+ "http/json": "http/json";
4903
+ }>>;
4904
+ isScopedToIntentionalRequestsOnly: z.ZodOptional<z.ZodBoolean>;
4905
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
4906
+ id: z.ZodOptional<z.ZodString>;
4907
+ name: z.ZodString;
4908
+ value: z.ZodOptional<z.ZodString>;
4909
+ isSecret: z.ZodBoolean;
4910
+ }, z.core.$strip>>>;
4911
+ }, z.core.$strip>, z.ZodObject<{
4912
+ id: z.ZodString;
4913
+ signal: z.ZodEnum<{
4914
+ logs: "logs";
4915
+ metrics: "metrics";
4916
+ traces: "traces";
4917
+ }>;
4918
+ endpoint: z.ZodString;
4919
+ protocol: z.ZodEnum<{
4920
+ "http/protobuf": "http/protobuf";
4921
+ "http/json": "http/json";
4922
+ }>;
4923
+ headers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4924
+ id: z.ZodString;
4925
+ name: z.ZodString;
4926
+ value: z.ZodNull;
4927
+ isSecret: z.ZodLiteral<true>;
4928
+ }, z.core.$strip>, z.ZodObject<{
4929
+ id: z.ZodString;
4930
+ name: z.ZodString;
4931
+ value: z.ZodString;
4932
+ isSecret: z.ZodLiteral<false>;
4933
+ }, z.core.$strip>], "isSecret">>;
4934
+ status: z.ZodEnum<{
4935
+ active: "active";
4936
+ suspended: "suspended";
4937
+ }>;
4938
+ lastFailureReason: z.ZodNullable<z.ZodEnum<{
4939
+ credentials: "credentials";
4940
+ "wrong-path": "wrong-path";
4941
+ "wrong-protocol": "wrong-protocol";
4942
+ "invalid-payload": "invalid-payload";
4943
+ "partial-rejection": "partial-rejection";
4944
+ "blocked-target": "blocked-target";
4945
+ timeout: "timeout";
4946
+ unreachable: "unreachable";
4947
+ "receiver-error": "receiver-error";
4948
+ "unexpected-status": "unexpected-status";
4949
+ }>>;
4950
+ isScopedToIntentionalRequestsOnly: z.ZodBoolean;
4951
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4952
+ BAD_REQUEST: {};
4953
+ }>, {
4954
+ NOT_FOUND: {};
4955
+ FORBIDDEN: {};
4956
+ OTLP_DESTINATION_UNVERIFIED: {
4957
+ status: number;
4958
+ };
4959
+ }>, Record<never, never>>;
4960
+ };
4961
+ delete: {
4962
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4963
+ environmentId: z.ZodString;
4964
+ destinationId: z.ZodString;
4965
+ }, z.core.$strip>, z.ZodObject<{
4966
+ success: z.ZodLiteral<true>;
4967
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
4968
+ BAD_REQUEST: {};
4969
+ }>, {
4970
+ NOT_FOUND: {};
4971
+ INTERNAL_SERVER_ERROR: {};
4972
+ }>, Record<never, never>>;
4973
+ };
4974
+ };
4556
4975
  projects: {
4557
4976
  update: {
4558
4977
  v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
@@ -4569,6 +4988,7 @@ export declare const contractForDocs: {
4569
4988
  "python3.14": "python3.14";
4570
4989
  node22: "node22";
4571
4990
  node24: "node24";
4991
+ node26: "node26";
4572
4992
  }>;
4573
4993
  transport: z.ZodNullable<z.ZodEnum<{
4574
4994
  stdio: "stdio";
@@ -4647,6 +5067,7 @@ export declare const contractForDocs: {
4647
5067
  "python3.14": "python3.14";
4648
5068
  node22: "node22";
4649
5069
  node24: "node24";
5070
+ node26: "node26";
4650
5071
  }>;
4651
5072
  transport: z.ZodNullable<z.ZodEnum<{
4652
5073
  stdio: "stdio";
@@ -4724,6 +5145,7 @@ export declare const contractForDocs: {
4724
5145
  "python3.14": "python3.14";
4725
5146
  node22: "node22";
4726
5147
  node24: "node24";
5148
+ node26: "node26";
4727
5149
  }>;
4728
5150
  transport: z.ZodNullable<z.ZodEnum<{
4729
5151
  stdio: "stdio";
@@ -4799,6 +5221,7 @@ export declare const contractForDocs: {
4799
5221
  "python3.14": "python3.14";
4800
5222
  node22: "node22";
4801
5223
  node24: "node24";
5224
+ node26: "node26";
4802
5225
  }>;
4803
5226
  transport: z.ZodOptional<z.ZodEnum<{
4804
5227
  stdio: "stdio";
@@ -4835,6 +5258,7 @@ export declare const contractForDocs: {
4835
5258
  "python3.14": "python3.14";
4836
5259
  node22: "node22";
4837
5260
  node24: "node24";
5261
+ node26: "node26";
4838
5262
  }>;
4839
5263
  transport: z.ZodNullable<z.ZodEnum<{
4840
5264
  stdio: "stdio";
@@ -5842,7 +6266,7 @@ export type RouteAuthMeta = {
5842
6266
  authScope?: AuthScope;
5843
6267
  };
5844
6268
  //#endregion
5845
- //#region ../../node_modules/.pnpm/type-fest@5.6.0/node_modules/type-fest/source/promisable.d.ts
6269
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/promisable.d.ts
5846
6270
  /**
5847
6271
  Create a type that represents either the value or the value wrapped in `PromiseLike`.
5848
6272
 
@@ -5869,11 +6293,11 @@ await logger(() => Promise.resolve('bar'));
5869
6293
  */
5870
6294
  type Promisable<T> = T | PromiseLike<T>;
5871
6295
  //#endregion
5872
- //#region ../../node_modules/.pnpm/@orpc+shared@1.15.2_@opentelemetry+api@1.9.1/node_modules/@orpc/shared/dist/index.d.mts
6296
+ //#region ../../node_modules/.pnpm/@orpc+shared@1.15.7_@opentelemetry+api@1.9.1/node_modules/@orpc/shared/dist/index.d.mts
5873
6297
  type MaybeOptionalOptions<TOptions> = Record<never, never> extends TOptions ? [options?: TOptions] : [options: TOptions];
5874
6298
  type Value<T, TArgs extends any[] = []> = T | ((...args: TArgs) => T);
5875
6299
  //#endregion
5876
- //#region ../../node_modules/.pnpm/@orpc+client@1.15.2_@opentelemetry+api@1.9.1/node_modules/@orpc/client/dist/index.d.mts
6300
+ //#region ../../node_modules/.pnpm/@orpc+client@1.15.7_@opentelemetry+api@1.9.1/node_modules/@orpc/client/dist/index.d.mts
5877
6301
  declare const COMMON_ORPC_ERROR_DEFS: {
5878
6302
  readonly BAD_REQUEST: {
5879
6303
  readonly status: 400;
@@ -5986,7 +6410,7 @@ declare class ORPCError<TCode extends ORPCErrorCode, TData> extends Error {
5986
6410
  }
5987
6411
  type ORPCErrorJSON<TCode extends string, TData> = Pick<ORPCError<TCode, TData>, 'defined' | 'code' | 'status' | 'message' | 'data'>;
5988
6412
  //#endregion
5989
- //#region ../../node_modules/.pnpm/@orpc+server@1.15.2_@opentelemetry+api@1.9.1_ws@8.21.3/node_modules/@orpc/server/dist/shared/server.qKsRrdxW.d.mts
6413
+ //#region ../../node_modules/.pnpm/@orpc+server@1.15.7_@opentelemetry+api@1.9.1_ws@8.22.0/node_modules/@orpc/server/dist/shared/server.qKsRrdxW.d.mts
5990
6414
  type Context = Record<PropertyKey, any>;
5991
6415
  type ORPCErrorConstructorMapItemOptions<TData> = Omit<ORPCErrorOptions<TData>, 'defined' | 'status'>;
5992
6416
  type ORPCErrorConstructorMapItem<TCode extends ORPCErrorCode, TInData> = (...rest: MaybeOptionalOptions<ORPCErrorConstructorMapItemOptions<TInData>>) => ORPCError<TCode, TInData>;
@@ -6057,7 +6481,7 @@ interface Middleware<TInContext extends Context, TOutContext extends Context, TI
6057
6481
  }
6058
6482
  type AnyMiddleware = Middleware<any, any, any, any, any, any>;
6059
6483
  //#endregion
6060
- //#region ../../node_modules/.pnpm/@orpc+server@1.15.2_@opentelemetry+api@1.9.1_ws@8.21.3/node_modules/@orpc/server/dist/shared/server.C8_sRzQB.d.mts
6484
+ //#region ../../node_modules/.pnpm/@orpc+server@1.15.7_@opentelemetry+api@1.9.1_ws@8.22.0/node_modules/@orpc/server/dist/shared/server.C8_sRzQB.d.mts
6061
6485
  interface TraverseContractProcedureCallbackOptions {
6062
6486
  contract: AnyContractProcedure | AnyProcedure;
6063
6487
  path: readonly string[];
@@ -6066,976 +6490,976 @@ interface TraverseContractProcedureCallbackOptions {
6066
6490
  //#region ../../node_modules/.pnpm/json-schema-typed@8.0.2/node_modules/json-schema-typed/draft_2020_12.d.ts
6067
6491
  type MaybeReadonlyArray<T> = Array<T> | ReadonlyArray<T>;
6068
6492
  type ValueOf<T> = T[keyof T];
6069
- /**
6070
- * JSON Schema [Draft 2020-12](https://json-schema.org/draft/2020-12/json-schema-validation.html)
6493
+ /**
6494
+ * JSON Schema [Draft 2020-12](https://json-schema.org/draft/2020-12/json-schema-validation.html)
6071
6495
  */
6072
6496
  type JSONSchema<Value = any, SchemaType = Value extends boolean ? "boolean" : Value extends null ? "null" : Value extends number ? "number" | "integer" : Value extends string ? "string" : Value extends unknown[] ? "array" : Value extends Record<string | number, unknown> ? "object" : JSONSchema.TypeValue> = boolean | {
6073
- /**
6074
- * Using JSON Pointer fragments requires knowledge of the structure of the
6075
- * schema. When writing schema documents with the intention to provide
6076
- * re-usable schemas, it may be preferable to use a plain name fragment
6077
- * that is not tied to any particular structural location. This allows a
6078
- * subschema to be relocated without requiring JSON Pointer references to
6079
- * be updated.
6080
- *
6081
- * The `$anchor` keyword is used to specify such a fragment. It is an
6082
- * identifier keyword that can only be used to create plain name fragments.
6083
- *
6084
- * If present, the value of this keyword MUST be a string, which MUST start
6085
- * with a letter `[A-Za-z]`, followed by any number of letters, digits
6086
- * `[0-9]`, hyphens `-`, underscores `_`, colons `:`,
6087
- * or periods `.`.
6088
- *
6089
- * Note that the anchor string does not include the `#` character,
6090
- * as it is not a URI-reference. An `{"$anchor": "foo"}` becomes the
6091
- * fragment `#foo` when used in a URI.
6092
- *
6093
- * The base URI to which the resulting fragment is appended is determined
6094
- * by the `$id` keyword as explained in the previous section.
6095
- * Two `$anchor` keywords in the same schema document MAY have the same
6096
- * value if they apply to different base URIs, as the resulting full URIs
6097
- * will be distinct. However, the effect of two `$anchor` keywords
6098
- * with the same value and the same base URI is undefined. Implementations
6099
- * MAY raise an error if such usage is detected.
6497
+ /**
6498
+ * Using JSON Pointer fragments requires knowledge of the structure of the
6499
+ * schema. When writing schema documents with the intention to provide
6500
+ * re-usable schemas, it may be preferable to use a plain name fragment
6501
+ * that is not tied to any particular structural location. This allows a
6502
+ * subschema to be relocated without requiring JSON Pointer references to
6503
+ * be updated.
6504
+ *
6505
+ * The `$anchor` keyword is used to specify such a fragment. It is an
6506
+ * identifier keyword that can only be used to create plain name fragments.
6507
+ *
6508
+ * If present, the value of this keyword MUST be a string, which MUST start
6509
+ * with a letter `[A-Za-z]`, followed by any number of letters, digits
6510
+ * `[0-9]`, hyphens `-`, underscores `_`, colons `:`,
6511
+ * or periods `.`.
6512
+ *
6513
+ * Note that the anchor string does not include the `#` character,
6514
+ * as it is not a URI-reference. An `{"$anchor": "foo"}` becomes the
6515
+ * fragment `#foo` when used in a URI.
6516
+ *
6517
+ * The base URI to which the resulting fragment is appended is determined
6518
+ * by the `$id` keyword as explained in the previous section.
6519
+ * Two `$anchor` keywords in the same schema document MAY have the same
6520
+ * value if they apply to different base URIs, as the resulting full URIs
6521
+ * will be distinct. However, the effect of two `$anchor` keywords
6522
+ * with the same value and the same base URI is undefined. Implementations
6523
+ * MAY raise an error if such usage is detected.
6100
6524
  */
6101
6525
  $anchor?: string;
6102
- /**
6103
- * This keyword reserves a location for comments from schema authors to
6104
- * readers or maintainers of the schema.
6105
- *
6106
- * The value of this keyword MUST be a string. Implementations MUST NOT
6107
- * present this string to end users. Tools for editing schemas SHOULD
6108
- * support displaying and editing this keyword. The value of this keyword
6109
- * MAY be used in debug or error output which is intended for developers
6110
- * making use of schemas.
6111
- *
6112
- * Schema vocabularies SHOULD allow `$comment` within any object
6113
- * containing vocabulary keywords. Implementations MAY assume `$comment`
6114
- * is allowed unless the vocabulary specifically forbids it. Vocabularies
6115
- * MUST NOT specify any effect of `$comment` beyond what is described in
6116
- * this specification.
6117
- *
6118
- * Tools that translate other media types or programming languages
6119
- * to and from `application/schema+json` MAY choose to convert that media
6120
- * type or programming language's native comments to or from `$comment`
6121
- * values. The behavior of such translation when both native comments and
6122
- * `$comment` properties are present is implementation-dependent.
6123
- *
6124
- * Implementations MAY strip `$comment` values at any point during
6125
- * processing. In particular, this allows for shortening schemas when the
6126
- * size of deployed schemas is a concern.
6127
- *
6128
- * Implementations MUST NOT take any other action based on the presence,
6129
- * absence, or contents of `$comment` properties. In particular, the
6130
- * value of `$comment` MUST NOT be collected as an annotation result.
6526
+ /**
6527
+ * This keyword reserves a location for comments from schema authors to
6528
+ * readers or maintainers of the schema.
6529
+ *
6530
+ * The value of this keyword MUST be a string. Implementations MUST NOT
6531
+ * present this string to end users. Tools for editing schemas SHOULD
6532
+ * support displaying and editing this keyword. The value of this keyword
6533
+ * MAY be used in debug or error output which is intended for developers
6534
+ * making use of schemas.
6535
+ *
6536
+ * Schema vocabularies SHOULD allow `$comment` within any object
6537
+ * containing vocabulary keywords. Implementations MAY assume `$comment`
6538
+ * is allowed unless the vocabulary specifically forbids it. Vocabularies
6539
+ * MUST NOT specify any effect of `$comment` beyond what is described in
6540
+ * this specification.
6541
+ *
6542
+ * Tools that translate other media types or programming languages
6543
+ * to and from `application/schema+json` MAY choose to convert that media
6544
+ * type or programming language's native comments to or from `$comment`
6545
+ * values. The behavior of such translation when both native comments and
6546
+ * `$comment` properties are present is implementation-dependent.
6547
+ *
6548
+ * Implementations MAY strip `$comment` values at any point during
6549
+ * processing. In particular, this allows for shortening schemas when the
6550
+ * size of deployed schemas is a concern.
6551
+ *
6552
+ * Implementations MUST NOT take any other action based on the presence,
6553
+ * absence, or contents of `$comment` properties. In particular, the
6554
+ * value of `$comment` MUST NOT be collected as an annotation result.
6131
6555
  */
6132
6556
  $comment?: string;
6133
- /**
6134
- * The `$defs` keyword reserves a location for schema authors to inline
6135
- * re-usable JSON Schemas into a more general schema. The keyword does not
6136
- * directly affect the validation result.
6137
- *
6138
- * This keyword's value MUST be an object. Each member value of this object
6139
- * MUST be a valid JSON Schema.
6557
+ /**
6558
+ * The `$defs` keyword reserves a location for schema authors to inline
6559
+ * re-usable JSON Schemas into a more general schema. The keyword does not
6560
+ * directly affect the validation result.
6561
+ *
6562
+ * This keyword's value MUST be an object. Each member value of this object
6563
+ * MUST be a valid JSON Schema.
6140
6564
  */
6141
6565
  $defs?: Record<string, JSONSchema>;
6142
- /**
6143
- * "The `$dynamicAnchor` indicates that the fragment is an extension
6144
- * point when used with the `$dynamicRef` keyword. This low-level,
6145
- * advanced feature makes it easier to extend recursive schemas such as the
6146
- * meta-schemas, without imposing any particular semantics on that
6147
- * extension. See `$dynamicRef` for more details.
6566
+ /**
6567
+ * "The `$dynamicAnchor` indicates that the fragment is an extension
6568
+ * point when used with the `$dynamicRef` keyword. This low-level,
6569
+ * advanced feature makes it easier to extend recursive schemas such as the
6570
+ * meta-schemas, without imposing any particular semantics on that
6571
+ * extension. See `$dynamicRef` for more details.
6148
6572
  */
6149
6573
  $dynamicAnchor?: string;
6150
- /**
6151
- * The `$dynamicRef` keyword is an applicator that allows for deferring
6152
- * the full resolution until runtime, at which point it is resolved each
6153
- * time it is encountered while evaluating an instance.
6154
- *
6155
- * Together with `$dynamicAnchor`, `$dynamicRef` implements a
6156
- * cooperative extension mechanism that is primarily useful with recursive
6157
- * schemas (schemas that reference themselves). Both the extension point
6158
- * and the runtime-determined extension target are defined with
6159
- * `$dynamicAnchor`, and only exhibit runtime dynamic behavior when
6160
- * referenced with `$dynamicRef`.
6161
- *
6162
- * The value of the `$dynamicRef` property MUST be a string which is
6163
- * a URI-Reference. Resolved against the current URI base, it produces
6164
- * the URI used as the starting point for runtime resolution. This initial
6165
- * resolution is safe to perform on schema load.
6166
- *
6167
- * If the initially resolved starting point URI includes a fragment that
6168
- * was created by the `$dynamicAnchor` keyword, the initial URI MUST be
6169
- * replaced by the URI (including the fragment) for the outermost schema
6170
- * resource in the [dynamic scope][scopes] that defines
6171
- * an identically named fragment with `$dynamicAnchor`.
6172
- *
6173
- * Otherwise, its behavior is identical to `$ref`, and no runtime
6174
- * resolution is needed.
6175
- *
6176
- * [scopes]: https://json-schema.org/draft/2020-12/json-schema-core.html#scopes
6177
- *
6178
- * @format "uri-reference"
6574
+ /**
6575
+ * The `$dynamicRef` keyword is an applicator that allows for deferring
6576
+ * the full resolution until runtime, at which point it is resolved each
6577
+ * time it is encountered while evaluating an instance.
6578
+ *
6579
+ * Together with `$dynamicAnchor`, `$dynamicRef` implements a
6580
+ * cooperative extension mechanism that is primarily useful with recursive
6581
+ * schemas (schemas that reference themselves). Both the extension point
6582
+ * and the runtime-determined extension target are defined with
6583
+ * `$dynamicAnchor`, and only exhibit runtime dynamic behavior when
6584
+ * referenced with `$dynamicRef`.
6585
+ *
6586
+ * The value of the `$dynamicRef` property MUST be a string which is
6587
+ * a URI-Reference. Resolved against the current URI base, it produces
6588
+ * the URI used as the starting point for runtime resolution. This initial
6589
+ * resolution is safe to perform on schema load.
6590
+ *
6591
+ * If the initially resolved starting point URI includes a fragment that
6592
+ * was created by the `$dynamicAnchor` keyword, the initial URI MUST be
6593
+ * replaced by the URI (including the fragment) for the outermost schema
6594
+ * resource in the [dynamic scope][scopes] that defines
6595
+ * an identically named fragment with `$dynamicAnchor`.
6596
+ *
6597
+ * Otherwise, its behavior is identical to `$ref`, and no runtime
6598
+ * resolution is needed.
6599
+ *
6600
+ * [scopes]: https://json-schema.org/draft/2020-12/json-schema-core.html#scopes
6601
+ *
6602
+ * @format "uri-reference"
6179
6603
  */
6180
6604
  $dynamicRef?: string;
6181
- /**
6182
- * The `$id` keyword identifies a schema resource with its
6183
- * [canonical][[RFC6596]] URI.
6184
- *
6185
- * Note that this URI is an identifier and not necessarily a network
6186
- * locator. In the case of a network-addressable URL, a schema need not be
6187
- * downloadable from its canonical URI.
6188
- *
6189
- * If present, the value for this keyword MUST be a string, and MUST
6190
- * represent a valid [URI-reference][RFC3986]. This URI-reference SHOULD
6191
- * be normalized, and MUST resolve to an [absolute-URI][RFC3986] (without a
6192
- * fragment). Therefore, `$id` MUST NOT contain a non-empty fragment,
6193
- * and SHOULD NOT contain an empty fragment.
6194
- *
6195
- * Since an empty fragment in the context of the
6196
- * `application/schema+json` media type refers to the same resource as
6197
- * the base URI without a fragment, an implementation MAY normalize a URI
6198
- * ending with an empty fragment by removing the fragment. However, schema
6199
- * authors SHOULD NOT rely on this behavior across implementations.
6200
- *
6201
- * This URI also serves as the base URI for relative URI-references in
6202
- * keywords within the schema resource, in accordance with
6203
- * [RFC 3986][RFC3986] section 5.1.1 regarding base URIs embedded in
6204
- * content.
6205
- *
6206
- * The presence of `$id` in a subschema indicates that the subschema
6207
- * constitutes a distinct schema resource within a single schema document.
6208
- * Furthermore, in accordance with [RFC 3986][RFC3986] section 5.1.2
6209
- * regarding encapsulating entities, if an `$id` in a subschema is a
6210
- * relative URI-reference, the base URI for resolving that reference is the
6211
- * URI of the parent schema resource.
6212
- *
6213
- * If no parent schema object explicitly identifies itself as a resource
6214
- * with `$id`, the base URI is that of the entire document.
6215
- *
6216
- * The root schema of a JSON Schema document SHOULD contain an `$id`
6217
- * keyword with an [absolute-URI][RFC3986] (containing a scheme, but no
6218
- * fragment).
6219
- *
6220
- * [RFC6596]: https://datatracker.ietf.org/doc/html/rfc6596
6221
- * [RFC3986]: https://datatracker.ietf.org/doc/html/rfc3986
6222
- *
6223
- * @format "uri-reference"
6605
+ /**
6606
+ * The `$id` keyword identifies a schema resource with its
6607
+ * [canonical][[RFC6596]] URI.
6608
+ *
6609
+ * Note that this URI is an identifier and not necessarily a network
6610
+ * locator. In the case of a network-addressable URL, a schema need not be
6611
+ * downloadable from its canonical URI.
6612
+ *
6613
+ * If present, the value for this keyword MUST be a string, and MUST
6614
+ * represent a valid [URI-reference][RFC3986]. This URI-reference SHOULD
6615
+ * be normalized, and MUST resolve to an [absolute-URI][RFC3986] (without a
6616
+ * fragment). Therefore, `$id` MUST NOT contain a non-empty fragment,
6617
+ * and SHOULD NOT contain an empty fragment.
6618
+ *
6619
+ * Since an empty fragment in the context of the
6620
+ * `application/schema+json` media type refers to the same resource as
6621
+ * the base URI without a fragment, an implementation MAY normalize a URI
6622
+ * ending with an empty fragment by removing the fragment. However, schema
6623
+ * authors SHOULD NOT rely on this behavior across implementations.
6624
+ *
6625
+ * This URI also serves as the base URI for relative URI-references in
6626
+ * keywords within the schema resource, in accordance with
6627
+ * [RFC 3986][RFC3986] section 5.1.1 regarding base URIs embedded in
6628
+ * content.
6629
+ *
6630
+ * The presence of `$id` in a subschema indicates that the subschema
6631
+ * constitutes a distinct schema resource within a single schema document.
6632
+ * Furthermore, in accordance with [RFC 3986][RFC3986] section 5.1.2
6633
+ * regarding encapsulating entities, if an `$id` in a subschema is a
6634
+ * relative URI-reference, the base URI for resolving that reference is the
6635
+ * URI of the parent schema resource.
6636
+ *
6637
+ * If no parent schema object explicitly identifies itself as a resource
6638
+ * with `$id`, the base URI is that of the entire document.
6639
+ *
6640
+ * The root schema of a JSON Schema document SHOULD contain an `$id`
6641
+ * keyword with an [absolute-URI][RFC3986] (containing a scheme, but no
6642
+ * fragment).
6643
+ *
6644
+ * [RFC6596]: https://datatracker.ietf.org/doc/html/rfc6596
6645
+ * [RFC3986]: https://datatracker.ietf.org/doc/html/rfc3986
6646
+ *
6647
+ * @format "uri-reference"
6224
6648
  */
6225
6649
  $id?: string;
6226
- /**
6227
- * The `$ref` keyword is an applicator that is used to reference a
6228
- * statically identified schema. Its results are the results of the
6229
- * referenced schema. Other keywords can appear alongside of `$ref` in
6230
- * the same schema object.
6231
- *
6232
- * The value of the `$ref` property MUST be a string which is a
6233
- * URI-Reference. Resolved against the current URI base, it produces the
6234
- * URI of the schema to apply.
6235
- *
6236
- * @format "uri-reference"
6650
+ /**
6651
+ * The `$ref` keyword is an applicator that is used to reference a
6652
+ * statically identified schema. Its results are the results of the
6653
+ * referenced schema. Other keywords can appear alongside of `$ref` in
6654
+ * the same schema object.
6655
+ *
6656
+ * The value of the `$ref` property MUST be a string which is a
6657
+ * URI-Reference. Resolved against the current URI base, it produces the
6658
+ * URI of the schema to apply.
6659
+ *
6660
+ * @format "uri-reference"
6237
6661
  */
6238
6662
  $ref?: string;
6239
- /**
6240
- * The `$schema` keyword is both used as a JSON Schema dialect identifier
6241
- * and as the identifier of a resource which is itself a JSON Schema, which
6242
- * describes the set of valid schemas written for this particular dialect.
6243
- *
6244
- * The value of this keyword MUST be a [URI][RFC3986] (containing a scheme)
6245
- * and this URI MUST be normalized. The current schema MUST be valid
6246
- * against the meta-schema identified by this URI.
6247
- *
6248
- * If this URI identifies a retrievable resource, that resource SHOULD be
6249
- * of media type `application/schema+json`.
6250
- *
6251
- * The `$schema` keyword SHOULD be used in the document root schema
6252
- * object, and MAY be used in the root schema objects of embedded schema
6253
- * resources. It MUST NOT appear in non-resource root schema objects. If
6254
- * absent from the document root schema, the resulting behavior is
6255
- * implementation-defined.
6256
- *
6257
- * Values for this property are defined elsewhere in this and other
6258
- * documents, and by other parties.
6259
- *
6260
- * [RFC3986]: https://datatracker.ietf.org/doc/html/rfc3986
6261
- *
6262
- * @format "uri"
6663
+ /**
6664
+ * The `$schema` keyword is both used as a JSON Schema dialect identifier
6665
+ * and as the identifier of a resource which is itself a JSON Schema, which
6666
+ * describes the set of valid schemas written for this particular dialect.
6667
+ *
6668
+ * The value of this keyword MUST be a [URI][RFC3986] (containing a scheme)
6669
+ * and this URI MUST be normalized. The current schema MUST be valid
6670
+ * against the meta-schema identified by this URI.
6671
+ *
6672
+ * If this URI identifies a retrievable resource, that resource SHOULD be
6673
+ * of media type `application/schema+json`.
6674
+ *
6675
+ * The `$schema` keyword SHOULD be used in the document root schema
6676
+ * object, and MAY be used in the root schema objects of embedded schema
6677
+ * resources. It MUST NOT appear in non-resource root schema objects. If
6678
+ * absent from the document root schema, the resulting behavior is
6679
+ * implementation-defined.
6680
+ *
6681
+ * Values for this property are defined elsewhere in this and other
6682
+ * documents, and by other parties.
6683
+ *
6684
+ * [RFC3986]: https://datatracker.ietf.org/doc/html/rfc3986
6685
+ *
6686
+ * @format "uri"
6263
6687
  */
6264
6688
  $schema?: string;
6265
- /**
6266
- * The `$vocabulary` keyword is used in meta-schemas to identify the
6267
- * vocabularies available for use in schemas described by that meta-schema.
6268
- * It is also used to indicate whether each vocabulary is required or
6269
- * optional, in the sense that an implementation MUST understand the
6270
- * required vocabularies in order to successfully process the schema.
6271
- * Together, this information forms a dialect. Any vocabulary that is
6272
- * understood by the implementation MUST be processed in a manner
6273
- * consistent with the semantic definitions contained within the
6274
- * vocabulary.
6275
- *
6276
- * The value of this keyword MUST be an object. The property names in the
6277
- * object MUST be URIs (containing a scheme) and this URI MUST be
6278
- * normalized. Each URI that appears as a property name identifies a
6279
- * specific set of keywords and their semantics.
6280
- *
6281
- * The URI MAY be a URL, but the nature of the retrievable resource is
6282
- * currently undefined, and reserved for future use. Vocabulary authors
6283
- * MAY use the URL of the vocabulary specification, in a human-readable
6284
- * media type such as `text/html` or `text/plain`, as the vocabulary
6285
- * URI.
6286
- *
6287
- * The values of the object properties MUST be booleans. If the value is
6288
- * `true`, then implementations that do not recognize the vocabulary MUST
6289
- * refuse to process any schemas that declare this meta-schema with
6290
- * `$schema`. If the value is `false`, implementations that do not
6291
- * recognize the vocabulary SHOULD proceed with processing such schemas.
6292
- * The value has no impact if the implementation understands the
6293
- * vocabulary.
6294
- *
6295
- * Unrecognized keywords SHOULD be ignored. This remains the case for
6296
- * keywords defined by unrecognized vocabularies. It is not currently
6297
- * possible to distinguish between unrecognized keywords that are defined
6298
- * in vocabularies from those that are not part of any vocabulary.
6299
- *
6300
- * The `$vocabulary` keyword SHOULD be used in the root schema of any
6301
- * schema document intended for use as a meta-schema. It MUST NOT appear
6302
- * in subschemas.
6303
- *
6304
- * The `$vocabulary` keyword MUST be ignored in schema documents that are
6305
- * not being processed as a meta-schema.
6689
+ /**
6690
+ * The `$vocabulary` keyword is used in meta-schemas to identify the
6691
+ * vocabularies available for use in schemas described by that meta-schema.
6692
+ * It is also used to indicate whether each vocabulary is required or
6693
+ * optional, in the sense that an implementation MUST understand the
6694
+ * required vocabularies in order to successfully process the schema.
6695
+ * Together, this information forms a dialect. Any vocabulary that is
6696
+ * understood by the implementation MUST be processed in a manner
6697
+ * consistent with the semantic definitions contained within the
6698
+ * vocabulary.
6699
+ *
6700
+ * The value of this keyword MUST be an object. The property names in the
6701
+ * object MUST be URIs (containing a scheme) and this URI MUST be
6702
+ * normalized. Each URI that appears as a property name identifies a
6703
+ * specific set of keywords and their semantics.
6704
+ *
6705
+ * The URI MAY be a URL, but the nature of the retrievable resource is
6706
+ * currently undefined, and reserved for future use. Vocabulary authors
6707
+ * MAY use the URL of the vocabulary specification, in a human-readable
6708
+ * media type such as `text/html` or `text/plain`, as the vocabulary
6709
+ * URI.
6710
+ *
6711
+ * The values of the object properties MUST be booleans. If the value is
6712
+ * `true`, then implementations that do not recognize the vocabulary MUST
6713
+ * refuse to process any schemas that declare this meta-schema with
6714
+ * `$schema`. If the value is `false`, implementations that do not
6715
+ * recognize the vocabulary SHOULD proceed with processing such schemas.
6716
+ * The value has no impact if the implementation understands the
6717
+ * vocabulary.
6718
+ *
6719
+ * Unrecognized keywords SHOULD be ignored. This remains the case for
6720
+ * keywords defined by unrecognized vocabularies. It is not currently
6721
+ * possible to distinguish between unrecognized keywords that are defined
6722
+ * in vocabularies from those that are not part of any vocabulary.
6723
+ *
6724
+ * The `$vocabulary` keyword SHOULD be used in the root schema of any
6725
+ * schema document intended for use as a meta-schema. It MUST NOT appear
6726
+ * in subschemas.
6727
+ *
6728
+ * The `$vocabulary` keyword MUST be ignored in schema documents that are
6729
+ * not being processed as a meta-schema.
6306
6730
  */
6307
6731
  $vocabulary?: Record<string, string>;
6308
- /**
6309
- * @deprecated `additionalItems` has been deprecated in favor of `prefixItems`
6310
- * paired with `items`.
6732
+ /**
6733
+ * @deprecated `additionalItems` has been deprecated in favor of `prefixItems`
6734
+ * paired with `items`.
6311
6735
  */
6312
6736
  additionalItems?: JSONSchema;
6313
- /**
6314
- * The value of `additionalProperties` MUST be a valid JSON Schema.
6315
- *
6316
- * The behavior of this keyword depends on the presence and annotation
6317
- * results of `properties` and `patternProperties` within the same
6318
- * schema object. Validation with `additionalProperties` applies only to
6319
- * the child values of instance names that do not appear in the annotation
6320
- * results of either `properties` or `patternProperties`.
6321
- *
6322
- * For all such properties, validation succeeds if the child instance
6323
- * validates against the `additionalProperties` schema.
6324
- *
6325
- * The annotation result of this keyword is the set of instance property
6326
- * names validated by this keyword's subschema. Annotation results for
6327
- * `additionalProperties` keywords from multiple schemas applied to the
6328
- * same instance location are combined by taking the union of the sets.
6329
- *
6330
- * Omitting this keyword has the same assertion behavior as an empty
6331
- * schema.
6332
- *
6333
- * Implementations MAY choose to implement or optimize this keyword in
6334
- * another way that produces the same effect, such as by directly checking
6335
- * the names in `properties` and the patterns in `patternProperties`
6336
- * against the instance property set.
6737
+ /**
6738
+ * The value of `additionalProperties` MUST be a valid JSON Schema.
6739
+ *
6740
+ * The behavior of this keyword depends on the presence and annotation
6741
+ * results of `properties` and `patternProperties` within the same
6742
+ * schema object. Validation with `additionalProperties` applies only to
6743
+ * the child values of instance names that do not appear in the annotation
6744
+ * results of either `properties` or `patternProperties`.
6745
+ *
6746
+ * For all such properties, validation succeeds if the child instance
6747
+ * validates against the `additionalProperties` schema.
6748
+ *
6749
+ * The annotation result of this keyword is the set of instance property
6750
+ * names validated by this keyword's subschema. Annotation results for
6751
+ * `additionalProperties` keywords from multiple schemas applied to the
6752
+ * same instance location are combined by taking the union of the sets.
6753
+ *
6754
+ * Omitting this keyword has the same assertion behavior as an empty
6755
+ * schema.
6756
+ *
6757
+ * Implementations MAY choose to implement or optimize this keyword in
6758
+ * another way that produces the same effect, such as by directly checking
6759
+ * the names in `properties` and the patterns in `patternProperties`
6760
+ * against the instance property set.
6337
6761
  */
6338
6762
  additionalProperties?: JSONSchema;
6339
- /**
6340
- * This keyword's value MUST be a non-empty array. Each item of the array
6341
- * MUST be a valid JSON Schema.
6342
- *
6343
- * An instance validates successfully against this keyword if it validates
6344
- * successfully against all schemas defined by this keyword's value.
6763
+ /**
6764
+ * This keyword's value MUST be a non-empty array. Each item of the array
6765
+ * MUST be a valid JSON Schema.
6766
+ *
6767
+ * An instance validates successfully against this keyword if it validates
6768
+ * successfully against all schemas defined by this keyword's value.
6345
6769
  */
6346
6770
  allOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>>;
6347
- /**
6348
- * This keyword's value MUST be a non-empty array. Each item of the array
6349
- * MUST be a valid JSON Schema.
6350
- *
6351
- * An instance validates successfully against this keyword if it validates
6352
- * successfully against at least one schema defined by this keyword's
6353
- * value.
6771
+ /**
6772
+ * This keyword's value MUST be a non-empty array. Each item of the array
6773
+ * MUST be a valid JSON Schema.
6774
+ *
6775
+ * An instance validates successfully against this keyword if it validates
6776
+ * successfully against at least one schema defined by this keyword's
6777
+ * value.
6354
6778
  */
6355
6779
  anyOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>>;
6356
- /**
6357
- * An instance validates successfully against this keyword if its value is
6358
- * equal to the value of the keyword.
6359
- *
6360
- * Use of this keyword is functionally equivalent to the `enum` keyword
6361
- * with a single value.
6780
+ /**
6781
+ * An instance validates successfully against this keyword if its value is
6782
+ * equal to the value of the keyword.
6783
+ *
6784
+ * Use of this keyword is functionally equivalent to the `enum` keyword
6785
+ * with a single value.
6362
6786
  */
6363
6787
  const?: Value;
6364
- /**
6365
- * The value of this keyword MUST be a valid JSON Schema.
6366
- *
6367
- * An array instance is valid against `contains` if at least one of its
6368
- * elements is valid against the given schema. The subschema MUST be
6369
- * applied to every array element even after the first match has been
6370
- * found, in order to collect annotations for use by other keywords.
6371
- * This is to ensure that all possible annotations are collected.
6372
- *
6373
- * Logically, the validation result of applying the value subschema to each
6374
- * item in the array MUST be OR'ed with `false`, resulting in an overall
6375
- * validation result.
6376
- *
6377
- * This keyword produces an annotation value which is an array of the
6378
- * indexes to which this keyword validates successfully when applying its
6379
- * subschema, in ascending order. The value MAY be a boolean `true` if
6380
- * the subschema validates successfully when applied to every index of the
6381
- * instance. The annotation MUST be present if the instance array to which
6382
- * this keyword's schema applies is empty.
6788
+ /**
6789
+ * The value of this keyword MUST be a valid JSON Schema.
6790
+ *
6791
+ * An array instance is valid against `contains` if at least one of its
6792
+ * elements is valid against the given schema. The subschema MUST be
6793
+ * applied to every array element even after the first match has been
6794
+ * found, in order to collect annotations for use by other keywords.
6795
+ * This is to ensure that all possible annotations are collected.
6796
+ *
6797
+ * Logically, the validation result of applying the value subschema to each
6798
+ * item in the array MUST be OR'ed with `false`, resulting in an overall
6799
+ * validation result.
6800
+ *
6801
+ * This keyword produces an annotation value which is an array of the
6802
+ * indexes to which this keyword validates successfully when applying its
6803
+ * subschema, in ascending order. The value MAY be a boolean `true` if
6804
+ * the subschema validates successfully when applied to every index of the
6805
+ * instance. The annotation MUST be present if the instance array to which
6806
+ * this keyword's schema applies is empty.
6383
6807
  */
6384
6808
  contains?: JSONSchema<Value, SchemaType>;
6385
- /**
6386
- * If the instance value is a string, this property defines that the
6387
- * string SHOULD be interpreted as binary data and decoded using the
6388
- * encoding named by this property. [RFC 2045, Sec 6.1][RFC2045] lists the
6389
- * possible values for this property.
6390
- *
6391
- * The value of this property SHOULD be ignored if the instance described
6392
- * is not a string.
6393
- *
6394
- * If this keyword is absent, but `contentMediaType` is present, this
6395
- * indicates that the media type could be encoded into `UTF-8` like any
6396
- * other JSON string value, and does not require additional decoding.
6397
- *
6398
- * The value of this property MUST be a string.
6399
- *
6400
- * [RFC2045]: https://datatracker.ietf.org/doc/html/rfc2045#section-6.1
6809
+ /**
6810
+ * If the instance value is a string, this property defines that the
6811
+ * string SHOULD be interpreted as binary data and decoded using the
6812
+ * encoding named by this property. [RFC 2045, Sec 6.1][RFC2045] lists the
6813
+ * possible values for this property.
6814
+ *
6815
+ * The value of this property SHOULD be ignored if the instance described
6816
+ * is not a string.
6817
+ *
6818
+ * If this keyword is absent, but `contentMediaType` is present, this
6819
+ * indicates that the media type could be encoded into `UTF-8` like any
6820
+ * other JSON string value, and does not require additional decoding.
6821
+ *
6822
+ * The value of this property MUST be a string.
6823
+ *
6824
+ * [RFC2045]: https://datatracker.ietf.org/doc/html/rfc2045#section-6.1
6401
6825
  */
6402
6826
  contentEncoding?: "7bit" | "8bit" | "base64" | "binary" | "ietf-token" | "quoted-printable" | "x-token";
6403
- /**
6404
- * If the instance is a string, this property indicates the media type
6405
- * of the contents of the string. If `contentEncoding` is present,
6406
- * this property describes the decoded string.
6407
- *
6408
- * The value of this property must be a media type, as defined by
6409
- * [RFC 2046][RFC2046]. This property defines the media type of instances
6410
- * which this schema defines.
6411
- *
6412
- * The value of this property SHOULD be ignored if the instance described
6413
- * is not a string.
6414
- *
6415
- * If the `contentEncoding` property is not present, but the instance
6416
- * value is a string, then the value of this property SHOULD specify a text
6417
- * document type, and the character set SHOULD be the character set into
6418
- * which the JSON string value was decoded (for which the default is
6419
- * Unicode).
6420
- *
6421
- * [RFC2046]: https://datatracker.ietf.org/doc/html/rfc2046
6827
+ /**
6828
+ * If the instance is a string, this property indicates the media type
6829
+ * of the contents of the string. If `contentEncoding` is present,
6830
+ * this property describes the decoded string.
6831
+ *
6832
+ * The value of this property must be a media type, as defined by
6833
+ * [RFC 2046][RFC2046]. This property defines the media type of instances
6834
+ * which this schema defines.
6835
+ *
6836
+ * The value of this property SHOULD be ignored if the instance described
6837
+ * is not a string.
6838
+ *
6839
+ * If the `contentEncoding` property is not present, but the instance
6840
+ * value is a string, then the value of this property SHOULD specify a text
6841
+ * document type, and the character set SHOULD be the character set into
6842
+ * which the JSON string value was decoded (for which the default is
6843
+ * Unicode).
6844
+ *
6845
+ * [RFC2046]: https://datatracker.ietf.org/doc/html/rfc2046
6422
6846
  */
6423
6847
  contentMediaType?: string;
6424
- /**
6425
- * If the instance is a string, and if `contentMediaType` is present,
6426
- * this property contains a schema which describes the structure of the
6427
- * string.
6428
- *
6429
- * This keyword MAY be used with any media type that can be mapped into
6430
- * JSON Schema's data model.
6431
- *
6432
- * The value of this property MUST be a valid JSON schema. It SHOULD be
6433
- * ignored if `contentMediaType` is not present.
6848
+ /**
6849
+ * If the instance is a string, and if `contentMediaType` is present,
6850
+ * this property contains a schema which describes the structure of the
6851
+ * string.
6852
+ *
6853
+ * This keyword MAY be used with any media type that can be mapped into
6854
+ * JSON Schema's data model.
6855
+ *
6856
+ * The value of this property MUST be a valid JSON schema. It SHOULD be
6857
+ * ignored if `contentMediaType` is not present.
6434
6858
  */
6435
6859
  contentSchema?: JSONSchema<Value, SchemaType>;
6436
- /**
6437
- * This keyword can be used to supply a default JSON value associated with
6438
- * a particular schema. It is RECOMMENDED that a `default` value be valid
6439
- * against the associated schema.
6860
+ /**
6861
+ * This keyword can be used to supply a default JSON value associated with
6862
+ * a particular schema. It is RECOMMENDED that a `default` value be valid
6863
+ * against the associated schema.
6440
6864
  */
6441
6865
  default?: Value;
6442
- /**
6443
- * @deprecated `definitions` has been renamed to `$defs`.
6866
+ /**
6867
+ * @deprecated `definitions` has been renamed to `$defs`.
6444
6868
  */
6445
6869
  definitions?: Record<string, JSONSchema>;
6446
- /**
6447
- * @deprecated `dependencies` has been split into two keywords:
6448
- * `dependentSchemas` and `dependentRequired`.
6870
+ /**
6871
+ * @deprecated `dependencies` has been split into two keywords:
6872
+ * `dependentSchemas` and `dependentRequired`.
6449
6873
  */
6450
6874
  dependencies?: Record<string, MaybeReadonlyArray<string> | JSONSchema>;
6451
- /**
6452
- * The value of this keyword MUST be an object. Properties in
6453
- * this object, if any, MUST be arrays. Elements in each array,
6454
- * if any, MUST be strings, and MUST be unique.
6455
- *
6456
- * This keyword specifies properties that are required if a specific
6457
- * other property is present. Their requirement is dependent on the
6458
- * presence of the other property.
6459
- *
6460
- * Validation succeeds if, for each name that appears in both
6461
- * the instance and as a name within this keyword's value, every
6462
- * item in the corresponding array is also the name of a property
6463
- * in the instance.
6464
- *
6465
- * Omitting this keyword has the same behavior as an empty object.
6875
+ /**
6876
+ * The value of this keyword MUST be an object. Properties in
6877
+ * this object, if any, MUST be arrays. Elements in each array,
6878
+ * if any, MUST be strings, and MUST be unique.
6879
+ *
6880
+ * This keyword specifies properties that are required if a specific
6881
+ * other property is present. Their requirement is dependent on the
6882
+ * presence of the other property.
6883
+ *
6884
+ * Validation succeeds if, for each name that appears in both
6885
+ * the instance and as a name within this keyword's value, every
6886
+ * item in the corresponding array is also the name of a property
6887
+ * in the instance.
6888
+ *
6889
+ * Omitting this keyword has the same behavior as an empty object.
6466
6890
  */
6467
6891
  dependentRequired?: Record<string, MaybeReadonlyArray<string>>;
6468
- /**
6469
- * This keyword specifies subschemas that are evaluated if the instance is
6470
- * an object and contains a certain property.
6471
- *
6472
- * This keyword's value MUST be an object. Each value in the object MUST be
6473
- * a valid JSON Schema.
6474
- *
6475
- * If the object key is a property in the instance, the entire instance
6476
- * must validate against the subschema. Its use is dependent on the
6477
- * presence of the property.
6478
- *
6479
- * Omitting this keyword has the same behavior as an empty object.
6892
+ /**
6893
+ * This keyword specifies subschemas that are evaluated if the instance is
6894
+ * an object and contains a certain property.
6895
+ *
6896
+ * This keyword's value MUST be an object. Each value in the object MUST be
6897
+ * a valid JSON Schema.
6898
+ *
6899
+ * If the object key is a property in the instance, the entire instance
6900
+ * must validate against the subschema. Its use is dependent on the
6901
+ * presence of the property.
6902
+ *
6903
+ * Omitting this keyword has the same behavior as an empty object.
6480
6904
  */
6481
6905
  dependentSchemas?: Record<string, JSONSchema>;
6482
- /**
6483
- * The value of this keyword MUST be a boolean. When multiple occurrences
6484
- * of this keyword are applicable to a single sub-instance, applications
6485
- * SHOULD consider the instance location to be deprecated if any occurrence
6486
- * specifies a `true` value.
6487
- *
6488
- * If `deprecated` has a value of boolean `true`, it indicates that
6489
- * applications SHOULD refrain from usage of the declared property. It MAY
6490
- * mean the property is going to be removed in the future.
6491
- *
6492
- * A root schema containing `deprecated` with a value of `true`
6493
- * indicates that the entire resource being described MAY be removed in the
6494
- * future.
6495
- *
6496
- * The `deprecated` keyword applies to each instance location to which
6497
- * the schema object containing the keyword successfully applies. This can
6498
- * result in scenarios where every array item or object property is
6499
- * deprecated even though the containing array or object is not.
6500
- *
6501
- * Omitting this keyword has the same behavior as a value of `false`.
6906
+ /**
6907
+ * The value of this keyword MUST be a boolean. When multiple occurrences
6908
+ * of this keyword are applicable to a single sub-instance, applications
6909
+ * SHOULD consider the instance location to be deprecated if any occurrence
6910
+ * specifies a `true` value.
6911
+ *
6912
+ * If `deprecated` has a value of boolean `true`, it indicates that
6913
+ * applications SHOULD refrain from usage of the declared property. It MAY
6914
+ * mean the property is going to be removed in the future.
6915
+ *
6916
+ * A root schema containing `deprecated` with a value of `true`
6917
+ * indicates that the entire resource being described MAY be removed in the
6918
+ * future.
6919
+ *
6920
+ * The `deprecated` keyword applies to each instance location to which
6921
+ * the schema object containing the keyword successfully applies. This can
6922
+ * result in scenarios where every array item or object property is
6923
+ * deprecated even though the containing array or object is not.
6924
+ *
6925
+ * Omitting this keyword has the same behavior as a value of `false`.
6502
6926
  */
6503
6927
  deprecated?: boolean;
6504
- /**
6505
- * Can be used to decorate a user interface with explanation or information
6506
- * about the data produced.
6928
+ /**
6929
+ * Can be used to decorate a user interface with explanation or information
6930
+ * about the data produced.
6507
6931
  */
6508
6932
  description?: string;
6509
- /**
6510
- * This keyword's value MUST be a valid JSON Schema.
6511
- *
6512
- * When `if` is present, and the instance fails to validate against its
6513
- * subschema, then validation succeeds against this keyword if the instance
6514
- * successfully validates against this keyword's subschema.
6515
- *
6516
- * This keyword has no effect when `if` is absent, or when the instance
6517
- * successfully validates against its subschema. Implementations MUST NOT
6518
- * evaluate the instance against this keyword, for either validation or
6519
- * annotation collection purposes, in such cases.
6933
+ /**
6934
+ * This keyword's value MUST be a valid JSON Schema.
6935
+ *
6936
+ * When `if` is present, and the instance fails to validate against its
6937
+ * subschema, then validation succeeds against this keyword if the instance
6938
+ * successfully validates against this keyword's subschema.
6939
+ *
6940
+ * This keyword has no effect when `if` is absent, or when the instance
6941
+ * successfully validates against its subschema. Implementations MUST NOT
6942
+ * evaluate the instance against this keyword, for either validation or
6943
+ * annotation collection purposes, in such cases.
6520
6944
  */
6521
6945
  else?: JSONSchema<Value, SchemaType>;
6522
- /**
6523
- * The value of this keyword MUST be an array. This array SHOULD have at
6524
- * least one element. Elements in the array SHOULD be unique.
6525
- *
6526
- * An instance validates successfully against this keyword if its value is
6527
- * equal to one of the elements in this keyword's array value.
6528
- *
6529
- * Elements in the array might be of any type, including `null`.
6946
+ /**
6947
+ * The value of this keyword MUST be an array. This array SHOULD have at
6948
+ * least one element. Elements in the array SHOULD be unique.
6949
+ *
6950
+ * An instance validates successfully against this keyword if its value is
6951
+ * equal to one of the elements in this keyword's array value.
6952
+ *
6953
+ * Elements in the array might be of any type, including `null`.
6530
6954
  */
6531
6955
  enum?: MaybeReadonlyArray<Value>;
6532
- /**
6533
- * The value of this keyword MUST be an array. When multiple occurrences of
6534
- * this keyword are applicable to a single sub-instance, implementations
6535
- * MUST provide a flat array of all values rather than an array of arrays.
6536
- *
6537
- * This keyword can be used to provide sample JSON values associated with a
6538
- * particular schema, for the purpose of illustrating usage. It is
6539
- * RECOMMENDED that these values be valid against the associated schema.
6540
- *
6541
- * Implementations MAY use the value(s) of `default`, if present, as an
6542
- * additional example. If `examples` is absent, `default` MAY still be
6543
- * used in this manner.
6956
+ /**
6957
+ * The value of this keyword MUST be an array. When multiple occurrences of
6958
+ * this keyword are applicable to a single sub-instance, implementations
6959
+ * MUST provide a flat array of all values rather than an array of arrays.
6960
+ *
6961
+ * This keyword can be used to provide sample JSON values associated with a
6962
+ * particular schema, for the purpose of illustrating usage. It is
6963
+ * RECOMMENDED that these values be valid against the associated schema.
6964
+ *
6965
+ * Implementations MAY use the value(s) of `default`, if present, as an
6966
+ * additional example. If `examples` is absent, `default` MAY still be
6967
+ * used in this manner.
6544
6968
  */
6545
6969
  examples?: MaybeReadonlyArray<Value>;
6546
- /**
6547
- * The value of `exclusiveMaximum` MUST be a number, representing an
6548
- * exclusive upper limit for a numeric instance.
6549
- *
6550
- * If the instance is a number, then the instance is valid only if it has a
6551
- * value strictly less than (not equal to) `exclusiveMaximum`.
6970
+ /**
6971
+ * The value of `exclusiveMaximum` MUST be a number, representing an
6972
+ * exclusive upper limit for a numeric instance.
6973
+ *
6974
+ * If the instance is a number, then the instance is valid only if it has a
6975
+ * value strictly less than (not equal to) `exclusiveMaximum`.
6552
6976
  */
6553
6977
  exclusiveMaximum?: number;
6554
- /**
6555
- * The value of `exclusiveMinimum` MUST be a number, representing an
6556
- * exclusive lower limit for a numeric instance.
6557
- *
6558
- * If the instance is a number, then the instance is valid only if it has a
6559
- * value strictly greater than (not equal to) `exclusiveMinimum`.
6978
+ /**
6979
+ * The value of `exclusiveMinimum` MUST be a number, representing an
6980
+ * exclusive lower limit for a numeric instance.
6981
+ *
6982
+ * If the instance is a number, then the instance is valid only if it has a
6983
+ * value strictly greater than (not equal to) `exclusiveMinimum`.
6560
6984
  */
6561
6985
  exclusiveMinimum?: number;
6562
- /**
6563
- * Implementations MAY treat `format` as an assertion in addition to an
6564
- * annotation, and attempt to validate the value's conformance to the
6565
- * specified semantics.
6566
- *
6567
- * The value of this keyword is called a format attribute. It MUST be a
6568
- * string. A format attribute can generally only validate a given set
6569
- * of instance types. If the type of the instance to validate is not in
6570
- * this set, validation for this format attribute and instance SHOULD
6571
- * succeed. Format attributes are most often applied to strings, but can
6572
- * be specified to apply to any type.
6573
- *
6574
- * Implementations MAY support custom format attributes. Save for agreement
6575
- * between parties, schema authors SHALL NOT expect a peer implementation
6576
- * to support such custom format attributes. An implementation MUST NOT
6577
- * fail validation or cease processing due to an unknown format attribute.
6578
- * When treating `format` as an annotation, implementations SHOULD
6579
- * collect both known and unknown format attribute values.
6986
+ /**
6987
+ * Implementations MAY treat `format` as an assertion in addition to an
6988
+ * annotation, and attempt to validate the value's conformance to the
6989
+ * specified semantics.
6990
+ *
6991
+ * The value of this keyword is called a format attribute. It MUST be a
6992
+ * string. A format attribute can generally only validate a given set
6993
+ * of instance types. If the type of the instance to validate is not in
6994
+ * this set, validation for this format attribute and instance SHOULD
6995
+ * succeed. Format attributes are most often applied to strings, but can
6996
+ * be specified to apply to any type.
6997
+ *
6998
+ * Implementations MAY support custom format attributes. Save for agreement
6999
+ * between parties, schema authors SHALL NOT expect a peer implementation
7000
+ * to support such custom format attributes. An implementation MUST NOT
7001
+ * fail validation or cease processing due to an unknown format attribute.
7002
+ * When treating `format` as an annotation, implementations SHOULD
7003
+ * collect both known and unknown format attribute values.
6580
7004
  */
6581
7005
  format?: string;
6582
- /**
6583
- * This keyword's value MUST be a valid JSON Schema.
6584
- *
6585
- * This validation outcome of this keyword's subschema has no direct effect
6586
- * on the overall validation result. Rather, it controls which of the
6587
- * `then` or `else` keywords are evaluated.
6588
- *
6589
- * Instances that successfully validate against this keyword's subschema
6590
- * MUST also be valid against the subschema value of the `then` keyword,
6591
- * if present.
6592
- *
6593
- * Instances that fail to validate against this keyword's subschema MUST
6594
- * also be valid against the subschema value of the `else` keyword, if
6595
- * present.
6596
- *
6597
- * If annotations are being collected, they are collected
6598
- * from this keyword's subschema in the usual way, including when the
6599
- * keyword is present without either `then` or `else`.
7006
+ /**
7007
+ * This keyword's value MUST be a valid JSON Schema.
7008
+ *
7009
+ * This validation outcome of this keyword's subschema has no direct effect
7010
+ * on the overall validation result. Rather, it controls which of the
7011
+ * `then` or `else` keywords are evaluated.
7012
+ *
7013
+ * Instances that successfully validate against this keyword's subschema
7014
+ * MUST also be valid against the subschema value of the `then` keyword,
7015
+ * if present.
7016
+ *
7017
+ * Instances that fail to validate against this keyword's subschema MUST
7018
+ * also be valid against the subschema value of the `else` keyword, if
7019
+ * present.
7020
+ *
7021
+ * If annotations are being collected, they are collected
7022
+ * from this keyword's subschema in the usual way, including when the
7023
+ * keyword is present without either `then` or `else`.
6600
7024
  */
6601
7025
  if?: JSONSchema<Value, SchemaType>;
6602
- /**
6603
- * The value of `items` MUST be a valid JSON Schema.
6604
- *
6605
- * This keyword applies its subschema to all instance elements at indexes
6606
- * greater than the length of the `prefixItems` array in the same schema
6607
- * object, as reported by the annotation result of that `prefixItems`
6608
- * keyword. If no such annotation result exists, `items` applies its
6609
- * subschema to all instance array elements.
6610
- *
6611
- * Note that the behavior of `items` without `prefixItems` is identical
6612
- * to that of the schema form of `items` in prior drafts.
6613
- *
6614
- * When `prefixItems` is present, the behavior of `items` is identical
6615
- * to the former `additionalItems` keyword.
6616
- *
6617
- * If the `items` subschema is applied to any positions within the
6618
- * instance array, it produces an annotation result of boolean `true`,
6619
- * indicating that all remaining array elements have been evaluated against
6620
- * this keyword's subschema.
6621
- *
6622
- * Omitting this keyword has the same assertion behavior as an empty
6623
- * schema.
6624
- *
6625
- * Implementations MAY choose to implement or optimize this keyword
6626
- * in another way that produces the same effect, such as by directly
6627
- * checking for the presence and size of a `prefixItems` array.
7026
+ /**
7027
+ * The value of `items` MUST be a valid JSON Schema.
7028
+ *
7029
+ * This keyword applies its subschema to all instance elements at indexes
7030
+ * greater than the length of the `prefixItems` array in the same schema
7031
+ * object, as reported by the annotation result of that `prefixItems`
7032
+ * keyword. If no such annotation result exists, `items` applies its
7033
+ * subschema to all instance array elements.
7034
+ *
7035
+ * Note that the behavior of `items` without `prefixItems` is identical
7036
+ * to that of the schema form of `items` in prior drafts.
7037
+ *
7038
+ * When `prefixItems` is present, the behavior of `items` is identical
7039
+ * to the former `additionalItems` keyword.
7040
+ *
7041
+ * If the `items` subschema is applied to any positions within the
7042
+ * instance array, it produces an annotation result of boolean `true`,
7043
+ * indicating that all remaining array elements have been evaluated against
7044
+ * this keyword's subschema.
7045
+ *
7046
+ * Omitting this keyword has the same assertion behavior as an empty
7047
+ * schema.
7048
+ *
7049
+ * Implementations MAY choose to implement or optimize this keyword
7050
+ * in another way that produces the same effect, such as by directly
7051
+ * checking for the presence and size of a `prefixItems` array.
6628
7052
  */
6629
7053
  items?: JSONSchema;
6630
- /**
6631
- * The value of this keyword MUST be a non-negative integer.
6632
- *
6633
- * If `contains` is not present within the same schema object, then this
6634
- * keyword has no effect.
6635
- *
6636
- * An instance array is valid against `maxContains` in two ways,
6637
- * depending on the form of the annotation result of an adjacent
6638
- * `contains` keyword. The first way is if the annotation result is an
6639
- * array and the length of that array is less than or equal to the
6640
- * `maxContains` value. The second way is if the annotation result is a
6641
- * boolean `true` and the instance array length is less than or equal to
6642
- * the `maxContains` value.
7054
+ /**
7055
+ * The value of this keyword MUST be a non-negative integer.
7056
+ *
7057
+ * If `contains` is not present within the same schema object, then this
7058
+ * keyword has no effect.
7059
+ *
7060
+ * An instance array is valid against `maxContains` in two ways,
7061
+ * depending on the form of the annotation result of an adjacent
7062
+ * `contains` keyword. The first way is if the annotation result is an
7063
+ * array and the length of that array is less than or equal to the
7064
+ * `maxContains` value. The second way is if the annotation result is a
7065
+ * boolean `true` and the instance array length is less than or equal to
7066
+ * the `maxContains` value.
6643
7067
  */
6644
7068
  maxContains?: number;
6645
- /**
6646
- * The value of `maximum` MUST be a number, representing an inclusive
6647
- * upper limit for a numeric instance.
6648
- *
6649
- * If the instance is a number, then this keyword validates only if the
6650
- * instance is less than or exactly equal to `maximum`.
7069
+ /**
7070
+ * The value of `maximum` MUST be a number, representing an inclusive
7071
+ * upper limit for a numeric instance.
7072
+ *
7073
+ * If the instance is a number, then this keyword validates only if the
7074
+ * instance is less than or exactly equal to `maximum`.
6651
7075
  */
6652
7076
  maximum?: number;
6653
- /**
6654
- * The value of this keyword MUST be a non-negative integer.
6655
- *
6656
- * An array instance is valid against `maxItems` if its size is less
6657
- * than, or equal to, the value of this keyword.
6658
- *
6659
- * @minimum 0
7077
+ /**
7078
+ * The value of this keyword MUST be a non-negative integer.
7079
+ *
7080
+ * An array instance is valid against `maxItems` if its size is less
7081
+ * than, or equal to, the value of this keyword.
7082
+ *
7083
+ * @minimum 0
6660
7084
  */
6661
7085
  maxItems?: number;
6662
- /**
6663
- * The value of this keyword MUST be a non-negative integer.
6664
- *
6665
- * A string instance is valid against this keyword if its length is less
6666
- * than, or equal to, the value of this keyword.
6667
- *
6668
- * The length of a string instance is defined as the number of its
6669
- * characters as defined by [RFC 8259][RFC8259].
6670
- *
6671
- * [RFC8259]: https://datatracker.ietf.org/doc/html/rfc8259
6672
- *
6673
- * @minimum 0
7086
+ /**
7087
+ * The value of this keyword MUST be a non-negative integer.
7088
+ *
7089
+ * A string instance is valid against this keyword if its length is less
7090
+ * than, or equal to, the value of this keyword.
7091
+ *
7092
+ * The length of a string instance is defined as the number of its
7093
+ * characters as defined by [RFC 8259][RFC8259].
7094
+ *
7095
+ * [RFC8259]: https://datatracker.ietf.org/doc/html/rfc8259
7096
+ *
7097
+ * @minimum 0
6674
7098
  */
6675
7099
  maxLength?: number;
6676
- /**
6677
- * The value of this keyword MUST be a non-negative integer.
6678
- *
6679
- * An object instance is valid against `maxProperties` if its number of
6680
- * `properties` is less than, or equal to, the value of this keyword.
6681
- *
6682
- * @minimum 0
7100
+ /**
7101
+ * The value of this keyword MUST be a non-negative integer.
7102
+ *
7103
+ * An object instance is valid against `maxProperties` if its number of
7104
+ * `properties` is less than, or equal to, the value of this keyword.
7105
+ *
7106
+ * @minimum 0
6683
7107
  */
6684
7108
  maxProperties?: number;
6685
- /**
6686
- * The value of this keyword MUST be a non-negative integer.
6687
- *
6688
- * If `contains` is not present within the same schema object, then this
6689
- * keyword has no effect.
6690
- *
6691
- * An instance array is valid against `minContains` in two ways,
6692
- * depending on the form of the annotation result of an adjacent
6693
- * `contains` keyword. The first way is if the annotation result is an
6694
- * array and the length of that array is greater than or equal to the
6695
- * `minContains` value. The second way is if the annotation result is a
6696
- * boolean `true` and the instance array length is greater than or equal
6697
- * to the `minContains` value.
6698
- *
6699
- * A value of `0` is allowed, but is only useful for setting a range
6700
- * of occurrences from `0` to the value of `maxContains`. A value of
6701
- * `0` with no `maxContains` causes `contains` to always pass
6702
- * validation.
6703
- *
6704
- * Omitting this keyword has the same behavior as a value of `1`.
6705
- *
6706
- * @default 1
7109
+ /**
7110
+ * The value of this keyword MUST be a non-negative integer.
7111
+ *
7112
+ * If `contains` is not present within the same schema object, then this
7113
+ * keyword has no effect.
7114
+ *
7115
+ * An instance array is valid against `minContains` in two ways,
7116
+ * depending on the form of the annotation result of an adjacent
7117
+ * `contains` keyword. The first way is if the annotation result is an
7118
+ * array and the length of that array is greater than or equal to the
7119
+ * `minContains` value. The second way is if the annotation result is a
7120
+ * boolean `true` and the instance array length is greater than or equal
7121
+ * to the `minContains` value.
7122
+ *
7123
+ * A value of `0` is allowed, but is only useful for setting a range
7124
+ * of occurrences from `0` to the value of `maxContains`. A value of
7125
+ * `0` with no `maxContains` causes `contains` to always pass
7126
+ * validation.
7127
+ *
7128
+ * Omitting this keyword has the same behavior as a value of `1`.
7129
+ *
7130
+ * @default 1
6707
7131
  */
6708
7132
  minContains?: number;
6709
- /**
6710
- * The value of `minimum` MUST be a number, representing an inclusive
6711
- * lower limit for a numeric instance.
6712
- *
6713
- * If the instance is a number, then this keyword validates only if the
6714
- * instance is greater than or exactly equal to `minimum`.
7133
+ /**
7134
+ * The value of `minimum` MUST be a number, representing an inclusive
7135
+ * lower limit for a numeric instance.
7136
+ *
7137
+ * If the instance is a number, then this keyword validates only if the
7138
+ * instance is greater than or exactly equal to `minimum`.
6715
7139
  */
6716
7140
  minimum?: number;
6717
- /**
6718
- * The value of this keyword MUST be a non-negative integer.
6719
- *
6720
- * An array instance is valid against `minItems` if its size is greater
6721
- * than, or equal to, the value of this keyword.
6722
- *
6723
- * Omitting this keyword has the same behavior as a value of `0`.
6724
- *
6725
- * @default 0
6726
- * @minimum 0
7141
+ /**
7142
+ * The value of this keyword MUST be a non-negative integer.
7143
+ *
7144
+ * An array instance is valid against `minItems` if its size is greater
7145
+ * than, or equal to, the value of this keyword.
7146
+ *
7147
+ * Omitting this keyword has the same behavior as a value of `0`.
7148
+ *
7149
+ * @default 0
7150
+ * @minimum 0
6727
7151
  */
6728
7152
  minItems?: number;
6729
- /**
6730
- * The value of this keyword MUST be a non-negative integer.
6731
- *
6732
- * A string instance is valid against this keyword if its length is greater
6733
- * than, or equal to, the value of this keyword.
6734
- *
6735
- * The length of a string instance is defined as the number of its
6736
- * characters as defined by [RFC 8259][RFC8259].
6737
- *
6738
- * Omitting this keyword has the same behavior as a value of `0`.
6739
- *
6740
- * [RFC8259]: https://datatracker.ietf.org/doc/html/rfc8259
6741
- *
6742
- * @default 0
6743
- * @minimum 0
7153
+ /**
7154
+ * The value of this keyword MUST be a non-negative integer.
7155
+ *
7156
+ * A string instance is valid against this keyword if its length is greater
7157
+ * than, or equal to, the value of this keyword.
7158
+ *
7159
+ * The length of a string instance is defined as the number of its
7160
+ * characters as defined by [RFC 8259][RFC8259].
7161
+ *
7162
+ * Omitting this keyword has the same behavior as a value of `0`.
7163
+ *
7164
+ * [RFC8259]: https://datatracker.ietf.org/doc/html/rfc8259
7165
+ *
7166
+ * @default 0
7167
+ * @minimum 0
6744
7168
  */
6745
7169
  minLength?: number;
6746
- /**
6747
- * The value of this keyword MUST be a non-negative integer.
6748
- *
6749
- * An object instance is valid against `minProperties` if its number of
6750
- * `properties` is greater than, or equal to, the value of this keyword.
6751
- *
6752
- * Omitting this keyword has the same behavior as a value of `0`.
6753
- *
6754
- * @default 0
6755
- * @minimum 0
7170
+ /**
7171
+ * The value of this keyword MUST be a non-negative integer.
7172
+ *
7173
+ * An object instance is valid against `minProperties` if its number of
7174
+ * `properties` is greater than, or equal to, the value of this keyword.
7175
+ *
7176
+ * Omitting this keyword has the same behavior as a value of `0`.
7177
+ *
7178
+ * @default 0
7179
+ * @minimum 0
6756
7180
  */
6757
7181
  minProperties?: number;
6758
- /**
6759
- * The value of `multipleOf` MUST be a number, strictly greater than
6760
- * `0`.
6761
- *
6762
- * A numeric instance is valid only if division by this keyword's value
6763
- * results in an integer.
6764
- *
6765
- * @exclusiveMinimum 0
7182
+ /**
7183
+ * The value of `multipleOf` MUST be a number, strictly greater than
7184
+ * `0`.
7185
+ *
7186
+ * A numeric instance is valid only if division by this keyword's value
7187
+ * results in an integer.
7188
+ *
7189
+ * @exclusiveMinimum 0
6766
7190
  */
6767
7191
  multipleOf?: number;
6768
- /**
6769
- * This keyword's value MUST be a valid JSON Schema.
6770
- *
6771
- * An instance is valid against this keyword if it fails to validate
6772
- * successfully against the schema defined by this keyword.
7192
+ /**
7193
+ * This keyword's value MUST be a valid JSON Schema.
7194
+ *
7195
+ * An instance is valid against this keyword if it fails to validate
7196
+ * successfully against the schema defined by this keyword.
6773
7197
  */
6774
7198
  not?: JSONSchema<Value, SchemaType>;
6775
- /**
6776
- * This keyword's value MUST be a non-empty array. Each item of the array
6777
- * MUST be a valid JSON Schema.
6778
- *
6779
- * An instance validates successfully against this keyword if it validates
6780
- * successfully against exactly one schema defined by this keyword's value.
7199
+ /**
7200
+ * This keyword's value MUST be a non-empty array. Each item of the array
7201
+ * MUST be a valid JSON Schema.
7202
+ *
7203
+ * An instance validates successfully against this keyword if it validates
7204
+ * successfully against exactly one schema defined by this keyword's value.
6781
7205
  */
6782
7206
  oneOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>>;
6783
- /**
6784
- * The value of this keyword MUST be a string. This string SHOULD be a
6785
- * valid regular expression, according to the [ECMA-262][ecma262] regular
6786
- * expression dialect.
6787
- *
6788
- * A string instance is considered valid if the regular expression matches
6789
- * the instance successfully. Recall: regular expressions are not
6790
- * implicitly anchored.
6791
- *
6792
- * [ecma262]: https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
6793
- *
6794
- * @format "regex"
7207
+ /**
7208
+ * The value of this keyword MUST be a string. This string SHOULD be a
7209
+ * valid regular expression, according to the [ECMA-262][ecma262] regular
7210
+ * expression dialect.
7211
+ *
7212
+ * A string instance is considered valid if the regular expression matches
7213
+ * the instance successfully. Recall: regular expressions are not
7214
+ * implicitly anchored.
7215
+ *
7216
+ * [ecma262]: https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
7217
+ *
7218
+ * @format "regex"
6795
7219
  */
6796
7220
  pattern?: string;
6797
- /**
6798
- * The value of `patternProperties` MUST be an object. Each property name
6799
- * of this object SHOULD be a valid regular expression, according to the
6800
- * [ECMA-262][ecma262] regular expression dialect. Each property value of
6801
- * this object MUST be a valid JSON Schema.
6802
- *
6803
- * Validation succeeds if, for each instance name that matches any regular
6804
- * expressions that appear as a property name in this keyword's value,
6805
- * the child instance for that name successfully validates against each
6806
- * schema that corresponds to a matching regular expression.
6807
- *
6808
- * The annotation result of this keyword is the set of instance property
6809
- * names matched by this keyword. Omitting this keyword has the same
6810
- * assertion behavior as an empty object.
6811
- *
6812
- * [ecma262]: https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
7221
+ /**
7222
+ * The value of `patternProperties` MUST be an object. Each property name
7223
+ * of this object SHOULD be a valid regular expression, according to the
7224
+ * [ECMA-262][ecma262] regular expression dialect. Each property value of
7225
+ * this object MUST be a valid JSON Schema.
7226
+ *
7227
+ * Validation succeeds if, for each instance name that matches any regular
7228
+ * expressions that appear as a property name in this keyword's value,
7229
+ * the child instance for that name successfully validates against each
7230
+ * schema that corresponds to a matching regular expression.
7231
+ *
7232
+ * The annotation result of this keyword is the set of instance property
7233
+ * names matched by this keyword. Omitting this keyword has the same
7234
+ * assertion behavior as an empty object.
7235
+ *
7236
+ * [ecma262]: https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
6813
7237
  */
6814
7238
  patternProperties?: Record<string, JSONSchema>;
6815
- /**
6816
- * The value of `prefixItems` MUST be a non-empty array of valid JSON
6817
- * Schemas.
6818
- *
6819
- * Validation succeeds if each element of the instance validates against
6820
- * the schema at the same position, if any. This keyword does not
6821
- * constrain the length of the array. If the array is longer than this
6822
- * keyword's value, this keyword validates only the prefix of matching
6823
- * length.
6824
- *
6825
- * This keyword produces an annotation value which is the largest index to
6826
- * which this keyword applied a subschema. The value MAY be a boolean
6827
- * `true` if a subschema was applied to every index of the instance, such
6828
- * as is produced by the `items` keyword.
6829
- * This annotation affects the behavior of `items` and
6830
- * `unevaluatedItems`.
6831
- *
6832
- * Omitting this keyword has the same assertion behavior as an empty array.
7239
+ /**
7240
+ * The value of `prefixItems` MUST be a non-empty array of valid JSON
7241
+ * Schemas.
7242
+ *
7243
+ * Validation succeeds if each element of the instance validates against
7244
+ * the schema at the same position, if any. This keyword does not
7245
+ * constrain the length of the array. If the array is longer than this
7246
+ * keyword's value, this keyword validates only the prefix of matching
7247
+ * length.
7248
+ *
7249
+ * This keyword produces an annotation value which is the largest index to
7250
+ * which this keyword applied a subschema. The value MAY be a boolean
7251
+ * `true` if a subschema was applied to every index of the instance, such
7252
+ * as is produced by the `items` keyword.
7253
+ * This annotation affects the behavior of `items` and
7254
+ * `unevaluatedItems`.
7255
+ *
7256
+ * Omitting this keyword has the same assertion behavior as an empty array.
6833
7257
  */
6834
7258
  prefixItems?: MaybeReadonlyArray<JSONSchema> | JSONSchema;
6835
- /**
6836
- * The value of `properties` MUST be an object. Each value of this object
6837
- * MUST be a valid JSON Schema.
6838
- *
6839
- * Validation succeeds if, for each name that appears in both the instance
6840
- * and as a name within this keyword's value, the child instance for that
6841
- * name successfully validates against the corresponding schema.
6842
- *
6843
- * The annotation result of this keyword is the set of instance property
6844
- * names matched by this keyword.
6845
- *
6846
- * Omitting this keyword has the same assertion behavior as an empty
6847
- * object.
7259
+ /**
7260
+ * The value of `properties` MUST be an object. Each value of this object
7261
+ * MUST be a valid JSON Schema.
7262
+ *
7263
+ * Validation succeeds if, for each name that appears in both the instance
7264
+ * and as a name within this keyword's value, the child instance for that
7265
+ * name successfully validates against the corresponding schema.
7266
+ *
7267
+ * The annotation result of this keyword is the set of instance property
7268
+ * names matched by this keyword.
7269
+ *
7270
+ * Omitting this keyword has the same assertion behavior as an empty
7271
+ * object.
6848
7272
  */
6849
7273
  properties?: Record<string, JSONSchema>;
6850
- /**
6851
- * The value of `propertyNames` MUST be a valid JSON Schema.
6852
- *
6853
- * If the instance is an object, this keyword validates if every property
6854
- * name in the instance validates against the provided schema.
6855
- * Note the property name that the schema is testing will always be a
6856
- * string.
6857
- *
6858
- * Omitting this keyword has the same behavior as an empty schema.
7274
+ /**
7275
+ * The value of `propertyNames` MUST be a valid JSON Schema.
7276
+ *
7277
+ * If the instance is an object, this keyword validates if every property
7278
+ * name in the instance validates against the provided schema.
7279
+ * Note the property name that the schema is testing will always be a
7280
+ * string.
7281
+ *
7282
+ * Omitting this keyword has the same behavior as an empty schema.
6859
7283
  */
6860
7284
  propertyNames?: JSONSchema;
6861
- /**
6862
- * The value of this keyword MUST be a boolean. When multiple occurrences
6863
- * of this keyword are applicable to a single sub-instance, the resulting
6864
- * value MUST be `true` if any occurrence specifies a `true` value, and
6865
- * MUST be `false` otherwise.
6866
- *
6867
- * If `readOnly` has a value of boolean `true`, it indicates that the
6868
- * value of the instance is managed exclusively by the owning authority,
6869
- * and attempts by an application to modify the value of this property are
6870
- * expected to be ignored or rejected by that owning authority.
6871
- *
6872
- * An instance document that is marked as `readOnly` for the entire
6873
- * document MAY be ignored if sent to the owning authority, or MAY result
6874
- * in an error, at the authority's discretion.
6875
- *
6876
- * For example, `readOnly` would be used to mark a database-generated
6877
- * serial number as read-only.
6878
- *
6879
- * This keyword can be used to assist in user interface instance
6880
- * generation.
6881
- *
6882
- * @default false
7285
+ /**
7286
+ * The value of this keyword MUST be a boolean. When multiple occurrences
7287
+ * of this keyword are applicable to a single sub-instance, the resulting
7288
+ * value MUST be `true` if any occurrence specifies a `true` value, and
7289
+ * MUST be `false` otherwise.
7290
+ *
7291
+ * If `readOnly` has a value of boolean `true`, it indicates that the
7292
+ * value of the instance is managed exclusively by the owning authority,
7293
+ * and attempts by an application to modify the value of this property are
7294
+ * expected to be ignored or rejected by that owning authority.
7295
+ *
7296
+ * An instance document that is marked as `readOnly` for the entire
7297
+ * document MAY be ignored if sent to the owning authority, or MAY result
7298
+ * in an error, at the authority's discretion.
7299
+ *
7300
+ * For example, `readOnly` would be used to mark a database-generated
7301
+ * serial number as read-only.
7302
+ *
7303
+ * This keyword can be used to assist in user interface instance
7304
+ * generation.
7305
+ *
7306
+ * @default false
6883
7307
  */
6884
7308
  readOnly?: boolean;
6885
- /**
6886
- * The value of this keyword MUST be an array. Elements of this array, if
6887
- * any, MUST be strings, and MUST be unique.
6888
- *
6889
- * An object instance is valid against this keyword if every item in the
6890
- * array is the name of a property in the instance.
6891
- *
6892
- * Omitting this keyword has the same behavior as an empty array.
7309
+ /**
7310
+ * The value of this keyword MUST be an array. Elements of this array, if
7311
+ * any, MUST be strings, and MUST be unique.
7312
+ *
7313
+ * An object instance is valid against this keyword if every item in the
7314
+ * array is the name of a property in the instance.
7315
+ *
7316
+ * Omitting this keyword has the same behavior as an empty array.
6893
7317
  */
6894
7318
  required?: MaybeReadonlyArray<string>;
6895
- /**
6896
- * This keyword's value MUST be a valid JSON Schema.
6897
- *
6898
- * When `if` is present, and the instance successfully validates against
6899
- * its subschema, then validation succeeds against this keyword if the
6900
- * instance also successfully validates against this keyword's subschema.
6901
- *
6902
- * This keyword has no effect when `if` is absent, or when the instance
6903
- * fails to validate against its subschema. Implementations MUST NOT
6904
- * evaluate the instance against this keyword, for either validation or
6905
- * annotation collection purposes, in such cases.
7319
+ /**
7320
+ * This keyword's value MUST be a valid JSON Schema.
7321
+ *
7322
+ * When `if` is present, and the instance successfully validates against
7323
+ * its subschema, then validation succeeds against this keyword if the
7324
+ * instance also successfully validates against this keyword's subschema.
7325
+ *
7326
+ * This keyword has no effect when `if` is absent, or when the instance
7327
+ * fails to validate against its subschema. Implementations MUST NOT
7328
+ * evaluate the instance against this keyword, for either validation or
7329
+ * annotation collection purposes, in such cases.
6906
7330
  */
6907
7331
  then?: JSONSchema<Value, SchemaType>;
6908
- /**
6909
- * Can be used to decorate a user interface with a short label about the
6910
- * data produced.
7332
+ /**
7333
+ * Can be used to decorate a user interface with a short label about the
7334
+ * data produced.
6911
7335
  */
6912
7336
  title?: string;
6913
- /**
6914
- * The value of this keyword MUST be either a string or an array. If it is
6915
- * an array, elements of the array MUST be strings and MUST be unique.
6916
- *
6917
- * String values MUST be one of the six primitive types (`"null"`,
6918
- * `"boolean"`, `"object"`, `"array"`, `"number"`, or
6919
- * `"string"`), or `"integer"` which matches any number with a zero
6920
- * fractional part.
6921
- *
6922
- * An instance validates if and only if the instance is in any of the sets
6923
- * listed for this keyword.
7337
+ /**
7338
+ * The value of this keyword MUST be either a string or an array. If it is
7339
+ * an array, elements of the array MUST be strings and MUST be unique.
7340
+ *
7341
+ * String values MUST be one of the six primitive types (`"null"`,
7342
+ * `"boolean"`, `"object"`, `"array"`, `"number"`, or
7343
+ * `"string"`), or `"integer"` which matches any number with a zero
7344
+ * fractional part.
7345
+ *
7346
+ * An instance validates if and only if the instance is in any of the sets
7347
+ * listed for this keyword.
6924
7348
  */
6925
7349
  type?: SchemaType;
6926
- /**
6927
- * The value of `unevaluatedItems` MUST be a valid JSON Schema.
6928
- *
6929
- * The behavior of this keyword depends on the annotation results of
6930
- * adjacent keywords that apply to the instance location being validated.
6931
- * Specifically, the annotations from `prefixItems`, `items`, and
6932
- * `contains`, which can come from those keywords when they are adjacent
6933
- * to the `unevaluatedItems` keyword. Those three annotations, as well as
6934
- * `unevaluatedItems`, can also result from any and all adjacent
6935
- * [in-place applicator][in-place-applicator] keywords.
6936
- *
6937
- * If no relevant annotations are present, the `unevaluatedItems`
6938
- * subschema MUST be applied to all locations in the array.
6939
- * If a boolean `true` value is present from any of the relevant
6940
- * annotations, `unevaluatedItems` MUST be ignored. Otherwise, the
6941
- * subschema MUST be applied to any index greater than the largest
6942
- * annotation value for `prefixItems`, which does not appear in any
6943
- * annotation value for `contains`.
6944
- *
6945
- * This means that `prefixItems`, `items`, `contains`, and all
6946
- * in-place applicators MUST be evaluated before this keyword can be
6947
- * evaluated. Authors of extension keywords MUST NOT define an in-place
6948
- * applicator that would need to be evaluated after this keyword.
6949
- *
6950
- * If the `unevaluatedItems` subschema is applied to any positions within
6951
- * the instance array, it produces an annotation result of boolean
6952
- * `true`, analogous to the behavior of `items`.
6953
- *
6954
- * Omitting this keyword has the same assertion behavior as an empty
6955
- * schema.
6956
- *
6957
- * [in-place-applicator]: https://json-schema.org/draft/2020-12/json-schema-core.html#in-place
7350
+ /**
7351
+ * The value of `unevaluatedItems` MUST be a valid JSON Schema.
7352
+ *
7353
+ * The behavior of this keyword depends on the annotation results of
7354
+ * adjacent keywords that apply to the instance location being validated.
7355
+ * Specifically, the annotations from `prefixItems`, `items`, and
7356
+ * `contains`, which can come from those keywords when they are adjacent
7357
+ * to the `unevaluatedItems` keyword. Those three annotations, as well as
7358
+ * `unevaluatedItems`, can also result from any and all adjacent
7359
+ * [in-place applicator][in-place-applicator] keywords.
7360
+ *
7361
+ * If no relevant annotations are present, the `unevaluatedItems`
7362
+ * subschema MUST be applied to all locations in the array.
7363
+ * If a boolean `true` value is present from any of the relevant
7364
+ * annotations, `unevaluatedItems` MUST be ignored. Otherwise, the
7365
+ * subschema MUST be applied to any index greater than the largest
7366
+ * annotation value for `prefixItems`, which does not appear in any
7367
+ * annotation value for `contains`.
7368
+ *
7369
+ * This means that `prefixItems`, `items`, `contains`, and all
7370
+ * in-place applicators MUST be evaluated before this keyword can be
7371
+ * evaluated. Authors of extension keywords MUST NOT define an in-place
7372
+ * applicator that would need to be evaluated after this keyword.
7373
+ *
7374
+ * If the `unevaluatedItems` subschema is applied to any positions within
7375
+ * the instance array, it produces an annotation result of boolean
7376
+ * `true`, analogous to the behavior of `items`.
7377
+ *
7378
+ * Omitting this keyword has the same assertion behavior as an empty
7379
+ * schema.
7380
+ *
7381
+ * [in-place-applicator]: https://json-schema.org/draft/2020-12/json-schema-core.html#in-place
6958
7382
  */
6959
7383
  unevaluatedItems?: JSONSchema;
6960
- /**
6961
- * The value of `unevaluatedProperties` MUST be a valid JSON Schema.
6962
- *
6963
- * The behavior of this keyword depends on the annotation results of
6964
- * adjacent keywords that apply to the instance location being validated.
6965
- * Specifically, the annotations from `properties`,
6966
- * `patternProperties`, and `additionalProperties`, which can come from
6967
- * those keywords when they are adjacent to the `unevaluatedProperties`
6968
- * keyword. Those three annotations, as well as `unevaluatedProperties`,
6969
- * can also result from any and all adjacent
6970
- * [in-place applicator][in-place-applicator] keywords.
6971
- *
6972
- * Validation with `unevaluatedProperties` applies only to the child
6973
- * values of instance names that do not appear in the `properties`,
6974
- * `patternProperties`, `additionalProperties`, or
6975
- * `unevaluatedProperties` annotation results that apply to the
6976
- * instance location being validated.
6977
- *
6978
- * For all such properties, validation succeeds if the child instance
6979
- * validates against the "unevaluatedProperties" schema.
6980
- *
6981
- * This means that `properties`, `patternProperties`,
6982
- * `additionalProperties`, and all in-place applicators MUST be evaluated
6983
- * before this keyword can be evaluated. Authors of extension keywords
6984
- * MUST NOT define an in-place applicator that would need to be evaluated
6985
- * after this keyword.
6986
- *
6987
- * The annotation result of this keyword is the set of instance property
6988
- * names validated by this keyword's subschema.
6989
- *
6990
- * Omitting this keyword has the same assertion behavior as an empty
6991
- * schema.
6992
- *
6993
- * [in-place-applicator]: https://json-schema.org/draft/2020-12/json-schema-core.html#in-place
7384
+ /**
7385
+ * The value of `unevaluatedProperties` MUST be a valid JSON Schema.
7386
+ *
7387
+ * The behavior of this keyword depends on the annotation results of
7388
+ * adjacent keywords that apply to the instance location being validated.
7389
+ * Specifically, the annotations from `properties`,
7390
+ * `patternProperties`, and `additionalProperties`, which can come from
7391
+ * those keywords when they are adjacent to the `unevaluatedProperties`
7392
+ * keyword. Those three annotations, as well as `unevaluatedProperties`,
7393
+ * can also result from any and all adjacent
7394
+ * [in-place applicator][in-place-applicator] keywords.
7395
+ *
7396
+ * Validation with `unevaluatedProperties` applies only to the child
7397
+ * values of instance names that do not appear in the `properties`,
7398
+ * `patternProperties`, `additionalProperties`, or
7399
+ * `unevaluatedProperties` annotation results that apply to the
7400
+ * instance location being validated.
7401
+ *
7402
+ * For all such properties, validation succeeds if the child instance
7403
+ * validates against the "unevaluatedProperties" schema.
7404
+ *
7405
+ * This means that `properties`, `patternProperties`,
7406
+ * `additionalProperties`, and all in-place applicators MUST be evaluated
7407
+ * before this keyword can be evaluated. Authors of extension keywords
7408
+ * MUST NOT define an in-place applicator that would need to be evaluated
7409
+ * after this keyword.
7410
+ *
7411
+ * The annotation result of this keyword is the set of instance property
7412
+ * names validated by this keyword's subschema.
7413
+ *
7414
+ * Omitting this keyword has the same assertion behavior as an empty
7415
+ * schema.
7416
+ *
7417
+ * [in-place-applicator]: https://json-schema.org/draft/2020-12/json-schema-core.html#in-place
6994
7418
  */
6995
7419
  unevaluatedProperties?: JSONSchema;
6996
- /**
6997
- * The value of this keyword MUST be a boolean.
6998
- *
6999
- * If this keyword has boolean value `false`, the instance validates
7000
- * successfully. If it has boolean value `true`, the instance validates
7001
- * successfully if all of its elements are unique.
7002
- *
7003
- * Omitting this keyword has the same behavior as a value of `false`.
7004
- *
7005
- * @default false
7420
+ /**
7421
+ * The value of this keyword MUST be a boolean.
7422
+ *
7423
+ * If this keyword has boolean value `false`, the instance validates
7424
+ * successfully. If it has boolean value `true`, the instance validates
7425
+ * successfully if all of its elements are unique.
7426
+ *
7427
+ * Omitting this keyword has the same behavior as a value of `false`.
7428
+ *
7429
+ * @default false
7006
7430
  */
7007
7431
  uniqueItems?: boolean;
7008
- /**
7009
- * The value of this keyword MUST be a boolean. When multiple occurrences
7010
- * of this keyword is applicable to a single sub-instance, the resulting
7011
- * value MUST be `true` if any occurrence specifies a `true` value, and
7012
- * MUST be `false` otherwise.
7013
- *
7014
- * If `writeOnly` has a value of boolean `true`, it indicates that the
7015
- * value is never present when the instance is retrieved from the owning
7016
- * authority. It can be present when sent to the owning authority to update
7017
- * or create the document (or the resource it represents), but it will not
7018
- * be included in any updated or newly created version of the instance.
7019
- *
7020
- * An instance document that is marked as `writeOnly` for the entire
7021
- * document MAY be returned as a blank document of some sort, or MAY
7022
- * produce an error upon retrieval, or have the retrieval request ignored,
7023
- * at the authority's discretion.
7024
- *
7025
- * For example, `writeOnly` would be used to mark a password input field.
7026
- *
7027
- * These keywords can be used to assist in user interface instance
7028
- * generation. In particular, an application MAY choose to use a widget
7029
- * that hides input values as they are typed for write-only fields.
7030
- *
7031
- * @default false
7432
+ /**
7433
+ * The value of this keyword MUST be a boolean. When multiple occurrences
7434
+ * of this keyword is applicable to a single sub-instance, the resulting
7435
+ * value MUST be `true` if any occurrence specifies a `true` value, and
7436
+ * MUST be `false` otherwise.
7437
+ *
7438
+ * If `writeOnly` has a value of boolean `true`, it indicates that the
7439
+ * value is never present when the instance is retrieved from the owning
7440
+ * authority. It can be present when sent to the owning authority to update
7441
+ * or create the document (or the resource it represents), but it will not
7442
+ * be included in any updated or newly created version of the instance.
7443
+ *
7444
+ * An instance document that is marked as `writeOnly` for the entire
7445
+ * document MAY be returned as a blank document of some sort, or MAY
7446
+ * produce an error upon retrieval, or have the retrieval request ignored,
7447
+ * at the authority's discretion.
7448
+ *
7449
+ * For example, `writeOnly` would be used to mark a password input field.
7450
+ *
7451
+ * These keywords can be used to assist in user interface instance
7452
+ * generation. In particular, an application MAY choose to use a widget
7453
+ * that hides input values as they are typed for write-only fields.
7454
+ *
7455
+ * @default false
7032
7456
  */
7033
7457
  writeOnly?: boolean;
7034
7458
  };
7035
7459
  declare namespace JSONSchema {
7036
7460
  type TypeValue = ValueOf<TypeName> | TypeName | Array<ValueOf<TypeName> | TypeName> | ReadonlyArray<ValueOf<TypeName> | TypeName>;
7037
- /**
7038
- * JSON Schema interface
7461
+ /**
7462
+ * JSON Schema interface
7039
7463
  */
7040
7464
  type Interface<Value = any, SchemaType extends TypeValue = TypeValue> = Exclude<JSONSchema<Value, SchemaType>, boolean>;
7041
7465
  type Array<T = any> = Pick<Interface<T, "array">, KeywordByType.Any | KeywordByType.Array>;
@@ -7053,45 +7477,45 @@ declare namespace KeywordByType {
7053
7477
  type Object = "additionalProperties" | "dependencies" | "dependentRequired" | "dependentSchemas" | "maxProperties" | "minProperties" | "patternProperties" | "properties" | "propertyNames" | "required" | "unevaluatedProperties";
7054
7478
  type String = "contentEncoding" | "contentMediaType" | "contentSchema" | "maxLength" | "minLength" | "pattern";
7055
7479
  }
7056
- /**
7057
- * Enum consisting of simple type names for the `type` keyword
7480
+ /**
7481
+ * Enum consisting of simple type names for the `type` keyword
7058
7482
  */
7059
7483
  declare enum TypeName {
7060
- /**
7061
- * Value MUST be an array.
7484
+ /**
7485
+ * Value MUST be an array.
7062
7486
  */
7063
7487
  Array = "array",
7064
- /**
7065
- * Value MUST be a boolean.
7488
+ /**
7489
+ * Value MUST be a boolean.
7066
7490
  */
7067
7491
  Boolean = "boolean",
7068
- /**
7069
- * Value MUST be an integer, no floating point numbers are allowed. This is a
7070
- * subset of the number type.
7492
+ /**
7493
+ * Value MUST be an integer, no floating point numbers are allowed. This is a
7494
+ * subset of the number type.
7071
7495
  */
7072
7496
  Integer = "integer",
7073
- /**
7074
- * Value MUST be null. Note this is mainly for purpose of being able use union
7075
- * types to define nullability. If this type is not included in a union, null
7076
- * values are not allowed (the primitives listed above do not allow nulls on
7077
- * their own).
7497
+ /**
7498
+ * Value MUST be null. Note this is mainly for purpose of being able use union
7499
+ * types to define nullability. If this type is not included in a union, null
7500
+ * values are not allowed (the primitives listed above do not allow nulls on
7501
+ * their own).
7078
7502
  */
7079
7503
  Null = "null",
7080
- /**
7081
- * Value MUST be a number, floating point numbers are allowed.
7504
+ /**
7505
+ * Value MUST be a number, floating point numbers are allowed.
7082
7506
  */
7083
7507
  Number = "number",
7084
- /**
7085
- * Value MUST be an object.
7508
+ /**
7509
+ * Value MUST be an object.
7086
7510
  */
7087
7511
  Object = "object",
7088
- /**
7089
- * Value MUST be a string.
7512
+ /**
7513
+ * Value MUST be a string.
7090
7514
  */
7091
7515
  String = "string"
7092
7516
  }
7093
7517
  //#endregion
7094
- //#region ../../node_modules/.pnpm/@orpc+openapi@1.15.2_@opentelemetry+api@1.9.1_ws@8.21.3/node_modules/@orpc/openapi/dist/shared/openapi.BGy4N6eR.d.mts
7518
+ //#region ../../node_modules/.pnpm/@orpc+openapi@1.15.7_@opentelemetry+api@1.9.1_ws@8.22.0/node_modules/@orpc/openapi/dist/shared/openapi.BGy4N6eR.d.mts
7095
7519
  interface SchemaConverterComponent {
7096
7520
  allowedStrategies: readonly SchemaConvertOptions['strategy'][];
7097
7521
  schema: AnySchema;