@takeshape/schema 8.256.0 → 8.257.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flatten-templates.d.ts +1 -1
- package/dist/flatten-templates.d.ts.map +1 -1
- package/dist/migration/index.d.ts +1 -0
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +4 -1
- package/dist/migration/to/v3.24.0.d.ts +5 -0
- package/dist/migration/to/v3.24.0.d.ts.map +1 -0
- package/dist/migration/to/v3.24.0.js +24 -0
- package/dist/project-schema/index.d.ts +4 -1
- package/dist/project-schema/index.d.ts.map +1 -1
- package/dist/project-schema/index.js +20 -3
- package/dist/project-schema/latest.d.ts +1 -13
- package/dist/project-schema/latest.d.ts.map +1 -1
- package/dist/project-schema/migrate.d.ts.map +1 -1
- package/dist/project-schema/migrate.js +4 -0
- package/dist/project-schema/v3.24.0.d.ts +1365 -0
- package/dist/project-schema/v3.24.0.d.ts.map +1 -0
- package/dist/project-schema/v3.24.0.js +5 -0
- package/dist/schema-util.d.ts +1 -1
- package/dist/schema-util.d.ts.map +1 -1
- package/dist/schema-util.js +0 -4
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +6 -4
- package/dist/schemas/index.ts +4 -2
- package/dist/schemas/project-schema/latest.json +617 -162
- package/dist/schemas/project-schema/v3.24.0.json +2907 -0
- package/dist/schemas/project-schema.json +3 -0
- package/dist/types/types.d.ts +4 -3
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/types.js +1 -1
- package/dist/util/patch-schema.d.ts +1 -1
- package/dist/util/patch-schema.d.ts.map +1 -1
- package/dist/util/patch-schema.js +3 -5
- package/dist/workflows.d.ts.map +1 -1
- package/dist/workflows.js +6 -1
- package/es/migration/index.js +3 -1
- package/es/migration/to/v3.24.0.js +16 -0
- package/es/project-schema/index.js +3 -1
- package/es/project-schema/migrate.js +5 -1
- package/es/project-schema/v3.24.0.js +1 -0
- package/es/schema-util.js +0 -4
- package/es/schemas/index.js +4 -3
- package/es/schemas/index.ts +4 -2
- package/es/schemas/project-schema/latest.json +617 -162
- package/es/schemas/project-schema/v3.24.0.json +2907 -0
- package/es/schemas/project-schema.json +3 -0
- package/es/types/types.js +1 -1
- package/es/util/patch-schema.js +3 -5
- package/es/workflows.js +6 -1
- package/examples/latest/betzino.json +1 -4
- package/examples/latest/blog-schema.json +1 -4
- package/examples/latest/brewery-schema.json +1 -4
- package/examples/latest/complex-project-schema.json +1 -4
- package/examples/latest/complex-schema.json +1 -4
- package/examples/latest/fabric-ecommerce.json +1 -4
- package/examples/latest/frank-and-fred-schema.json +1 -4
- package/examples/latest/klirr-schema.json +1 -4
- package/examples/latest/massive-schema.json +1 -4
- package/examples/latest/mill-components-schema.json +1 -4
- package/examples/latest/one-earth.json +1 -4
- package/examples/latest/pet-oneof-array.json +1 -4
- package/examples/latest/post-schema.json +1 -4
- package/examples/latest/pruned-shopify-product-schema.json +1 -4
- package/examples/latest/real-world-schema.json +1 -4
- package/examples/latest/recursive-repeater-schema.json +1 -4
- package/examples/latest/recursive-schema.json +1 -4
- package/examples/latest/rick-and-morty-ast.json +1 -4
- package/examples/latest/rick-and-morty-graphql.json +1 -4
- package/examples/latest/rick-and-morty-rest.json +1 -4
- package/examples/latest/schema-with-repeater-draftjs.json +1 -4
- package/examples/latest/shape-books-v3_2_0.json +1 -4
- package/examples/latest/shape-books.json +1 -4
- package/examples/latest/shopify-lookbook.json +1 -4
- package/examples/latest/shopify-product-2022-07.json +1 -4
- package/examples/latest/shopify-store-with-widget.json +1 -4
- package/examples/latest/stripe-product-runtime-schema.json +1 -4
- package/examples/latest/stripe-starter-resolved.json +1 -4
- package/examples/latest/user-schema-no-required.json +1 -4
- package/examples/latest/user-schema-with-defaults.json +1 -4
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://schema.takeshape.io/project-schema/v3.
|
|
3
|
+
"$id": "https://schema.takeshape.io/project-schema/v3.24.0#",
|
|
4
4
|
"title": "Project Schema",
|
|
5
5
|
"definitions": {
|
|
6
6
|
"schemaArray": {
|
|
@@ -29,7 +29,15 @@
|
|
|
29
29
|
},
|
|
30
30
|
"simpleTypes": {
|
|
31
31
|
"title": "Simple Types",
|
|
32
|
-
"enum": [
|
|
32
|
+
"enum": [
|
|
33
|
+
"array",
|
|
34
|
+
"boolean",
|
|
35
|
+
"integer",
|
|
36
|
+
"null",
|
|
37
|
+
"number",
|
|
38
|
+
"object",
|
|
39
|
+
"string"
|
|
40
|
+
]
|
|
33
41
|
},
|
|
34
42
|
"stringArray": {
|
|
35
43
|
"title": "String Array",
|
|
@@ -54,7 +62,9 @@
|
|
|
54
62
|
}
|
|
55
63
|
},
|
|
56
64
|
"additionalProperties": false,
|
|
57
|
-
"required": [
|
|
65
|
+
"required": [
|
|
66
|
+
"enabled"
|
|
67
|
+
]
|
|
58
68
|
},
|
|
59
69
|
"mappingString": {
|
|
60
70
|
"title": "Mapping String",
|
|
@@ -83,7 +93,9 @@
|
|
|
83
93
|
"$ref": "#/definitions/ref"
|
|
84
94
|
}
|
|
85
95
|
},
|
|
86
|
-
"required": [
|
|
96
|
+
"required": [
|
|
97
|
+
"@ref"
|
|
98
|
+
]
|
|
87
99
|
},
|
|
88
100
|
"refSchemaLegacy": {
|
|
89
101
|
"title": "Ref Schema Legacy",
|
|
@@ -93,7 +105,9 @@
|
|
|
93
105
|
"$ref": "#/definitions/ref"
|
|
94
106
|
}
|
|
95
107
|
},
|
|
96
|
-
"required": [
|
|
108
|
+
"required": [
|
|
109
|
+
"$ref"
|
|
110
|
+
]
|
|
97
111
|
},
|
|
98
112
|
"shapeSchemaEnum": {
|
|
99
113
|
"title": "Shape Schema Enum",
|
|
@@ -108,7 +122,9 @@
|
|
|
108
122
|
}
|
|
109
123
|
},
|
|
110
124
|
"additionalProperties": false,
|
|
111
|
-
"required": [
|
|
125
|
+
"required": [
|
|
126
|
+
"enum"
|
|
127
|
+
]
|
|
112
128
|
},
|
|
113
129
|
"objectSchema": {
|
|
114
130
|
"title": "Object Schema",
|
|
@@ -130,7 +146,10 @@
|
|
|
130
146
|
}
|
|
131
147
|
}
|
|
132
148
|
},
|
|
133
|
-
"required": [
|
|
149
|
+
"required": [
|
|
150
|
+
"type",
|
|
151
|
+
"properties"
|
|
152
|
+
]
|
|
134
153
|
}
|
|
135
154
|
]
|
|
136
155
|
},
|
|
@@ -149,20 +168,32 @@
|
|
|
149
168
|
},
|
|
150
169
|
"items": {
|
|
151
170
|
"oneOf": [
|
|
152
|
-
{
|
|
171
|
+
{
|
|
172
|
+
"$ref": "#/definitions/refSchema"
|
|
173
|
+
},
|
|
153
174
|
{
|
|
154
175
|
"type": "object",
|
|
155
176
|
"properties": {
|
|
156
177
|
"type": {
|
|
157
|
-
"enum": [
|
|
178
|
+
"enum": [
|
|
179
|
+
"boolean",
|
|
180
|
+
"integer",
|
|
181
|
+
"number",
|
|
182
|
+
"string"
|
|
183
|
+
]
|
|
158
184
|
}
|
|
159
185
|
},
|
|
160
|
-
"required": [
|
|
186
|
+
"required": [
|
|
187
|
+
"type"
|
|
188
|
+
]
|
|
161
189
|
}
|
|
162
190
|
]
|
|
163
191
|
}
|
|
164
192
|
},
|
|
165
|
-
"required": [
|
|
193
|
+
"required": [
|
|
194
|
+
"type",
|
|
195
|
+
"items"
|
|
196
|
+
]
|
|
166
197
|
}
|
|
167
198
|
]
|
|
168
199
|
},
|
|
@@ -188,21 +219,31 @@
|
|
|
188
219
|
"title": "Shape Schema All Of",
|
|
189
220
|
"type": "object",
|
|
190
221
|
"properties": {
|
|
191
|
-
"allOf": {
|
|
222
|
+
"allOf": {
|
|
223
|
+
"$ref": "#/definitions/objectOrRefArray"
|
|
224
|
+
}
|
|
192
225
|
},
|
|
193
|
-
"required": [
|
|
226
|
+
"required": [
|
|
227
|
+
"allOf"
|
|
228
|
+
],
|
|
194
229
|
"additionalProperties": false
|
|
195
230
|
},
|
|
196
231
|
"allOfSchema": {
|
|
197
232
|
"title": "AllOfSchema",
|
|
198
233
|
"allOf": [
|
|
199
|
-
{
|
|
234
|
+
{
|
|
235
|
+
"$ref": "#/definitions/propertySchema"
|
|
236
|
+
},
|
|
200
237
|
{
|
|
201
238
|
"type": "object",
|
|
202
239
|
"properties": {
|
|
203
|
-
"allOf": {
|
|
240
|
+
"allOf": {
|
|
241
|
+
"$ref": "#/definitions/objectOrRefArray"
|
|
242
|
+
}
|
|
204
243
|
},
|
|
205
|
-
"required": [
|
|
244
|
+
"required": [
|
|
245
|
+
"allOf"
|
|
246
|
+
]
|
|
206
247
|
}
|
|
207
248
|
]
|
|
208
249
|
},
|
|
@@ -210,21 +251,31 @@
|
|
|
210
251
|
"title": "ShapeSchemaExtends",
|
|
211
252
|
"type": "object",
|
|
212
253
|
"properties": {
|
|
213
|
-
"extends": {
|
|
254
|
+
"extends": {
|
|
255
|
+
"$ref": "#/definitions/objectOrRefArray"
|
|
256
|
+
}
|
|
214
257
|
},
|
|
215
|
-
"required": [
|
|
258
|
+
"required": [
|
|
259
|
+
"extends"
|
|
260
|
+
],
|
|
216
261
|
"additionalProperties": false
|
|
217
262
|
},
|
|
218
263
|
"extendsSchema": {
|
|
219
264
|
"title": "ExtendsSchema",
|
|
220
265
|
"allOf": [
|
|
221
|
-
{
|
|
266
|
+
{
|
|
267
|
+
"$ref": "#/definitions/propertySchema"
|
|
268
|
+
},
|
|
222
269
|
{
|
|
223
270
|
"type": "object",
|
|
224
271
|
"properties": {
|
|
225
|
-
"extends": {
|
|
272
|
+
"extends": {
|
|
273
|
+
"$ref": "#/definitions/objectOrRefArray"
|
|
274
|
+
}
|
|
226
275
|
},
|
|
227
|
-
"required": [
|
|
276
|
+
"required": [
|
|
277
|
+
"extends"
|
|
278
|
+
]
|
|
228
279
|
}
|
|
229
280
|
]
|
|
230
281
|
},
|
|
@@ -232,21 +283,31 @@
|
|
|
232
283
|
"title": "Shape Schema One Of",
|
|
233
284
|
"type": "object",
|
|
234
285
|
"properties": {
|
|
235
|
-
"oneOf": {
|
|
286
|
+
"oneOf": {
|
|
287
|
+
"$ref": "#/definitions/objectOrRefArray"
|
|
288
|
+
}
|
|
236
289
|
},
|
|
237
|
-
"required": [
|
|
290
|
+
"required": [
|
|
291
|
+
"oneOf"
|
|
292
|
+
],
|
|
238
293
|
"additionalProperties": false
|
|
239
294
|
},
|
|
240
295
|
"oneOfSchema": {
|
|
241
296
|
"title": "OneOfSchema",
|
|
242
297
|
"allOf": [
|
|
243
|
-
{
|
|
298
|
+
{
|
|
299
|
+
"$ref": "#/definitions/propertySchema"
|
|
300
|
+
},
|
|
244
301
|
{
|
|
245
302
|
"type": "object",
|
|
246
303
|
"properties": {
|
|
247
|
-
"oneOf": {
|
|
304
|
+
"oneOf": {
|
|
305
|
+
"$ref": "#/definitions/objectOrRefArray"
|
|
306
|
+
}
|
|
248
307
|
},
|
|
249
|
-
"required": [
|
|
308
|
+
"required": [
|
|
309
|
+
"oneOf"
|
|
310
|
+
],
|
|
250
311
|
"additionalProperties": false
|
|
251
312
|
}
|
|
252
313
|
]
|
|
@@ -255,11 +316,21 @@
|
|
|
255
316
|
"title": "Shape Schema",
|
|
256
317
|
"type": "object",
|
|
257
318
|
"oneOf": [
|
|
258
|
-
{
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
{
|
|
262
|
-
|
|
319
|
+
{
|
|
320
|
+
"$ref": "#/definitions/shapeSchemaAllOf"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"$ref": "#/definitions/shapeSchemaExtends"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"$ref": "#/definitions/shapeSchemaOneOf"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"$ref": "#/definitions/shapeSchemaEnum"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"$ref": "#/definitions/objectSchema"
|
|
333
|
+
}
|
|
263
334
|
]
|
|
264
335
|
},
|
|
265
336
|
"queryMap": {
|
|
@@ -273,11 +344,25 @@
|
|
|
273
344
|
},
|
|
274
345
|
"args": {
|
|
275
346
|
"title": "Args",
|
|
276
|
-
"oneOf": [
|
|
347
|
+
"oneOf": [
|
|
348
|
+
{
|
|
349
|
+
"type": "string"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"$ref": "#/definitions/objectSchema"
|
|
353
|
+
}
|
|
354
|
+
]
|
|
277
355
|
},
|
|
278
356
|
"returnShape": {
|
|
279
357
|
"title": "Return Shape",
|
|
280
|
-
"oneOf": [
|
|
358
|
+
"oneOf": [
|
|
359
|
+
{
|
|
360
|
+
"type": "string"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"$ref": "#/definitions/returnShapeArraySchema"
|
|
364
|
+
}
|
|
365
|
+
]
|
|
281
366
|
},
|
|
282
367
|
"directiveConfigItem": {
|
|
283
368
|
"title": "Directive Config Item",
|
|
@@ -304,7 +389,16 @@
|
|
|
304
389
|
"properties": {
|
|
305
390
|
"style": {
|
|
306
391
|
"type": "string",
|
|
307
|
-
"enum": [
|
|
392
|
+
"enum": [
|
|
393
|
+
"simple",
|
|
394
|
+
"label",
|
|
395
|
+
"matrix",
|
|
396
|
+
"form",
|
|
397
|
+
"spaceDelimited",
|
|
398
|
+
"pipeDelimited",
|
|
399
|
+
"deepObject",
|
|
400
|
+
"none"
|
|
401
|
+
]
|
|
308
402
|
},
|
|
309
403
|
"explode": {
|
|
310
404
|
"type": "boolean"
|
|
@@ -320,7 +414,9 @@
|
|
|
320
414
|
"type": "boolean"
|
|
321
415
|
}
|
|
322
416
|
},
|
|
323
|
-
"required": [
|
|
417
|
+
"required": [
|
|
418
|
+
"style"
|
|
419
|
+
],
|
|
324
420
|
"additionalProperties": false
|
|
325
421
|
},
|
|
326
422
|
"parameterSerializeStyleOptionsForPathParams": {
|
|
@@ -330,7 +426,12 @@
|
|
|
330
426
|
"properties": {
|
|
331
427
|
"style": {
|
|
332
428
|
"type": "string",
|
|
333
|
-
"enum": [
|
|
429
|
+
"enum": [
|
|
430
|
+
"simple",
|
|
431
|
+
"label",
|
|
432
|
+
"matrix",
|
|
433
|
+
"none"
|
|
434
|
+
]
|
|
334
435
|
},
|
|
335
436
|
"explode": {
|
|
336
437
|
"type": "boolean"
|
|
@@ -346,7 +447,9 @@
|
|
|
346
447
|
"type": "boolean"
|
|
347
448
|
}
|
|
348
449
|
},
|
|
349
|
-
"required": [
|
|
450
|
+
"required": [
|
|
451
|
+
"style"
|
|
452
|
+
],
|
|
350
453
|
"additionalProperties": false
|
|
351
454
|
},
|
|
352
455
|
"parameterSerializeStyleOptionsForSearchParams": {
|
|
@@ -356,7 +459,13 @@
|
|
|
356
459
|
"properties": {
|
|
357
460
|
"style": {
|
|
358
461
|
"type": "string",
|
|
359
|
-
"enum": [
|
|
462
|
+
"enum": [
|
|
463
|
+
"form",
|
|
464
|
+
"spaceDelimited",
|
|
465
|
+
"pipeDelimited",
|
|
466
|
+
"deepObject",
|
|
467
|
+
"none"
|
|
468
|
+
]
|
|
360
469
|
},
|
|
361
470
|
"explode": {
|
|
362
471
|
"type": "boolean"
|
|
@@ -372,7 +481,9 @@
|
|
|
372
481
|
"type": "boolean"
|
|
373
482
|
}
|
|
374
483
|
},
|
|
375
|
-
"required": [
|
|
484
|
+
"required": [
|
|
485
|
+
"style"
|
|
486
|
+
],
|
|
376
487
|
"additionalProperties": false
|
|
377
488
|
},
|
|
378
489
|
"parameterSerializeStyleOptionsForHeaders": {
|
|
@@ -382,13 +493,18 @@
|
|
|
382
493
|
"properties": {
|
|
383
494
|
"style": {
|
|
384
495
|
"type": "string",
|
|
385
|
-
"enum": [
|
|
496
|
+
"enum": [
|
|
497
|
+
"simple",
|
|
498
|
+
"none"
|
|
499
|
+
]
|
|
386
500
|
},
|
|
387
501
|
"explode": {
|
|
388
502
|
"type": "boolean"
|
|
389
503
|
}
|
|
390
504
|
},
|
|
391
|
-
"required": [
|
|
505
|
+
"required": [
|
|
506
|
+
"style"
|
|
507
|
+
],
|
|
392
508
|
"additionalProperties": false
|
|
393
509
|
},
|
|
394
510
|
"parameterSerializeContentOptions": {
|
|
@@ -411,7 +527,9 @@
|
|
|
411
527
|
"type": "object"
|
|
412
528
|
}
|
|
413
529
|
},
|
|
414
|
-
"required": [
|
|
530
|
+
"required": [
|
|
531
|
+
"contentType"
|
|
532
|
+
],
|
|
415
533
|
"additionalProperties": false
|
|
416
534
|
},
|
|
417
535
|
"parameterSerializeOptions": {
|
|
@@ -441,7 +559,9 @@
|
|
|
441
559
|
"paths": {
|
|
442
560
|
"type": "object",
|
|
443
561
|
"patternProperties": {
|
|
444
|
-
"^[^\\n\\r]*$": {
|
|
562
|
+
"^[^\\n\\r]*$": {
|
|
563
|
+
"$ref": "#/definitions/parameterSerializeOptions"
|
|
564
|
+
}
|
|
445
565
|
}
|
|
446
566
|
}
|
|
447
567
|
},
|
|
@@ -493,7 +613,9 @@
|
|
|
493
613
|
}
|
|
494
614
|
}
|
|
495
615
|
},
|
|
496
|
-
"required": [
|
|
616
|
+
"required": [
|
|
617
|
+
"template"
|
|
618
|
+
],
|
|
497
619
|
"additionalProperties": false
|
|
498
620
|
},
|
|
499
621
|
"parameterSerializeConfigForSearchParams": {
|
|
@@ -576,14 +698,22 @@
|
|
|
576
698
|
"op": {
|
|
577
699
|
"description": "A mode for this parameter's operation.",
|
|
578
700
|
"type": "string",
|
|
579
|
-
"enum": [
|
|
701
|
+
"enum": [
|
|
702
|
+
"set",
|
|
703
|
+
"concat",
|
|
704
|
+
"extend",
|
|
705
|
+
"remove"
|
|
706
|
+
]
|
|
580
707
|
},
|
|
581
708
|
"ops": {
|
|
582
709
|
"description": "A nested op list.",
|
|
583
710
|
"$ref": "#/definitions/parameterOpList"
|
|
584
711
|
}
|
|
585
712
|
},
|
|
586
|
-
"required": [
|
|
713
|
+
"required": [
|
|
714
|
+
"path",
|
|
715
|
+
"ops"
|
|
716
|
+
],
|
|
587
717
|
"additionalProperties": false
|
|
588
718
|
},
|
|
589
719
|
"parameterOpValue": {
|
|
@@ -600,14 +730,29 @@
|
|
|
600
730
|
"op": {
|
|
601
731
|
"description": "A mode for this parameter's operation.",
|
|
602
732
|
"type": "string",
|
|
603
|
-
"enum": [
|
|
733
|
+
"enum": [
|
|
734
|
+
"set",
|
|
735
|
+
"concat",
|
|
736
|
+
"extend",
|
|
737
|
+
"remove"
|
|
738
|
+
]
|
|
604
739
|
},
|
|
605
740
|
"value": {
|
|
606
741
|
"description": "A value to set directly at this path.",
|
|
607
|
-
"type": [
|
|
742
|
+
"type": [
|
|
743
|
+
"number",
|
|
744
|
+
"string",
|
|
745
|
+
"boolean",
|
|
746
|
+
"object",
|
|
747
|
+
"array",
|
|
748
|
+
"null"
|
|
749
|
+
]
|
|
608
750
|
}
|
|
609
751
|
},
|
|
610
|
-
"required": [
|
|
752
|
+
"required": [
|
|
753
|
+
"path",
|
|
754
|
+
"value"
|
|
755
|
+
],
|
|
611
756
|
"additionalProperties": false
|
|
612
757
|
},
|
|
613
758
|
"parameterOpMapping": {
|
|
@@ -624,7 +769,12 @@
|
|
|
624
769
|
"op": {
|
|
625
770
|
"description": "A mode for this parameter's operation.",
|
|
626
771
|
"type": "string",
|
|
627
|
-
"enum": [
|
|
772
|
+
"enum": [
|
|
773
|
+
"set",
|
|
774
|
+
"concat",
|
|
775
|
+
"extend",
|
|
776
|
+
"remove"
|
|
777
|
+
]
|
|
628
778
|
},
|
|
629
779
|
"mapping": {
|
|
630
780
|
"description": "Either a valid JSONPath or a directive pipeline to evaluate against the query context.",
|
|
@@ -639,7 +789,10 @@
|
|
|
639
789
|
]
|
|
640
790
|
}
|
|
641
791
|
},
|
|
642
|
-
"required": [
|
|
792
|
+
"required": [
|
|
793
|
+
"path",
|
|
794
|
+
"mapping"
|
|
795
|
+
],
|
|
643
796
|
"additionalProperties": false
|
|
644
797
|
},
|
|
645
798
|
"parameterOpOp": {
|
|
@@ -656,10 +809,18 @@
|
|
|
656
809
|
"op": {
|
|
657
810
|
"description": "A mode for this parameter's operation.",
|
|
658
811
|
"type": "string",
|
|
659
|
-
"enum": [
|
|
812
|
+
"enum": [
|
|
813
|
+
"set",
|
|
814
|
+
"concat",
|
|
815
|
+
"extend",
|
|
816
|
+
"remove"
|
|
817
|
+
]
|
|
660
818
|
}
|
|
661
819
|
},
|
|
662
|
-
"required": [
|
|
820
|
+
"required": [
|
|
821
|
+
"path",
|
|
822
|
+
"op"
|
|
823
|
+
],
|
|
663
824
|
"additionalProperties": false
|
|
664
825
|
},
|
|
665
826
|
"parameterOp": {
|
|
@@ -700,7 +861,9 @@
|
|
|
700
861
|
"$ref": "#/definitions/parameterSerializeConfig"
|
|
701
862
|
}
|
|
702
863
|
},
|
|
703
|
-
"required": [
|
|
864
|
+
"required": [
|
|
865
|
+
"ops"
|
|
866
|
+
],
|
|
704
867
|
"additionalProperties": false
|
|
705
868
|
},
|
|
706
869
|
"parameterConfigForBody": {
|
|
@@ -714,7 +877,9 @@
|
|
|
714
877
|
"$ref": "#/definitions/parameterSerializeConfigForBody"
|
|
715
878
|
}
|
|
716
879
|
},
|
|
717
|
-
"required": [
|
|
880
|
+
"required": [
|
|
881
|
+
"ops"
|
|
882
|
+
],
|
|
718
883
|
"additionalProperties": false
|
|
719
884
|
},
|
|
720
885
|
"parameterConfigForPathParams": {
|
|
@@ -728,7 +893,10 @@
|
|
|
728
893
|
"$ref": "#/definitions/parameterSerializeConfigForPathParams"
|
|
729
894
|
}
|
|
730
895
|
},
|
|
731
|
-
"required": [
|
|
896
|
+
"required": [
|
|
897
|
+
"ops",
|
|
898
|
+
"serialize"
|
|
899
|
+
],
|
|
732
900
|
"additionalProperties": false
|
|
733
901
|
},
|
|
734
902
|
"parameterConfigForAwsLambda": {
|
|
@@ -742,7 +910,10 @@
|
|
|
742
910
|
"$ref": "#/definitions/parameterSerializeConfigForPathParams"
|
|
743
911
|
}
|
|
744
912
|
},
|
|
745
|
-
"required": [
|
|
913
|
+
"required": [
|
|
914
|
+
"ops",
|
|
915
|
+
"serialize"
|
|
916
|
+
],
|
|
746
917
|
"additionalProperties": false
|
|
747
918
|
},
|
|
748
919
|
"parameterConfigForSearchParams": {
|
|
@@ -756,7 +927,9 @@
|
|
|
756
927
|
"$ref": "#/definitions/parameterSerializeConfigForSearchParams"
|
|
757
928
|
}
|
|
758
929
|
},
|
|
759
|
-
"required": [
|
|
930
|
+
"required": [
|
|
931
|
+
"ops"
|
|
932
|
+
],
|
|
760
933
|
"additionalProperties": false
|
|
761
934
|
},
|
|
762
935
|
"parameterConfigForHeaders": {
|
|
@@ -770,7 +943,9 @@
|
|
|
770
943
|
"$ref": "#/definitions/parameterSerializeConfigForHeaders"
|
|
771
944
|
}
|
|
772
945
|
},
|
|
773
|
-
"required": [
|
|
946
|
+
"required": [
|
|
947
|
+
"ops"
|
|
948
|
+
],
|
|
774
949
|
"additionalProperties": false
|
|
775
950
|
},
|
|
776
951
|
"parameterConfigForJson": {
|
|
@@ -781,7 +956,9 @@
|
|
|
781
956
|
"$ref": "#/definitions/parameterOpList"
|
|
782
957
|
}
|
|
783
958
|
},
|
|
784
|
-
"required": [
|
|
959
|
+
"required": [
|
|
960
|
+
"ops"
|
|
961
|
+
],
|
|
785
962
|
"additionalProperties": false
|
|
786
963
|
},
|
|
787
964
|
"directiveConfig": {
|
|
@@ -807,13 +984,22 @@
|
|
|
807
984
|
"title": "Directive Mapping Array Item",
|
|
808
985
|
"description": "A tuple with a string key and a directive config to evaluate",
|
|
809
986
|
"type": "array",
|
|
810
|
-
"items": [
|
|
987
|
+
"items": [
|
|
988
|
+
{
|
|
989
|
+
"type": "string"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"$ref": "#/definitions/directiveConfig"
|
|
993
|
+
}
|
|
994
|
+
]
|
|
811
995
|
},
|
|
812
996
|
"directiveMappingArray": {
|
|
813
997
|
"title": "Directive Mapping Array",
|
|
814
998
|
"description": "An array of key / value or directive config tuples",
|
|
815
999
|
"type": "array",
|
|
816
|
-
"items": {
|
|
1000
|
+
"items": {
|
|
1001
|
+
"$ref": "#/definitions/directiveMappingArrayItem"
|
|
1002
|
+
}
|
|
817
1003
|
},
|
|
818
1004
|
"basicResolver": {
|
|
819
1005
|
"title": "BasicResolver",
|
|
@@ -916,7 +1102,10 @@
|
|
|
916
1102
|
"title": "UtilResolverName",
|
|
917
1103
|
"type": "string",
|
|
918
1104
|
"description": "Name of the resolver function.",
|
|
919
|
-
"enum": [
|
|
1105
|
+
"enum": [
|
|
1106
|
+
"debug:noop",
|
|
1107
|
+
"util:wrap"
|
|
1108
|
+
]
|
|
920
1109
|
},
|
|
921
1110
|
"service": {
|
|
922
1111
|
"type": "string",
|
|
@@ -942,14 +1131,19 @@
|
|
|
942
1131
|
"$ref": "#/definitions/resultsMapping"
|
|
943
1132
|
}
|
|
944
1133
|
},
|
|
945
|
-
"required": [
|
|
1134
|
+
"required": [
|
|
1135
|
+
"name",
|
|
1136
|
+
"service"
|
|
1137
|
+
],
|
|
946
1138
|
"additionalProperties": false
|
|
947
1139
|
},
|
|
948
1140
|
"delegateResolver": {
|
|
949
1141
|
"title": "DelegateResolver",
|
|
950
1142
|
"type": "object",
|
|
951
1143
|
"properties": {
|
|
952
|
-
"if": {
|
|
1144
|
+
"if": {
|
|
1145
|
+
"type": "string"
|
|
1146
|
+
},
|
|
953
1147
|
"id": {
|
|
954
1148
|
"type": "string",
|
|
955
1149
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -987,14 +1181,19 @@
|
|
|
987
1181
|
"$ref": "#/definitions/parameterConfigForJson"
|
|
988
1182
|
}
|
|
989
1183
|
},
|
|
990
|
-
"required": [
|
|
1184
|
+
"required": [
|
|
1185
|
+
"name",
|
|
1186
|
+
"to"
|
|
1187
|
+
],
|
|
991
1188
|
"additionalProperties": false
|
|
992
1189
|
},
|
|
993
1190
|
"takeshapeResolver": {
|
|
994
1191
|
"title": "TakeshapeResolver",
|
|
995
1192
|
"type": "object",
|
|
996
1193
|
"properties": {
|
|
997
|
-
"if": {
|
|
1194
|
+
"if": {
|
|
1195
|
+
"type": "string"
|
|
1196
|
+
},
|
|
998
1197
|
"id": {
|
|
999
1198
|
"type": "string",
|
|
1000
1199
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1016,7 +1215,9 @@
|
|
|
1016
1215
|
"service": {
|
|
1017
1216
|
"type": "string",
|
|
1018
1217
|
"description": "Internal service identifier.",
|
|
1019
|
-
"enum": [
|
|
1218
|
+
"enum": [
|
|
1219
|
+
"takeshape:local"
|
|
1220
|
+
]
|
|
1020
1221
|
},
|
|
1021
1222
|
"options": {
|
|
1022
1223
|
"title": "TakeshapeResolverOptions",
|
|
@@ -1043,7 +1244,11 @@
|
|
|
1043
1244
|
"$ref": "#/definitions/parameterConfigForJson"
|
|
1044
1245
|
}
|
|
1045
1246
|
},
|
|
1046
|
-
"required": [
|
|
1247
|
+
"required": [
|
|
1248
|
+
"name",
|
|
1249
|
+
"service",
|
|
1250
|
+
"shapeName"
|
|
1251
|
+
],
|
|
1047
1252
|
"additionalProperties": false
|
|
1048
1253
|
},
|
|
1049
1254
|
"internalTakeshapeResolver": {
|
|
@@ -1072,7 +1277,9 @@
|
|
|
1072
1277
|
"service": {
|
|
1073
1278
|
"type": "string",
|
|
1074
1279
|
"description": "Internal service identifier.",
|
|
1075
|
-
"enum": [
|
|
1280
|
+
"enum": [
|
|
1281
|
+
"takeshape:local"
|
|
1282
|
+
]
|
|
1076
1283
|
},
|
|
1077
1284
|
"options": {
|
|
1078
1285
|
"title": "TakeshapeResolverOptions",
|
|
@@ -1099,14 +1306,19 @@
|
|
|
1099
1306
|
"$ref": "#/definitions/resultsMapping"
|
|
1100
1307
|
}
|
|
1101
1308
|
},
|
|
1102
|
-
"required": [
|
|
1309
|
+
"required": [
|
|
1310
|
+
"name",
|
|
1311
|
+
"service"
|
|
1312
|
+
],
|
|
1103
1313
|
"additionalProperties": false
|
|
1104
1314
|
},
|
|
1105
1315
|
"graphqlResolver": {
|
|
1106
1316
|
"title": "GraphqlResolver",
|
|
1107
1317
|
"type": "object",
|
|
1108
1318
|
"properties": {
|
|
1109
|
-
"if": {
|
|
1319
|
+
"if": {
|
|
1320
|
+
"type": "string"
|
|
1321
|
+
},
|
|
1110
1322
|
"id": {
|
|
1111
1323
|
"type": "string",
|
|
1112
1324
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1115,7 +1327,10 @@
|
|
|
1115
1327
|
"title": "GraphqlResolverName",
|
|
1116
1328
|
"type": "string",
|
|
1117
1329
|
"description": "Name of the resolver function.",
|
|
1118
|
-
"enum": [
|
|
1330
|
+
"enum": [
|
|
1331
|
+
"graphql:query",
|
|
1332
|
+
"graphql:mutation"
|
|
1333
|
+
]
|
|
1119
1334
|
},
|
|
1120
1335
|
"service": {
|
|
1121
1336
|
"type": "string",
|
|
@@ -1131,13 +1346,34 @@
|
|
|
1131
1346
|
"title": "GraphqlResolverOptions",
|
|
1132
1347
|
"type": "object",
|
|
1133
1348
|
"properties": {
|
|
1134
|
-
"selectionSet": {
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
"
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
"
|
|
1349
|
+
"selectionSet": {
|
|
1350
|
+
"type": "string"
|
|
1351
|
+
},
|
|
1352
|
+
"unboxParentSelectionSet": {
|
|
1353
|
+
"type": "boolean"
|
|
1354
|
+
},
|
|
1355
|
+
"ignoreErrors": {
|
|
1356
|
+
"type": "boolean"
|
|
1357
|
+
},
|
|
1358
|
+
"skipWhenMissingArgs": {
|
|
1359
|
+
"type": "boolean"
|
|
1360
|
+
},
|
|
1361
|
+
"ttl": {
|
|
1362
|
+
"type": "number"
|
|
1363
|
+
},
|
|
1364
|
+
"timeout": {
|
|
1365
|
+
"type": "number"
|
|
1366
|
+
},
|
|
1367
|
+
"retry": {
|
|
1368
|
+
"oneOf": [
|
|
1369
|
+
{
|
|
1370
|
+
"type": "number"
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"type": "object"
|
|
1374
|
+
}
|
|
1375
|
+
]
|
|
1376
|
+
}
|
|
1141
1377
|
},
|
|
1142
1378
|
"additionalProperties": true
|
|
1143
1379
|
},
|
|
@@ -1162,14 +1398,20 @@
|
|
|
1162
1398
|
"$ref": "#/definitions/parameterConfigForJson"
|
|
1163
1399
|
}
|
|
1164
1400
|
},
|
|
1165
|
-
"required": [
|
|
1401
|
+
"required": [
|
|
1402
|
+
"name",
|
|
1403
|
+
"service",
|
|
1404
|
+
"fieldName"
|
|
1405
|
+
],
|
|
1166
1406
|
"additionalProperties": false
|
|
1167
1407
|
},
|
|
1168
1408
|
"restResolver": {
|
|
1169
1409
|
"title": "RestResolver",
|
|
1170
1410
|
"type": "object",
|
|
1171
1411
|
"properties": {
|
|
1172
|
-
"if": {
|
|
1412
|
+
"if": {
|
|
1413
|
+
"type": "string"
|
|
1414
|
+
},
|
|
1173
1415
|
"id": {
|
|
1174
1416
|
"type": "string",
|
|
1175
1417
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1178,7 +1420,14 @@
|
|
|
1178
1420
|
"title": "RestResolverName",
|
|
1179
1421
|
"type": "string",
|
|
1180
1422
|
"description": "Name of the resolver function.",
|
|
1181
|
-
"enum": [
|
|
1423
|
+
"enum": [
|
|
1424
|
+
"rest:get",
|
|
1425
|
+
"rest:head",
|
|
1426
|
+
"rest:post",
|
|
1427
|
+
"rest:put",
|
|
1428
|
+
"rest:patch",
|
|
1429
|
+
"rest:delete"
|
|
1430
|
+
]
|
|
1182
1431
|
},
|
|
1183
1432
|
"service": {
|
|
1184
1433
|
"type": "string",
|
|
@@ -1197,10 +1446,25 @@
|
|
|
1197
1446
|
"title": "RestResolverOptions",
|
|
1198
1447
|
"type": "object",
|
|
1199
1448
|
"properties": {
|
|
1200
|
-
"trailingSlash": {
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
"
|
|
1449
|
+
"trailingSlash": {
|
|
1450
|
+
"type": "boolean"
|
|
1451
|
+
},
|
|
1452
|
+
"ttl": {
|
|
1453
|
+
"type": "number"
|
|
1454
|
+
},
|
|
1455
|
+
"timeout": {
|
|
1456
|
+
"type": "number"
|
|
1457
|
+
},
|
|
1458
|
+
"retry": {
|
|
1459
|
+
"oneOf": [
|
|
1460
|
+
{
|
|
1461
|
+
"type": "number"
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"type": "object"
|
|
1465
|
+
}
|
|
1466
|
+
]
|
|
1467
|
+
}
|
|
1204
1468
|
},
|
|
1205
1469
|
"additionalProperties": true
|
|
1206
1470
|
},
|
|
@@ -1244,14 +1508,20 @@
|
|
|
1244
1508
|
"$ref": "#/definitions/parameterConfigForJson"
|
|
1245
1509
|
}
|
|
1246
1510
|
},
|
|
1247
|
-
"required": [
|
|
1511
|
+
"required": [
|
|
1512
|
+
"name",
|
|
1513
|
+
"service",
|
|
1514
|
+
"path"
|
|
1515
|
+
],
|
|
1248
1516
|
"additionalProperties": false
|
|
1249
1517
|
},
|
|
1250
1518
|
"awsLambdaResolver": {
|
|
1251
1519
|
"title": "AwsLambdaResolver",
|
|
1252
1520
|
"type": "object",
|
|
1253
1521
|
"properties": {
|
|
1254
|
-
"if": {
|
|
1522
|
+
"if": {
|
|
1523
|
+
"type": "string"
|
|
1524
|
+
},
|
|
1255
1525
|
"id": {
|
|
1256
1526
|
"type": "string",
|
|
1257
1527
|
"pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
|
|
@@ -1260,7 +1530,9 @@
|
|
|
1260
1530
|
"title": "AwsLambdaResolverName",
|
|
1261
1531
|
"type": "string",
|
|
1262
1532
|
"description": "Name of the resolver function.",
|
|
1263
|
-
"enum": [
|
|
1533
|
+
"enum": [
|
|
1534
|
+
"awsLambda:invoke"
|
|
1535
|
+
]
|
|
1264
1536
|
},
|
|
1265
1537
|
"service": {
|
|
1266
1538
|
"type": "string",
|
|
@@ -1309,7 +1581,11 @@
|
|
|
1309
1581
|
"$ref": "#/definitions/resultsMapping"
|
|
1310
1582
|
}
|
|
1311
1583
|
},
|
|
1312
|
-
"required": [
|
|
1584
|
+
"required": [
|
|
1585
|
+
"name",
|
|
1586
|
+
"service",
|
|
1587
|
+
"functionName"
|
|
1588
|
+
],
|
|
1313
1589
|
"additionalProperties": false
|
|
1314
1590
|
},
|
|
1315
1591
|
"composeResolver": {
|
|
@@ -1337,12 +1613,21 @@
|
|
|
1337
1613
|
"$ref": "#/definitions/parameterConfigForJson"
|
|
1338
1614
|
}
|
|
1339
1615
|
},
|
|
1340
|
-
"required": [
|
|
1616
|
+
"required": [
|
|
1617
|
+
"compose"
|
|
1618
|
+
],
|
|
1341
1619
|
"additionalProperties": false
|
|
1342
1620
|
},
|
|
1343
1621
|
"resolver": {
|
|
1344
1622
|
"title": "Resolver",
|
|
1345
|
-
"oneOf": [
|
|
1623
|
+
"oneOf": [
|
|
1624
|
+
{
|
|
1625
|
+
"$ref": "#/definitions/basicResolver"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"$ref": "#/definitions/composeResolver"
|
|
1629
|
+
}
|
|
1630
|
+
]
|
|
1346
1631
|
},
|
|
1347
1632
|
"ref": {
|
|
1348
1633
|
"title": "Ref",
|
|
@@ -1369,7 +1654,10 @@
|
|
|
1369
1654
|
"description": "Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs."
|
|
1370
1655
|
}
|
|
1371
1656
|
},
|
|
1372
|
-
"required": [
|
|
1657
|
+
"required": [
|
|
1658
|
+
"resolver",
|
|
1659
|
+
"shape"
|
|
1660
|
+
],
|
|
1373
1661
|
"additionalProperties": false
|
|
1374
1662
|
},
|
|
1375
1663
|
"propertySchema": {
|
|
@@ -1446,7 +1734,16 @@
|
|
|
1446
1734
|
"$ref": "#/definitions/stringArray"
|
|
1447
1735
|
},
|
|
1448
1736
|
"additionalProperties": {
|
|
1449
|
-
"oneOf": [
|
|
1737
|
+
"oneOf": [
|
|
1738
|
+
{
|
|
1739
|
+
"$ref": "#/definitions/propertySchema"
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"enum": [
|
|
1743
|
+
false
|
|
1744
|
+
]
|
|
1745
|
+
}
|
|
1746
|
+
]
|
|
1450
1747
|
},
|
|
1451
1748
|
"definitions": {
|
|
1452
1749
|
"type": "object",
|
|
@@ -1592,11 +1889,17 @@
|
|
|
1592
1889
|
"type": "string"
|
|
1593
1890
|
},
|
|
1594
1891
|
"type": {
|
|
1595
|
-
"enum": [
|
|
1892
|
+
"enum": [
|
|
1893
|
+
"interface",
|
|
1894
|
+
"input",
|
|
1895
|
+
"output"
|
|
1896
|
+
]
|
|
1596
1897
|
},
|
|
1597
1898
|
"interfaces": {
|
|
1598
1899
|
"type": "array",
|
|
1599
|
-
"items": {
|
|
1900
|
+
"items": {
|
|
1901
|
+
"type": "string"
|
|
1902
|
+
}
|
|
1600
1903
|
},
|
|
1601
1904
|
"model": {
|
|
1602
1905
|
"description": "Specifying a model type allows Shape data to be stored in TakeShape's built-in database",
|
|
@@ -1605,10 +1908,16 @@
|
|
|
1605
1908
|
"type": {
|
|
1606
1909
|
"title": "Model Type",
|
|
1607
1910
|
"type": "string",
|
|
1608
|
-
"enum": [
|
|
1911
|
+
"enum": [
|
|
1912
|
+
"single",
|
|
1913
|
+
"multiple",
|
|
1914
|
+
"taxonomy"
|
|
1915
|
+
]
|
|
1609
1916
|
}
|
|
1610
1917
|
},
|
|
1611
|
-
"required": [
|
|
1918
|
+
"required": [
|
|
1919
|
+
"type"
|
|
1920
|
+
],
|
|
1612
1921
|
"additionalProperties": false
|
|
1613
1922
|
},
|
|
1614
1923
|
"workflow": {
|
|
@@ -1618,7 +1927,12 @@
|
|
|
1618
1927
|
"$ref": "#/definitions/shapeSchema"
|
|
1619
1928
|
}
|
|
1620
1929
|
},
|
|
1621
|
-
"required": [
|
|
1930
|
+
"required": [
|
|
1931
|
+
"name",
|
|
1932
|
+
"title",
|
|
1933
|
+
"id",
|
|
1934
|
+
"schema"
|
|
1935
|
+
],
|
|
1622
1936
|
"additionalProperties": false
|
|
1623
1937
|
},
|
|
1624
1938
|
"shapeWithObjectSchema": {
|
|
@@ -1635,7 +1949,9 @@
|
|
|
1635
1949
|
"$ref": "#/definitions/objectSchema"
|
|
1636
1950
|
}
|
|
1637
1951
|
},
|
|
1638
|
-
"required": [
|
|
1952
|
+
"required": [
|
|
1953
|
+
"schema"
|
|
1954
|
+
],
|
|
1639
1955
|
"additionalProperties": false
|
|
1640
1956
|
}
|
|
1641
1957
|
]
|
|
@@ -1644,7 +1960,9 @@
|
|
|
1644
1960
|
"title": "Shape Map",
|
|
1645
1961
|
"type": "object",
|
|
1646
1962
|
"patternProperties": {
|
|
1647
|
-
"[0-9A-Za-z_-]+": {
|
|
1963
|
+
"[0-9A-Za-z_-]+": {
|
|
1964
|
+
"$ref": "#/definitions/shape"
|
|
1965
|
+
}
|
|
1648
1966
|
}
|
|
1649
1967
|
},
|
|
1650
1968
|
"formMap": {
|
|
@@ -1689,7 +2007,10 @@
|
|
|
1689
2007
|
}
|
|
1690
2008
|
},
|
|
1691
2009
|
"additionalProperties": false,
|
|
1692
|
-
"required": [
|
|
2010
|
+
"required": [
|
|
2011
|
+
"queries",
|
|
2012
|
+
"triggers"
|
|
2013
|
+
]
|
|
1693
2014
|
},
|
|
1694
2015
|
"indexedShapeQueriesConfig": {
|
|
1695
2016
|
"title": "Indexed Shape Queries Config",
|
|
@@ -1735,7 +2056,9 @@
|
|
|
1735
2056
|
}
|
|
1736
2057
|
},
|
|
1737
2058
|
"additionalProperties": false,
|
|
1738
|
-
"required": [
|
|
2059
|
+
"required": [
|
|
2060
|
+
"name"
|
|
2061
|
+
]
|
|
1739
2062
|
},
|
|
1740
2063
|
"indexedShapeGetQueryConfig": {
|
|
1741
2064
|
"title": "Indexed Shape Get Query Config",
|
|
@@ -1749,7 +2072,9 @@
|
|
|
1749
2072
|
}
|
|
1750
2073
|
},
|
|
1751
2074
|
"additionalProperties": false,
|
|
1752
|
-
"required": [
|
|
2075
|
+
"required": [
|
|
2076
|
+
"name"
|
|
2077
|
+
]
|
|
1753
2078
|
},
|
|
1754
2079
|
"paginationConfig": {
|
|
1755
2080
|
"title": "Pagination Config",
|
|
@@ -1771,7 +2096,9 @@
|
|
|
1771
2096
|
"properties": {
|
|
1772
2097
|
"type": {
|
|
1773
2098
|
"type": "string",
|
|
1774
|
-
"enum": [
|
|
2099
|
+
"enum": [
|
|
2100
|
+
"cursor"
|
|
2101
|
+
]
|
|
1775
2102
|
},
|
|
1776
2103
|
"cursorArg": {
|
|
1777
2104
|
"type": "string"
|
|
@@ -1793,7 +2120,14 @@
|
|
|
1793
2120
|
}
|
|
1794
2121
|
},
|
|
1795
2122
|
"additionalProperties": false,
|
|
1796
|
-
"required": [
|
|
2123
|
+
"required": [
|
|
2124
|
+
"type",
|
|
2125
|
+
"cursorArg",
|
|
2126
|
+
"cursorPath",
|
|
2127
|
+
"pageSizeArg",
|
|
2128
|
+
"hasMorePath",
|
|
2129
|
+
"itemsToIndexPath"
|
|
2130
|
+
]
|
|
1797
2131
|
},
|
|
1798
2132
|
"paginationPageConfig": {
|
|
1799
2133
|
"title": "Pagination Page Config",
|
|
@@ -1801,7 +2135,9 @@
|
|
|
1801
2135
|
"properties": {
|
|
1802
2136
|
"type": {
|
|
1803
2137
|
"type": "string",
|
|
1804
|
-
"enum": [
|
|
2138
|
+
"enum": [
|
|
2139
|
+
"page"
|
|
2140
|
+
]
|
|
1805
2141
|
},
|
|
1806
2142
|
"pageArg": {
|
|
1807
2143
|
"type": "string"
|
|
@@ -1820,7 +2156,12 @@
|
|
|
1820
2156
|
}
|
|
1821
2157
|
},
|
|
1822
2158
|
"additionalProperties": false,
|
|
1823
|
-
"required": [
|
|
2159
|
+
"required": [
|
|
2160
|
+
"type",
|
|
2161
|
+
"pageArg",
|
|
2162
|
+
"itemsToIndexPath",
|
|
2163
|
+
"pageTotalPath"
|
|
2164
|
+
]
|
|
1824
2165
|
},
|
|
1825
2166
|
"paginationOffsetConfig": {
|
|
1826
2167
|
"title": "Pagination Offset Config",
|
|
@@ -1828,7 +2169,9 @@
|
|
|
1828
2169
|
"properties": {
|
|
1829
2170
|
"type": {
|
|
1830
2171
|
"type": "string",
|
|
1831
|
-
"enum": [
|
|
2172
|
+
"enum": [
|
|
2173
|
+
"offset"
|
|
2174
|
+
]
|
|
1832
2175
|
},
|
|
1833
2176
|
"offsetArg": {
|
|
1834
2177
|
"type": "string"
|
|
@@ -1847,7 +2190,12 @@
|
|
|
1847
2190
|
}
|
|
1848
2191
|
},
|
|
1849
2192
|
"additionalProperties": false,
|
|
1850
|
-
"required": [
|
|
2193
|
+
"required": [
|
|
2194
|
+
"type",
|
|
2195
|
+
"offsetArg",
|
|
2196
|
+
"itemsToIndexPath",
|
|
2197
|
+
"itemTotalPath"
|
|
2198
|
+
]
|
|
1851
2199
|
},
|
|
1852
2200
|
"indexedShapeTriggersConfig": {
|
|
1853
2201
|
"title": "Indexed Shape Triggers Config",
|
|
@@ -1866,17 +2214,26 @@
|
|
|
1866
2214
|
"properties": {
|
|
1867
2215
|
"type": {
|
|
1868
2216
|
"type": "string",
|
|
1869
|
-
"enum": [
|
|
2217
|
+
"enum": [
|
|
2218
|
+
"schedule"
|
|
2219
|
+
]
|
|
1870
2220
|
},
|
|
1871
2221
|
"query": {
|
|
1872
|
-
"enum": [
|
|
2222
|
+
"enum": [
|
|
2223
|
+
"get",
|
|
2224
|
+
"list"
|
|
2225
|
+
]
|
|
1873
2226
|
},
|
|
1874
2227
|
"interval": {
|
|
1875
2228
|
"type": "number"
|
|
1876
2229
|
}
|
|
1877
2230
|
},
|
|
1878
2231
|
"additionalProperties": false,
|
|
1879
|
-
"required": [
|
|
2232
|
+
"required": [
|
|
2233
|
+
"type",
|
|
2234
|
+
"query",
|
|
2235
|
+
"interval"
|
|
2236
|
+
]
|
|
1880
2237
|
},
|
|
1881
2238
|
"indexedShapeWebhookTriggerConfig": {
|
|
1882
2239
|
"title": "Indexed Shape Webhook Trigger Config",
|
|
@@ -1884,10 +2241,15 @@
|
|
|
1884
2241
|
"properties": {
|
|
1885
2242
|
"type": {
|
|
1886
2243
|
"type": "string",
|
|
1887
|
-
"enum": [
|
|
2244
|
+
"enum": [
|
|
2245
|
+
"webhook"
|
|
2246
|
+
]
|
|
1888
2247
|
},
|
|
1889
2248
|
"query": {
|
|
1890
|
-
"enum": [
|
|
2249
|
+
"enum": [
|
|
2250
|
+
"get",
|
|
2251
|
+
"list"
|
|
2252
|
+
]
|
|
1891
2253
|
},
|
|
1892
2254
|
"service": {
|
|
1893
2255
|
"type": "string"
|
|
@@ -1900,7 +2262,12 @@
|
|
|
1900
2262
|
}
|
|
1901
2263
|
},
|
|
1902
2264
|
"additionalProperties": false,
|
|
1903
|
-
"required": [
|
|
2265
|
+
"required": [
|
|
2266
|
+
"type",
|
|
2267
|
+
"query",
|
|
2268
|
+
"service",
|
|
2269
|
+
"events"
|
|
2270
|
+
]
|
|
1904
2271
|
},
|
|
1905
2272
|
"formScalarConfig": {
|
|
1906
2273
|
"title": "Form Scalar Config",
|
|
@@ -1911,7 +2278,9 @@
|
|
|
1911
2278
|
}
|
|
1912
2279
|
},
|
|
1913
2280
|
"additionalProperties": false,
|
|
1914
|
-
"required": [
|
|
2281
|
+
"required": [
|
|
2282
|
+
"widget"
|
|
2283
|
+
]
|
|
1915
2284
|
},
|
|
1916
2285
|
"formObjectConfig": {
|
|
1917
2286
|
"title": "Form Object Config",
|
|
@@ -1948,7 +2317,10 @@
|
|
|
1948
2317
|
}
|
|
1949
2318
|
},
|
|
1950
2319
|
"additionalProperties": false,
|
|
1951
|
-
"required": [
|
|
2320
|
+
"required": [
|
|
2321
|
+
"widget",
|
|
2322
|
+
"items"
|
|
2323
|
+
]
|
|
1952
2324
|
},
|
|
1953
2325
|
"customAuthentication": {
|
|
1954
2326
|
"title": "Custom Authentication",
|
|
@@ -1957,11 +2329,15 @@
|
|
|
1957
2329
|
"properties": {
|
|
1958
2330
|
"type": {
|
|
1959
2331
|
"type": "string",
|
|
1960
|
-
"enum": [
|
|
2332
|
+
"enum": [
|
|
2333
|
+
"custom"
|
|
2334
|
+
]
|
|
1961
2335
|
}
|
|
1962
2336
|
},
|
|
1963
2337
|
"additionalProperties": true,
|
|
1964
|
-
"required": [
|
|
2338
|
+
"required": [
|
|
2339
|
+
"type"
|
|
2340
|
+
]
|
|
1965
2341
|
},
|
|
1966
2342
|
"searchParamsAuthentication": {
|
|
1967
2343
|
"title": "Search Params Authentication",
|
|
@@ -1969,7 +2345,9 @@
|
|
|
1969
2345
|
"properties": {
|
|
1970
2346
|
"type": {
|
|
1971
2347
|
"type": "string",
|
|
1972
|
-
"enum": [
|
|
2348
|
+
"enum": [
|
|
2349
|
+
"searchParams"
|
|
2350
|
+
]
|
|
1973
2351
|
},
|
|
1974
2352
|
"params": {
|
|
1975
2353
|
"type": "array",
|
|
@@ -1982,13 +2360,19 @@
|
|
|
1982
2360
|
"type": "string"
|
|
1983
2361
|
}
|
|
1984
2362
|
},
|
|
1985
|
-
"required": [
|
|
2363
|
+
"required": [
|
|
2364
|
+
"name",
|
|
2365
|
+
"value"
|
|
2366
|
+
],
|
|
1986
2367
|
"additionalProperties": false
|
|
1987
2368
|
}
|
|
1988
2369
|
}
|
|
1989
2370
|
},
|
|
1990
2371
|
"additionalProperties": false,
|
|
1991
|
-
"required": [
|
|
2372
|
+
"required": [
|
|
2373
|
+
"type",
|
|
2374
|
+
"params"
|
|
2375
|
+
]
|
|
1992
2376
|
},
|
|
1993
2377
|
"bearerAuthentication": {
|
|
1994
2378
|
"title": "Bearer Authentication",
|
|
@@ -1996,7 +2380,9 @@
|
|
|
1996
2380
|
"properties": {
|
|
1997
2381
|
"type": {
|
|
1998
2382
|
"type": "string",
|
|
1999
|
-
"enum": [
|
|
2383
|
+
"enum": [
|
|
2384
|
+
"bearer"
|
|
2385
|
+
]
|
|
2000
2386
|
},
|
|
2001
2387
|
"token": {
|
|
2002
2388
|
"type": "string"
|
|
@@ -2009,7 +2395,10 @@
|
|
|
2009
2395
|
}
|
|
2010
2396
|
},
|
|
2011
2397
|
"additionalProperties": false,
|
|
2012
|
-
"required": [
|
|
2398
|
+
"required": [
|
|
2399
|
+
"type",
|
|
2400
|
+
"token"
|
|
2401
|
+
]
|
|
2013
2402
|
},
|
|
2014
2403
|
"oauth2BearerAuthentication": {
|
|
2015
2404
|
"title": "OAuth 2 Bearer Authentication",
|
|
@@ -2017,7 +2406,9 @@
|
|
|
2017
2406
|
"properties": {
|
|
2018
2407
|
"type": {
|
|
2019
2408
|
"type": "string",
|
|
2020
|
-
"enum": [
|
|
2409
|
+
"enum": [
|
|
2410
|
+
"oauth2Bearer"
|
|
2411
|
+
]
|
|
2021
2412
|
},
|
|
2022
2413
|
"token": {
|
|
2023
2414
|
"type": "string"
|
|
@@ -2036,7 +2427,10 @@
|
|
|
2036
2427
|
}
|
|
2037
2428
|
},
|
|
2038
2429
|
"additionalProperties": false,
|
|
2039
|
-
"required": [
|
|
2430
|
+
"required": [
|
|
2431
|
+
"type",
|
|
2432
|
+
"token"
|
|
2433
|
+
]
|
|
2040
2434
|
},
|
|
2041
2435
|
"basicAuthentication": {
|
|
2042
2436
|
"title": "Basic Authentication",
|
|
@@ -2044,7 +2438,9 @@
|
|
|
2044
2438
|
"properties": {
|
|
2045
2439
|
"type": {
|
|
2046
2440
|
"type": "string",
|
|
2047
|
-
"enum": [
|
|
2441
|
+
"enum": [
|
|
2442
|
+
"basic"
|
|
2443
|
+
]
|
|
2048
2444
|
},
|
|
2049
2445
|
"username": {
|
|
2050
2446
|
"type": "string"
|
|
@@ -2057,7 +2453,11 @@
|
|
|
2057
2453
|
}
|
|
2058
2454
|
},
|
|
2059
2455
|
"additionalProperties": false,
|
|
2060
|
-
"required": [
|
|
2456
|
+
"required": [
|
|
2457
|
+
"type",
|
|
2458
|
+
"username",
|
|
2459
|
+
"password"
|
|
2460
|
+
]
|
|
2061
2461
|
},
|
|
2062
2462
|
"oauth2Authentication": {
|
|
2063
2463
|
"title": "OAuth 2 Authentication",
|
|
@@ -2065,11 +2465,16 @@
|
|
|
2065
2465
|
"properties": {
|
|
2066
2466
|
"type": {
|
|
2067
2467
|
"type": "string",
|
|
2068
|
-
"enum": [
|
|
2468
|
+
"enum": [
|
|
2469
|
+
"oauth2"
|
|
2470
|
+
]
|
|
2069
2471
|
},
|
|
2070
2472
|
"grantType": {
|
|
2071
2473
|
"type": "string",
|
|
2072
|
-
"enum": [
|
|
2474
|
+
"enum": [
|
|
2475
|
+
"authorizationCode",
|
|
2476
|
+
"clientCredentials"
|
|
2477
|
+
]
|
|
2073
2478
|
},
|
|
2074
2479
|
"authorizationUrl": {
|
|
2075
2480
|
"type": "string"
|
|
@@ -2103,7 +2508,11 @@
|
|
|
2103
2508
|
}
|
|
2104
2509
|
},
|
|
2105
2510
|
"additionalProperties": false,
|
|
2106
|
-
"required": [
|
|
2511
|
+
"required": [
|
|
2512
|
+
"type",
|
|
2513
|
+
"grantType",
|
|
2514
|
+
"clientId"
|
|
2515
|
+
]
|
|
2107
2516
|
},
|
|
2108
2517
|
"awsAuthentication": {
|
|
2109
2518
|
"title": "AWS Authentication",
|
|
@@ -2111,7 +2520,9 @@
|
|
|
2111
2520
|
"properties": {
|
|
2112
2521
|
"type": {
|
|
2113
2522
|
"type": "string",
|
|
2114
|
-
"enum": [
|
|
2523
|
+
"enum": [
|
|
2524
|
+
"aws"
|
|
2525
|
+
]
|
|
2115
2526
|
},
|
|
2116
2527
|
"awsAccessKeyId": {
|
|
2117
2528
|
"type": "string"
|
|
@@ -2121,7 +2532,11 @@
|
|
|
2121
2532
|
}
|
|
2122
2533
|
},
|
|
2123
2534
|
"additionalProperties": false,
|
|
2124
|
-
"required": [
|
|
2535
|
+
"required": [
|
|
2536
|
+
"type",
|
|
2537
|
+
"awsAccessKeyId",
|
|
2538
|
+
"awsSecretAccessKey"
|
|
2539
|
+
]
|
|
2125
2540
|
},
|
|
2126
2541
|
"serviceAuthentication": {
|
|
2127
2542
|
"title": "Service Authentication",
|
|
@@ -2153,7 +2568,16 @@
|
|
|
2153
2568
|
"title": "Service Type",
|
|
2154
2569
|
"description": "The general type of this service, specifying how and where it will be utilized.",
|
|
2155
2570
|
"type": "string",
|
|
2156
|
-
"enum": [
|
|
2571
|
+
"enum": [
|
|
2572
|
+
"deployment",
|
|
2573
|
+
"authentication",
|
|
2574
|
+
"takeshape",
|
|
2575
|
+
"rest",
|
|
2576
|
+
"graphql",
|
|
2577
|
+
"openapi",
|
|
2578
|
+
"aws",
|
|
2579
|
+
"unknown"
|
|
2580
|
+
]
|
|
2157
2581
|
},
|
|
2158
2582
|
"serviceConfig": {
|
|
2159
2583
|
"title": "Service Config",
|
|
@@ -2180,7 +2604,17 @@
|
|
|
2180
2604
|
},
|
|
2181
2605
|
"authenticationType": {
|
|
2182
2606
|
"type": "string",
|
|
2183
|
-
"enum": [
|
|
2607
|
+
"enum": [
|
|
2608
|
+
"oauth2",
|
|
2609
|
+
"basic",
|
|
2610
|
+
"bearer",
|
|
2611
|
+
"searchParams",
|
|
2612
|
+
"oauth2Bearer",
|
|
2613
|
+
"custom",
|
|
2614
|
+
"aws",
|
|
2615
|
+
"none",
|
|
2616
|
+
"unknown"
|
|
2617
|
+
]
|
|
2184
2618
|
},
|
|
2185
2619
|
"authentication": {
|
|
2186
2620
|
"$ref": "#/definitions/serviceAuthentication"
|
|
@@ -2193,7 +2627,13 @@
|
|
|
2193
2627
|
"description": "Configuration options passed to and handled by the provider."
|
|
2194
2628
|
}
|
|
2195
2629
|
},
|
|
2196
|
-
"required": [
|
|
2630
|
+
"required": [
|
|
2631
|
+
"id",
|
|
2632
|
+
"title",
|
|
2633
|
+
"provider",
|
|
2634
|
+
"serviceType",
|
|
2635
|
+
"authenticationType"
|
|
2636
|
+
],
|
|
2197
2637
|
"additionalProperties": false
|
|
2198
2638
|
},
|
|
2199
2639
|
"storedServiceConfig": {
|
|
@@ -2221,7 +2661,17 @@
|
|
|
2221
2661
|
},
|
|
2222
2662
|
"authenticationType": {
|
|
2223
2663
|
"type": "string",
|
|
2224
|
-
"enum": [
|
|
2664
|
+
"enum": [
|
|
2665
|
+
"oauth2",
|
|
2666
|
+
"basic",
|
|
2667
|
+
"bearer",
|
|
2668
|
+
"searchParams",
|
|
2669
|
+
"oauth2Bearer",
|
|
2670
|
+
"custom",
|
|
2671
|
+
"aws",
|
|
2672
|
+
"none",
|
|
2673
|
+
"unknown"
|
|
2674
|
+
]
|
|
2225
2675
|
},
|
|
2226
2676
|
"authentication": {
|
|
2227
2677
|
"type": "string"
|
|
@@ -2234,7 +2684,13 @@
|
|
|
2234
2684
|
"description": "Configuration options passed to and handled by the provider."
|
|
2235
2685
|
}
|
|
2236
2686
|
},
|
|
2237
|
-
"required": [
|
|
2687
|
+
"required": [
|
|
2688
|
+
"id",
|
|
2689
|
+
"title",
|
|
2690
|
+
"provider",
|
|
2691
|
+
"serviceType",
|
|
2692
|
+
"authenticationType"
|
|
2693
|
+
],
|
|
2238
2694
|
"additionalProperties": false
|
|
2239
2695
|
},
|
|
2240
2696
|
"anyServiceConfig": {
|
|
@@ -2292,7 +2748,13 @@
|
|
|
2292
2748
|
"description": "machine-readable id"
|
|
2293
2749
|
}
|
|
2294
2750
|
},
|
|
2295
|
-
"required": [
|
|
2751
|
+
"required": [
|
|
2752
|
+
"name",
|
|
2753
|
+
"title",
|
|
2754
|
+
"color",
|
|
2755
|
+
"live",
|
|
2756
|
+
"key"
|
|
2757
|
+
],
|
|
2296
2758
|
"additionalProperties": false
|
|
2297
2759
|
},
|
|
2298
2760
|
"workflow": {
|
|
@@ -2319,13 +2781,19 @@
|
|
|
2319
2781
|
"minItems": 1
|
|
2320
2782
|
}
|
|
2321
2783
|
},
|
|
2322
|
-
"required": [
|
|
2784
|
+
"required": [
|
|
2785
|
+
"name",
|
|
2786
|
+
"title",
|
|
2787
|
+
"steps"
|
|
2788
|
+
]
|
|
2323
2789
|
},
|
|
2324
2790
|
"workflowMap": {
|
|
2325
2791
|
"title": "Workflow Map",
|
|
2326
2792
|
"type": "object",
|
|
2327
2793
|
"patternProperties": {
|
|
2328
|
-
"[0-9A-Za-z_-]+": {
|
|
2794
|
+
"[0-9A-Za-z_-]+": {
|
|
2795
|
+
"$ref": "#/definitions/workflow"
|
|
2796
|
+
}
|
|
2329
2797
|
}
|
|
2330
2798
|
},
|
|
2331
2799
|
"formConfig": {
|
|
@@ -2345,24 +2813,24 @@
|
|
|
2345
2813
|
"$ref": "#/definitions/formConfig"
|
|
2346
2814
|
}
|
|
2347
2815
|
},
|
|
2348
|
-
"required": [
|
|
2816
|
+
"required": [
|
|
2817
|
+
"default"
|
|
2818
|
+
]
|
|
2349
2819
|
}
|
|
2350
2820
|
},
|
|
2351
2821
|
"properties": {
|
|
2352
2822
|
"$schema": {
|
|
2353
2823
|
"type": "string"
|
|
2354
2824
|
},
|
|
2355
|
-
"version": {
|
|
2356
|
-
"type": "number",
|
|
2357
|
-
"description": "This is the revision number of your schema. Every time your project schema is updated, this value should be incremented."
|
|
2358
|
-
},
|
|
2359
2825
|
"apiVersion": {
|
|
2360
2826
|
"type": "string",
|
|
2361
2827
|
"description": "The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints."
|
|
2362
2828
|
},
|
|
2363
2829
|
"schemaVersion": {
|
|
2364
2830
|
"type": "string",
|
|
2365
|
-
"enum": [
|
|
2831
|
+
"enum": [
|
|
2832
|
+
"3.24.0"
|
|
2833
|
+
],
|
|
2366
2834
|
"description": "The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format."
|
|
2367
2835
|
},
|
|
2368
2836
|
"projectId": {
|
|
@@ -2373,16 +2841,6 @@
|
|
|
2373
2841
|
"type": "string",
|
|
2374
2842
|
"description": "The ID of the TakeShape user who created the schema."
|
|
2375
2843
|
},
|
|
2376
|
-
"created": {
|
|
2377
|
-
"type": "string",
|
|
2378
|
-
"format": "date-time",
|
|
2379
|
-
"description": "The date the schema was created"
|
|
2380
|
-
},
|
|
2381
|
-
"updated": {
|
|
2382
|
-
"type": "string",
|
|
2383
|
-
"format": "date-time",
|
|
2384
|
-
"description": "The date the schema was last updated"
|
|
2385
|
-
},
|
|
2386
2844
|
"deactivated": {
|
|
2387
2845
|
"type": "number"
|
|
2388
2846
|
},
|
|
@@ -2436,11 +2894,8 @@
|
|
|
2436
2894
|
"additionalProperties": false,
|
|
2437
2895
|
"required": [
|
|
2438
2896
|
"projectId",
|
|
2439
|
-
"created",
|
|
2440
|
-
"updated",
|
|
2441
2897
|
"apiVersion",
|
|
2442
2898
|
"schemaVersion",
|
|
2443
|
-
"version",
|
|
2444
2899
|
"defaultLocale",
|
|
2445
2900
|
"locales",
|
|
2446
2901
|
"shapes",
|