@powersync/cli-schemas 0.0.0-dev-20260305082615

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2042 @@
1
+ {
2
+ "oneOf": [
3
+ {
4
+ "definitions": {},
5
+ "type": "object",
6
+ "properties": {
7
+ "region": {
8
+ "description": "Deployment region for the hosted service (e.g., \"us\" or \"eu\").",
9
+ "type": "string"
10
+ },
11
+ "replication": {
12
+ "type": "object",
13
+ "properties": {
14
+ "connections": {
15
+ "description": "Array of data source connections used for replication.",
16
+ "type": "array",
17
+ "items": {
18
+ "anyOf": [
19
+ {
20
+ "type": "object",
21
+ "properties": {
22
+ "type": {
23
+ "type": "string",
24
+ "const": "postgresql"
25
+ },
26
+ "name": {
27
+ "type": "string"
28
+ },
29
+ "id": {
30
+ "type": "string"
31
+ },
32
+ "tag": {
33
+ "type": "string"
34
+ },
35
+ "username": {
36
+ "type": "string"
37
+ },
38
+ "password": {
39
+ "anyOf": [
40
+ {
41
+ "type": "object",
42
+ "properties": {
43
+ "secret_ref": {
44
+ "type": "string"
45
+ }
46
+ },
47
+ "additionalProperties": false,
48
+ "required": [
49
+ "secret_ref"
50
+ ]
51
+ },
52
+ {
53
+ "type": "object",
54
+ "properties": {
55
+ "secret": {
56
+ "type": "string"
57
+ }
58
+ },
59
+ "additionalProperties": false,
60
+ "required": [
61
+ "secret"
62
+ ]
63
+ }
64
+ ]
65
+ },
66
+ "database": {
67
+ "type": "string"
68
+ },
69
+ "uri": {
70
+ "type": "string"
71
+ },
72
+ "hostname": {
73
+ "type": "string"
74
+ },
75
+ "port": {
76
+ "type": "number"
77
+ },
78
+ "sslmode": {
79
+ "anyOf": [
80
+ {
81
+ "type": "string",
82
+ "const": "verify-full"
83
+ },
84
+ {
85
+ "type": "string",
86
+ "const": "verify-ca"
87
+ }
88
+ ]
89
+ },
90
+ "cacert": {
91
+ "type": "string"
92
+ },
93
+ "client_certificate": {
94
+ "type": "string"
95
+ },
96
+ "client_private_key": {
97
+ "anyOf": [
98
+ {
99
+ "type": "object",
100
+ "properties": {
101
+ "secret_ref": {
102
+ "type": "string"
103
+ }
104
+ },
105
+ "additionalProperties": false,
106
+ "required": [
107
+ "secret_ref"
108
+ ]
109
+ },
110
+ {
111
+ "type": "object",
112
+ "properties": {
113
+ "secret": {
114
+ "type": "string"
115
+ }
116
+ },
117
+ "additionalProperties": false,
118
+ "required": [
119
+ "secret"
120
+ ]
121
+ }
122
+ ]
123
+ },
124
+ "vpc_endpoint_hostname": {
125
+ "type": "string"
126
+ },
127
+ "debug_api": {
128
+ "type": "boolean"
129
+ }
130
+ },
131
+ "additionalProperties": false,
132
+ "required": [
133
+ "type"
134
+ ]
135
+ },
136
+ {
137
+ "type": "object",
138
+ "properties": {
139
+ "type": {
140
+ "type": "string",
141
+ "const": "mongodb"
142
+ },
143
+ "name": {
144
+ "type": "string"
145
+ },
146
+ "id": {
147
+ "type": "string"
148
+ },
149
+ "tag": {
150
+ "type": "string"
151
+ },
152
+ "username": {
153
+ "type": "string"
154
+ },
155
+ "password": {
156
+ "anyOf": [
157
+ {
158
+ "type": "object",
159
+ "properties": {
160
+ "secret_ref": {
161
+ "type": "string"
162
+ }
163
+ },
164
+ "additionalProperties": false,
165
+ "required": [
166
+ "secret_ref"
167
+ ]
168
+ },
169
+ {
170
+ "type": "object",
171
+ "properties": {
172
+ "secret": {
173
+ "type": "string"
174
+ }
175
+ },
176
+ "additionalProperties": false,
177
+ "required": [
178
+ "secret"
179
+ ]
180
+ }
181
+ ]
182
+ },
183
+ "database": {
184
+ "type": "string"
185
+ },
186
+ "uri": {
187
+ "type": "string"
188
+ },
189
+ "post_images": {
190
+ "anyOf": [
191
+ {
192
+ "type": "string",
193
+ "const": "off"
194
+ },
195
+ {
196
+ "type": "string",
197
+ "const": "auto_configure"
198
+ },
199
+ {
200
+ "type": "string",
201
+ "const": "read_only"
202
+ }
203
+ ]
204
+ },
205
+ "vpc_endpoint_hostname": {
206
+ "type": "string"
207
+ }
208
+ },
209
+ "additionalProperties": false,
210
+ "required": [
211
+ "type",
212
+ "uri"
213
+ ]
214
+ },
215
+ {
216
+ "type": "object",
217
+ "properties": {
218
+ "type": {
219
+ "type": "string",
220
+ "const": "mysql"
221
+ },
222
+ "name": {
223
+ "type": "string"
224
+ },
225
+ "id": {
226
+ "type": "string"
227
+ },
228
+ "tag": {
229
+ "type": "string"
230
+ },
231
+ "username": {
232
+ "type": "string"
233
+ },
234
+ "password": {
235
+ "anyOf": [
236
+ {
237
+ "type": "object",
238
+ "properties": {
239
+ "secret_ref": {
240
+ "type": "string"
241
+ }
242
+ },
243
+ "additionalProperties": false,
244
+ "required": [
245
+ "secret_ref"
246
+ ]
247
+ },
248
+ {
249
+ "type": "object",
250
+ "properties": {
251
+ "secret": {
252
+ "type": "string"
253
+ }
254
+ },
255
+ "additionalProperties": false,
256
+ "required": [
257
+ "secret"
258
+ ]
259
+ }
260
+ ]
261
+ },
262
+ "database": {
263
+ "type": "string"
264
+ },
265
+ "uri": {
266
+ "type": "string"
267
+ },
268
+ "hostname": {
269
+ "type": "string"
270
+ },
271
+ "port": {
272
+ "type": "number"
273
+ },
274
+ "client_certificate": {
275
+ "type": "string"
276
+ },
277
+ "client_private_key": {
278
+ "anyOf": [
279
+ {
280
+ "type": "object",
281
+ "properties": {
282
+ "secret_ref": {
283
+ "type": "string"
284
+ }
285
+ },
286
+ "additionalProperties": false,
287
+ "required": [
288
+ "secret_ref"
289
+ ]
290
+ },
291
+ {
292
+ "type": "object",
293
+ "properties": {
294
+ "secret": {
295
+ "type": "string"
296
+ }
297
+ },
298
+ "additionalProperties": false,
299
+ "required": [
300
+ "secret"
301
+ ]
302
+ }
303
+ ]
304
+ },
305
+ "debug_api": {
306
+ "type": "boolean"
307
+ }
308
+ },
309
+ "additionalProperties": false,
310
+ "required": [
311
+ "type"
312
+ ]
313
+ },
314
+ {
315
+ "type": "object",
316
+ "properties": {
317
+ "type": {
318
+ "type": "string",
319
+ "const": "mssql"
320
+ },
321
+ "name": {
322
+ "type": "string"
323
+ },
324
+ "id": {
325
+ "type": "string"
326
+ },
327
+ "tag": {
328
+ "type": "string"
329
+ },
330
+ "username": {
331
+ "type": "string"
332
+ },
333
+ "password": {
334
+ "anyOf": [
335
+ {
336
+ "type": "object",
337
+ "properties": {
338
+ "secret_ref": {
339
+ "type": "string"
340
+ }
341
+ },
342
+ "additionalProperties": false,
343
+ "required": [
344
+ "secret_ref"
345
+ ]
346
+ },
347
+ {
348
+ "type": "object",
349
+ "properties": {
350
+ "secret": {
351
+ "type": "string"
352
+ }
353
+ },
354
+ "additionalProperties": false,
355
+ "required": [
356
+ "secret"
357
+ ]
358
+ }
359
+ ]
360
+ },
361
+ "database": {
362
+ "type": "string"
363
+ },
364
+ "uri": {
365
+ "type": "string"
366
+ },
367
+ "hostname": {
368
+ "type": "string"
369
+ },
370
+ "port": {
371
+ "type": "number"
372
+ },
373
+ "schema": {
374
+ "type": "string"
375
+ },
376
+ "authentication": {
377
+ "anyOf": [
378
+ {
379
+ "type": "object",
380
+ "properties": {
381
+ "type": {
382
+ "type": "string",
383
+ "const": "default"
384
+ },
385
+ "options": {
386
+ "type": "object",
387
+ "properties": {
388
+ "password": {
389
+ "anyOf": [
390
+ {
391
+ "type": "object",
392
+ "properties": {
393
+ "secret_ref": {
394
+ "type": "string"
395
+ }
396
+ },
397
+ "additionalProperties": false,
398
+ "required": [
399
+ "secret_ref"
400
+ ]
401
+ },
402
+ {
403
+ "type": "object",
404
+ "properties": {
405
+ "secret": {
406
+ "type": "string"
407
+ }
408
+ },
409
+ "additionalProperties": false,
410
+ "required": [
411
+ "secret"
412
+ ]
413
+ }
414
+ ]
415
+ }
416
+ },
417
+ "additionalProperties": false,
418
+ "required": [
419
+ "password"
420
+ ]
421
+ }
422
+ },
423
+ "additionalProperties": false,
424
+ "required": [
425
+ "type",
426
+ "options"
427
+ ]
428
+ },
429
+ {
430
+ "type": "object",
431
+ "properties": {
432
+ "type": {
433
+ "type": "string",
434
+ "const": "azure-active-directory-password"
435
+ },
436
+ "options": {
437
+ "type": "object",
438
+ "properties": {
439
+ "password": {
440
+ "anyOf": [
441
+ {
442
+ "type": "object",
443
+ "properties": {
444
+ "secret_ref": {
445
+ "type": "string"
446
+ }
447
+ },
448
+ "additionalProperties": false,
449
+ "required": [
450
+ "secret_ref"
451
+ ]
452
+ },
453
+ {
454
+ "type": "object",
455
+ "properties": {
456
+ "secret": {
457
+ "type": "string"
458
+ }
459
+ },
460
+ "additionalProperties": false,
461
+ "required": [
462
+ "secret"
463
+ ]
464
+ }
465
+ ]
466
+ }
467
+ },
468
+ "additionalProperties": false,
469
+ "required": [
470
+ "password"
471
+ ]
472
+ }
473
+ },
474
+ "additionalProperties": false,
475
+ "required": [
476
+ "type",
477
+ "options"
478
+ ]
479
+ },
480
+ {
481
+ "type": "object",
482
+ "properties": {
483
+ "type": {
484
+ "type": "string",
485
+ "const": "azure-active-directory-service-principal-secret"
486
+ },
487
+ "options": {
488
+ "type": "object",
489
+ "properties": {
490
+ "clientSecret": {
491
+ "anyOf": [
492
+ {
493
+ "type": "object",
494
+ "properties": {
495
+ "secret_ref": {
496
+ "type": "string"
497
+ }
498
+ },
499
+ "additionalProperties": false,
500
+ "required": [
501
+ "secret_ref"
502
+ ]
503
+ },
504
+ {
505
+ "type": "object",
506
+ "properties": {
507
+ "secret": {
508
+ "type": "string"
509
+ }
510
+ },
511
+ "additionalProperties": false,
512
+ "required": [
513
+ "secret"
514
+ ]
515
+ }
516
+ ]
517
+ }
518
+ },
519
+ "additionalProperties": false,
520
+ "required": [
521
+ "clientSecret"
522
+ ]
523
+ }
524
+ },
525
+ "additionalProperties": false,
526
+ "required": [
527
+ "type",
528
+ "options"
529
+ ]
530
+ }
531
+ ]
532
+ },
533
+ "additionalConfig": {
534
+ "type": "object",
535
+ "properties": {
536
+ "pollingIntervalMs": {
537
+ "type": "number"
538
+ },
539
+ "pollingBatchSize": {
540
+ "type": "number"
541
+ },
542
+ "trustServerCertificate": {
543
+ "type": "boolean"
544
+ }
545
+ },
546
+ "additionalProperties": false,
547
+ "required": []
548
+ },
549
+ "debug_api": {
550
+ "type": "boolean"
551
+ }
552
+ },
553
+ "additionalProperties": false,
554
+ "required": [
555
+ "type"
556
+ ]
557
+ }
558
+ ]
559
+ }
560
+ }
561
+ },
562
+ "additionalProperties": false,
563
+ "required": []
564
+ },
565
+ "client_auth": {
566
+ "type": "object",
567
+ "properties": {
568
+ "jwks_uri": {
569
+ "description": "URI pointing to a JWKS endpoint for client authentication.",
570
+ "type": "string"
571
+ },
572
+ "jwks": {
573
+ "description": "Inline JWKS configuration for client authentication.",
574
+ "type": "object",
575
+ "properties": {
576
+ "keys": {
577
+ "description": "An array of JSON Web Keys (JWKs).",
578
+ "type": "array",
579
+ "items": {
580
+ "anyOf": [
581
+ {
582
+ "description": "JSON Web Key (JWK) representation of an RSA key.",
583
+ "type": "object",
584
+ "properties": {
585
+ "kty": {
586
+ "description": "Key type identifier, must be \"RSA\" for RSA keys.",
587
+ "type": "string",
588
+ "const": "RSA"
589
+ },
590
+ "kid": {
591
+ "description": "Key ID, a unique identifier for the key.",
592
+ "type": "string"
593
+ },
594
+ "n": {
595
+ "description": "RSA modulus, Base64 URL encoded.",
596
+ "type": "string"
597
+ },
598
+ "e": {
599
+ "description": "RSA exponent, Base64 URL encoded.",
600
+ "type": "string"
601
+ },
602
+ "alg": {
603
+ "description": "The algorithm intended for use with this key (RS256, RS384, or RS512).",
604
+ "anyOf": [
605
+ {
606
+ "type": "string",
607
+ "const": "RS256"
608
+ },
609
+ {
610
+ "type": "string",
611
+ "const": "RS384"
612
+ },
613
+ {
614
+ "type": "string",
615
+ "const": "RS512"
616
+ }
617
+ ]
618
+ },
619
+ "use": {
620
+ "description": "The intended use of the key (e.g., \"sig\" for signature).",
621
+ "type": "string"
622
+ }
623
+ },
624
+ "additionalProperties": false,
625
+ "required": [
626
+ "kty",
627
+ "kid",
628
+ "n",
629
+ "e"
630
+ ]
631
+ },
632
+ {
633
+ "type": "object",
634
+ "properties": {
635
+ "kty": {
636
+ "description": "Key type identifier, must be \"oct\" for HMAC keys.",
637
+ "type": "string",
638
+ "const": "oct"
639
+ },
640
+ "kid": {
641
+ "description": "Key ID. Undefined kid indicates it can match any JWT, with or without a kid. Use a kid wherever possible.",
642
+ "type": "string"
643
+ },
644
+ "k": {
645
+ "description": "The HMAC key value, Base64 URL encoded (may be a secret reference).",
646
+ "anyOf": [
647
+ {
648
+ "type": "object",
649
+ "properties": {
650
+ "secret_ref": {
651
+ "type": "string"
652
+ }
653
+ },
654
+ "additionalProperties": false,
655
+ "required": [
656
+ "secret_ref"
657
+ ]
658
+ },
659
+ {
660
+ "type": "object",
661
+ "properties": {
662
+ "secret": {
663
+ "type": "string"
664
+ }
665
+ },
666
+ "additionalProperties": false,
667
+ "required": [
668
+ "secret"
669
+ ]
670
+ }
671
+ ]
672
+ },
673
+ "alg": {
674
+ "description": "The algorithm intended for use with this key (HS256, HS384, or HS512).",
675
+ "anyOf": [
676
+ {
677
+ "type": "string",
678
+ "const": "HS256"
679
+ },
680
+ {
681
+ "type": "string",
682
+ "const": "HS384"
683
+ },
684
+ {
685
+ "type": "string",
686
+ "const": "HS512"
687
+ }
688
+ ]
689
+ },
690
+ "use": {
691
+ "description": "The intended use of the key (e.g., \"sig\" for signature).",
692
+ "type": "string"
693
+ }
694
+ },
695
+ "additionalProperties": false,
696
+ "required": [
697
+ "kty",
698
+ "kid",
699
+ "k",
700
+ "alg"
701
+ ]
702
+ },
703
+ {
704
+ "description": "JSON Web Key (JWK) representation of an Octet Key Pair (OKP) key used with Edwards-curve Digital Signature Algorithm.",
705
+ "type": "object",
706
+ "properties": {
707
+ "kty": {
708
+ "description": "Key type identifier, must be \"OKP\" for Octet Key Pair keys.",
709
+ "type": "string",
710
+ "const": "OKP"
711
+ },
712
+ "kid": {
713
+ "description": "Key ID, a unique identifier for the key.",
714
+ "type": "string"
715
+ },
716
+ "crv": {
717
+ "description": "The cryptographic curve used with this key. Only Ed25519 and Ed448 are supported.",
718
+ "anyOf": [
719
+ {
720
+ "type": "string",
721
+ "const": "Ed25519"
722
+ },
723
+ {
724
+ "type": "string",
725
+ "const": "Ed448"
726
+ }
727
+ ]
728
+ },
729
+ "x": {
730
+ "description": "The public key, Base64 URL encoded.",
731
+ "type": "string"
732
+ },
733
+ "alg": {
734
+ "description": "The algorithm intended for use with this key (EdDSA).",
735
+ "type": "string",
736
+ "const": "EdDSA"
737
+ },
738
+ "use": {
739
+ "description": "The intended use of the key (e.g., \"sig\" for signature).",
740
+ "type": "string"
741
+ }
742
+ },
743
+ "additionalProperties": false,
744
+ "required": [
745
+ "kty",
746
+ "crv",
747
+ "x",
748
+ "alg"
749
+ ]
750
+ },
751
+ {
752
+ "description": "JSON Web Key (JWK) representation of an Elliptic Curve key.",
753
+ "type": "object",
754
+ "properties": {
755
+ "kty": {
756
+ "description": "Key type identifier, must be \"EC\" for Elliptic Curve keys.",
757
+ "type": "string",
758
+ "const": "EC"
759
+ },
760
+ "kid": {
761
+ "description": "Key ID, a unique identifier for the key.",
762
+ "type": "string"
763
+ },
764
+ "crv": {
765
+ "description": "The cryptographic curve used with this key (P-256, P-384, or P-512).",
766
+ "anyOf": [
767
+ {
768
+ "type": "string",
769
+ "const": "P-256"
770
+ },
771
+ {
772
+ "type": "string",
773
+ "const": "P-384"
774
+ },
775
+ {
776
+ "type": "string",
777
+ "const": "P-512"
778
+ }
779
+ ]
780
+ },
781
+ "x": {
782
+ "description": "The x coordinate for the Elliptic Curve point, Base64 URL encoded.",
783
+ "type": "string"
784
+ },
785
+ "y": {
786
+ "description": "The y coordinate for the Elliptic Curve point, Base64 URL encoded.",
787
+ "type": "string"
788
+ },
789
+ "alg": {
790
+ "description": "The algorithm intended for use with this key (ES256, ES384, or ES512).",
791
+ "anyOf": [
792
+ {
793
+ "type": "string",
794
+ "const": "ES256"
795
+ },
796
+ {
797
+ "type": "string",
798
+ "const": "ES384"
799
+ },
800
+ {
801
+ "type": "string",
802
+ "const": "ES512"
803
+ }
804
+ ]
805
+ },
806
+ "use": {
807
+ "description": "The intended use of the key (e.g., \"sig\" for signature).",
808
+ "type": "string"
809
+ }
810
+ },
811
+ "additionalProperties": false,
812
+ "required": [
813
+ "kty",
814
+ "crv",
815
+ "x",
816
+ "y",
817
+ "alg"
818
+ ]
819
+ }
820
+ ]
821
+ }
822
+ }
823
+ },
824
+ "additionalProperties": false,
825
+ "required": [
826
+ "keys"
827
+ ]
828
+ },
829
+ "supabase": {
830
+ "description": "Enables Supabase authentication integration.",
831
+ "type": "boolean"
832
+ },
833
+ "supabase_jwt_secret": {
834
+ "description": "JWT secret for Supabase authentication (may be a secret reference).",
835
+ "anyOf": [
836
+ {
837
+ "type": "object",
838
+ "properties": {
839
+ "secret_ref": {
840
+ "type": "string"
841
+ }
842
+ },
843
+ "additionalProperties": false,
844
+ "required": [
845
+ "secret_ref"
846
+ ]
847
+ },
848
+ {
849
+ "type": "object",
850
+ "properties": {
851
+ "secret": {
852
+ "type": "string"
853
+ }
854
+ },
855
+ "additionalProperties": false,
856
+ "required": [
857
+ "secret"
858
+ ]
859
+ }
860
+ ]
861
+ },
862
+ "additional_audiences": {
863
+ "description": "Additional valid audiences for JWT validation.",
864
+ "type": "array",
865
+ "items": {
866
+ "type": "string"
867
+ }
868
+ },
869
+ "allow_temporary_tokens": {
870
+ "description": "When true, allows temporary tokens for development or testing.",
871
+ "type": "boolean"
872
+ }
873
+ },
874
+ "additionalProperties": false,
875
+ "required": []
876
+ },
877
+ "_type": {
878
+ "type": "string",
879
+ "const": "cloud"
880
+ },
881
+ "name": {
882
+ "type": "string"
883
+ }
884
+ },
885
+ "additionalProperties": false,
886
+ "required": [
887
+ "region",
888
+ "_type",
889
+ "name"
890
+ ]
891
+ },
892
+ {
893
+ "definitions": {},
894
+ "type": "object",
895
+ "properties": {
896
+ "replication": {
897
+ "type": "object",
898
+ "properties": {
899
+ "connections": {
900
+ "type": "array",
901
+ "items": {
902
+ "anyOf": [
903
+ {
904
+ "type": "object",
905
+ "properties": {
906
+ "type": {
907
+ "description": "Unique string identifier for the data source type (e.g., \"postgresql\", \"mysql\", etc.).",
908
+ "type": "string"
909
+ },
910
+ "id": {
911
+ "description": "Unique identifier for the connection. Optional when only a single connection is present.",
912
+ "type": "string"
913
+ },
914
+ "tag": {
915
+ "description": "Additional meta tag for the connection, used for categorization or grouping.",
916
+ "type": "string"
917
+ },
918
+ "debug_api": {
919
+ "description": "When enabled, allows query execution.",
920
+ "type": "boolean"
921
+ }
922
+ },
923
+ "additionalProperties": true,
924
+ "required": [
925
+ "type"
926
+ ]
927
+ },
928
+ {
929
+ "type": "object",
930
+ "properties": {
931
+ "type": {
932
+ "type": "string",
933
+ "const": "mongodb"
934
+ },
935
+ "id": {
936
+ "description": "Unique identifier for the connection. Optional when only a single connection is present.",
937
+ "type": "string"
938
+ },
939
+ "tag": {
940
+ "description": "Additional meta tag for the connection, used for categorization or grouping.",
941
+ "type": "string"
942
+ },
943
+ "debug_api": {
944
+ "description": "When enabled, allows query execution.",
945
+ "type": "boolean"
946
+ },
947
+ "uri": {
948
+ "type": "string"
949
+ },
950
+ "database": {
951
+ "type": "string"
952
+ },
953
+ "username": {
954
+ "type": "string"
955
+ },
956
+ "password": {
957
+ "type": "string"
958
+ },
959
+ "reject_ip_ranges": {
960
+ "type": "array",
961
+ "items": {
962
+ "type": "string"
963
+ }
964
+ },
965
+ "post_images": {
966
+ "anyOf": [
967
+ {
968
+ "type": "string",
969
+ "const": "off"
970
+ },
971
+ {
972
+ "type": "string",
973
+ "const": "auto_configure"
974
+ },
975
+ {
976
+ "type": "string",
977
+ "const": "read_only"
978
+ }
979
+ ]
980
+ }
981
+ },
982
+ "additionalProperties": true,
983
+ "required": [
984
+ "type",
985
+ "uri"
986
+ ]
987
+ },
988
+ {
989
+ "type": "object",
990
+ "properties": {
991
+ "type": {
992
+ "type": "string",
993
+ "const": "mssql"
994
+ },
995
+ "id": {
996
+ "description": "Unique identifier for the connection. Optional when only a single connection is present.",
997
+ "type": "string"
998
+ },
999
+ "tag": {
1000
+ "description": "Additional meta tag for the connection, used for categorization or grouping.",
1001
+ "type": "string"
1002
+ },
1003
+ "debug_api": {
1004
+ "description": "When enabled, allows query execution.",
1005
+ "type": "boolean"
1006
+ },
1007
+ "uri": {
1008
+ "type": "string"
1009
+ },
1010
+ "username": {
1011
+ "type": "string"
1012
+ },
1013
+ "password": {
1014
+ "type": "string"
1015
+ },
1016
+ "database": {
1017
+ "type": "string"
1018
+ },
1019
+ "schema": {
1020
+ "type": "string"
1021
+ },
1022
+ "hostname": {
1023
+ "type": "string"
1024
+ },
1025
+ "port": {
1026
+ "description": "A network port value that can be specified as either a number or a string that will be parsed to a number.",
1027
+ "anyOf": [
1028
+ {
1029
+ "type": "number"
1030
+ },
1031
+ {
1032
+ "type": "string"
1033
+ }
1034
+ ]
1035
+ },
1036
+ "authentication": {
1037
+ "anyOf": [
1038
+ {
1039
+ "type": "object",
1040
+ "properties": {
1041
+ "type": {
1042
+ "type": "string",
1043
+ "const": "default"
1044
+ },
1045
+ "options": {
1046
+ "type": "object",
1047
+ "properties": {
1048
+ "userName": {
1049
+ "type": "string"
1050
+ },
1051
+ "password": {
1052
+ "type": "string"
1053
+ }
1054
+ },
1055
+ "additionalProperties": true,
1056
+ "required": [
1057
+ "userName",
1058
+ "password"
1059
+ ]
1060
+ }
1061
+ },
1062
+ "additionalProperties": true,
1063
+ "required": [
1064
+ "type",
1065
+ "options"
1066
+ ]
1067
+ },
1068
+ {
1069
+ "type": "object",
1070
+ "properties": {
1071
+ "type": {
1072
+ "type": "string",
1073
+ "const": "azure-active-directory-password"
1074
+ },
1075
+ "options": {
1076
+ "type": "object",
1077
+ "properties": {
1078
+ "userName": {
1079
+ "type": "string"
1080
+ },
1081
+ "password": {
1082
+ "type": "string"
1083
+ },
1084
+ "clientId": {
1085
+ "type": "string"
1086
+ },
1087
+ "tenantId": {
1088
+ "type": "string"
1089
+ }
1090
+ },
1091
+ "additionalProperties": true,
1092
+ "required": [
1093
+ "userName",
1094
+ "password",
1095
+ "clientId",
1096
+ "tenantId"
1097
+ ]
1098
+ }
1099
+ },
1100
+ "additionalProperties": true,
1101
+ "required": [
1102
+ "type",
1103
+ "options"
1104
+ ]
1105
+ },
1106
+ {
1107
+ "type": "object",
1108
+ "properties": {
1109
+ "type": {
1110
+ "type": "string",
1111
+ "const": "azure-active-directory-service-principal-secret"
1112
+ },
1113
+ "options": {
1114
+ "type": "object",
1115
+ "properties": {
1116
+ "clientId": {
1117
+ "type": "string"
1118
+ },
1119
+ "clientSecret": {
1120
+ "type": "string"
1121
+ },
1122
+ "tenantId": {
1123
+ "type": "string"
1124
+ }
1125
+ },
1126
+ "additionalProperties": true,
1127
+ "required": [
1128
+ "clientId",
1129
+ "clientSecret",
1130
+ "tenantId"
1131
+ ]
1132
+ }
1133
+ },
1134
+ "additionalProperties": true,
1135
+ "required": [
1136
+ "type",
1137
+ "options"
1138
+ ]
1139
+ }
1140
+ ]
1141
+ },
1142
+ "reject_ip_ranges": {
1143
+ "type": "array",
1144
+ "items": {
1145
+ "type": "string"
1146
+ }
1147
+ },
1148
+ "additionalConfig": {
1149
+ "type": "object",
1150
+ "properties": {
1151
+ "pollingIntervalMs": {
1152
+ "type": "number"
1153
+ },
1154
+ "pollingBatchSize": {
1155
+ "type": "number"
1156
+ },
1157
+ "trustServerCertificate": {
1158
+ "type": "boolean"
1159
+ }
1160
+ },
1161
+ "additionalProperties": true,
1162
+ "required": []
1163
+ }
1164
+ },
1165
+ "additionalProperties": true,
1166
+ "required": [
1167
+ "type"
1168
+ ]
1169
+ },
1170
+ {
1171
+ "type": "object",
1172
+ "properties": {
1173
+ "type": {
1174
+ "type": "string",
1175
+ "const": "mysql"
1176
+ },
1177
+ "id": {
1178
+ "description": "Unique identifier for the connection. Optional when only a single connection is present.",
1179
+ "type": "string"
1180
+ },
1181
+ "tag": {
1182
+ "description": "Additional meta tag for the connection, used for categorization or grouping.",
1183
+ "type": "string"
1184
+ },
1185
+ "debug_api": {
1186
+ "description": "When enabled, allows query execution.",
1187
+ "type": "boolean"
1188
+ },
1189
+ "uri": {
1190
+ "type": "string"
1191
+ },
1192
+ "hostname": {
1193
+ "type": "string"
1194
+ },
1195
+ "port": {
1196
+ "description": "A network port value that can be specified as either a number or a string that will be parsed to a number.",
1197
+ "anyOf": [
1198
+ {
1199
+ "type": "number"
1200
+ },
1201
+ {
1202
+ "type": "string"
1203
+ }
1204
+ ]
1205
+ },
1206
+ "username": {
1207
+ "type": "string"
1208
+ },
1209
+ "password": {
1210
+ "type": "string"
1211
+ },
1212
+ "database": {
1213
+ "type": "string"
1214
+ },
1215
+ "server_id": {
1216
+ "type": "number"
1217
+ },
1218
+ "cacert": {
1219
+ "type": "string"
1220
+ },
1221
+ "client_certificate": {
1222
+ "type": "string"
1223
+ },
1224
+ "client_private_key": {
1225
+ "type": "string"
1226
+ },
1227
+ "reject_ip_ranges": {
1228
+ "type": "array",
1229
+ "items": {
1230
+ "type": "string"
1231
+ }
1232
+ },
1233
+ "binlog_queue_memory_limit": {
1234
+ "type": "number"
1235
+ }
1236
+ },
1237
+ "additionalProperties": true,
1238
+ "required": [
1239
+ "type"
1240
+ ]
1241
+ },
1242
+ {
1243
+ "type": "object",
1244
+ "properties": {
1245
+ "type": {
1246
+ "type": "string",
1247
+ "const": "postgresql"
1248
+ },
1249
+ "id": {
1250
+ "type": "string"
1251
+ },
1252
+ "tag": {
1253
+ "type": "string"
1254
+ },
1255
+ "debug_api": {
1256
+ "description": "When enabled, allows query execution.",
1257
+ "type": "boolean"
1258
+ },
1259
+ "uri": {
1260
+ "type": "string"
1261
+ },
1262
+ "hostname": {
1263
+ "type": "string"
1264
+ },
1265
+ "port": {
1266
+ "description": "A network port value that can be specified as either a number or a string that will be parsed to a number.",
1267
+ "anyOf": [
1268
+ {
1269
+ "type": "number"
1270
+ },
1271
+ {
1272
+ "type": "string"
1273
+ }
1274
+ ]
1275
+ },
1276
+ "username": {
1277
+ "type": "string"
1278
+ },
1279
+ "password": {
1280
+ "type": "string"
1281
+ },
1282
+ "database": {
1283
+ "type": "string"
1284
+ },
1285
+ "sslmode": {
1286
+ "anyOf": [
1287
+ {
1288
+ "type": "string",
1289
+ "const": "verify-full"
1290
+ },
1291
+ {
1292
+ "type": "string",
1293
+ "const": "verify-ca"
1294
+ },
1295
+ {
1296
+ "type": "string",
1297
+ "const": "disable"
1298
+ }
1299
+ ]
1300
+ },
1301
+ "cacert": {
1302
+ "type": "string"
1303
+ },
1304
+ "client_certificate": {
1305
+ "type": "string"
1306
+ },
1307
+ "client_private_key": {
1308
+ "type": "string"
1309
+ },
1310
+ "tls_servername": {
1311
+ "type": "string"
1312
+ },
1313
+ "reject_ip_ranges": {
1314
+ "type": "array",
1315
+ "items": {
1316
+ "type": "string"
1317
+ }
1318
+ },
1319
+ "slot_name_prefix": {
1320
+ "type": "string"
1321
+ },
1322
+ "max_pool_size": {
1323
+ "type": "number"
1324
+ },
1325
+ "connect_timeout": {
1326
+ "type": "number"
1327
+ }
1328
+ },
1329
+ "additionalProperties": true,
1330
+ "required": [
1331
+ "type"
1332
+ ]
1333
+ }
1334
+ ]
1335
+ }
1336
+ }
1337
+ },
1338
+ "additionalProperties": true,
1339
+ "required": []
1340
+ },
1341
+ "client_auth": {
1342
+ "description": "Configuration for client authentication mechanisms.",
1343
+ "type": "object",
1344
+ "properties": {
1345
+ "jwks_uri": {
1346
+ "description": "URI or array of URIs pointing to JWKS endpoints for client authentication.",
1347
+ "anyOf": [
1348
+ {
1349
+ "type": "string"
1350
+ },
1351
+ {
1352
+ "type": "array",
1353
+ "items": {
1354
+ "type": "string"
1355
+ }
1356
+ }
1357
+ ]
1358
+ },
1359
+ "block_local_jwks": {
1360
+ "description": "When true, blocks JWKS URIs that resolve to local network addresses.",
1361
+ "type": "boolean"
1362
+ },
1363
+ "jwks_reject_ip_ranges": {
1364
+ "description": "IP ranges to reject when validating JWKS URIs.",
1365
+ "type": "array",
1366
+ "items": {
1367
+ "type": "string"
1368
+ }
1369
+ },
1370
+ "jwks": {
1371
+ "description": "Inline JWKS configuration for client authentication.",
1372
+ "type": "object",
1373
+ "properties": {
1374
+ "keys": {
1375
+ "description": "An array of JSON Web Keys (JWKs).",
1376
+ "type": "array",
1377
+ "items": {
1378
+ "description": "A JSON Web Key (JWK) representing a cryptographic key. Can be RSA, HMAC, OKP, or EC key types.",
1379
+ "anyOf": [
1380
+ {
1381
+ "description": "JSON Web Key (JWK) representation of an RSA key.",
1382
+ "type": "object",
1383
+ "properties": {
1384
+ "kty": {
1385
+ "description": "Key type identifier, must be \"RSA\" for RSA keys.",
1386
+ "type": "string",
1387
+ "const": "RSA"
1388
+ },
1389
+ "kid": {
1390
+ "description": "Key ID, a unique identifier for the key.",
1391
+ "type": "string"
1392
+ },
1393
+ "n": {
1394
+ "description": "RSA modulus, Base64 URL encoded.",
1395
+ "type": "string"
1396
+ },
1397
+ "e": {
1398
+ "description": "RSA exponent, Base64 URL encoded.",
1399
+ "type": "string"
1400
+ },
1401
+ "alg": {
1402
+ "description": "The algorithm intended for use with this key (RS256, RS384, or RS512).",
1403
+ "anyOf": [
1404
+ {
1405
+ "type": "string",
1406
+ "const": "RS256"
1407
+ },
1408
+ {
1409
+ "type": "string",
1410
+ "const": "RS384"
1411
+ },
1412
+ {
1413
+ "type": "string",
1414
+ "const": "RS512"
1415
+ }
1416
+ ]
1417
+ },
1418
+ "use": {
1419
+ "description": "The intended use of the key (e.g., \"sig\" for signature).",
1420
+ "type": "string"
1421
+ }
1422
+ },
1423
+ "additionalProperties": true,
1424
+ "required": [
1425
+ "kty",
1426
+ "kid",
1427
+ "n",
1428
+ "e"
1429
+ ]
1430
+ },
1431
+ {
1432
+ "description": "JSON Web Key (JWK) representation of an HMAC key.",
1433
+ "type": "object",
1434
+ "properties": {
1435
+ "kty": {
1436
+ "description": "Key type identifier, must be \"oct\" for HMAC keys.",
1437
+ "type": "string",
1438
+ "const": "oct"
1439
+ },
1440
+ "kid": {
1441
+ "description": "Key ID. Undefined kid indicates it can match any JWT, with or without a kid. Use a kid wherever possible.",
1442
+ "type": "string"
1443
+ },
1444
+ "k": {
1445
+ "description": "The HMAC key value, Base64 URL encoded.",
1446
+ "type": "string"
1447
+ },
1448
+ "alg": {
1449
+ "description": "The algorithm intended for use with this key (HS256, HS384, or HS512).",
1450
+ "anyOf": [
1451
+ {
1452
+ "type": "string",
1453
+ "const": "HS256"
1454
+ },
1455
+ {
1456
+ "type": "string",
1457
+ "const": "HS384"
1458
+ },
1459
+ {
1460
+ "type": "string",
1461
+ "const": "HS512"
1462
+ }
1463
+ ]
1464
+ },
1465
+ "use": {
1466
+ "description": "The intended use of the key (e.g., \"sig\" for signature).",
1467
+ "type": "string"
1468
+ }
1469
+ },
1470
+ "additionalProperties": true,
1471
+ "required": [
1472
+ "kty",
1473
+ "k",
1474
+ "alg"
1475
+ ]
1476
+ },
1477
+ {
1478
+ "description": "JSON Web Key (JWK) representation of an Octet Key Pair (OKP) key used with Edwards-curve Digital Signature Algorithm.",
1479
+ "type": "object",
1480
+ "properties": {
1481
+ "kty": {
1482
+ "description": "Key type identifier, must be \"OKP\" for Octet Key Pair keys.",
1483
+ "type": "string",
1484
+ "const": "OKP"
1485
+ },
1486
+ "kid": {
1487
+ "description": "Key ID, a unique identifier for the key.",
1488
+ "type": "string"
1489
+ },
1490
+ "crv": {
1491
+ "description": "The cryptographic curve used with this key. Only Ed25519 and Ed448 are supported.",
1492
+ "anyOf": [
1493
+ {
1494
+ "type": "string",
1495
+ "const": "Ed25519"
1496
+ },
1497
+ {
1498
+ "type": "string",
1499
+ "const": "Ed448"
1500
+ }
1501
+ ]
1502
+ },
1503
+ "x": {
1504
+ "description": "The public key, Base64 URL encoded.",
1505
+ "type": "string"
1506
+ },
1507
+ "alg": {
1508
+ "description": "The algorithm intended for use with this key (EdDSA).",
1509
+ "type": "string",
1510
+ "const": "EdDSA"
1511
+ },
1512
+ "use": {
1513
+ "description": "The intended use of the key (e.g., \"sig\" for signature).",
1514
+ "type": "string"
1515
+ }
1516
+ },
1517
+ "additionalProperties": true,
1518
+ "required": [
1519
+ "kty",
1520
+ "crv",
1521
+ "x",
1522
+ "alg"
1523
+ ]
1524
+ },
1525
+ {
1526
+ "description": "JSON Web Key (JWK) representation of an Elliptic Curve key.",
1527
+ "type": "object",
1528
+ "properties": {
1529
+ "kty": {
1530
+ "description": "Key type identifier, must be \"EC\" for Elliptic Curve keys.",
1531
+ "type": "string",
1532
+ "const": "EC"
1533
+ },
1534
+ "kid": {
1535
+ "description": "Key ID, a unique identifier for the key.",
1536
+ "type": "string"
1537
+ },
1538
+ "crv": {
1539
+ "description": "The cryptographic curve used with this key (P-256, P-384, or P-512).",
1540
+ "anyOf": [
1541
+ {
1542
+ "type": "string",
1543
+ "const": "P-256"
1544
+ },
1545
+ {
1546
+ "type": "string",
1547
+ "const": "P-384"
1548
+ },
1549
+ {
1550
+ "type": "string",
1551
+ "const": "P-512"
1552
+ }
1553
+ ]
1554
+ },
1555
+ "x": {
1556
+ "description": "The x coordinate for the Elliptic Curve point, Base64 URL encoded.",
1557
+ "type": "string"
1558
+ },
1559
+ "y": {
1560
+ "description": "The y coordinate for the Elliptic Curve point, Base64 URL encoded.",
1561
+ "type": "string"
1562
+ },
1563
+ "alg": {
1564
+ "description": "The algorithm intended for use with this key (ES256, ES384, or ES512).",
1565
+ "anyOf": [
1566
+ {
1567
+ "type": "string",
1568
+ "const": "ES256"
1569
+ },
1570
+ {
1571
+ "type": "string",
1572
+ "const": "ES384"
1573
+ },
1574
+ {
1575
+ "type": "string",
1576
+ "const": "ES512"
1577
+ }
1578
+ ]
1579
+ },
1580
+ "use": {
1581
+ "description": "The intended use of the key (e.g., \"sig\" for signature).",
1582
+ "type": "string"
1583
+ }
1584
+ },
1585
+ "additionalProperties": true,
1586
+ "required": [
1587
+ "kty",
1588
+ "crv",
1589
+ "x",
1590
+ "y",
1591
+ "alg"
1592
+ ]
1593
+ }
1594
+ ]
1595
+ }
1596
+ }
1597
+ },
1598
+ "additionalProperties": true,
1599
+ "required": [
1600
+ "keys"
1601
+ ]
1602
+ },
1603
+ "supabase": {
1604
+ "description": "Enables Supabase authentication integration.",
1605
+ "type": "boolean"
1606
+ },
1607
+ "supabase_jwt_secret": {
1608
+ "description": "JWT secret for Supabase authentication.",
1609
+ "type": "string"
1610
+ },
1611
+ "audience": {
1612
+ "description": "Valid audiences for JWT validation.",
1613
+ "type": "array",
1614
+ "items": {
1615
+ "type": "string"
1616
+ }
1617
+ }
1618
+ },
1619
+ "additionalProperties": true,
1620
+ "required": []
1621
+ },
1622
+ "api": {
1623
+ "description": "API service configuration and parameters.",
1624
+ "type": "object",
1625
+ "properties": {
1626
+ "tokens": {
1627
+ "description": "API access tokens for administrative operations.",
1628
+ "type": "array",
1629
+ "items": {
1630
+ "type": "string"
1631
+ }
1632
+ },
1633
+ "parameters": {
1634
+ "description": "Performance and safety parameters for the API service.",
1635
+ "type": "object",
1636
+ "properties": {
1637
+ "max_concurrent_connections": {
1638
+ "description": "Maximum number of connections (http streams or websockets) per API process.\nDefault of 200.",
1639
+ "type": "number"
1640
+ },
1641
+ "max_data_fetch_concurrency": {
1642
+ "description": "This should not be siginificantly more than storage.max_pool_size, otherwise it would block on the\npool. Increasing this can significantly increase memory usage in some cases.\nDefault of 10.",
1643
+ "type": "number"
1644
+ },
1645
+ "max_buckets_per_connection": {
1646
+ "description": "Maximum number of buckets for each connection.\nMore buckets increase latency and memory usage. While the actual number is controlled by sync rules,\nhaving a hard limit ensures that the service errors instead of crashing when a sync rule is misconfigured.\nDefault of 1000.",
1647
+ "type": "number"
1648
+ },
1649
+ "max_parameter_query_results": {
1650
+ "description": "Related to max_buckets_per_connection, but this limit applies directly on the parameter\nquery results, _before_ we convert it into an unique set.\nDefault of 1000.",
1651
+ "type": "number"
1652
+ }
1653
+ },
1654
+ "additionalProperties": true,
1655
+ "required": []
1656
+ }
1657
+ },
1658
+ "additionalProperties": true,
1659
+ "required": []
1660
+ },
1661
+ "storage": {
1662
+ "anyOf": [
1663
+ {
1664
+ "type": "object",
1665
+ "properties": {
1666
+ "type": {
1667
+ "description": "The type of storage backend to use (e.g., \"postgresql\", \"mongodb\").",
1668
+ "type": "string"
1669
+ },
1670
+ "max_pool_size": {
1671
+ "description": "Maximum number of connections to the storage database, per process. Defaults to 8.",
1672
+ "type": "number"
1673
+ }
1674
+ },
1675
+ "additionalProperties": true,
1676
+ "required": [
1677
+ "type"
1678
+ ]
1679
+ },
1680
+ {
1681
+ "type": "object",
1682
+ "properties": {
1683
+ "type": {
1684
+ "type": "string",
1685
+ "const": "postgresql"
1686
+ },
1687
+ "max_pool_size": {
1688
+ "type": "number"
1689
+ },
1690
+ "id": {
1691
+ "type": "string"
1692
+ },
1693
+ "tag": {
1694
+ "type": "string"
1695
+ },
1696
+ "uri": {
1697
+ "type": "string"
1698
+ },
1699
+ "hostname": {
1700
+ "type": "string"
1701
+ },
1702
+ "port": {
1703
+ "description": "A network port value that can be specified as either a number or a string that will be parsed to a number.",
1704
+ "anyOf": [
1705
+ {
1706
+ "type": "number"
1707
+ },
1708
+ {
1709
+ "type": "string"
1710
+ }
1711
+ ]
1712
+ },
1713
+ "username": {
1714
+ "type": "string"
1715
+ },
1716
+ "password": {
1717
+ "type": "string"
1718
+ },
1719
+ "database": {
1720
+ "type": "string"
1721
+ },
1722
+ "sslmode": {
1723
+ "anyOf": [
1724
+ {
1725
+ "type": "string",
1726
+ "const": "verify-full"
1727
+ },
1728
+ {
1729
+ "type": "string",
1730
+ "const": "verify-ca"
1731
+ },
1732
+ {
1733
+ "type": "string",
1734
+ "const": "disable"
1735
+ }
1736
+ ]
1737
+ },
1738
+ "cacert": {
1739
+ "type": "string"
1740
+ },
1741
+ "client_certificate": {
1742
+ "type": "string"
1743
+ },
1744
+ "client_private_key": {
1745
+ "type": "string"
1746
+ },
1747
+ "tls_servername": {
1748
+ "type": "string"
1749
+ },
1750
+ "reject_ip_ranges": {
1751
+ "type": "array",
1752
+ "items": {
1753
+ "type": "string"
1754
+ }
1755
+ },
1756
+ "slot_name_prefix": {
1757
+ "type": "string"
1758
+ },
1759
+ "connect_timeout": {
1760
+ "type": "number"
1761
+ },
1762
+ "batch_limits": {
1763
+ "type": "object",
1764
+ "properties": {
1765
+ "max_estimated_size": {
1766
+ "type": "number"
1767
+ },
1768
+ "max_record_count": {
1769
+ "type": "number"
1770
+ },
1771
+ "max_current_data_batch_size": {
1772
+ "type": "number"
1773
+ }
1774
+ },
1775
+ "additionalProperties": true,
1776
+ "required": []
1777
+ }
1778
+ },
1779
+ "additionalProperties": true,
1780
+ "required": [
1781
+ "type"
1782
+ ]
1783
+ },
1784
+ {
1785
+ "type": "object",
1786
+ "properties": {
1787
+ "type": {
1788
+ "type": "string",
1789
+ "const": "mongodb"
1790
+ },
1791
+ "uri": {
1792
+ "type": "string"
1793
+ },
1794
+ "database": {
1795
+ "type": "string"
1796
+ },
1797
+ "username": {
1798
+ "type": "string"
1799
+ },
1800
+ "password": {
1801
+ "type": "string"
1802
+ },
1803
+ "reject_ip_ranges": {
1804
+ "type": "array",
1805
+ "items": {
1806
+ "type": "string"
1807
+ }
1808
+ }
1809
+ },
1810
+ "additionalProperties": true,
1811
+ "required": [
1812
+ "type",
1813
+ "uri"
1814
+ ]
1815
+ }
1816
+ ]
1817
+ },
1818
+ "port": {
1819
+ "description": "The port on which the service will listen for connections. Can be specified as a number or string.",
1820
+ "anyOf": [
1821
+ {
1822
+ "type": "number"
1823
+ },
1824
+ {
1825
+ "type": "string"
1826
+ }
1827
+ ]
1828
+ },
1829
+ "sync_config": {
1830
+ "description": "Configuration for synchronization rules that define data access patterns.",
1831
+ "type": "object",
1832
+ "properties": {
1833
+ "path": {
1834
+ "description": "Path to the sync config YAML file.",
1835
+ "type": "string"
1836
+ },
1837
+ "content": {
1838
+ "description": "Inline sync config content as a string.",
1839
+ "type": "string"
1840
+ },
1841
+ "exit_on_error": {
1842
+ "description": "Whether to exit the process if there is an error parsing sync config.",
1843
+ "type": "boolean"
1844
+ }
1845
+ },
1846
+ "additionalProperties": true,
1847
+ "required": []
1848
+ },
1849
+ "sync_rules": {
1850
+ "description": "Deprecated. Use sync_config instead.",
1851
+ "type": "object",
1852
+ "properties": {
1853
+ "path": {
1854
+ "description": "Path to the sync config YAML file.",
1855
+ "type": "string"
1856
+ },
1857
+ "content": {
1858
+ "description": "Inline sync config content as a string.",
1859
+ "type": "string"
1860
+ },
1861
+ "exit_on_error": {
1862
+ "description": "Whether to exit the process if there is an error parsing sync config.",
1863
+ "type": "boolean"
1864
+ }
1865
+ },
1866
+ "additionalProperties": true,
1867
+ "required": []
1868
+ },
1869
+ "metadata": {
1870
+ "description": "Custom metadata key-value pairs for the service.",
1871
+ "type": "object",
1872
+ "additionalProperties": {
1873
+ "type": "string"
1874
+ },
1875
+ "properties": {},
1876
+ "required": []
1877
+ },
1878
+ "migrations": {
1879
+ "description": "Configuration for database schema migrations.",
1880
+ "type": "object",
1881
+ "properties": {
1882
+ "disable_auto_migration": {
1883
+ "description": "When true, disables automatic storage database schema migrations.",
1884
+ "type": "boolean"
1885
+ }
1886
+ },
1887
+ "additionalProperties": true,
1888
+ "required": []
1889
+ },
1890
+ "telemetry": {
1891
+ "description": "Configuration for service telemetry and monitoring.",
1892
+ "type": "object",
1893
+ "properties": {
1894
+ "prometheus_port": {
1895
+ "description": "Port on which Prometheus metrics will be exposed. When set, metrics will be available on this port for scraping.",
1896
+ "anyOf": [
1897
+ {
1898
+ "type": "number"
1899
+ },
1900
+ {
1901
+ "type": "string"
1902
+ }
1903
+ ]
1904
+ },
1905
+ "disable_telemetry_sharing": {
1906
+ "description": "When true, disables sharing of anonymized telemetry data.",
1907
+ "type": "boolean"
1908
+ },
1909
+ "internal_service_endpoint": {
1910
+ "description": "Internal endpoint for telemetry services.",
1911
+ "type": "string"
1912
+ }
1913
+ },
1914
+ "additionalProperties": true,
1915
+ "required": [
1916
+ "disable_telemetry_sharing"
1917
+ ]
1918
+ },
1919
+ "healthcheck": {
1920
+ "type": "object",
1921
+ "properties": {
1922
+ "probes": {
1923
+ "description": "Mechanisms for exposing health check data.",
1924
+ "type": "object",
1925
+ "properties": {
1926
+ "use_filesystem": {
1927
+ "description": "Enables exposing healthcheck status via filesystem files.",
1928
+ "type": "boolean"
1929
+ },
1930
+ "use_http": {
1931
+ "description": "Enables exposing healthcheck status via HTTP endpoints.",
1932
+ "type": "boolean"
1933
+ },
1934
+ "use_legacy": {
1935
+ "description": "Deprecated. \nEnables HTTP probes for both API and UNIFIED service modes. FileSystem probes are always enabled.",
1936
+ "type": "boolean"
1937
+ }
1938
+ },
1939
+ "additionalProperties": true,
1940
+ "required": []
1941
+ }
1942
+ },
1943
+ "additionalProperties": true,
1944
+ "required": []
1945
+ },
1946
+ "system": {
1947
+ "description": "System-level configuration options.",
1948
+ "type": "object",
1949
+ "properties": {
1950
+ "logging": {
1951
+ "description": "Service logging configuration.",
1952
+ "type": "object",
1953
+ "properties": {
1954
+ "level": {
1955
+ "description": "Log level for the service logs.",
1956
+ "anyOf": [
1957
+ {
1958
+ "type": "string",
1959
+ "const": "silly"
1960
+ },
1961
+ {
1962
+ "type": "string",
1963
+ "const": "debug"
1964
+ },
1965
+ {
1966
+ "type": "string",
1967
+ "const": "verbose"
1968
+ },
1969
+ {
1970
+ "type": "string",
1971
+ "const": "http"
1972
+ },
1973
+ {
1974
+ "type": "string",
1975
+ "const": "info"
1976
+ },
1977
+ {
1978
+ "type": "string",
1979
+ "const": "warn"
1980
+ },
1981
+ {
1982
+ "type": "string",
1983
+ "const": "error"
1984
+ }
1985
+ ]
1986
+ },
1987
+ "format": {
1988
+ "description": "Log output format.",
1989
+ "anyOf": [
1990
+ {
1991
+ "type": "string",
1992
+ "const": "json"
1993
+ },
1994
+ {
1995
+ "type": "string",
1996
+ "const": "text"
1997
+ }
1998
+ ]
1999
+ }
2000
+ },
2001
+ "additionalProperties": true,
2002
+ "required": []
2003
+ }
2004
+ },
2005
+ "additionalProperties": true,
2006
+ "required": []
2007
+ },
2008
+ "parameters": {
2009
+ "description": "Global parameters that can be referenced in sync rules and other configurations.",
2010
+ "type": "object",
2011
+ "additionalProperties": {
2012
+ "anyOf": [
2013
+ {
2014
+ "type": "number"
2015
+ },
2016
+ {
2017
+ "type": "string"
2018
+ },
2019
+ {
2020
+ "type": "boolean"
2021
+ },
2022
+ {
2023
+ "type": "null"
2024
+ }
2025
+ ]
2026
+ },
2027
+ "properties": {},
2028
+ "required": []
2029
+ },
2030
+ "_type": {
2031
+ "type": "string",
2032
+ "const": "self-hosted"
2033
+ }
2034
+ },
2035
+ "additionalProperties": false,
2036
+ "required": [
2037
+ "storage",
2038
+ "_type"
2039
+ ]
2040
+ }
2041
+ ]
2042
+ }