@takeshape/schema 11.52.0 → 11.56.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1030) hide show
  1. package/dist/__tests__/_examples.test.js +77 -0
  2. package/dist/__tests__/agents.test.js +163 -0
  3. package/dist/__tests__/api-version.test.js +24 -0
  4. package/dist/__tests__/builtin-schema.test.js +18 -0
  5. package/dist/__tests__/content-schema-transform.test.d.ts +1 -0
  6. package/dist/__tests__/content-schema-transform.test.js +522 -0
  7. package/dist/__tests__/create-input-schema.test.d.ts +1 -0
  8. package/dist/__tests__/create-input-schema.test.js +184 -0
  9. package/dist/__tests__/enum.test.d.ts +1 -0
  10. package/dist/__tests__/enum.test.js +36 -0
  11. package/dist/__tests__/flatten-templates.test.d.ts +1 -0
  12. package/dist/__tests__/flatten-templates.test.js +40 -0
  13. package/dist/__tests__/get-is-leaf.test.d.ts +1 -0
  14. package/dist/__tests__/get-is-leaf.test.js +50 -0
  15. package/dist/__tests__/interfaces.test.d.ts +1 -0
  16. package/dist/__tests__/interfaces.test.js +219 -0
  17. package/dist/__tests__/migration.test.d.ts +1 -0
  18. package/dist/__tests__/migration.test.js +34 -0
  19. package/dist/__tests__/mocks.test.d.ts +1 -0
  20. package/dist/__tests__/mocks.test.js +24 -0
  21. package/dist/__tests__/refs.test.d.ts +1 -0
  22. package/dist/__tests__/refs.test.js +752 -0
  23. package/dist/__tests__/relationships.test.d.ts +1 -0
  24. package/dist/__tests__/relationships.test.js +638 -0
  25. package/dist/__tests__/schema-transform.test.d.ts +1 -0
  26. package/dist/__tests__/schema-transform.test.js +205 -0
  27. package/dist/__tests__/schema-util.test.d.ts +1 -0
  28. package/dist/__tests__/schema-util.test.js +1731 -0
  29. package/dist/__tests__/service-dependencies.test.d.ts +1 -0
  30. package/dist/__tests__/service-dependencies.test.js +360 -0
  31. package/dist/__tests__/unions.test.d.ts +1 -0
  32. package/dist/__tests__/unions.test.js +44 -0
  33. package/dist/__tests__/validate.test.d.ts +1 -0
  34. package/dist/__tests__/validate.test.js +1926 -0
  35. package/dist/__tests__/workflows.test.d.ts +3 -0
  36. package/dist/__tests__/workflows.test.js +149 -0
  37. package/dist/agents.d.ts +14 -0
  38. package/dist/auth-schemas.d.ts +125 -0
  39. package/dist/builtin-schema.d.ts +8 -0
  40. package/dist/content-schema-transform.d.ts +35 -0
  41. package/dist/content-schema-transform.js +162 -0
  42. package/dist/create-input-schema.d.ts +9 -0
  43. package/dist/enum.d.ts +2 -0
  44. package/dist/flatten-templates.d.ts +2 -0
  45. package/dist/flatten-templates.js +20 -0
  46. package/dist/get-is-leaf.d.ts +3 -0
  47. package/dist/get-is-leaf.js +56 -0
  48. package/dist/index.d.ts +48 -0
  49. package/dist/index.js +46 -0
  50. package/dist/interfaces.d.ts +12 -0
  51. package/dist/interfaces.js +85 -0
  52. package/dist/layers/__tests__/layers.test.d.ts +1 -0
  53. package/dist/layers/__tests__/layers.test.js +38 -0
  54. package/dist/layers/layers.d.ts +26 -0
  55. package/dist/layers/layers.js +301 -0
  56. package/dist/layers/refs.d.ts +102 -0
  57. package/dist/layers/refs.js +220 -0
  58. package/dist/layers/type-utils.d.ts +59 -0
  59. package/dist/layers/type-utils.js +118 -0
  60. package/dist/layers/visitor.d.ts +5 -0
  61. package/dist/layers/visitor.js +38 -0
  62. package/dist/migration/index.d.ts +64 -0
  63. package/dist/migration/index.js +122 -0
  64. package/dist/migration/to/__tests__/v3.10.0.test.d.ts +1 -0
  65. package/dist/migration/to/__tests__/v3.10.0.test.js +90 -0
  66. package/dist/migration/to/__tests__/v3.12.3.test.d.ts +1 -0
  67. package/dist/migration/to/__tests__/v3.12.3.test.js +103 -0
  68. package/dist/migration/to/__tests__/v3.17.test.d.ts +1 -0
  69. package/dist/migration/to/__tests__/v3.17.test.js +71 -0
  70. package/dist/migration/to/__tests__/v3.34.0.test.d.ts +1 -0
  71. package/dist/migration/to/__tests__/v3.34.0.test.js +240 -0
  72. package/dist/migration/to/__tests__/v3.39.0.test.d.ts +1 -0
  73. package/dist/migration/to/__tests__/v3.39.0.test.js +116 -0
  74. package/dist/migration/to/__tests__/v3.46.0.test.d.ts +1 -0
  75. package/dist/migration/to/__tests__/v3.46.0.test.js +59 -0
  76. package/dist/migration/to/v3.0.0.d.ts +4 -0
  77. package/dist/migration/to/v3.0.0.js +212 -0
  78. package/dist/migration/to/v3.1.0.d.ts +4 -0
  79. package/dist/migration/to/v3.1.0.js +194 -0
  80. package/dist/migration/to/v3.10.0.d.ts +4 -0
  81. package/dist/migration/to/v3.11.0.d.ts +4 -0
  82. package/dist/migration/to/v3.12.0.d.ts +4 -0
  83. package/dist/migration/to/v3.12.1.d.ts +4 -0
  84. package/dist/migration/to/v3.12.2.d.ts +4 -0
  85. package/dist/migration/to/v3.12.3.d.ts +4 -0
  86. package/dist/migration/to/v3.13.0.d.ts +4 -0
  87. package/dist/migration/to/v3.14.0.d.ts +4 -0
  88. package/dist/migration/to/v3.15.0.d.ts +4 -0
  89. package/dist/migration/to/v3.16.0.d.ts +4 -0
  90. package/dist/migration/to/v3.17.0.d.ts +4 -0
  91. package/dist/migration/to/v3.17.1.d.ts +4 -0
  92. package/dist/migration/to/v3.18.0.d.ts +4 -0
  93. package/dist/migration/to/v3.18.1.d.ts +4 -0
  94. package/dist/migration/to/v3.18.2.d.ts +4 -0
  95. package/dist/migration/to/v3.19.0.d.ts +4 -0
  96. package/dist/migration/to/v3.2.0.d.ts +4 -0
  97. package/dist/migration/to/v3.20.0.d.ts +4 -0
  98. package/dist/migration/to/v3.21.0.d.ts +4 -0
  99. package/dist/migration/to/v3.22.0.d.ts +4 -0
  100. package/dist/migration/to/v3.23.0.d.ts +4 -0
  101. package/dist/migration/to/v3.24.0.d.ts +4 -0
  102. package/dist/migration/to/v3.25.0.d.ts +4 -0
  103. package/dist/migration/to/v3.26.0.d.ts +4 -0
  104. package/dist/migration/to/v3.27.0.d.ts +4 -0
  105. package/dist/migration/to/v3.28.0.d.ts +4 -0
  106. package/dist/migration/to/v3.29.0.d.ts +4 -0
  107. package/dist/migration/to/v3.3.0.d.ts +4 -0
  108. package/dist/migration/to/v3.30.0.d.ts +4 -0
  109. package/dist/migration/to/v3.31.0.d.ts +4 -0
  110. package/dist/migration/to/v3.32.0.d.ts +4 -0
  111. package/dist/migration/to/v3.32.0.js +59 -0
  112. package/dist/migration/to/v3.33.0.d.ts +4 -0
  113. package/dist/migration/to/v3.34.0.d.ts +6 -0
  114. package/dist/migration/to/v3.34.0.js +116 -0
  115. package/dist/migration/to/v3.35.0.d.ts +4 -0
  116. package/dist/migration/to/v3.36.0.d.ts +4 -0
  117. package/dist/migration/to/v3.37.0.d.ts +4 -0
  118. package/dist/migration/to/v3.38.0.d.ts +4 -0
  119. package/dist/migration/to/v3.39.0.d.ts +4 -0
  120. package/dist/migration/to/v3.39.0.js +45 -0
  121. package/dist/migration/to/v3.4.0.d.ts +4 -0
  122. package/dist/migration/to/v3.40.0.d.ts +4 -0
  123. package/dist/migration/to/v3.41.0.d.ts +4 -0
  124. package/dist/migration/to/v3.42.0.d.ts +4 -0
  125. package/dist/migration/to/v3.43.0.d.ts +4 -0
  126. package/dist/migration/to/v3.44.0.d.ts +4 -0
  127. package/dist/migration/to/v3.45.0.d.ts +4 -0
  128. package/dist/migration/to/v3.46.0.d.ts +4 -0
  129. package/dist/migration/to/v3.47.0.d.ts +4 -0
  130. package/dist/migration/to/v3.48.0.d.ts +4 -0
  131. package/dist/migration/to/v3.49.0.d.ts +4 -0
  132. package/dist/migration/to/v3.5.0.d.ts +4 -0
  133. package/dist/migration/to/v3.5.1.d.ts +4 -0
  134. package/dist/migration/to/v3.50.0.d.ts +4 -0
  135. package/dist/migration/to/v3.51.0.d.ts +4 -0
  136. package/dist/migration/to/v3.6.0.d.ts +4 -0
  137. package/dist/migration/to/v3.7.0.d.ts +4 -0
  138. package/dist/migration/to/v3.8.0.d.ts +4 -0
  139. package/dist/migration/to/v3.9.0.d.ts +4 -0
  140. package/dist/migration/types.d.ts +19 -0
  141. package/dist/migration/types.js +1 -0
  142. package/dist/mocks.d.ts +13 -0
  143. package/dist/mocks.js +58 -0
  144. package/dist/models/__tests__/project-schema.test.d.ts +1 -0
  145. package/dist/models/__tests__/project-schema.test.js +67 -0
  146. package/dist/models/__tests__/query.test.d.ts +1 -0
  147. package/dist/models/__tests__/query.test.js +27 -0
  148. package/dist/models/__tests__/service.test.d.ts +1 -0
  149. package/dist/models/__tests__/service.test.js +17 -0
  150. package/dist/models/__tests__/shape.test.d.ts +1 -0
  151. package/dist/models/__tests__/shape.test.js +61 -0
  152. package/dist/models/project-schema.d.ts +35 -0
  153. package/dist/models/project-schema.js +92 -0
  154. package/dist/models/query.d.ts +17 -0
  155. package/dist/models/service.d.ts +12 -0
  156. package/dist/models/shape.d.ts +41 -0
  157. package/dist/models/shape.js +85 -0
  158. package/dist/patterns.js +1 -0
  159. package/dist/project-schema/index.d.ts +187 -0
  160. package/dist/project-schema/index.js +75 -0
  161. package/dist/project-schema/latest.d.ts +2222 -0
  162. package/dist/project-schema/migrate.d.ts +4 -0
  163. package/dist/project-schema/migrate.js +194 -0
  164. package/dist/project-schema/v3.48.0.d.ts +2161 -0
  165. package/dist/project-schema/v3.49.0.d.ts +2170 -0
  166. package/dist/project-schema/v3.50.0.d.ts +2222 -0
  167. package/dist/project-schema/v3.51.0.d.ts +2222 -0
  168. package/dist/refs.d.ts +226 -0
  169. package/dist/refs.js +608 -0
  170. package/dist/relationships.d.ts +40 -0
  171. package/dist/relationships.js +311 -0
  172. package/dist/runtime-schema.d.ts +5 -0
  173. package/dist/runtime-schema.js +80 -0
  174. package/dist/schema-transform.d.ts +19 -0
  175. package/dist/schema-transform.js +74 -0
  176. package/dist/schema-util.d.ts +210 -0
  177. package/dist/schema-util.js +1077 -0
  178. package/dist/schemas/auth-schemas.json +365 -0
  179. package/dist/schemas/index.js +154 -0
  180. package/dist/schemas/project-schema/experimental.json +1104 -0
  181. package/dist/service-dependencies.d.ts +13 -0
  182. package/dist/service-dependencies.js +165 -0
  183. package/dist/services/__tests__/services.test.d.ts +1 -0
  184. package/dist/services/__tests__/services.test.js +113 -0
  185. package/dist/services/services.d.ts +31 -0
  186. package/dist/services/services.js +145 -0
  187. package/dist/services/types.js +1 -0
  188. package/dist/services/util.d.ts +16 -0
  189. package/dist/taxonomies.d.ts +15 -0
  190. package/dist/taxonomies.js +24 -0
  191. package/dist/template-shapes/__tests__/index.test.d.ts +1 -0
  192. package/dist/template-shapes/__tests__/index.test.js +40 -0
  193. package/dist/template-shapes/__tests__/names.test.d.ts +1 -0
  194. package/dist/template-shapes/__tests__/names.test.js +19 -0
  195. package/dist/template-shapes/__tests__/templates.test.d.ts +1 -0
  196. package/dist/template-shapes/__tests__/templates.test.js +80 -0
  197. package/dist/template-shapes/__tests__/where.test.d.ts +1 -0
  198. package/dist/template-shapes/__tests__/where.test.js +218 -0
  199. package/dist/template-shapes/index.d.ts +7 -0
  200. package/dist/template-shapes/names.d.ts +10 -0
  201. package/dist/template-shapes/templates.d.ts +32 -0
  202. package/dist/template-shapes/templates.js +319 -0
  203. package/dist/template-shapes/types.d.ts +15 -0
  204. package/dist/template-shapes/where.d.ts +37 -0
  205. package/dist/template-shapes/where.js +402 -0
  206. package/dist/types/__tests__/utils.test.d.ts +1 -0
  207. package/dist/types/__tests__/utils.test.js +159 -0
  208. package/dist/types/index.d.ts +3 -0
  209. package/dist/types/index.js +2 -0
  210. package/dist/types/transforms.d.ts +13 -0
  211. package/dist/types/transforms.js +1 -0
  212. package/dist/types/types.d.ts +211 -0
  213. package/dist/types/utils.d.ts +117 -0
  214. package/dist/types/utils.js +279 -0
  215. package/dist/unions.d.ts +14 -0
  216. package/dist/unions.js +77 -0
  217. package/dist/util/__tests__/api-indexing.test.d.ts +1 -0
  218. package/dist/util/__tests__/api-indexing.test.js +129 -0
  219. package/dist/util/__tests__/detect-cycles.test.d.ts +1 -0
  220. package/dist/util/__tests__/detect-cycles.test.js +193 -0
  221. package/dist/util/__tests__/find-shape-at-path.test.d.ts +1 -0
  222. package/dist/util/__tests__/find-shape-at-path.test.js +41 -0
  223. package/dist/util/__tests__/form-config.test.d.ts +1 -0
  224. package/dist/util/__tests__/form-config.test.js +196 -0
  225. package/dist/util/__tests__/get-return-shape.test.d.ts +1 -0
  226. package/dist/util/__tests__/get-return-shape.test.js +27 -0
  227. package/dist/util/__tests__/has-args.test.d.ts +1 -0
  228. package/dist/util/__tests__/has-args.test.js +46 -0
  229. package/dist/util/__tests__/merge.test.d.ts +1 -0
  230. package/dist/util/__tests__/merge.test.js +1074 -0
  231. package/dist/util/__tests__/patch-schema.test.d.ts +1 -0
  232. package/dist/util/__tests__/patch-schema.test.js +82 -0
  233. package/dist/util/__tests__/shapes.test.d.ts +1 -0
  234. package/dist/util/__tests__/shapes.test.js +30 -0
  235. package/dist/util/ai-tools.d.ts +3 -0
  236. package/dist/util/api-indexing.d.ts +9 -0
  237. package/dist/util/api-indexing.js +57 -0
  238. package/dist/util/detect-cycles.d.ts +7 -0
  239. package/dist/util/detect-cycles.js +45 -0
  240. package/dist/util/find-shape-at-path.d.ts +21 -0
  241. package/dist/util/form-config.d.ts +11 -0
  242. package/dist/util/form-config.js +62 -0
  243. package/dist/util/get-conflicting-properties.d.ts +6 -0
  244. package/dist/util/get-conflicting-properties.js +55 -0
  245. package/dist/util/get-return-shape.d.ts +4 -0
  246. package/dist/util/get-return-shape.js +30 -0
  247. package/dist/util/has-arg.d.ts +4 -0
  248. package/dist/util/has-arg.js +13 -0
  249. package/dist/util/merge.d.ts +15 -0
  250. package/dist/util/merge.js +256 -0
  251. package/dist/util/patch-schema.d.ts +8 -0
  252. package/dist/util/shapes.d.ts +5 -0
  253. package/dist/validate/errors.d.ts +3 -0
  254. package/dist/validate/errors.js +20 -0
  255. package/dist/validate/validate.d.ts +73 -0
  256. package/dist/validate/validate.js +1107 -0
  257. package/dist/versions.d.ts +4 -0
  258. package/dist/versions.js +4 -0
  259. package/dist/workflows.d.ts +14 -0
  260. package/dist/workflows.js +66 -0
  261. package/examples/latest/agent-schema.json +12 -4
  262. package/examples/latest/all-fields-shapes-inline.json +52 -18
  263. package/examples/latest/all-fields-shapes.json +76 -26
  264. package/examples/latest/betzino.json +3139 -902
  265. package/examples/latest/blog-schema.json +28 -8
  266. package/examples/latest/brewery-schema.json +25 -7
  267. package/examples/latest/clear-cache-schema.json +7 -3
  268. package/examples/latest/complex-project-schema.json +359 -98
  269. package/examples/latest/complex-schema.json +1754 -487
  270. package/examples/latest/edit-schema.json +11 -4
  271. package/examples/latest/fabric-ecommerce.json +838 -187
  272. package/examples/latest/frank-and-fred-schema.json +1753 -486
  273. package/examples/latest/klirr-schema.json +2411 -682
  274. package/examples/latest/layers/rick-and-morty-layer.json +32 -11
  275. package/examples/latest/layers/shopify-layer-2023-01.json +8637 -2206
  276. package/examples/latest/layers/shopify-storefront-2023-04.json +1714 -404
  277. package/examples/latest/layers/wordpress-2024-01.json +2746 -691
  278. package/examples/latest/massive-schema.json +584 -131
  279. package/examples/latest/mill-components-schema.json +125 -29
  280. package/examples/latest/nested-shape-arrays.json +19 -7
  281. package/examples/latest/one-earth.json +1113 -236
  282. package/examples/latest/pet-oneof-array.json +22 -7
  283. package/examples/latest/post-schema.json +20 -6
  284. package/examples/latest/pruned-shopify-product-schema.json +830 -185
  285. package/examples/latest/rag-example.json +15 -5
  286. package/examples/latest/real-world-schema.json +56 -14
  287. package/examples/latest/recursive-repeater-schema.json +11 -4
  288. package/examples/latest/recursive-schema.json +11 -4
  289. package/examples/latest/rick-and-morty-ast.json +174 -45
  290. package/examples/latest/rick-and-morty-graphql.json +100 -25
  291. package/examples/latest/rick-and-morty-rest.json +7 -3
  292. package/examples/latest/rick-and-morty-with-indexing.json +13 -5
  293. package/examples/latest/schema-where-filter.json +40 -11
  294. package/examples/latest/schema-with-repeater-draftjs.json +8 -3
  295. package/examples/latest/schema-with-rick-and-morty.json +4 -2
  296. package/examples/latest/shape-books-v3_2_0.json +71 -17
  297. package/examples/latest/shape-books.json +71 -17
  298. package/examples/latest/shape-editor-schema-edited.json +69 -23
  299. package/examples/latest/shape-editor-schema-initial.json +28 -10
  300. package/examples/latest/shapedb-crud-every-prop-type.json +22 -8
  301. package/examples/latest/shopify-lookbook.json +19 -5
  302. package/examples/latest/shopify-product-2022-07.json +3217 -726
  303. package/examples/latest/shopify-product-2023-04.json +4496 -1012
  304. package/examples/latest/shopify-store-with-widget.json +942 -213
  305. package/examples/latest/stripe-product-runtime-schema.json +277 -81
  306. package/examples/latest/stripe-starter-resolved.json +1953 -476
  307. package/examples/latest/user-schema-no-required.json +13 -3
  308. package/examples/latest/user-schema-with-defaults.json +27 -5
  309. package/examples/latest/valvoline-ai-demo.json +69 -17
  310. package/examples/latest/vector-search-schema.json +24 -8
  311. package/package.json +24 -26
  312. package/dist/cjs/package.json +0 -1
  313. package/dist/cjs/src/agents.js +0 -147
  314. package/dist/cjs/src/api-version.js +0 -24
  315. package/dist/cjs/src/auth-schemas.js +0 -8
  316. package/dist/cjs/src/builtin-schema.js +0 -616
  317. package/dist/cjs/src/constants.js +0 -4
  318. package/dist/cjs/src/content-schema-transform.js +0 -175
  319. package/dist/cjs/src/create-input-schema.js +0 -66
  320. package/dist/cjs/src/enum.js +0 -12
  321. package/dist/cjs/src/flatten-templates.js +0 -26
  322. package/dist/cjs/src/get-is-leaf.js +0 -59
  323. package/dist/cjs/src/index.js +0 -62
  324. package/dist/cjs/src/interfaces.js +0 -98
  325. package/dist/cjs/src/layers/layers.js +0 -313
  326. package/dist/cjs/src/layers/refs.js +0 -243
  327. package/dist/cjs/src/layers/type-utils.js +0 -145
  328. package/dist/cjs/src/layers/visitor.js +0 -42
  329. package/dist/cjs/src/migration/index.js +0 -142
  330. package/dist/cjs/src/migration/to/v3.0.0.js +0 -217
  331. package/dist/cjs/src/migration/to/v3.1.0.js +0 -199
  332. package/dist/cjs/src/migration/to/v3.10.0.js +0 -72
  333. package/dist/cjs/src/migration/to/v3.11.0.js +0 -90
  334. package/dist/cjs/src/migration/to/v3.12.0.js +0 -12
  335. package/dist/cjs/src/migration/to/v3.12.1.js +0 -12
  336. package/dist/cjs/src/migration/to/v3.12.2.js +0 -12
  337. package/dist/cjs/src/migration/to/v3.12.3.js +0 -92
  338. package/dist/cjs/src/migration/to/v3.13.0.js +0 -22
  339. package/dist/cjs/src/migration/to/v3.14.0.js +0 -12
  340. package/dist/cjs/src/migration/to/v3.15.0.js +0 -12
  341. package/dist/cjs/src/migration/to/v3.16.0.js +0 -12
  342. package/dist/cjs/src/migration/to/v3.17.0.js +0 -27
  343. package/dist/cjs/src/migration/to/v3.17.1.js +0 -12
  344. package/dist/cjs/src/migration/to/v3.18.0.js +0 -69
  345. package/dist/cjs/src/migration/to/v3.18.1.js +0 -20
  346. package/dist/cjs/src/migration/to/v3.18.2.js +0 -24
  347. package/dist/cjs/src/migration/to/v3.19.0.js +0 -12
  348. package/dist/cjs/src/migration/to/v3.2.0.js +0 -12
  349. package/dist/cjs/src/migration/to/v3.20.0.js +0 -29
  350. package/dist/cjs/src/migration/to/v3.21.0.js +0 -12
  351. package/dist/cjs/src/migration/to/v3.22.0.js +0 -30
  352. package/dist/cjs/src/migration/to/v3.23.0.js +0 -12
  353. package/dist/cjs/src/migration/to/v3.24.0.js +0 -13
  354. package/dist/cjs/src/migration/to/v3.25.0.js +0 -13
  355. package/dist/cjs/src/migration/to/v3.26.0.js +0 -12
  356. package/dist/cjs/src/migration/to/v3.27.0.js +0 -12
  357. package/dist/cjs/src/migration/to/v3.28.0.js +0 -12
  358. package/dist/cjs/src/migration/to/v3.29.0.js +0 -12
  359. package/dist/cjs/src/migration/to/v3.3.0.js +0 -15
  360. package/dist/cjs/src/migration/to/v3.30.0.js +0 -12
  361. package/dist/cjs/src/migration/to/v3.31.0.js +0 -43
  362. package/dist/cjs/src/migration/to/v3.32.0.js +0 -61
  363. package/dist/cjs/src/migration/to/v3.33.0.js +0 -12
  364. package/dist/cjs/src/migration/to/v3.34.0.js +0 -123
  365. package/dist/cjs/src/migration/to/v3.35.0.js +0 -12
  366. package/dist/cjs/src/migration/to/v3.36.0.js +0 -27
  367. package/dist/cjs/src/migration/to/v3.37.0.js +0 -12
  368. package/dist/cjs/src/migration/to/v3.38.0.js +0 -12
  369. package/dist/cjs/src/migration/to/v3.39.0.js +0 -47
  370. package/dist/cjs/src/migration/to/v3.4.0.js +0 -12
  371. package/dist/cjs/src/migration/to/v3.40.0.js +0 -31
  372. package/dist/cjs/src/migration/to/v3.41.0.js +0 -12
  373. package/dist/cjs/src/migration/to/v3.42.0.js +0 -12
  374. package/dist/cjs/src/migration/to/v3.43.0.js +0 -12
  375. package/dist/cjs/src/migration/to/v3.44.0.js +0 -12
  376. package/dist/cjs/src/migration/to/v3.45.0.js +0 -12
  377. package/dist/cjs/src/migration/to/v3.46.0.js +0 -37
  378. package/dist/cjs/src/migration/to/v3.47.0.js +0 -12
  379. package/dist/cjs/src/migration/to/v3.48.0.js +0 -12
  380. package/dist/cjs/src/migration/to/v3.49.0.js +0 -12
  381. package/dist/cjs/src/migration/to/v3.5.0.js +0 -12
  382. package/dist/cjs/src/migration/to/v3.5.1.js +0 -12
  383. package/dist/cjs/src/migration/to/v3.50.0.js +0 -12
  384. package/dist/cjs/src/migration/to/v3.51.0.js +0 -12
  385. package/dist/cjs/src/migration/to/v3.6.0.js +0 -12
  386. package/dist/cjs/src/migration/to/v3.7.0.js +0 -12
  387. package/dist/cjs/src/migration/to/v3.8.0.js +0 -12
  388. package/dist/cjs/src/migration/to/v3.9.0.js +0 -84
  389. package/dist/cjs/src/migration/types.js +0 -2
  390. package/dist/cjs/src/migration/utils.js +0 -10
  391. package/dist/cjs/src/mocks.js +0 -65
  392. package/dist/cjs/src/models/project-schema.js +0 -99
  393. package/dist/cjs/src/models/query.js +0 -35
  394. package/dist/cjs/src/models/service.js +0 -24
  395. package/dist/cjs/src/models/shape.js +0 -89
  396. package/dist/cjs/src/patterns.js +0 -2
  397. package/dist/cjs/src/project-schema/index.js +0 -156
  398. package/dist/cjs/src/project-schema/latest.js +0 -8
  399. package/dist/cjs/src/project-schema/migrate.js +0 -198
  400. package/dist/cjs/src/project-schema/v1.0.0.js +0 -8
  401. package/dist/cjs/src/project-schema/v3.0.0.js +0 -8
  402. package/dist/cjs/src/project-schema/v3.1.0.js +0 -8
  403. package/dist/cjs/src/project-schema/v3.10.0.js +0 -8
  404. package/dist/cjs/src/project-schema/v3.11.0.js +0 -8
  405. package/dist/cjs/src/project-schema/v3.12.0.js +0 -8
  406. package/dist/cjs/src/project-schema/v3.12.1.js +0 -8
  407. package/dist/cjs/src/project-schema/v3.12.2.js +0 -8
  408. package/dist/cjs/src/project-schema/v3.12.3.js +0 -8
  409. package/dist/cjs/src/project-schema/v3.13.0.js +0 -8
  410. package/dist/cjs/src/project-schema/v3.13.1.js +0 -8
  411. package/dist/cjs/src/project-schema/v3.14.0.js +0 -8
  412. package/dist/cjs/src/project-schema/v3.15.0.js +0 -8
  413. package/dist/cjs/src/project-schema/v3.16.0.js +0 -8
  414. package/dist/cjs/src/project-schema/v3.17.0.js +0 -8
  415. package/dist/cjs/src/project-schema/v3.17.1.js +0 -8
  416. package/dist/cjs/src/project-schema/v3.18.0.js +0 -8
  417. package/dist/cjs/src/project-schema/v3.18.1.js +0 -8
  418. package/dist/cjs/src/project-schema/v3.18.2.js +0 -8
  419. package/dist/cjs/src/project-schema/v3.19.0.js +0 -8
  420. package/dist/cjs/src/project-schema/v3.2.0.js +0 -8
  421. package/dist/cjs/src/project-schema/v3.20.0.js +0 -8
  422. package/dist/cjs/src/project-schema/v3.21.0.js +0 -8
  423. package/dist/cjs/src/project-schema/v3.22.0.js +0 -8
  424. package/dist/cjs/src/project-schema/v3.23.0.js +0 -8
  425. package/dist/cjs/src/project-schema/v3.24.0.js +0 -8
  426. package/dist/cjs/src/project-schema/v3.25.0.js +0 -8
  427. package/dist/cjs/src/project-schema/v3.26.0.js +0 -8
  428. package/dist/cjs/src/project-schema/v3.27.0.js +0 -8
  429. package/dist/cjs/src/project-schema/v3.28.0.js +0 -8
  430. package/dist/cjs/src/project-schema/v3.29.0.js +0 -8
  431. package/dist/cjs/src/project-schema/v3.3.0.js +0 -8
  432. package/dist/cjs/src/project-schema/v3.30.0.js +0 -8
  433. package/dist/cjs/src/project-schema/v3.31.0.js +0 -8
  434. package/dist/cjs/src/project-schema/v3.32.0.js +0 -8
  435. package/dist/cjs/src/project-schema/v3.33.0.js +0 -8
  436. package/dist/cjs/src/project-schema/v3.34.0.js +0 -8
  437. package/dist/cjs/src/project-schema/v3.35.0.js +0 -8
  438. package/dist/cjs/src/project-schema/v3.36.0.js +0 -8
  439. package/dist/cjs/src/project-schema/v3.37.0.js +0 -8
  440. package/dist/cjs/src/project-schema/v3.38.0.js +0 -8
  441. package/dist/cjs/src/project-schema/v3.39.0.js +0 -8
  442. package/dist/cjs/src/project-schema/v3.4.0.js +0 -8
  443. package/dist/cjs/src/project-schema/v3.40.0.js +0 -8
  444. package/dist/cjs/src/project-schema/v3.41.0.js +0 -8
  445. package/dist/cjs/src/project-schema/v3.42.0.js +0 -8
  446. package/dist/cjs/src/project-schema/v3.43.0.js +0 -8
  447. package/dist/cjs/src/project-schema/v3.44.0.js +0 -8
  448. package/dist/cjs/src/project-schema/v3.45.0.js +0 -8
  449. package/dist/cjs/src/project-schema/v3.46.0.js +0 -8
  450. package/dist/cjs/src/project-schema/v3.47.0.js +0 -8
  451. package/dist/cjs/src/project-schema/v3.48.0.js +0 -8
  452. package/dist/cjs/src/project-schema/v3.49.0.js +0 -8
  453. package/dist/cjs/src/project-schema/v3.5.0.js +0 -8
  454. package/dist/cjs/src/project-schema/v3.5.1.js +0 -8
  455. package/dist/cjs/src/project-schema/v3.50.0.js +0 -8
  456. package/dist/cjs/src/project-schema/v3.51.0.js +0 -8
  457. package/dist/cjs/src/project-schema/v3.6.0.js +0 -8
  458. package/dist/cjs/src/project-schema/v3.7.0.js +0 -8
  459. package/dist/cjs/src/project-schema/v3.8.0.js +0 -8
  460. package/dist/cjs/src/project-schema/v3.9.0.js +0 -8
  461. package/dist/cjs/src/project-schema/v4.0.0.js +0 -8
  462. package/dist/cjs/src/refs.js +0 -671
  463. package/dist/cjs/src/relationships.js +0 -326
  464. package/dist/cjs/src/runtime-schema.js +0 -88
  465. package/dist/cjs/src/scalars.js +0 -8
  466. package/dist/cjs/src/schema-transform.js +0 -83
  467. package/dist/cjs/src/schema-util.js +0 -1140
  468. package/dist/cjs/src/schemas/auth-schemas.json +0 -313
  469. package/dist/cjs/src/schemas/index.js +0 -162
  470. package/dist/cjs/src/schemas/project-schema/experimental.json +0 -1101
  471. package/dist/cjs/src/schemas/user-schema.json +0 -51
  472. package/dist/cjs/src/service-dependencies.js +0 -172
  473. package/dist/cjs/src/services/services.js +0 -156
  474. package/dist/cjs/src/services/types.js +0 -2
  475. package/dist/cjs/src/services/util.js +0 -45
  476. package/dist/cjs/src/taxonomies.js +0 -28
  477. package/dist/cjs/src/template-shapes/index.js +0 -37
  478. package/dist/cjs/src/template-shapes/names.js +0 -26
  479. package/dist/cjs/src/template-shapes/templates.js +0 -331
  480. package/dist/cjs/src/template-shapes/types.js +0 -10
  481. package/dist/cjs/src/template-shapes/where.js +0 -414
  482. package/dist/cjs/src/types/index.js +0 -19
  483. package/dist/cjs/src/types/transforms.js +0 -2
  484. package/dist/cjs/src/types/types.js +0 -21
  485. package/dist/cjs/src/types/utils.js +0 -344
  486. package/dist/cjs/src/unions.js +0 -88
  487. package/dist/cjs/src/user-schema.js +0 -8
  488. package/dist/cjs/src/util/ai-tools.js +0 -10
  489. package/dist/cjs/src/util/api-indexing.js +0 -62
  490. package/dist/cjs/src/util/detect-cycles.js +0 -48
  491. package/dist/cjs/src/util/find-shape-at-path.js +0 -57
  492. package/dist/cjs/src/util/form-config.js +0 -66
  493. package/dist/cjs/src/util/get-conflicting-properties.js +0 -58
  494. package/dist/cjs/src/util/get-return-shape.js +0 -34
  495. package/dist/cjs/src/util/has-arg.js +0 -17
  496. package/dist/cjs/src/util/merge.js +0 -269
  497. package/dist/cjs/src/util/patch-schema.js +0 -55
  498. package/dist/cjs/src/util/shapes.js +0 -31
  499. package/dist/cjs/src/validate.js +0 -1140
  500. package/dist/cjs/src/versions.js +0 -8
  501. package/dist/cjs/src/workflows.js +0 -76
  502. package/dist/cjs/tsconfig.cjs.tsbuildinfo +0 -1
  503. package/dist/esm/package.json +0 -1
  504. package/dist/esm/src/content-schema-transform.js +0 -162
  505. package/dist/esm/src/flatten-templates.js +0 -20
  506. package/dist/esm/src/get-is-leaf.js +0 -56
  507. package/dist/esm/src/index.js +0 -46
  508. package/dist/esm/src/interfaces.js +0 -85
  509. package/dist/esm/src/layers/layers.js +0 -301
  510. package/dist/esm/src/layers/refs.js +0 -220
  511. package/dist/esm/src/layers/type-utils.js +0 -118
  512. package/dist/esm/src/layers/visitor.js +0 -38
  513. package/dist/esm/src/migration/index.js +0 -122
  514. package/dist/esm/src/migration/to/v3.0.0.js +0 -212
  515. package/dist/esm/src/migration/to/v3.1.0.js +0 -194
  516. package/dist/esm/src/migration/to/v3.32.0.js +0 -59
  517. package/dist/esm/src/migration/to/v3.34.0.js +0 -116
  518. package/dist/esm/src/migration/to/v3.39.0.js +0 -45
  519. package/dist/esm/src/mocks.js +0 -58
  520. package/dist/esm/src/models/project-schema.js +0 -92
  521. package/dist/esm/src/models/shape.js +0 -85
  522. package/dist/esm/src/project-schema/index.js +0 -138
  523. package/dist/esm/src/project-schema/migrate.js +0 -194
  524. package/dist/esm/src/refs.js +0 -608
  525. package/dist/esm/src/relationships.js +0 -311
  526. package/dist/esm/src/runtime-schema.js +0 -80
  527. package/dist/esm/src/schema-transform.js +0 -74
  528. package/dist/esm/src/schema-util.js +0 -1077
  529. package/dist/esm/src/schemas/auth-schemas.json +0 -313
  530. package/dist/esm/src/schemas/index.js +0 -154
  531. package/dist/esm/src/schemas/project-schema/experimental.json +0 -1101
  532. package/dist/esm/src/schemas/project-schema/latest.json +0 -3320
  533. package/dist/esm/src/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
  534. package/dist/esm/src/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
  535. package/dist/esm/src/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
  536. package/dist/esm/src/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
  537. package/dist/esm/src/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
  538. package/dist/esm/src/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
  539. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
  540. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
  541. package/dist/esm/src/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
  542. package/dist/esm/src/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
  543. package/dist/esm/src/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
  544. package/dist/esm/src/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
  545. package/dist/esm/src/schemas/project-schema/v1.0.0.json +0 -321
  546. package/dist/esm/src/schemas/project-schema/v3.0.0.json +0 -414
  547. package/dist/esm/src/schemas/project-schema/v3.1.0.json +0 -572
  548. package/dist/esm/src/schemas/project-schema/v3.10.0.json +0 -2097
  549. package/dist/esm/src/schemas/project-schema/v3.11.0.json +0 -2141
  550. package/dist/esm/src/schemas/project-schema/v3.12.0.json +0 -2144
  551. package/dist/esm/src/schemas/project-schema/v3.12.1.json +0 -2282
  552. package/dist/esm/src/schemas/project-schema/v3.12.2.json +0 -2304
  553. package/dist/esm/src/schemas/project-schema/v3.12.3.json +0 -2357
  554. package/dist/esm/src/schemas/project-schema/v3.13.0.json +0 -2377
  555. package/dist/esm/src/schemas/project-schema/v3.14.0.json +0 -2385
  556. package/dist/esm/src/schemas/project-schema/v3.15.0.json +0 -2365
  557. package/dist/esm/src/schemas/project-schema/v3.16.0.json +0 -2373
  558. package/dist/esm/src/schemas/project-schema/v3.17.0.json +0 -2378
  559. package/dist/esm/src/schemas/project-schema/v3.17.1.json +0 -2380
  560. package/dist/esm/src/schemas/project-schema/v3.18.0.json +0 -2356
  561. package/dist/esm/src/schemas/project-schema/v3.18.1.json +0 -2357
  562. package/dist/esm/src/schemas/project-schema/v3.18.2.json +0 -2357
  563. package/dist/esm/src/schemas/project-schema/v3.19.0.json +0 -2369
  564. package/dist/esm/src/schemas/project-schema/v3.2.0.json +0 -580
  565. package/dist/esm/src/schemas/project-schema/v3.20.0.json +0 -2369
  566. package/dist/esm/src/schemas/project-schema/v3.21.0.json +0 -2376
  567. package/dist/esm/src/schemas/project-schema/v3.22.0.json +0 -2381
  568. package/dist/esm/src/schemas/project-schema/v3.23.0.json +0 -2456
  569. package/dist/esm/src/schemas/project-schema/v3.24.0.json +0 -2556
  570. package/dist/esm/src/schemas/project-schema/v3.25.0.json +0 -2552
  571. package/dist/esm/src/schemas/project-schema/v3.26.0.json +0 -2599
  572. package/dist/esm/src/schemas/project-schema/v3.27.0.json +0 -2611
  573. package/dist/esm/src/schemas/project-schema/v3.28.0.json +0 -2656
  574. package/dist/esm/src/schemas/project-schema/v3.29.0.json +0 -2670
  575. package/dist/esm/src/schemas/project-schema/v3.3.0.json +0 -581
  576. package/dist/esm/src/schemas/project-schema/v3.30.0.json +0 -2656
  577. package/dist/esm/src/schemas/project-schema/v3.31.0.json +0 -2714
  578. package/dist/esm/src/schemas/project-schema/v3.32.0.json +0 -2708
  579. package/dist/esm/src/schemas/project-schema/v3.33.0.json +0 -2715
  580. package/dist/esm/src/schemas/project-schema/v3.34.0.json +0 -2715
  581. package/dist/esm/src/schemas/project-schema/v3.35.0.json +0 -2748
  582. package/dist/esm/src/schemas/project-schema/v3.36.0.json +0 -2756
  583. package/dist/esm/src/schemas/project-schema/v3.37.0.json +0 -2821
  584. package/dist/esm/src/schemas/project-schema/v3.38.0.json +0 -2819
  585. package/dist/esm/src/schemas/project-schema/v3.39.0.json +0 -2827
  586. package/dist/esm/src/schemas/project-schema/v3.4.0.json +0 -571
  587. package/dist/esm/src/schemas/project-schema/v3.40.0.json +0 -2830
  588. package/dist/esm/src/schemas/project-schema/v3.41.0.json +0 -2830
  589. package/dist/esm/src/schemas/project-schema/v3.42.0.json +0 -2835
  590. package/dist/esm/src/schemas/project-schema/v3.43.0.json +0 -2841
  591. package/dist/esm/src/schemas/project-schema/v3.44.0.json +0 -3013
  592. package/dist/esm/src/schemas/project-schema/v3.45.0.json +0 -3064
  593. package/dist/esm/src/schemas/project-schema/v3.46.0.json +0 -3136
  594. package/dist/esm/src/schemas/project-schema/v3.47.0.json +0 -3189
  595. package/dist/esm/src/schemas/project-schema/v3.48.0.json +0 -3196
  596. package/dist/esm/src/schemas/project-schema/v3.49.0.json +0 -3239
  597. package/dist/esm/src/schemas/project-schema/v3.5.0.json +0 -571
  598. package/dist/esm/src/schemas/project-schema/v3.5.1.json +0 -571
  599. package/dist/esm/src/schemas/project-schema/v3.50.0.json +0 -3320
  600. package/dist/esm/src/schemas/project-schema/v3.51.0.json +0 -3320
  601. package/dist/esm/src/schemas/project-schema/v3.6.0.json +0 -587
  602. package/dist/esm/src/schemas/project-schema/v3.7.0.json +0 -587
  603. package/dist/esm/src/schemas/project-schema/v3.8.0.json +0 -604
  604. package/dist/esm/src/schemas/project-schema/v3.9.0.json +0 -604
  605. package/dist/esm/src/schemas/project-schema/v4.0.0.json +0 -2316
  606. package/dist/esm/src/schemas/project-schema.json +0 -190
  607. package/dist/esm/src/schemas/user-schema.json +0 -51
  608. package/dist/esm/src/service-dependencies.js +0 -165
  609. package/dist/esm/src/services/services.js +0 -145
  610. package/dist/esm/src/taxonomies.js +0 -24
  611. package/dist/esm/src/template-shapes/templates.js +0 -319
  612. package/dist/esm/src/template-shapes/where.js +0 -402
  613. package/dist/esm/src/types/index.js +0 -3
  614. package/dist/esm/src/types/utils.js +0 -279
  615. package/dist/esm/src/unions.js +0 -77
  616. package/dist/esm/src/user-schema.js +0 -7
  617. package/dist/esm/src/util/api-indexing.js +0 -57
  618. package/dist/esm/src/util/detect-cycles.js +0 -45
  619. package/dist/esm/src/util/form-config.js +0 -62
  620. package/dist/esm/src/util/get-conflicting-properties.js +0 -55
  621. package/dist/esm/src/util/get-return-shape.js +0 -30
  622. package/dist/esm/src/util/has-arg.js +0 -13
  623. package/dist/esm/src/util/merge.js +0 -256
  624. package/dist/esm/src/validate.js +0 -1126
  625. package/dist/esm/src/versions.js +0 -4
  626. package/dist/esm/src/workflows.js +0 -66
  627. package/dist/esm/tsconfig.esm.tsbuildinfo +0 -1
  628. package/dist/types/src/agents.d.ts +0 -14
  629. package/dist/types/src/auth-schemas.d.ts +0 -104
  630. package/dist/types/src/builtin-schema.d.ts +0 -8
  631. package/dist/types/src/content-schema-transform.d.ts +0 -35
  632. package/dist/types/src/create-input-schema.d.ts +0 -9
  633. package/dist/types/src/enum.d.ts +0 -2
  634. package/dist/types/src/flatten-templates.d.ts +0 -2
  635. package/dist/types/src/get-is-leaf.d.ts +0 -3
  636. package/dist/types/src/index.d.ts +0 -48
  637. package/dist/types/src/interfaces.d.ts +0 -12
  638. package/dist/types/src/layers/layers.d.ts +0 -26
  639. package/dist/types/src/layers/refs.d.ts +0 -102
  640. package/dist/types/src/layers/type-utils.d.ts +0 -59
  641. package/dist/types/src/layers/visitor.d.ts +0 -5
  642. package/dist/types/src/migration/index.d.ts +0 -64
  643. package/dist/types/src/migration/to/v3.0.0.d.ts +0 -4
  644. package/dist/types/src/migration/to/v3.1.0.d.ts +0 -4
  645. package/dist/types/src/migration/to/v3.10.0.d.ts +0 -4
  646. package/dist/types/src/migration/to/v3.11.0.d.ts +0 -4
  647. package/dist/types/src/migration/to/v3.12.0.d.ts +0 -4
  648. package/dist/types/src/migration/to/v3.12.1.d.ts +0 -4
  649. package/dist/types/src/migration/to/v3.12.2.d.ts +0 -4
  650. package/dist/types/src/migration/to/v3.12.3.d.ts +0 -4
  651. package/dist/types/src/migration/to/v3.13.0.d.ts +0 -4
  652. package/dist/types/src/migration/to/v3.14.0.d.ts +0 -4
  653. package/dist/types/src/migration/to/v3.15.0.d.ts +0 -4
  654. package/dist/types/src/migration/to/v3.16.0.d.ts +0 -4
  655. package/dist/types/src/migration/to/v3.17.0.d.ts +0 -4
  656. package/dist/types/src/migration/to/v3.17.1.d.ts +0 -4
  657. package/dist/types/src/migration/to/v3.18.0.d.ts +0 -4
  658. package/dist/types/src/migration/to/v3.18.1.d.ts +0 -4
  659. package/dist/types/src/migration/to/v3.18.2.d.ts +0 -4
  660. package/dist/types/src/migration/to/v3.19.0.d.ts +0 -4
  661. package/dist/types/src/migration/to/v3.2.0.d.ts +0 -4
  662. package/dist/types/src/migration/to/v3.20.0.d.ts +0 -4
  663. package/dist/types/src/migration/to/v3.21.0.d.ts +0 -4
  664. package/dist/types/src/migration/to/v3.22.0.d.ts +0 -4
  665. package/dist/types/src/migration/to/v3.23.0.d.ts +0 -4
  666. package/dist/types/src/migration/to/v3.24.0.d.ts +0 -4
  667. package/dist/types/src/migration/to/v3.25.0.d.ts +0 -4
  668. package/dist/types/src/migration/to/v3.26.0.d.ts +0 -4
  669. package/dist/types/src/migration/to/v3.27.0.d.ts +0 -4
  670. package/dist/types/src/migration/to/v3.28.0.d.ts +0 -4
  671. package/dist/types/src/migration/to/v3.29.0.d.ts +0 -4
  672. package/dist/types/src/migration/to/v3.3.0.d.ts +0 -4
  673. package/dist/types/src/migration/to/v3.30.0.d.ts +0 -4
  674. package/dist/types/src/migration/to/v3.31.0.d.ts +0 -4
  675. package/dist/types/src/migration/to/v3.32.0.d.ts +0 -4
  676. package/dist/types/src/migration/to/v3.33.0.d.ts +0 -4
  677. package/dist/types/src/migration/to/v3.34.0.d.ts +0 -6
  678. package/dist/types/src/migration/to/v3.35.0.d.ts +0 -4
  679. package/dist/types/src/migration/to/v3.36.0.d.ts +0 -4
  680. package/dist/types/src/migration/to/v3.37.0.d.ts +0 -4
  681. package/dist/types/src/migration/to/v3.38.0.d.ts +0 -4
  682. package/dist/types/src/migration/to/v3.39.0.d.ts +0 -4
  683. package/dist/types/src/migration/to/v3.4.0.d.ts +0 -4
  684. package/dist/types/src/migration/to/v3.40.0.d.ts +0 -4
  685. package/dist/types/src/migration/to/v3.41.0.d.ts +0 -4
  686. package/dist/types/src/migration/to/v3.42.0.d.ts +0 -4
  687. package/dist/types/src/migration/to/v3.43.0.d.ts +0 -4
  688. package/dist/types/src/migration/to/v3.44.0.d.ts +0 -4
  689. package/dist/types/src/migration/to/v3.45.0.d.ts +0 -4
  690. package/dist/types/src/migration/to/v3.46.0.d.ts +0 -4
  691. package/dist/types/src/migration/to/v3.47.0.d.ts +0 -4
  692. package/dist/types/src/migration/to/v3.48.0.d.ts +0 -4
  693. package/dist/types/src/migration/to/v3.49.0.d.ts +0 -4
  694. package/dist/types/src/migration/to/v3.5.0.d.ts +0 -4
  695. package/dist/types/src/migration/to/v3.5.1.d.ts +0 -4
  696. package/dist/types/src/migration/to/v3.50.0.d.ts +0 -4
  697. package/dist/types/src/migration/to/v3.51.0.d.ts +0 -4
  698. package/dist/types/src/migration/to/v3.6.0.d.ts +0 -4
  699. package/dist/types/src/migration/to/v3.7.0.d.ts +0 -4
  700. package/dist/types/src/migration/to/v3.8.0.d.ts +0 -4
  701. package/dist/types/src/migration/to/v3.9.0.d.ts +0 -4
  702. package/dist/types/src/migration/types.d.ts +0 -19
  703. package/dist/types/src/mocks.d.ts +0 -13
  704. package/dist/types/src/models/project-schema.d.ts +0 -35
  705. package/dist/types/src/models/query.d.ts +0 -17
  706. package/dist/types/src/models/service.d.ts +0 -12
  707. package/dist/types/src/models/shape.d.ts +0 -41
  708. package/dist/types/src/project-schema/index.d.ts +0 -187
  709. package/dist/types/src/project-schema/latest.d.ts +0 -2221
  710. package/dist/types/src/project-schema/migrate.d.ts +0 -4
  711. package/dist/types/src/project-schema/v3.48.0.d.ts +0 -2160
  712. package/dist/types/src/project-schema/v3.49.0.d.ts +0 -2169
  713. package/dist/types/src/project-schema/v3.50.0.d.ts +0 -2221
  714. package/dist/types/src/project-schema/v3.51.0.d.ts +0 -2221
  715. package/dist/types/src/refs.d.ts +0 -226
  716. package/dist/types/src/relationships.d.ts +0 -40
  717. package/dist/types/src/runtime-schema.d.ts +0 -5
  718. package/dist/types/src/schema-transform.d.ts +0 -19
  719. package/dist/types/src/schema-util.d.ts +0 -210
  720. package/dist/types/src/service-dependencies.d.ts +0 -13
  721. package/dist/types/src/services/services.d.ts +0 -31
  722. package/dist/types/src/services/util.d.ts +0 -16
  723. package/dist/types/src/taxonomies.d.ts +0 -15
  724. package/dist/types/src/template-shapes/index.d.ts +0 -7
  725. package/dist/types/src/template-shapes/names.d.ts +0 -10
  726. package/dist/types/src/template-shapes/templates.d.ts +0 -32
  727. package/dist/types/src/template-shapes/types.d.ts +0 -15
  728. package/dist/types/src/template-shapes/where.d.ts +0 -37
  729. package/dist/types/src/types/index.d.ts +0 -3
  730. package/dist/types/src/types/transforms.d.ts +0 -13
  731. package/dist/types/src/types/types.d.ts +0 -211
  732. package/dist/types/src/types/utils.d.ts +0 -117
  733. package/dist/types/src/unions.d.ts +0 -14
  734. package/dist/types/src/user-schema.d.ts +0 -38
  735. package/dist/types/src/util/ai-tools.d.ts +0 -3
  736. package/dist/types/src/util/api-indexing.d.ts +0 -9
  737. package/dist/types/src/util/detect-cycles.d.ts +0 -7
  738. package/dist/types/src/util/find-shape-at-path.d.ts +0 -21
  739. package/dist/types/src/util/form-config.d.ts +0 -11
  740. package/dist/types/src/util/get-conflicting-properties.d.ts +0 -6
  741. package/dist/types/src/util/get-return-shape.d.ts +0 -4
  742. package/dist/types/src/util/has-arg.d.ts +0 -4
  743. package/dist/types/src/util/merge.d.ts +0 -15
  744. package/dist/types/src/util/patch-schema.d.ts +0 -8
  745. package/dist/types/src/util/shapes.d.ts +0 -5
  746. package/dist/types/src/validate.d.ts +0 -75
  747. package/dist/types/src/versions.d.ts +0 -4
  748. package/dist/types/src/workflows.d.ts +0 -14
  749. package/dist/types/tsconfig.types.tsbuildinfo +0 -1
  750. /package/dist/{esm/src/migration/types.js → __tests__/_examples.test.d.ts} +0 -0
  751. /package/dist/{esm/src/patterns.js → __tests__/agents.test.d.ts} +0 -0
  752. /package/dist/{esm/src/services/types.js → __tests__/api-version.test.d.ts} +0 -0
  753. /package/dist/{esm/src/types/transforms.js → __tests__/builtin-schema.test.d.ts} +0 -0
  754. /package/dist/{esm/src/agents.js → agents.js} +0 -0
  755. /package/dist/{types/src/api-version.d.ts → api-version.d.ts} +0 -0
  756. /package/dist/{esm/src/api-version.js → api-version.js} +0 -0
  757. /package/dist/{esm/src/auth-schemas.js → auth-schemas.js} +0 -0
  758. /package/dist/{esm/src/builtin-schema.js → builtin-schema.js} +0 -0
  759. /package/dist/{types/src/constants.d.ts → constants.d.ts} +0 -0
  760. /package/dist/{esm/src/constants.js → constants.js} +0 -0
  761. /package/dist/{esm/src/create-input-schema.js → create-input-schema.js} +0 -0
  762. /package/dist/{esm/src/enum.js → enum.js} +0 -0
  763. /package/dist/{esm/src/migration → migration}/to/v3.10.0.js +0 -0
  764. /package/dist/{esm/src/migration → migration}/to/v3.11.0.js +0 -0
  765. /package/dist/{esm/src/migration → migration}/to/v3.12.0.js +0 -0
  766. /package/dist/{esm/src/migration → migration}/to/v3.12.1.js +0 -0
  767. /package/dist/{esm/src/migration → migration}/to/v3.12.2.js +0 -0
  768. /package/dist/{esm/src/migration → migration}/to/v3.12.3.js +0 -0
  769. /package/dist/{esm/src/migration → migration}/to/v3.13.0.js +0 -0
  770. /package/dist/{esm/src/migration → migration}/to/v3.14.0.js +0 -0
  771. /package/dist/{esm/src/migration → migration}/to/v3.15.0.js +0 -0
  772. /package/dist/{esm/src/migration → migration}/to/v3.16.0.js +0 -0
  773. /package/dist/{esm/src/migration → migration}/to/v3.17.0.js +0 -0
  774. /package/dist/{esm/src/migration → migration}/to/v3.17.1.js +0 -0
  775. /package/dist/{esm/src/migration → migration}/to/v3.18.0.js +0 -0
  776. /package/dist/{esm/src/migration → migration}/to/v3.18.1.js +0 -0
  777. /package/dist/{esm/src/migration → migration}/to/v3.18.2.js +0 -0
  778. /package/dist/{esm/src/migration → migration}/to/v3.19.0.js +0 -0
  779. /package/dist/{esm/src/migration → migration}/to/v3.2.0.js +0 -0
  780. /package/dist/{esm/src/migration → migration}/to/v3.20.0.js +0 -0
  781. /package/dist/{esm/src/migration → migration}/to/v3.21.0.js +0 -0
  782. /package/dist/{esm/src/migration → migration}/to/v3.22.0.js +0 -0
  783. /package/dist/{esm/src/migration → migration}/to/v3.23.0.js +0 -0
  784. /package/dist/{esm/src/migration → migration}/to/v3.24.0.js +0 -0
  785. /package/dist/{esm/src/migration → migration}/to/v3.25.0.js +0 -0
  786. /package/dist/{esm/src/migration → migration}/to/v3.26.0.js +0 -0
  787. /package/dist/{esm/src/migration → migration}/to/v3.27.0.js +0 -0
  788. /package/dist/{esm/src/migration → migration}/to/v3.28.0.js +0 -0
  789. /package/dist/{esm/src/migration → migration}/to/v3.29.0.js +0 -0
  790. /package/dist/{esm/src/migration → migration}/to/v3.3.0.js +0 -0
  791. /package/dist/{esm/src/migration → migration}/to/v3.30.0.js +0 -0
  792. /package/dist/{esm/src/migration → migration}/to/v3.31.0.js +0 -0
  793. /package/dist/{esm/src/migration → migration}/to/v3.33.0.js +0 -0
  794. /package/dist/{esm/src/migration → migration}/to/v3.35.0.js +0 -0
  795. /package/dist/{esm/src/migration → migration}/to/v3.36.0.js +0 -0
  796. /package/dist/{esm/src/migration → migration}/to/v3.37.0.js +0 -0
  797. /package/dist/{esm/src/migration → migration}/to/v3.38.0.js +0 -0
  798. /package/dist/{esm/src/migration → migration}/to/v3.4.0.js +0 -0
  799. /package/dist/{esm/src/migration → migration}/to/v3.40.0.js +0 -0
  800. /package/dist/{esm/src/migration → migration}/to/v3.41.0.js +0 -0
  801. /package/dist/{esm/src/migration → migration}/to/v3.42.0.js +0 -0
  802. /package/dist/{esm/src/migration → migration}/to/v3.43.0.js +0 -0
  803. /package/dist/{esm/src/migration → migration}/to/v3.44.0.js +0 -0
  804. /package/dist/{esm/src/migration → migration}/to/v3.45.0.js +0 -0
  805. /package/dist/{esm/src/migration → migration}/to/v3.46.0.js +0 -0
  806. /package/dist/{esm/src/migration → migration}/to/v3.47.0.js +0 -0
  807. /package/dist/{esm/src/migration → migration}/to/v3.48.0.js +0 -0
  808. /package/dist/{esm/src/migration → migration}/to/v3.49.0.js +0 -0
  809. /package/dist/{esm/src/migration → migration}/to/v3.5.0.js +0 -0
  810. /package/dist/{esm/src/migration → migration}/to/v3.5.1.js +0 -0
  811. /package/dist/{esm/src/migration → migration}/to/v3.50.0.js +0 -0
  812. /package/dist/{esm/src/migration → migration}/to/v3.51.0.js +0 -0
  813. /package/dist/{esm/src/migration → migration}/to/v3.6.0.js +0 -0
  814. /package/dist/{esm/src/migration → migration}/to/v3.7.0.js +0 -0
  815. /package/dist/{esm/src/migration → migration}/to/v3.8.0.js +0 -0
  816. /package/dist/{esm/src/migration → migration}/to/v3.9.0.js +0 -0
  817. /package/dist/{types/src/migration → migration}/utils.d.ts +0 -0
  818. /package/dist/{esm/src/migration → migration}/utils.js +0 -0
  819. /package/dist/{esm/src/models → models}/query.js +0 -0
  820. /package/dist/{esm/src/models → models}/service.js +0 -0
  821. /package/dist/{types/src/patterns.d.ts → patterns.d.ts} +0 -0
  822. /package/dist/{esm/src/project-schema → project-schema}/latest.js +0 -0
  823. /package/dist/{types/src/project-schema → project-schema}/v1.0.0.d.ts +0 -0
  824. /package/dist/{esm/src/project-schema → project-schema}/v1.0.0.js +0 -0
  825. /package/dist/{types/src/project-schema → project-schema}/v3.0.0.d.ts +0 -0
  826. /package/dist/{esm/src/project-schema → project-schema}/v3.0.0.js +0 -0
  827. /package/dist/{types/src/project-schema → project-schema}/v3.1.0.d.ts +0 -0
  828. /package/dist/{esm/src/project-schema → project-schema}/v3.1.0.js +0 -0
  829. /package/dist/{types/src/project-schema → project-schema}/v3.10.0.d.ts +0 -0
  830. /package/dist/{esm/src/project-schema → project-schema}/v3.10.0.js +0 -0
  831. /package/dist/{types/src/project-schema → project-schema}/v3.11.0.d.ts +0 -0
  832. /package/dist/{esm/src/project-schema → project-schema}/v3.11.0.js +0 -0
  833. /package/dist/{types/src/project-schema → project-schema}/v3.12.0.d.ts +0 -0
  834. /package/dist/{esm/src/project-schema → project-schema}/v3.12.0.js +0 -0
  835. /package/dist/{types/src/project-schema → project-schema}/v3.12.1.d.ts +0 -0
  836. /package/dist/{esm/src/project-schema → project-schema}/v3.12.1.js +0 -0
  837. /package/dist/{types/src/project-schema → project-schema}/v3.12.2.d.ts +0 -0
  838. /package/dist/{esm/src/project-schema → project-schema}/v3.12.2.js +0 -0
  839. /package/dist/{types/src/project-schema → project-schema}/v3.12.3.d.ts +0 -0
  840. /package/dist/{esm/src/project-schema → project-schema}/v3.12.3.js +0 -0
  841. /package/dist/{types/src/project-schema → project-schema}/v3.13.0.d.ts +0 -0
  842. /package/dist/{esm/src/project-schema → project-schema}/v3.13.0.js +0 -0
  843. /package/dist/{types/src/project-schema → project-schema}/v3.13.1.d.ts +0 -0
  844. /package/dist/{esm/src/project-schema → project-schema}/v3.13.1.js +0 -0
  845. /package/dist/{types/src/project-schema → project-schema}/v3.14.0.d.ts +0 -0
  846. /package/dist/{esm/src/project-schema → project-schema}/v3.14.0.js +0 -0
  847. /package/dist/{types/src/project-schema → project-schema}/v3.15.0.d.ts +0 -0
  848. /package/dist/{esm/src/project-schema → project-schema}/v3.15.0.js +0 -0
  849. /package/dist/{types/src/project-schema → project-schema}/v3.16.0.d.ts +0 -0
  850. /package/dist/{esm/src/project-schema → project-schema}/v3.16.0.js +0 -0
  851. /package/dist/{types/src/project-schema → project-schema}/v3.17.0.d.ts +0 -0
  852. /package/dist/{esm/src/project-schema → project-schema}/v3.17.0.js +0 -0
  853. /package/dist/{types/src/project-schema → project-schema}/v3.17.1.d.ts +0 -0
  854. /package/dist/{esm/src/project-schema → project-schema}/v3.17.1.js +0 -0
  855. /package/dist/{types/src/project-schema → project-schema}/v3.18.0.d.ts +0 -0
  856. /package/dist/{esm/src/project-schema → project-schema}/v3.18.0.js +0 -0
  857. /package/dist/{types/src/project-schema → project-schema}/v3.18.1.d.ts +0 -0
  858. /package/dist/{esm/src/project-schema → project-schema}/v3.18.1.js +0 -0
  859. /package/dist/{types/src/project-schema → project-schema}/v3.18.2.d.ts +0 -0
  860. /package/dist/{esm/src/project-schema → project-schema}/v3.18.2.js +0 -0
  861. /package/dist/{types/src/project-schema → project-schema}/v3.19.0.d.ts +0 -0
  862. /package/dist/{esm/src/project-schema → project-schema}/v3.19.0.js +0 -0
  863. /package/dist/{types/src/project-schema → project-schema}/v3.2.0.d.ts +0 -0
  864. /package/dist/{esm/src/project-schema → project-schema}/v3.2.0.js +0 -0
  865. /package/dist/{types/src/project-schema → project-schema}/v3.20.0.d.ts +0 -0
  866. /package/dist/{esm/src/project-schema → project-schema}/v3.20.0.js +0 -0
  867. /package/dist/{types/src/project-schema → project-schema}/v3.21.0.d.ts +0 -0
  868. /package/dist/{esm/src/project-schema → project-schema}/v3.21.0.js +0 -0
  869. /package/dist/{types/src/project-schema → project-schema}/v3.22.0.d.ts +0 -0
  870. /package/dist/{esm/src/project-schema → project-schema}/v3.22.0.js +0 -0
  871. /package/dist/{types/src/project-schema → project-schema}/v3.23.0.d.ts +0 -0
  872. /package/dist/{esm/src/project-schema → project-schema}/v3.23.0.js +0 -0
  873. /package/dist/{types/src/project-schema → project-schema}/v3.24.0.d.ts +0 -0
  874. /package/dist/{esm/src/project-schema → project-schema}/v3.24.0.js +0 -0
  875. /package/dist/{types/src/project-schema → project-schema}/v3.25.0.d.ts +0 -0
  876. /package/dist/{esm/src/project-schema → project-schema}/v3.25.0.js +0 -0
  877. /package/dist/{types/src/project-schema → project-schema}/v3.26.0.d.ts +0 -0
  878. /package/dist/{esm/src/project-schema → project-schema}/v3.26.0.js +0 -0
  879. /package/dist/{types/src/project-schema → project-schema}/v3.27.0.d.ts +0 -0
  880. /package/dist/{esm/src/project-schema → project-schema}/v3.27.0.js +0 -0
  881. /package/dist/{types/src/project-schema → project-schema}/v3.28.0.d.ts +0 -0
  882. /package/dist/{esm/src/project-schema → project-schema}/v3.28.0.js +0 -0
  883. /package/dist/{types/src/project-schema → project-schema}/v3.29.0.d.ts +0 -0
  884. /package/dist/{esm/src/project-schema → project-schema}/v3.29.0.js +0 -0
  885. /package/dist/{types/src/project-schema → project-schema}/v3.3.0.d.ts +0 -0
  886. /package/dist/{esm/src/project-schema → project-schema}/v3.3.0.js +0 -0
  887. /package/dist/{types/src/project-schema → project-schema}/v3.30.0.d.ts +0 -0
  888. /package/dist/{esm/src/project-schema → project-schema}/v3.30.0.js +0 -0
  889. /package/dist/{types/src/project-schema → project-schema}/v3.31.0.d.ts +0 -0
  890. /package/dist/{esm/src/project-schema → project-schema}/v3.31.0.js +0 -0
  891. /package/dist/{types/src/project-schema → project-schema}/v3.32.0.d.ts +0 -0
  892. /package/dist/{esm/src/project-schema → project-schema}/v3.32.0.js +0 -0
  893. /package/dist/{types/src/project-schema → project-schema}/v3.33.0.d.ts +0 -0
  894. /package/dist/{esm/src/project-schema → project-schema}/v3.33.0.js +0 -0
  895. /package/dist/{types/src/project-schema → project-schema}/v3.34.0.d.ts +0 -0
  896. /package/dist/{esm/src/project-schema → project-schema}/v3.34.0.js +0 -0
  897. /package/dist/{types/src/project-schema → project-schema}/v3.35.0.d.ts +0 -0
  898. /package/dist/{esm/src/project-schema → project-schema}/v3.35.0.js +0 -0
  899. /package/dist/{types/src/project-schema → project-schema}/v3.36.0.d.ts +0 -0
  900. /package/dist/{esm/src/project-schema → project-schema}/v3.36.0.js +0 -0
  901. /package/dist/{types/src/project-schema → project-schema}/v3.37.0.d.ts +0 -0
  902. /package/dist/{esm/src/project-schema → project-schema}/v3.37.0.js +0 -0
  903. /package/dist/{types/src/project-schema → project-schema}/v3.38.0.d.ts +0 -0
  904. /package/dist/{esm/src/project-schema → project-schema}/v3.38.0.js +0 -0
  905. /package/dist/{types/src/project-schema → project-schema}/v3.39.0.d.ts +0 -0
  906. /package/dist/{esm/src/project-schema → project-schema}/v3.39.0.js +0 -0
  907. /package/dist/{types/src/project-schema → project-schema}/v3.4.0.d.ts +0 -0
  908. /package/dist/{esm/src/project-schema → project-schema}/v3.4.0.js +0 -0
  909. /package/dist/{types/src/project-schema → project-schema}/v3.40.0.d.ts +0 -0
  910. /package/dist/{esm/src/project-schema → project-schema}/v3.40.0.js +0 -0
  911. /package/dist/{types/src/project-schema → project-schema}/v3.41.0.d.ts +0 -0
  912. /package/dist/{esm/src/project-schema → project-schema}/v3.41.0.js +0 -0
  913. /package/dist/{types/src/project-schema → project-schema}/v3.42.0.d.ts +0 -0
  914. /package/dist/{esm/src/project-schema → project-schema}/v3.42.0.js +0 -0
  915. /package/dist/{types/src/project-schema → project-schema}/v3.43.0.d.ts +0 -0
  916. /package/dist/{esm/src/project-schema → project-schema}/v3.43.0.js +0 -0
  917. /package/dist/{types/src/project-schema → project-schema}/v3.44.0.d.ts +0 -0
  918. /package/dist/{esm/src/project-schema → project-schema}/v3.44.0.js +0 -0
  919. /package/dist/{types/src/project-schema → project-schema}/v3.45.0.d.ts +0 -0
  920. /package/dist/{esm/src/project-schema → project-schema}/v3.45.0.js +0 -0
  921. /package/dist/{types/src/project-schema → project-schema}/v3.46.0.d.ts +0 -0
  922. /package/dist/{esm/src/project-schema → project-schema}/v3.46.0.js +0 -0
  923. /package/dist/{types/src/project-schema → project-schema}/v3.47.0.d.ts +0 -0
  924. /package/dist/{esm/src/project-schema → project-schema}/v3.47.0.js +0 -0
  925. /package/dist/{esm/src/project-schema → project-schema}/v3.48.0.js +0 -0
  926. /package/dist/{esm/src/project-schema → project-schema}/v3.49.0.js +0 -0
  927. /package/dist/{types/src/project-schema → project-schema}/v3.5.0.d.ts +0 -0
  928. /package/dist/{esm/src/project-schema → project-schema}/v3.5.0.js +0 -0
  929. /package/dist/{types/src/project-schema → project-schema}/v3.5.1.d.ts +0 -0
  930. /package/dist/{esm/src/project-schema → project-schema}/v3.5.1.js +0 -0
  931. /package/dist/{esm/src/project-schema → project-schema}/v3.50.0.js +0 -0
  932. /package/dist/{esm/src/project-schema → project-schema}/v3.51.0.js +0 -0
  933. /package/dist/{types/src/project-schema → project-schema}/v3.6.0.d.ts +0 -0
  934. /package/dist/{esm/src/project-schema → project-schema}/v3.6.0.js +0 -0
  935. /package/dist/{types/src/project-schema → project-schema}/v3.7.0.d.ts +0 -0
  936. /package/dist/{esm/src/project-schema → project-schema}/v3.7.0.js +0 -0
  937. /package/dist/{types/src/project-schema → project-schema}/v3.8.0.d.ts +0 -0
  938. /package/dist/{esm/src/project-schema → project-schema}/v3.8.0.js +0 -0
  939. /package/dist/{types/src/project-schema → project-schema}/v3.9.0.d.ts +0 -0
  940. /package/dist/{esm/src/project-schema → project-schema}/v3.9.0.js +0 -0
  941. /package/dist/{types/src/project-schema → project-schema}/v4.0.0.d.ts +0 -0
  942. /package/dist/{esm/src/project-schema → project-schema}/v4.0.0.js +0 -0
  943. /package/dist/{types/src/scalars.d.ts → scalars.d.ts} +0 -0
  944. /package/dist/{esm/src/scalars.js → scalars.js} +0 -0
  945. /package/dist/{types/src/schemas → schemas}/index.d.ts +0 -0
  946. /package/dist/{cjs/src/schemas → schemas}/project-schema/latest.json +0 -0
  947. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v1.0.0.json +0 -0
  948. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.0.0.json +0 -0
  949. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.1.0.json +0 -0
  950. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.2.0.json +0 -0
  951. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.3.0.json +0 -0
  952. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.4.0.json +0 -0
  953. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.5.0.json +0 -0
  954. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.5.1.json +0 -0
  955. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.6.0.json +0 -0
  956. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.7.0.json +0 -0
  957. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.8.0.json +0 -0
  958. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.9.0.json +0 -0
  959. /package/dist/{cjs/src/schemas → schemas}/project-schema/v1.0.0.json +0 -0
  960. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.0.0.json +0 -0
  961. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.1.0.json +0 -0
  962. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.10.0.json +0 -0
  963. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.11.0.json +0 -0
  964. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.0.json +0 -0
  965. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.1.json +0 -0
  966. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.2.json +0 -0
  967. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.3.json +0 -0
  968. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.13.0.json +0 -0
  969. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.14.0.json +0 -0
  970. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.15.0.json +0 -0
  971. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.16.0.json +0 -0
  972. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.17.0.json +0 -0
  973. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.17.1.json +0 -0
  974. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.0.json +0 -0
  975. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.1.json +0 -0
  976. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.2.json +0 -0
  977. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.19.0.json +0 -0
  978. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.2.0.json +0 -0
  979. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.20.0.json +0 -0
  980. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.21.0.json +0 -0
  981. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.22.0.json +0 -0
  982. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.23.0.json +0 -0
  983. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.24.0.json +0 -0
  984. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.25.0.json +0 -0
  985. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.26.0.json +0 -0
  986. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.27.0.json +0 -0
  987. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.28.0.json +0 -0
  988. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.29.0.json +0 -0
  989. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.3.0.json +0 -0
  990. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.30.0.json +0 -0
  991. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.31.0.json +0 -0
  992. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.32.0.json +0 -0
  993. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.33.0.json +0 -0
  994. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.34.0.json +0 -0
  995. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.35.0.json +0 -0
  996. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.36.0.json +0 -0
  997. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.37.0.json +0 -0
  998. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.38.0.json +0 -0
  999. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.39.0.json +0 -0
  1000. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.4.0.json +0 -0
  1001. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.40.0.json +0 -0
  1002. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.41.0.json +0 -0
  1003. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.42.0.json +0 -0
  1004. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.43.0.json +0 -0
  1005. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.44.0.json +0 -0
  1006. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.45.0.json +0 -0
  1007. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.46.0.json +0 -0
  1008. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.47.0.json +0 -0
  1009. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.48.0.json +0 -0
  1010. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.49.0.json +0 -0
  1011. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.5.0.json +0 -0
  1012. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.5.1.json +0 -0
  1013. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.50.0.json +0 -0
  1014. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.51.0.json +0 -0
  1015. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.6.0.json +0 -0
  1016. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.7.0.json +0 -0
  1017. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.8.0.json +0 -0
  1018. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.9.0.json +0 -0
  1019. /package/dist/{cjs/src/schemas → schemas}/project-schema/v4.0.0.json +0 -0
  1020. /package/dist/{cjs/src/schemas → schemas}/project-schema.json +0 -0
  1021. /package/dist/{types/src/services → services}/types.d.ts +0 -0
  1022. /package/dist/{esm/src/services → services}/util.js +0 -0
  1023. /package/dist/{esm/src/template-shapes → template-shapes}/index.js +0 -0
  1024. /package/dist/{esm/src/template-shapes → template-shapes}/names.js +0 -0
  1025. /package/dist/{esm/src/template-shapes → template-shapes}/types.js +0 -0
  1026. /package/dist/{esm/src/types → types}/types.js +0 -0
  1027. /package/dist/{esm/src/util → util}/ai-tools.js +0 -0
  1028. /package/dist/{esm/src/util → util}/find-shape-at-path.js +0 -0
  1029. /package/dist/{esm/src/util → util}/patch-schema.js +0 -0
  1030. /package/dist/{esm/src/util → util}/shapes.js +0 -0
@@ -1,3064 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://schema.takeshape.io/project-schema/v3.45.0#",
4
- "title": "Project Schema JSON",
5
- "definitions": {
6
- "schemaArray": {
7
- "title": "Schema Array",
8
- "type": "array",
9
- "minItems": 1,
10
- "items": {
11
- "$ref": "#/definitions/propertySchema"
12
- }
13
- },
14
- "nonNegativeInteger": {
15
- "title": "Non Negative Integer",
16
- "type": "integer",
17
- "minimum": 0
18
- },
19
- "nonNegativeIntegerDefault0": {
20
- "title": "Non Negative Integer Default 0",
21
- "allOf": [
22
- {
23
- "$ref": "#/definitions/nonNegativeInteger"
24
- },
25
- {
26
- "default": 0
27
- }
28
- ]
29
- },
30
- "simpleTypes": {
31
- "title": "Simple Types",
32
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
33
- },
34
- "stringArray": {
35
- "title": "String Array",
36
- "type": "array",
37
- "items": {
38
- "type": "string"
39
- },
40
- "uniqueItems": true,
41
- "default": []
42
- },
43
- "backreference": {
44
- "title": "Back Reference",
45
- "description": "A configuration object for a reverse reference in a relationship.",
46
- "type": "object",
47
- "properties": {
48
- "enabled": {
49
- "type": "boolean"
50
- },
51
- "name": {
52
- "type": "string",
53
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$"
54
- }
55
- },
56
- "additionalProperties": false,
57
- "required": ["enabled"]
58
- },
59
- "mappingString": {
60
- "title": "Mapping String",
61
- "type": "string",
62
- "pattern": "^[\\w-]+(?::[\\w-]+)+(?:\\.[\\w%-]+)+$"
63
- },
64
- "fieldMapping": {
65
- "title": "Field Mapping",
66
- "oneOf": [
67
- {
68
- "$ref": "#/definitions/mappingString"
69
- },
70
- {
71
- "type": "array",
72
- "items": {
73
- "$ref": "#/definitions/mappingString"
74
- }
75
- }
76
- ]
77
- },
78
- "refSchema": {
79
- "title": "Ref Schema",
80
- "type": "object",
81
- "properties": {
82
- "@ref": {
83
- "$ref": "#/definitions/ref"
84
- }
85
- },
86
- "required": ["@ref"]
87
- },
88
- "refSchemaLegacy": {
89
- "title": "Ref Schema Legacy",
90
- "type": "object",
91
- "properties": {
92
- "$ref": {
93
- "$ref": "#/definitions/ref"
94
- }
95
- },
96
- "required": ["$ref"]
97
- },
98
- "shapeSchemaEnum": {
99
- "title": "Shape Schema Enum",
100
- "type": "object",
101
- "properties": {
102
- "enum": {
103
- "type": "array",
104
- "minItems": 1,
105
- "uniqueItems": true
106
- }
107
- },
108
- "additionalProperties": false,
109
- "required": ["enum"]
110
- },
111
- "objectSchema": {
112
- "title": "Object Schema",
113
- "type": "object",
114
- "allOf": [
115
- {
116
- "$ref": "#/definitions/propertySchema"
117
- },
118
- {
119
- "properties": {
120
- "type": {
121
- "type": "string",
122
- "const": "object"
123
- },
124
- "properties": {
125
- "type": "object",
126
- "additionalProperties": {
127
- "$ref": "#/definitions/propertySchema"
128
- }
129
- }
130
- },
131
- "required": ["type", "properties"]
132
- }
133
- ]
134
- },
135
- "returnShapeArraySchema": {
136
- "title": "Return Shape Array Schema",
137
- "type": "object",
138
- "allOf": [
139
- {
140
- "$ref": "#/definitions/propertySchema"
141
- },
142
- {
143
- "properties": {
144
- "type": {
145
- "type": "string",
146
- "const": "array"
147
- },
148
- "items": {
149
- "oneOf": [
150
- {
151
- "$ref": "#/definitions/refSchema"
152
- },
153
- {
154
- "type": "object",
155
- "properties": {
156
- "type": {
157
- "enum": ["boolean", "integer", "number", "string", "object"]
158
- }
159
- },
160
- "required": ["type"]
161
- }
162
- ]
163
- }
164
- },
165
- "required": ["type", "items"]
166
- }
167
- ]
168
- },
169
- "objectOrRefArray": {
170
- "title": "ObjectOrRefArray",
171
- "type": "array",
172
- "items": {
173
- "oneOf": [
174
- {
175
- "$ref": "#/definitions/refSchema"
176
- },
177
- {
178
- "$ref": "#/definitions/refSchemaLegacy"
179
- },
180
- {
181
- "$ref": "#/definitions/objectSchema"
182
- }
183
- ],
184
- "unevaluatedProperties": true
185
- }
186
- },
187
- "shapeSchemaAllOf": {
188
- "title": "Shape Schema All Of",
189
- "type": "object",
190
- "properties": {
191
- "allOf": {
192
- "$ref": "#/definitions/objectOrRefArray"
193
- }
194
- },
195
- "required": ["allOf"],
196
- "additionalProperties": false
197
- },
198
- "allOfSchema": {
199
- "title": "AllOfSchema",
200
- "allOf": [
201
- {
202
- "$ref": "#/definitions/propertySchema"
203
- },
204
- {
205
- "type": "object",
206
- "properties": {
207
- "allOf": {
208
- "$ref": "#/definitions/objectOrRefArray"
209
- }
210
- },
211
- "required": ["allOf"]
212
- }
213
- ]
214
- },
215
- "shapeSchemaExtends": {
216
- "title": "ShapeSchemaExtends",
217
- "type": "object",
218
- "properties": {
219
- "extends": {
220
- "$ref": "#/definitions/objectOrRefArray"
221
- }
222
- },
223
- "required": ["extends"],
224
- "additionalProperties": false
225
- },
226
- "extendsSchema": {
227
- "title": "ExtendsSchema",
228
- "allOf": [
229
- {
230
- "$ref": "#/definitions/propertySchema"
231
- },
232
- {
233
- "type": "object",
234
- "properties": {
235
- "extends": {
236
- "$ref": "#/definitions/objectOrRefArray"
237
- }
238
- },
239
- "required": ["extends"]
240
- }
241
- ]
242
- },
243
- "shapeSchemaOneOf": {
244
- "title": "Shape Schema One Of",
245
- "type": "object",
246
- "properties": {
247
- "oneOf": {
248
- "$ref": "#/definitions/objectOrRefArray"
249
- }
250
- },
251
- "required": ["oneOf"],
252
- "additionalProperties": false
253
- },
254
- "oneOfSchema": {
255
- "title": "OneOfSchema",
256
- "allOf": [
257
- {
258
- "$ref": "#/definitions/propertySchema"
259
- },
260
- {
261
- "type": "object",
262
- "properties": {
263
- "oneOf": {
264
- "$ref": "#/definitions/objectOrRefArray"
265
- }
266
- },
267
- "required": ["oneOf"],
268
- "additionalProperties": false
269
- }
270
- ]
271
- },
272
- "shapeSchemaAny": {
273
- "type": "object",
274
- "title": "ShapeSchemaAny",
275
- "additionalProperties": false
276
- },
277
- "shapeSchema": {
278
- "title": "Shape Schema",
279
- "type": "object",
280
- "oneOf": [
281
- {
282
- "$ref": "#/definitions/shapeSchemaAllOf"
283
- },
284
- {
285
- "$ref": "#/definitions/shapeSchemaExtends"
286
- },
287
- {
288
- "$ref": "#/definitions/shapeSchemaOneOf"
289
- },
290
- {
291
- "$ref": "#/definitions/shapeSchemaEnum"
292
- },
293
- {
294
- "$ref": "#/definitions/objectSchema"
295
- },
296
- {
297
- "$ref": "#/definitions/shapeSchemaAny"
298
- }
299
- ]
300
- },
301
- "queryMap": {
302
- "title": "Query Map",
303
- "type": "object",
304
- "patternProperties": {
305
- "^[0-9A-Za-z_]+$": {
306
- "$ref": "#/definitions/query"
307
- }
308
- },
309
- "additionalProperties": false
310
- },
311
- "args": {
312
- "title": "Args",
313
- "oneOf": [
314
- {
315
- "type": "string"
316
- },
317
- {
318
- "$ref": "#/definitions/objectSchema"
319
- }
320
- ]
321
- },
322
- "returnShape": {
323
- "title": "Return Shape",
324
- "oneOf": [
325
- {
326
- "type": "string"
327
- },
328
- {
329
- "$ref": "#/definitions/returnShapeArraySchema"
330
- }
331
- ]
332
- },
333
- "directiveConfigItem": {
334
- "title": "Directive Config Item",
335
- "description": "A tuple with a string directive name, and options to pass to the directive",
336
- "type": "array",
337
- "items": [
338
- {
339
- "title": "Directive Name",
340
- "type": "string"
341
- },
342
- {
343
- "title": "Directive Options",
344
- "type": "object",
345
- "propertyNames": {
346
- "pattern": "[0-9A-Za-z_-]+"
347
- }
348
- }
349
- ]
350
- },
351
- "parameterSerializeStyleOptions": {
352
- "title": "Parameter Serialize Style Options",
353
- "description": "All possible options for the more specific ParameterSerializeStyleOptions types.",
354
- "type": "object",
355
- "properties": {
356
- "style": {
357
- "type": "string",
358
- "enum": ["simple", "label", "matrix", "form", "spaceDelimited", "pipeDelimited", "deepObject", "none"]
359
- },
360
- "explode": {
361
- "type": "boolean"
362
- },
363
- "allowEmptyValue": {
364
- "type": "boolean"
365
- },
366
- "allowReserved": {
367
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
368
- "type": "boolean"
369
- },
370
- "skipEncoding": {
371
- "type": "boolean"
372
- }
373
- },
374
- "required": ["style"],
375
- "additionalProperties": false
376
- },
377
- "parameterSerializeStyleOptionsForPathParams": {
378
- "title": "Parameter Serialize Style Options For Path Params",
379
- "description": "Options to be passed to the serialization routine.",
380
- "type": "object",
381
- "properties": {
382
- "style": {
383
- "type": "string",
384
- "enum": ["simple", "label", "matrix", "none"]
385
- },
386
- "explode": {
387
- "type": "boolean"
388
- },
389
- "allowEmptyValue": {
390
- "type": "boolean"
391
- },
392
- "allowReserved": {
393
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
394
- "type": "boolean"
395
- },
396
- "skipEncoding": {
397
- "type": "boolean"
398
- }
399
- },
400
- "required": ["style"],
401
- "additionalProperties": false
402
- },
403
- "parameterSerializeStyleOptionsForSearchParams": {
404
- "title": "Parameter Serialize Style Options For Search Params",
405
- "description": "Options to be passed to the serialization routine.",
406
- "type": "object",
407
- "properties": {
408
- "style": {
409
- "type": "string",
410
- "enum": ["form", "spaceDelimited", "pipeDelimited", "deepObject", "none"]
411
- },
412
- "explode": {
413
- "type": "boolean"
414
- },
415
- "allowEmptyValue": {
416
- "type": "boolean"
417
- },
418
- "allowReserved": {
419
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
420
- "type": "boolean"
421
- },
422
- "skipEncoding": {
423
- "type": "boolean"
424
- }
425
- },
426
- "required": ["style"],
427
- "additionalProperties": false
428
- },
429
- "parameterSerializeStyleOptionsForHeaders": {
430
- "title": "Parameter Serialize Style Options For Headers",
431
- "description": "Options to be passed to the serialization routine.",
432
- "type": "object",
433
- "properties": {
434
- "style": {
435
- "type": "string",
436
- "enum": ["simple", "none"]
437
- },
438
- "explode": {
439
- "type": "boolean"
440
- }
441
- },
442
- "required": ["style"],
443
- "additionalProperties": false
444
- },
445
- "parameterSerializeContentOptions": {
446
- "title": "Parameter Serialize Content Options",
447
- "description": "Options to be passed to the serialization routine.",
448
- "type": "object",
449
- "properties": {
450
- "contentType": {
451
- "type": "string"
452
- },
453
- "allowReserved": {
454
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
455
- "type": "boolean"
456
- },
457
- "skipEncoding": {
458
- "type": "boolean"
459
- },
460
- "options": {
461
- "description": "Options to be passed directly to the content serializer library. Valid options depend upon your contentType.",
462
- "type": "object"
463
- }
464
- },
465
- "required": ["contentType"],
466
- "additionalProperties": false
467
- },
468
- "parameterSerializeOptions": {
469
- "title": "Parameter Serialize Options",
470
- "description": "Options to be passed to the serialization routine.",
471
- "type": "object",
472
- "oneOf": [
473
- {
474
- "$ref": "#/definitions/parameterSerializeStyleOptions"
475
- },
476
- {
477
- "$ref": "#/definitions/parameterSerializeContentOptions"
478
- }
479
- ]
480
- },
481
- "parameterSerializeConfig": {
482
- "title": "Parameter Serialize Config",
483
- "description": "All possible options for the more specific ParameterSerializeConfig types.",
484
- "type": "object",
485
- "properties": {
486
- "content": {
487
- "$ref": "#/definitions/parameterSerializeContentOptions"
488
- },
489
- "defaults": {
490
- "$ref": "#/definitions/parameterSerializeOptions"
491
- },
492
- "paths": {
493
- "type": "object",
494
- "patternProperties": {
495
- "^[^\\n\\r]*$": {
496
- "$ref": "#/definitions/parameterSerializeOptions"
497
- }
498
- }
499
- }
500
- },
501
- "additionalProperties": false
502
- },
503
- "parameterSerializeConfigForBody": {
504
- "title": "Parameter Serialize Config For Body",
505
- "description": "Top-level paths to use serialization options for.",
506
- "type": "object",
507
- "properties": {
508
- "content": {
509
- "$ref": "#/definitions/parameterSerializeContentOptions"
510
- }
511
- },
512
- "additionalProperties": false
513
- },
514
- "parameterSerializeConfigForPathParams": {
515
- "title": "Parameter Serialize Config For Path Params",
516
- "description": "Top-level paths to use path params serialization options for.",
517
- "type": "object",
518
- "properties": {
519
- "template": {
520
- "description": "For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'",
521
- "type": "string"
522
- },
523
- "defaults": {
524
- "oneOf": [
525
- {
526
- "$ref": "#/definitions/parameterSerializeStyleOptionsForPathParams"
527
- },
528
- {
529
- "$ref": "#/definitions/parameterSerializeContentOptions"
530
- }
531
- ]
532
- },
533
- "paths": {
534
- "type": "object",
535
- "patternProperties": {
536
- "^[^\\n\\r]*$": {
537
- "oneOf": [
538
- {
539
- "$ref": "#/definitions/parameterSerializeStyleOptionsForPathParams"
540
- },
541
- {
542
- "$ref": "#/definitions/parameterSerializeContentOptions"
543
- }
544
- ]
545
- }
546
- }
547
- }
548
- },
549
- "required": ["template"],
550
- "additionalProperties": false
551
- },
552
- "parameterSerializeConfigForSearchParams": {
553
- "title": "Parameter Serialize Config For Search Params",
554
- "description": "Top-level paths to use search params serialization options for.",
555
- "type": "object",
556
- "properties": {
557
- "defaults": {
558
- "oneOf": [
559
- {
560
- "$ref": "#/definitions/parameterSerializeStyleOptionsForSearchParams"
561
- },
562
- {
563
- "$ref": "#/definitions/parameterSerializeContentOptions"
564
- }
565
- ]
566
- },
567
- "paths": {
568
- "type": "object",
569
- "patternProperties": {
570
- "^[^\\n\\r]*$": {
571
- "oneOf": [
572
- {
573
- "$ref": "#/definitions/parameterSerializeStyleOptionsForSearchParams"
574
- },
575
- {
576
- "$ref": "#/definitions/parameterSerializeContentOptions"
577
- }
578
- ]
579
- }
580
- }
581
- }
582
- },
583
- "additionalProperties": false
584
- },
585
- "parameterSerializeConfigForHeaders": {
586
- "title": "Parameter Serialize Config For Headers",
587
- "description": "Top-level paths to use headers serialization options for.",
588
- "type": "object",
589
- "properties": {
590
- "defaults": {
591
- "oneOf": [
592
- {
593
- "$ref": "#/definitions/parameterSerializeStyleOptionsForHeaders"
594
- },
595
- {
596
- "$ref": "#/definitions/parameterSerializeContentOptions"
597
- }
598
- ]
599
- },
600
- "paths": {
601
- "type": "object",
602
- "patternProperties": {
603
- "^[^\\n\\r]*$": {
604
- "oneOf": [
605
- {
606
- "$ref": "#/definitions/parameterSerializeStyleOptionsForHeaders"
607
- },
608
- {
609
- "$ref": "#/definitions/parameterSerializeContentOptions"
610
- }
611
- ]
612
- }
613
- }
614
- }
615
- },
616
- "additionalProperties": false
617
- },
618
- "parameterOpNested": {
619
- "title": "Parameter Op Nested",
620
- "description": "An object describing an operation to generate a parameter, using a nested OpList.",
621
- "type": "object",
622
- "properties": {
623
- "path": {
624
- "description": "A path to the parameter for this operation.",
625
- "type": "string",
626
- "minLength": 1,
627
- "pattern": "^[^\\n\\r]*$"
628
- },
629
- "op": {
630
- "description": "A mode for this parameter's operation.",
631
- "type": "string",
632
- "enum": ["set", "concat", "extend", "remove"]
633
- },
634
- "ops": {
635
- "description": "A nested op list.",
636
- "$ref": "#/definitions/parameterOpList"
637
- }
638
- },
639
- "required": ["path", "ops"],
640
- "additionalProperties": false
641
- },
642
- "parameterOpValue": {
643
- "title": "Parameter Op Value",
644
- "description": "An object describing an operation to generate a parameter using a value.",
645
- "type": "object",
646
- "properties": {
647
- "path": {
648
- "description": "A path to the parameter for this operation.",
649
- "type": "string",
650
- "minLength": 1,
651
- "pattern": "^[^\\n\\r]*$"
652
- },
653
- "op": {
654
- "description": "A mode for this parameter's operation.",
655
- "type": "string",
656
- "enum": ["set", "concat", "extend", "remove"]
657
- },
658
- "value": {
659
- "description": "A value to set directly at this path.",
660
- "type": ["number", "string", "boolean", "object", "array", "null"]
661
- }
662
- },
663
- "required": ["path", "value"],
664
- "additionalProperties": false
665
- },
666
- "parameterOpMapping": {
667
- "title": "Parameter Op Mapping",
668
- "description": "An object describing an operation to generate a parameter using a mapping.",
669
- "type": "object",
670
- "properties": {
671
- "path": {
672
- "description": "A path to the parameter for this operation.",
673
- "type": "string",
674
- "minLength": 1,
675
- "pattern": "^[^\\n\\r]*$"
676
- },
677
- "op": {
678
- "description": "A mode for this parameter's operation.",
679
- "type": "string",
680
- "enum": ["set", "concat", "extend", "remove"]
681
- },
682
- "mapping": {
683
- "description": "Either a valid JSONPath or a directive pipeline to evaluate against the query context.",
684
- "oneOf": [
685
- {
686
- "type": "string",
687
- "minLength": 1
688
- },
689
- {
690
- "$ref": "#/definitions/directiveConfig"
691
- }
692
- ]
693
- }
694
- },
695
- "required": ["path", "mapping"],
696
- "additionalProperties": false
697
- },
698
- "parameterOpOp": {
699
- "title": "Parameter Op Op",
700
- "description": "An object describing an operation to generate a parameter using a mapping.",
701
- "type": "object",
702
- "properties": {
703
- "path": {
704
- "description": "A path to the parameter for this operation.",
705
- "type": "string",
706
- "minLength": 1,
707
- "pattern": "^[^\\n\\r]*$"
708
- },
709
- "op": {
710
- "description": "A mode for this parameter's operation.",
711
- "type": "string",
712
- "enum": ["set", "concat", "extend", "remove"]
713
- }
714
- },
715
- "required": ["path", "op"],
716
- "additionalProperties": false
717
- },
718
- "parameterOp": {
719
- "title": "Parameter Op",
720
- "description": "An object describing an operation to generate a parameter.",
721
- "oneOf": [
722
- {
723
- "$ref": "#/definitions/parameterOpNested"
724
- },
725
- {
726
- "$ref": "#/definitions/parameterOpValue"
727
- },
728
- {
729
- "$ref": "#/definitions/parameterOpMapping"
730
- },
731
- {
732
- "$ref": "#/definitions/parameterOpOp"
733
- }
734
- ]
735
- },
736
- "parameterOpList": {
737
- "title": "Parameter Op List",
738
- "type": "array",
739
- "items": {
740
- "$ref": "#/definitions/parameterOp"
741
- },
742
- "minItems": 1
743
- },
744
- "parameterConfig": {
745
- "title": "Parameter Config",
746
- "description": "All possible options for the more specific ParameterConfig types.",
747
- "type": "object",
748
- "properties": {
749
- "ops": {
750
- "$ref": "#/definitions/parameterOpList"
751
- },
752
- "serialize": {
753
- "$ref": "#/definitions/parameterSerializeConfig"
754
- }
755
- },
756
- "required": ["ops"],
757
- "additionalProperties": false
758
- },
759
- "parameterConfigForBody": {
760
- "title": "Parameter Config For Body",
761
- "type": "object",
762
- "properties": {
763
- "ops": {
764
- "$ref": "#/definitions/parameterOpList"
765
- },
766
- "serialize": {
767
- "$ref": "#/definitions/parameterSerializeConfigForBody"
768
- }
769
- },
770
- "required": ["ops"],
771
- "additionalProperties": false
772
- },
773
- "parameterConfigForPathParams": {
774
- "title": "Parameter Config For Path Params",
775
- "type": "object",
776
- "properties": {
777
- "ops": {
778
- "$ref": "#/definitions/parameterOpList"
779
- },
780
- "serialize": {
781
- "$ref": "#/definitions/parameterSerializeConfigForPathParams"
782
- }
783
- },
784
- "required": ["ops", "serialize"],
785
- "additionalProperties": false
786
- },
787
- "parameterConfigForAwsLambda": {
788
- "title": "ParameterConfigForAwsLambda",
789
- "type": "object",
790
- "properties": {
791
- "ops": {
792
- "$ref": "#/definitions/parameterOpList"
793
- },
794
- "serialize": {
795
- "$ref": "#/definitions/parameterSerializeConfigForPathParams"
796
- }
797
- },
798
- "required": ["ops", "serialize"],
799
- "additionalProperties": false
800
- },
801
- "parameterConfigForSearchParams": {
802
- "title": "Parameter Config For Search Params",
803
- "type": "object",
804
- "properties": {
805
- "ops": {
806
- "$ref": "#/definitions/parameterOpList"
807
- },
808
- "serialize": {
809
- "$ref": "#/definitions/parameterSerializeConfigForSearchParams"
810
- }
811
- },
812
- "required": ["ops"],
813
- "additionalProperties": false
814
- },
815
- "parameterConfigForHeaders": {
816
- "title": "Parameter Config For Headers",
817
- "type": "object",
818
- "properties": {
819
- "ops": {
820
- "$ref": "#/definitions/parameterOpList"
821
- },
822
- "serialize": {
823
- "$ref": "#/definitions/parameterSerializeConfigForHeaders"
824
- }
825
- },
826
- "required": ["ops"],
827
- "additionalProperties": false
828
- },
829
- "parameterConfigForJson": {
830
- "title": "Parameter Config For Json",
831
- "type": "object",
832
- "properties": {
833
- "ops": {
834
- "$ref": "#/definitions/parameterOpList"
835
- }
836
- },
837
- "required": ["ops"],
838
- "additionalProperties": false
839
- },
840
- "directiveConfig": {
841
- "title": "Directive Config",
842
- "description": "An array of individual directive config items to process in order",
843
- "type": "array",
844
- "items": {
845
- "$ref": "#/definitions/directiveConfigItem"
846
- },
847
- "minItems": 1
848
- },
849
- "directiveMappingMap": {
850
- "title": "Directive Mapping Map",
851
- "description": "An map of object keys / key paths to directive configs",
852
- "type": "object",
853
- "patternProperties": {
854
- "[0-9A-Za-z_-]+": {
855
- "$ref": "#/definitions/directiveConfig"
856
- }
857
- }
858
- },
859
- "directiveMappingArrayItem": {
860
- "title": "Directive Mapping Array Item",
861
- "description": "A tuple with a string key and a directive config to evaluate",
862
- "type": "array",
863
- "items": [
864
- {
865
- "type": "string"
866
- },
867
- {
868
- "$ref": "#/definitions/directiveConfig"
869
- }
870
- ]
871
- },
872
- "directiveMappingArray": {
873
- "title": "Directive Mapping Array",
874
- "description": "An array of key / value or directive config tuples",
875
- "type": "array",
876
- "items": {
877
- "$ref": "#/definitions/directiveMappingArrayItem"
878
- }
879
- },
880
- "basicResolver": {
881
- "title": "BasicResolver",
882
- "description": "A single resolver, can be composed with the ComposeResolver.",
883
- "discriminator": {
884
- "propertyName": "name"
885
- },
886
- "oneOf": [
887
- {
888
- "$ref": "#/definitions/utilResolver"
889
- },
890
- {
891
- "$ref": "#/definitions/delegateResolver"
892
- },
893
- {
894
- "$ref": "#/definitions/takeshapeResolver"
895
- },
896
- {
897
- "$ref": "#/definitions/shapedbResolver"
898
- },
899
- {
900
- "$ref": "#/definitions/shapedbResolverShapeNameNotRequired"
901
- },
902
- {
903
- "$ref": "#/definitions/graphqlResolver"
904
- },
905
- {
906
- "$ref": "#/definitions/restResolver"
907
- },
908
- {
909
- "$ref": "#/definitions/awsLambdaResolver"
910
- },
911
- {
912
- "$ref": "#/definitions/salsifyResolver"
913
- },
914
- {
915
- "$ref": "#/definitions/functionResolver"
916
- },
917
- {
918
- "$ref": "#/definitions/aiGenerateTextResolver"
919
- },
920
- {
921
- "$ref": "#/definitions/aiEmbeddingResolver"
922
- }
923
- ]
924
- },
925
- "serviceResolver": {
926
- "title": "ServiceResolver",
927
- "description": "A resolver which references a specific service",
928
- "discriminator": {
929
- "propertyName": "name"
930
- },
931
- "oneOf": [
932
- {
933
- "$ref": "#/definitions/takeshapeResolver"
934
- },
935
- {
936
- "$ref": "#/definitions/shapedbResolverShapeNameNotRequired"
937
- },
938
- {
939
- "$ref": "#/definitions/shapedbResolver"
940
- },
941
- {
942
- "$ref": "#/definitions/graphqlResolver"
943
- },
944
- {
945
- "$ref": "#/definitions/restResolver"
946
- },
947
- {
948
- "$ref": "#/definitions/awsLambdaResolver"
949
- }
950
- ]
951
- },
952
- "argsMapping": {
953
- "title": "ArgsMapping",
954
- "description": "Maps a query's input args to the input expected by the service's endpoint.",
955
- "oneOf": [
956
- {
957
- "$ref": "#/definitions/directiveMappingMap"
958
- },
959
- {
960
- "$ref": "#/definitions/directiveConfig"
961
- }
962
- ]
963
- },
964
- "searchParamsMapping": {
965
- "title": "SearchParamsMapping",
966
- "description": "Set or evaluate directives to generate searchParams for the service endpoint.",
967
- "$ref": "#/definitions/directiveMappingArray"
968
- },
969
- "resultsMapping": {
970
- "title": "ResultsMapping",
971
- "description": "Maps a service endpoint's response results to the expected shape of the query's response.",
972
- "oneOf": [
973
- {
974
- "$ref": "#/definitions/directiveMappingMap"
975
- },
976
- {
977
- "$ref": "#/definitions/directiveConfig"
978
- }
979
- ]
980
- },
981
- "utilResolver": {
982
- "title": "UtilResolver",
983
- "type": "object",
984
- "properties": {
985
- "if": {
986
- "type": "string"
987
- },
988
- "id": {
989
- "type": "string",
990
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
991
- },
992
- "name": {
993
- "title": "UtilResolverName",
994
- "type": "string",
995
- "description": "Name of the resolver function.",
996
- "enum": ["util:noop", "util:wrap"]
997
- },
998
- "options": {
999
- "title": "UtilResolverOptions",
1000
- "type": "object",
1001
- "additionalProperties": true
1002
- },
1003
- "value": {
1004
- "description": "Optional value to return from the noop resolver.",
1005
- "type": ["number", "string", "boolean", "object", "array", "null"]
1006
- },
1007
- "args": {
1008
- "description": "Mapping and serialization configuration for args.",
1009
- "$ref": "#/definitions/parameterConfigForJson"
1010
- },
1011
- "results": {
1012
- "description": "Mapping configuration for the results of this resolver step.",
1013
- "$ref": "#/definitions/parameterConfigForJson"
1014
- },
1015
- "argsMapping": {
1016
- "$ref": "#/definitions/argsMapping"
1017
- },
1018
- "resultsMapping": {
1019
- "$ref": "#/definitions/resultsMapping"
1020
- }
1021
- },
1022
- "required": ["name"],
1023
- "additionalProperties": false
1024
- },
1025
- "functionResolver": {
1026
- "title": "FunctionResolver",
1027
- "type": "object",
1028
- "properties": {
1029
- "if": {
1030
- "type": "string"
1031
- },
1032
- "id": {
1033
- "type": "string",
1034
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1035
- },
1036
- "name": {
1037
- "title": "FunctionResolverName",
1038
- "type": "string",
1039
- "description": "Name of the resolver function.",
1040
- "enum": ["function:run"]
1041
- },
1042
- "options": {
1043
- "title": "FunctionResolverOptions",
1044
- "type": "object",
1045
- "additionalProperties": true
1046
- },
1047
- "args": {
1048
- "description": "Mapping and serialization configuration for args.",
1049
- "$ref": "#/definitions/parameterConfigForJson"
1050
- },
1051
- "results": {
1052
- "description": "Mapping configuration for the results of this resolver step.",
1053
- "$ref": "#/definitions/parameterConfigForJson"
1054
- },
1055
- "argsMapping": {
1056
- "$ref": "#/definitions/argsMapping"
1057
- },
1058
- "resultsMapping": {
1059
- "$ref": "#/definitions/resultsMapping"
1060
- },
1061
- "javascript": {
1062
- "title": "FunctionResolverJavascript",
1063
- "type": "string"
1064
- }
1065
- },
1066
- "required": ["name"],
1067
- "additionalProperties": false
1068
- },
1069
- "delegateResolver": {
1070
- "title": "DelegateResolver",
1071
- "type": "object",
1072
- "properties": {
1073
- "if": {
1074
- "type": "string"
1075
- },
1076
- "id": {
1077
- "type": "string",
1078
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1079
- },
1080
- "name": {
1081
- "title": "Delegate Resolver Name",
1082
- "type": "string",
1083
- "description": "Name of the resolver function.",
1084
- "enum": ["delegate"]
1085
- },
1086
- "options": {
1087
- "title": "DelegateResolverOptions",
1088
- "type": "object",
1089
- "additionalProperties": true
1090
- },
1091
- "argsMapping": {
1092
- "$ref": "#/definitions/argsMapping"
1093
- },
1094
- "resultsMapping": {
1095
- "$ref": "#/definitions/resultsMapping"
1096
- },
1097
- "to": {
1098
- "description": "A ref to a query/mutation/property to delegate to.",
1099
- "type": "string",
1100
- "minLength": 1
1101
- },
1102
- "args": {
1103
- "description": "Mapping and serialization configuration for args.",
1104
- "$ref": "#/definitions/parameterConfigForJson"
1105
- },
1106
- "results": {
1107
- "description": "Mapping configuration for the results of this resolver step.",
1108
- "$ref": "#/definitions/parameterConfigForJson"
1109
- }
1110
- },
1111
- "required": ["name", "to"],
1112
- "additionalProperties": false
1113
- },
1114
- "salsifyResolver": {
1115
- "title": "SalsifyResolver",
1116
- "type": "object",
1117
- "properties": {
1118
- "if": {
1119
- "type": "string"
1120
- },
1121
- "id": {
1122
- "type": "string",
1123
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1124
- },
1125
- "name": {
1126
- "title": "Salsify Resolver Name",
1127
- "type": "string",
1128
- "description": "Name of the resolver function.",
1129
- "enum": ["salsify:listChannelProducts"]
1130
- },
1131
- "service": {
1132
- "type": "string",
1133
- "description": "Configuration for a service to use with this resolver."
1134
- },
1135
- "options": {
1136
- "title": "SalsifyResolverOptions",
1137
- "type": "object",
1138
- "additionalProperties": true
1139
- },
1140
- "args": {
1141
- "description": "Mapping and serialization configuration for args.",
1142
- "$ref": "#/definitions/parameterConfigForJson"
1143
- },
1144
- "results": {
1145
- "description": "Mapping configuration for the results of this resolver step.",
1146
- "$ref": "#/definitions/parameterConfigForJson"
1147
- },
1148
- "argsMapping": {
1149
- "$ref": "#/definitions/argsMapping"
1150
- },
1151
- "resultsMapping": {
1152
- "$ref": "#/definitions/resultsMapping"
1153
- }
1154
- },
1155
- "required": ["name", "service"],
1156
- "additionalProperties": false
1157
- },
1158
- "shapedbResolver": {
1159
- "title": "ShapedbResolver",
1160
- "type": "object",
1161
- "properties": {
1162
- "if": {
1163
- "type": "string"
1164
- },
1165
- "id": {
1166
- "type": "string",
1167
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1168
- },
1169
- "name": {
1170
- "title": "ShapedbResolverName",
1171
- "type": "string",
1172
- "description": "Name of the resolver function.",
1173
- "enum": [
1174
- "shapedb:get",
1175
- "shapedb:create",
1176
- "shapedb:update",
1177
- "shapedb:delete",
1178
- "shapedb:duplicate",
1179
- "shapedb:find"
1180
- ]
1181
- },
1182
- "service": {
1183
- "type": "string",
1184
- "description": "Internal service identifier.",
1185
- "enum": ["shapedb"]
1186
- },
1187
- "options": {
1188
- "title": "ShapedbResolverOptions",
1189
- "type": "object",
1190
- "additionalProperties": true
1191
- },
1192
- "argsMapping": {
1193
- "$ref": "#/definitions/argsMapping"
1194
- },
1195
- "resultsMapping": {
1196
- "$ref": "#/definitions/resultsMapping"
1197
- },
1198
- "shapeName": {
1199
- "description": "A Shape name for the resolver to use.",
1200
- "type": "string",
1201
- "minLength": 1
1202
- },
1203
- "args": {
1204
- "description": "Mapping and serialization configuration for args.",
1205
- "$ref": "#/definitions/parameterConfigForJson"
1206
- },
1207
- "results": {
1208
- "description": "Mapping configuration for the results of this resolver step.",
1209
- "$ref": "#/definitions/parameterConfigForJson"
1210
- }
1211
- },
1212
- "required": ["name", "service", "shapeName"],
1213
- "additionalProperties": false
1214
- },
1215
- "shapedbResolverShapeNameNotRequired": {
1216
- "title": "ShapedbResolverShapeNameNotRequired",
1217
- "type": "object",
1218
- "properties": {
1219
- "if": {
1220
- "type": "string"
1221
- },
1222
- "id": {
1223
- "type": "string",
1224
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1225
- },
1226
- "name": {
1227
- "title": "ShapedbResolverShapeNameNotRequiredName",
1228
- "type": "string",
1229
- "description": "Name of the resolver function.",
1230
- "enum": ["shapedb:list", "shapedb:taxonomySuggest", "shapedb:getRelated"]
1231
- },
1232
- "service": {
1233
- "type": "string",
1234
- "description": "Internal service identifier.",
1235
- "enum": ["shapedb"]
1236
- },
1237
- "options": {
1238
- "title": "ShapedbResolverShapeNameNotRequiredOptions",
1239
- "type": "object",
1240
- "additionalProperties": true
1241
- },
1242
- "shapeName": {
1243
- "description": "An optional Shape name for the resolver.",
1244
- "type": "string",
1245
- "minLength": 1
1246
- },
1247
- "args": {
1248
- "description": "Mapping and serialization configuration for args.",
1249
- "$ref": "#/definitions/parameterConfigForJson"
1250
- },
1251
- "results": {
1252
- "description": "Mapping configuration for the results of this resolver step.",
1253
- "$ref": "#/definitions/parameterConfigForJson"
1254
- },
1255
- "argsMapping": {
1256
- "$ref": "#/definitions/argsMapping"
1257
- },
1258
- "resultsMapping": {
1259
- "$ref": "#/definitions/resultsMapping"
1260
- }
1261
- },
1262
- "required": ["name", "service"],
1263
- "additionalProperties": false
1264
- },
1265
- "aiToolConfig": {
1266
- "title": "AIToolConfig",
1267
- "type": "object",
1268
- "properties": {
1269
- "ref": {
1270
- "type": "string"
1271
- },
1272
- "selectionSet": {
1273
- "type": "string"
1274
- }
1275
- },
1276
- "required": ["ref"],
1277
- "additionalProperties": false
1278
- },
1279
- "aiSimilarityGuardrail": {
1280
- "title": "AISimilarityGuardrail",
1281
- "type": "object",
1282
- "properties": {
1283
- "name": {
1284
- "enum": ["similarity"]
1285
- },
1286
- "shape": {
1287
- "type": "string"
1288
- },
1289
- "defaultResponse": {
1290
- "type": "string"
1291
- },
1292
- "threshold": {
1293
- "type": "number"
1294
- }
1295
- },
1296
- "required": ["name", "shape", "defaultResponse"],
1297
- "additionalProperties": false
1298
- },
1299
- "aiGuardrail": {
1300
- "title": "AIGuardrail",
1301
- "discriminator": {
1302
- "propertyName": "name"
1303
- },
1304
- "oneOf": [
1305
- {
1306
- "$ref": "#/definitions/aiSimilarityGuardrail"
1307
- }
1308
- ]
1309
- },
1310
- "aiGenerateTextResolverOptions": {
1311
- "title": "AIGenerateTextResolverOptions",
1312
- "type": "object",
1313
- "properties": {
1314
- "history": {
1315
- "type": "boolean"
1316
- }
1317
- }
1318
- },
1319
- "aiGenerateTextResolver": {
1320
- "title": "AIGenerateTextResolver",
1321
- "type": "object",
1322
- "properties": {
1323
- "if": {
1324
- "type": "string"
1325
- },
1326
- "id": {
1327
- "type": "string",
1328
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1329
- },
1330
- "name": {
1331
- "title": "AI Resolver Name",
1332
- "type": "string",
1333
- "description": "Name of the resolver function.",
1334
- "enum": ["ai:generateText"]
1335
- },
1336
- "service": {
1337
- "type": "string",
1338
- "description": "Configuration for a service to use with this resolver."
1339
- },
1340
- "options": {
1341
- "$ref": "#/definitions/aiGenerateTextResolverOptions"
1342
- },
1343
- "systemPrompt": {
1344
- "type": "string"
1345
- },
1346
- "inputTemplate": {
1347
- "type": "string"
1348
- },
1349
- "model": {
1350
- "type": "string"
1351
- },
1352
- "tools": {
1353
- "type": "array",
1354
- "items": {
1355
- "oneOf": [
1356
- {
1357
- "type": "string"
1358
- },
1359
- {
1360
- "$ref": "#/definitions/aiToolConfig"
1361
- }
1362
- ]
1363
- }
1364
- },
1365
- "guardrails": {
1366
- "type": "array",
1367
- "items": {
1368
- "$ref": "#/definitions/aiGuardrail"
1369
- }
1370
- },
1371
- "context": {
1372
- "description": "Mapping and serialization configuration for prompt context.",
1373
- "$ref": "#/definitions/parameterConfigForJson"
1374
- },
1375
- "results": {
1376
- "description": "Mapping configuration for the results of this resolver step.",
1377
- "$ref": "#/definitions/parameterConfigForJson"
1378
- }
1379
- },
1380
- "required": ["name", "service", "model", "systemPrompt"],
1381
- "additionalProperties": false
1382
- },
1383
- "aiEmbeddingResolverOptions": {
1384
- "title": "AIEmbeddingResolverOptions",
1385
- "type": "object",
1386
- "properties": {
1387
- "useDependencies": {
1388
- "type": "boolean"
1389
- }
1390
- }
1391
- },
1392
- "aiEmbeddingResolver": {
1393
- "title": "AIEmbeddingResolver",
1394
- "type": "object",
1395
- "properties": {
1396
- "if": {
1397
- "type": "string"
1398
- },
1399
- "id": {
1400
- "type": "string",
1401
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1402
- },
1403
- "name": {
1404
- "title": "AI Resolver Name",
1405
- "type": "string",
1406
- "description": "Name of the resolver function.",
1407
- "enum": ["ai:createEmbedding"]
1408
- },
1409
- "service": {
1410
- "type": "string",
1411
- "description": "Configuration for a service to use with this resolver."
1412
- },
1413
- "options": {
1414
- "$ref": "#/definitions/aiEmbeddingResolverOptions"
1415
- },
1416
- "model": {
1417
- "type": "string"
1418
- },
1419
- "args": {
1420
- "description": "Mapping and serialization configuration for prompt context.",
1421
- "$ref": "#/definitions/parameterConfigForJson"
1422
- },
1423
- "results": {
1424
- "description": "Mapping configuration for the results of this resolver step.",
1425
- "$ref": "#/definitions/parameterConfigForJson"
1426
- }
1427
- },
1428
- "required": ["name", "service", "model"],
1429
- "additionalProperties": false
1430
- },
1431
- "takeshapeResolver": {
1432
- "title": "TakeshapeResolver",
1433
- "type": "object",
1434
- "properties": {
1435
- "if": {
1436
- "type": "string"
1437
- },
1438
- "id": {
1439
- "type": "string",
1440
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1441
- },
1442
- "name": {
1443
- "title": "TakeshapeResolverName",
1444
- "type": "string",
1445
- "description": "Name of the resolver function.",
1446
- "enum": ["takeshape:getUser", "takeshape:search", "takeshape:vectorSearch", "takeshape:queryApiIndex"]
1447
- },
1448
- "service": {
1449
- "type": "string",
1450
- "description": "Internal service identifier.",
1451
- "enum": ["takeshape"]
1452
- },
1453
- "options": {
1454
- "title": "TakeshapeResolverOptions",
1455
- "type": "object",
1456
- "additionalProperties": true
1457
- },
1458
- "shapeName": {
1459
- "description": "An optional Shape name for the resolver.",
1460
- "type": "string",
1461
- "minLength": 1
1462
- },
1463
- "args": {
1464
- "description": "Mapping and serialization configuration for args.",
1465
- "$ref": "#/definitions/parameterConfigForJson"
1466
- },
1467
- "results": {
1468
- "description": "Mapping configuration for the results of this resolver step.",
1469
- "$ref": "#/definitions/parameterConfigForJson"
1470
- },
1471
- "argsMapping": {
1472
- "$ref": "#/definitions/argsMapping"
1473
- },
1474
- "resultsMapping": {
1475
- "$ref": "#/definitions/resultsMapping"
1476
- }
1477
- },
1478
- "required": ["name", "service"],
1479
- "additionalProperties": false
1480
- },
1481
- "graphqlResolver": {
1482
- "title": "GraphqlResolver",
1483
- "type": "object",
1484
- "properties": {
1485
- "if": {
1486
- "type": "string"
1487
- },
1488
- "id": {
1489
- "type": "string",
1490
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1491
- },
1492
- "name": {
1493
- "title": "GraphqlResolverName",
1494
- "type": "string",
1495
- "description": "Name of the resolver function.",
1496
- "enum": ["graphql:query", "graphql:mutation", "shopify:bulkQuery"]
1497
- },
1498
- "service": {
1499
- "type": "string",
1500
- "description": "Configuration for a service to use with this resolver."
1501
- },
1502
- "argsMapping": {
1503
- "$ref": "#/definitions/argsMapping"
1504
- },
1505
- "resultsMapping": {
1506
- "$ref": "#/definitions/resultsMapping"
1507
- },
1508
- "options": {
1509
- "title": "GraphqlResolverOptions",
1510
- "type": "object",
1511
- "properties": {
1512
- "selectionSet": {
1513
- "type": "string"
1514
- },
1515
- "unboxParentSelectionSet": {
1516
- "type": "boolean"
1517
- },
1518
- "ignoreErrors": {
1519
- "type": "boolean"
1520
- },
1521
- "skipWhenMissingArgs": {
1522
- "type": "boolean"
1523
- },
1524
- "ttl": {
1525
- "type": "number"
1526
- },
1527
- "timeout": {
1528
- "type": "number"
1529
- },
1530
- "allowStream": {
1531
- "type": "boolean"
1532
- },
1533
- "retry": {
1534
- "oneOf": [
1535
- {
1536
- "type": "number"
1537
- },
1538
- {
1539
- "type": "object"
1540
- }
1541
- ]
1542
- }
1543
- },
1544
- "additionalProperties": true
1545
- },
1546
- "fieldName": {
1547
- "description": "A fieldname to use in queries.",
1548
- "type": "string"
1549
- },
1550
- "headers": {
1551
- "description": "Mapping and serialization configuration for headers.",
1552
- "$ref": "#/definitions/parameterConfigForHeaders"
1553
- },
1554
- "searchParams": {
1555
- "description": "Mapping and serialization configuration for searchParams.",
1556
- "$ref": "#/definitions/parameterConfigForSearchParams"
1557
- },
1558
- "args": {
1559
- "description": "Mapping and serialization configuration for args.",
1560
- "$ref": "#/definitions/parameterConfigForJson"
1561
- },
1562
- "results": {
1563
- "description": "Mapping configuration for the results of this resolver step.",
1564
- "$ref": "#/definitions/parameterConfigForJson"
1565
- }
1566
- },
1567
- "required": ["name", "service", "fieldName"],
1568
- "additionalProperties": false
1569
- },
1570
- "restResolver": {
1571
- "title": "RestResolver",
1572
- "type": "object",
1573
- "properties": {
1574
- "if": {
1575
- "type": "string"
1576
- },
1577
- "id": {
1578
- "type": "string",
1579
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1580
- },
1581
- "name": {
1582
- "title": "RestResolverName",
1583
- "type": "string",
1584
- "description": "Name of the resolver function.",
1585
- "enum": ["rest:get", "rest:head", "rest:post", "rest:put", "rest:patch", "rest:delete"]
1586
- },
1587
- "service": {
1588
- "type": "string",
1589
- "description": "Configuration for a service to use with this resolver."
1590
- },
1591
- "argsMapping": {
1592
- "$ref": "#/definitions/argsMapping"
1593
- },
1594
- "searchParamsMapping": {
1595
- "$ref": "#/definitions/searchParamsMapping"
1596
- },
1597
- "resultsMapping": {
1598
- "$ref": "#/definitions/resultsMapping"
1599
- },
1600
- "options": {
1601
- "title": "RestResolverOptions",
1602
- "type": "object",
1603
- "properties": {
1604
- "trailingSlash": {
1605
- "type": "boolean"
1606
- },
1607
- "allowStream": {
1608
- "type": "boolean"
1609
- },
1610
- "ttl": {
1611
- "type": "number"
1612
- },
1613
- "timeout": {
1614
- "type": "number"
1615
- },
1616
- "retry": {
1617
- "oneOf": [
1618
- {
1619
- "type": "number"
1620
- },
1621
- {
1622
- "type": "object"
1623
- }
1624
- ]
1625
- }
1626
- },
1627
- "additionalProperties": true
1628
- },
1629
- "body": {
1630
- "description": "Mapping and serialization configuration for a request body.",
1631
- "$ref": "#/definitions/parameterConfigForBody"
1632
- },
1633
- "form": {
1634
- "description": "Mapping and serialization configuration for form data.",
1635
- "$ref": "#/definitions/parameterConfigForSearchParams"
1636
- },
1637
- "headers": {
1638
- "description": "Mapping and serialization configuration for headers.",
1639
- "$ref": "#/definitions/parameterConfigForHeaders"
1640
- },
1641
- "json": {
1642
- "description": "Mapping and serialization configuration for a json request body.",
1643
- "$ref": "#/definitions/parameterConfigForJson"
1644
- },
1645
- "path": {
1646
- "description": "Mapping and serialization configuration for the path, or a simple string.",
1647
- "oneOf": [
1648
- {
1649
- "$ref": "#/definitions/parameterConfigForPathParams"
1650
- },
1651
- {
1652
- "type": "string"
1653
- }
1654
- ]
1655
- },
1656
- "searchParams": {
1657
- "description": "Mapping and serialization configuration for searchParams.",
1658
- "$ref": "#/definitions/parameterConfigForSearchParams"
1659
- },
1660
- "args": {
1661
- "description": "Mapping and serialization configuration for args.",
1662
- "$ref": "#/definitions/parameterConfigForJson"
1663
- },
1664
- "results": {
1665
- "description": "Mapping configuration for the results of this resolver step.",
1666
- "$ref": "#/definitions/parameterConfigForJson"
1667
- }
1668
- },
1669
- "required": ["name", "service", "path"],
1670
- "additionalProperties": false
1671
- },
1672
- "awsLambdaResolver": {
1673
- "title": "AwsLambdaResolver",
1674
- "type": "object",
1675
- "properties": {
1676
- "if": {
1677
- "type": "string"
1678
- },
1679
- "id": {
1680
- "type": "string",
1681
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1682
- },
1683
- "name": {
1684
- "title": "AwsLambdaResolverName",
1685
- "type": "string",
1686
- "description": "Name of the resolver function.",
1687
- "enum": ["awsLambda:invoke"]
1688
- },
1689
- "service": {
1690
- "type": "string",
1691
- "description": "Configuration for a service to use with this resolver."
1692
- },
1693
- "options": {
1694
- "title": "AwsLambdaResolverOptions",
1695
- "type": "object",
1696
- "additionalProperties": true
1697
- },
1698
- "payload": {
1699
- "description": "Mapping configuration the Payload.",
1700
- "$ref": "#/definitions/parameterConfigForJson"
1701
- },
1702
- "functionName": {
1703
- "description": "Mapping configuration for the FunctionName.",
1704
- "oneOf": [
1705
- {
1706
- "type": "string"
1707
- },
1708
- {
1709
- "$ref": "#/definitions/parameterConfigForAwsLambda"
1710
- }
1711
- ]
1712
- },
1713
- "clientContext": {
1714
- "description": "Mapping configuration for the ClientContext.",
1715
- "$ref": "#/definitions/parameterConfigForJson"
1716
- },
1717
- "args": {
1718
- "description": "Mapping and serialization configuration for args.",
1719
- "$ref": "#/definitions/parameterConfigForJson"
1720
- },
1721
- "results": {
1722
- "description": "Mapping configuration for the results of this resolver step.",
1723
- "$ref": "#/definitions/parameterConfigForJson"
1724
- },
1725
- "argsMapping": {
1726
- "$ref": "#/definitions/argsMapping"
1727
- },
1728
- "searchParamsMapping": {
1729
- "description": "Set or evaluate directives to generate searchParams for the service endpoint.",
1730
- "$ref": "#/definitions/searchParamsMapping"
1731
- },
1732
- "resultsMapping": {
1733
- "$ref": "#/definitions/resultsMapping"
1734
- }
1735
- },
1736
- "required": ["name", "service", "functionName"],
1737
- "additionalProperties": false
1738
- },
1739
- "composeResolver": {
1740
- "title": "ComposeResolver",
1741
- "type": "object",
1742
- "properties": {
1743
- "compose": {
1744
- "type": "array",
1745
- "items": {
1746
- "$ref": "#/definitions/basicResolver"
1747
- }
1748
- },
1749
- "resultsMapping": {
1750
- "oneOf": [
1751
- {
1752
- "$ref": "#/definitions/directiveMappingMap"
1753
- },
1754
- {
1755
- "$ref": "#/definitions/directiveConfig"
1756
- }
1757
- ]
1758
- },
1759
- "results": {
1760
- "description": "Mapping configuration for final query results.",
1761
- "$ref": "#/definitions/parameterConfigForJson"
1762
- }
1763
- },
1764
- "required": ["compose"],
1765
- "additionalProperties": false
1766
- },
1767
- "resolver": {
1768
- "title": "Resolver",
1769
- "oneOf": [
1770
- {
1771
- "$ref": "#/definitions/basicResolver"
1772
- },
1773
- {
1774
- "$ref": "#/definitions/composeResolver"
1775
- }
1776
- ]
1777
- },
1778
- "dependencies": {
1779
- "title": "Dependencies",
1780
- "type": "string"
1781
- },
1782
- "ref": {
1783
- "title": "Ref",
1784
- "type": "string"
1785
- },
1786
- "indexed": {
1787
- "title": "Indexed",
1788
- "type": "object",
1789
- "properties": {
1790
- "nested": {
1791
- "type": "boolean"
1792
- }
1793
- },
1794
- "additionalProperties": false
1795
- },
1796
- "graphql": {
1797
- "title": "GraphQLConfig",
1798
- "type": "object",
1799
- "properties": {
1800
- "json": {
1801
- "type": "boolean"
1802
- }
1803
- },
1804
- "additionalProperties": false
1805
- },
1806
- "query": {
1807
- "title": "Query JSON",
1808
- "type": "object",
1809
- "properties": {
1810
- "args": {
1811
- "description": "The args field specifies the name of a Shape for the input arguments required by your resolver.",
1812
- "$ref": "#/definitions/args"
1813
- },
1814
- "resolver": {
1815
- "description": "Configures the resolver for your query or mutation.",
1816
- "$ref": "#/definitions/resolver"
1817
- },
1818
- "shape": {
1819
- "$ref": "#/definitions/returnShape",
1820
- "description": "Specifies which shape is returned by the query or mutation. The shape can refer to a shape in the schema's \"shapes\" object or a shape that's available on a service schema."
1821
- },
1822
- "description": {
1823
- "type": "string",
1824
- "description": "Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs."
1825
- }
1826
- },
1827
- "required": ["resolver", "shape"],
1828
- "additionalProperties": false
1829
- },
1830
- "propertySchema": {
1831
- "title": "PropertySchema",
1832
- "type": "object",
1833
- "properties": {
1834
- "$ref": {
1835
- "type": "string",
1836
- "format": "uri-reference"
1837
- },
1838
- "title": {
1839
- "type": "string"
1840
- },
1841
- "description": {
1842
- "type": "string"
1843
- },
1844
- "default": {},
1845
- "readOnly": {
1846
- "type": "boolean",
1847
- "default": false
1848
- },
1849
- "multipleOf": {
1850
- "type": "number",
1851
- "exclusiveMinimum": 0
1852
- },
1853
- "maximum": {
1854
- "type": "number"
1855
- },
1856
- "exclusiveMaximum": {
1857
- "type": "number"
1858
- },
1859
- "minimum": {
1860
- "type": "number"
1861
- },
1862
- "exclusiveMinimum": {
1863
- "type": "number"
1864
- },
1865
- "maxLength": {
1866
- "$ref": "#/definitions/nonNegativeInteger"
1867
- },
1868
- "minLength": {
1869
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
1870
- },
1871
- "pattern": {
1872
- "type": "string",
1873
- "format": "regex"
1874
- },
1875
- "additionalItems": {
1876
- "$ref": "#/definitions/propertySchema"
1877
- },
1878
- "items": {
1879
- "$ref": "#/definitions/propertySchema"
1880
- },
1881
- "maxItems": {
1882
- "$ref": "#/definitions/nonNegativeInteger"
1883
- },
1884
- "minItems": {
1885
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
1886
- },
1887
- "uniqueItems": {
1888
- "type": "boolean",
1889
- "default": false
1890
- },
1891
- "contains": {
1892
- "$ref": "#/definitions/propertySchema"
1893
- },
1894
- "maxProperties": {
1895
- "$ref": "#/definitions/nonNegativeInteger"
1896
- },
1897
- "minProperties": {
1898
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
1899
- },
1900
- "required": {
1901
- "$ref": "#/definitions/stringArray"
1902
- },
1903
- "additionalProperties": {
1904
- "oneOf": [
1905
- {
1906
- "$ref": "#/definitions/propertySchema"
1907
- },
1908
- {
1909
- "enum": [false]
1910
- }
1911
- ]
1912
- },
1913
- "definitions": {
1914
- "type": "object",
1915
- "additionalProperties": {
1916
- "$ref": "#/definitions/propertySchema"
1917
- },
1918
- "default": {}
1919
- },
1920
- "properties": {
1921
- "type": "object",
1922
- "additionalProperties": {
1923
- "$ref": "#/definitions/propertySchema"
1924
- },
1925
- "default": {}
1926
- },
1927
- "const": {},
1928
- "enum": {
1929
- "type": "array",
1930
- "minItems": 1,
1931
- "uniqueItems": true
1932
- },
1933
- "type": {
1934
- "anyOf": [
1935
- {
1936
- "$ref": "#/definitions/simpleTypes"
1937
- },
1938
- {
1939
- "type": "array",
1940
- "items": {
1941
- "$ref": "#/definitions/simpleTypes"
1942
- },
1943
- "minItems": 1,
1944
- "uniqueItems": true
1945
- }
1946
- ]
1947
- },
1948
- "format": {
1949
- "type": "string"
1950
- },
1951
- "contentMediaType": {
1952
- "type": "string"
1953
- },
1954
- "contentEncoding": {
1955
- "type": "string"
1956
- },
1957
- "allOf": {
1958
- "$ref": "#/definitions/schemaArray"
1959
- },
1960
- "discriminator": {
1961
- "type": "object",
1962
- "properties": {
1963
- "propertyName": {
1964
- "type": "string"
1965
- }
1966
- }
1967
- },
1968
- "oneOf": {
1969
- "$ref": "#/definitions/schemaArray"
1970
- },
1971
- "extends": {
1972
- "$ref": "#/definitions/objectOrRefArray"
1973
- },
1974
- "@backreference": {
1975
- "$ref": "#/definitions/backreference"
1976
- },
1977
- "@input": {
1978
- "description": "A PropertySchema providing an alternative shape for a GraphQL input type.",
1979
- "$ref": "#/definitions/propertySchema"
1980
- },
1981
- "@output": {
1982
- "description": "A PropertySchema which is original output.",
1983
- "$ref": "#/definitions/propertySchema"
1984
- },
1985
- "@syncLocaleStructure": {
1986
- "type": "boolean"
1987
- },
1988
- "@sensitive": {
1989
- "type": "boolean"
1990
- },
1991
- "@draftjs": {
1992
- "type": "boolean"
1993
- },
1994
- "@l10n": {
1995
- "type": "boolean"
1996
- },
1997
- "@key": {
1998
- "type": "string",
1999
- "pattern": "^[-_a-zA-Z0-9]+$"
2000
- },
2001
- "@workflow": {
2002
- "type": "string"
2003
- },
2004
- "@mapping": {
2005
- "$ref": "#/definitions/fieldMapping"
2006
- },
2007
- "@tag": {
2008
- "type": "string"
2009
- },
2010
- "@tags": {
2011
- "type": "array",
2012
- "items": {
2013
- "type": "string"
2014
- }
2015
- },
2016
- "@deprecationReason": {
2017
- "type": "string"
2018
- },
2019
- "@args": {
2020
- "$ref": "#/definitions/args"
2021
- },
2022
- "@resolver": {
2023
- "$ref": "#/definitions/resolver"
2024
- },
2025
- "@dependencies": {
2026
- "$ref": "#/definitions/dependencies"
2027
- },
2028
- "@ref": {
2029
- "$ref": "#/definitions/ref"
2030
- },
2031
- "@derivedFrom": {
2032
- "type": "string"
2033
- },
2034
- "@indexed": {
2035
- "$ref": "#/definitions/indexed"
2036
- },
2037
- "@graphql": {
2038
- "$ref": "#/definitions/graphql"
2039
- }
2040
- },
2041
- "additionalProperties": false
2042
- },
2043
- "shape": {
2044
- "title": "Shape JSON",
2045
- "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services",
2046
- "type": "object",
2047
- "properties": {
2048
- "name": {
2049
- "type": "string",
2050
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
2051
- "description": "The Pascal-cased human-readable id for a Shape. This value should match the shape's key in the shapes object. This value is used in @ref and @mapping annotations"
2052
- },
2053
- "id": {
2054
- "type": "string",
2055
- "pattern": "[0-9A-Za-z_-]+",
2056
- "description": "The machine-readable id for a Shape which should never change. When using TakeShape's built-in database to store Shape data, this value is used database as a stable \"table name\" and changing it will result in orphaning that data."
2057
- },
2058
- "title": {
2059
- "type": "string",
2060
- "description": "The human-readable name for a Shape for use in a UI."
2061
- },
2062
- "description": {
2063
- "type": "string"
2064
- },
2065
- "type": {
2066
- "enum": ["interface", "input", "output"]
2067
- },
2068
- "interfaces": {
2069
- "type": "array",
2070
- "items": {
2071
- "type": "string"
2072
- }
2073
- },
2074
- "model": {
2075
- "description": "Specifying a model type allows Shape data to be stored in TakeShape's built-in database",
2076
- "type": "object",
2077
- "properties": {
2078
- "type": {
2079
- "title": "Model Type",
2080
- "type": "string",
2081
- "enum": ["single", "multiple", "taxonomy"]
2082
- }
2083
- },
2084
- "required": ["type"],
2085
- "additionalProperties": false
2086
- },
2087
- "workflow": {
2088
- "type": "string"
2089
- },
2090
- "loaders": {
2091
- "$ref": "#/definitions/shapeLoaders"
2092
- },
2093
- "joins": {
2094
- "$ref": "#/definitions/shapeJoins"
2095
- },
2096
- "cache": {
2097
- "$ref": "#/definitions/shapeCacheConfig"
2098
- },
2099
- "schema": {
2100
- "$ref": "#/definitions/shapeSchema"
2101
- }
2102
- },
2103
- "required": ["name", "title", "id", "schema"],
2104
- "additionalProperties": false
2105
- },
2106
- "shapeWithObjectSchema": {
2107
- "title": "Shape With Object Schema",
2108
- "type": "object",
2109
- "allOf": [
2110
- {
2111
- "$ref": "#/definitions/shape"
2112
- },
2113
- {
2114
- "type": "object",
2115
- "properties": {
2116
- "schema": {
2117
- "$ref": "#/definitions/objectSchema"
2118
- }
2119
- },
2120
- "required": ["schema"],
2121
- "additionalProperties": false
2122
- }
2123
- ]
2124
- },
2125
- "shapeMap": {
2126
- "title": "Shape Map",
2127
- "type": "object",
2128
- "patternProperties": {
2129
- "^[0-9A-Za-z_]+$": {
2130
- "$ref": "#/definitions/shape"
2131
- }
2132
- },
2133
- "additionalProperties": false
2134
- },
2135
- "formMap": {
2136
- "title": "Form Map",
2137
- "type": "object",
2138
- "patternProperties": {
2139
- "[0-9A-Za-z_-]+": {
2140
- "$ref": "#/definitions/formsConfig"
2141
- }
2142
- }
2143
- },
2144
- "shapeCacheConfig": {
2145
- "title": "ShapeCacheConfig",
2146
- "type": "object",
2147
- "properties": {
2148
- "enabled": {
2149
- "type": "boolean"
2150
- },
2151
- "idField": {
2152
- "type": "string"
2153
- },
2154
- "searchSummaryField": {
2155
- "type": "string"
2156
- },
2157
- "fragment": {
2158
- "$ref": "#/definitions/cachedFragmentConfig"
2159
- },
2160
- "triggers": {
2161
- "type": "array",
2162
- "items": {
2163
- "$ref": "#/definitions/cacheTriggerConfig"
2164
- }
2165
- },
2166
- "maxAge": {
2167
- "description": "Number of seconds this Shape should be cached. Default 0.",
2168
- "type": "number",
2169
- "minimum": 0
2170
- }
2171
- },
2172
- "additionalProperties": false,
2173
- "required": ["enabled"]
2174
- },
2175
- "shapeJoin": {
2176
- "title": "ShapeJoin",
2177
- "type": "object",
2178
- "properties": {
2179
- "resolver": {
2180
- "oneOf": [
2181
- {
2182
- "$ref": "#/definitions/delegateResolver"
2183
- },
2184
- {
2185
- "$ref": "#/definitions/shapedbResolver"
2186
- }
2187
- ]
2188
- },
2189
- "dependencies": {
2190
- "type": "string"
2191
- }
2192
- },
2193
- "required": ["resolver"],
2194
- "additionalProperties": false
2195
- },
2196
- "shapeJoins": {
2197
- "title": "ShapeJoins",
2198
- "type": "object",
2199
- "patternProperties": {
2200
- "[:0-9A-Za-z_-]+": {
2201
- "$ref": "#/definitions/shapeJoin"
2202
- }
2203
- }
2204
- },
2205
- "shapeLoaders": {
2206
- "title": "ShapeLoaders",
2207
- "type": "object",
2208
- "properties": {
2209
- "list": {
2210
- "oneOf": [
2211
- {
2212
- "$ref": "#/definitions/storedListQueryLoaderConfig"
2213
- },
2214
- {
2215
- "type": "array",
2216
- "items": {
2217
- "$ref": "#/definitions/storedListQueryLoaderConfig"
2218
- }
2219
- }
2220
- ]
2221
- },
2222
- "get": {
2223
- "$ref": "#/definitions/getQueryLoaderConfig"
2224
- }
2225
- },
2226
- "additionalProperties": false,
2227
- "required": ["list"]
2228
- },
2229
- "cachedFragmentConfig": {
2230
- "title": "Cached Fragment Config",
2231
- "type": "object",
2232
- "properties": {
2233
- "ignoreFields": {
2234
- "type": "array",
2235
- "items": {
2236
- "type": "string"
2237
- }
2238
- },
2239
- "maxDepth": {
2240
- "type": "number"
2241
- },
2242
- "selectionSet": {
2243
- "type": "string"
2244
- },
2245
- "includeDeprecated": {
2246
- "type": "boolean"
2247
- }
2248
- },
2249
- "additionalProperties": false
2250
- },
2251
- "listQueryLoaderConfig": {
2252
- "title": "ListQueryLoaderConfig",
2253
- "type": "object",
2254
- "properties": {
2255
- "query": {
2256
- "type": "string"
2257
- },
2258
- "args": {
2259
- "type": "object",
2260
- "additionalProperties": true
2261
- },
2262
- "pagination": {
2263
- "$ref": "#/definitions/paginationConfig"
2264
- }
2265
- },
2266
- "additionalProperties": false,
2267
- "required": ["query"]
2268
- },
2269
- "storedListQueryLoaderConfig": {
2270
- "title": "StoredListQueryLoaderConfig",
2271
- "type": "object",
2272
- "properties": {
2273
- "query": {
2274
- "type": "string"
2275
- },
2276
- "args": {
2277
- "oneOf": [
2278
- {
2279
- "type": "object",
2280
- "additionalProperties": true
2281
- },
2282
- {
2283
- "type": "array",
2284
- "items": {
2285
- "type": "object",
2286
- "additionalProperties": true
2287
- }
2288
- }
2289
- ]
2290
- },
2291
- "pagination": {
2292
- "$ref": "#/definitions/paginationConfig"
2293
- }
2294
- },
2295
- "additionalProperties": false,
2296
- "required": ["query"]
2297
- },
2298
- "getQueryLoaderConfig": {
2299
- "title": "GetQueryLoaderConfig",
2300
- "type": "object",
2301
- "properties": {
2302
- "query": {
2303
- "type": "string"
2304
- },
2305
- "args": {
2306
- "type": "object",
2307
- "additionalProperties": true
2308
- },
2309
- "idArg": {
2310
- "type": "string"
2311
- }
2312
- },
2313
- "additionalProperties": false,
2314
- "required": ["query"]
2315
- },
2316
- "paginationConfig": {
2317
- "title": "Pagination Config",
2318
- "oneOf": [
2319
- {
2320
- "$ref": "#/definitions/paginationCursorConfig"
2321
- },
2322
- {
2323
- "$ref": "#/definitions/paginationPageConfig"
2324
- },
2325
- {
2326
- "$ref": "#/definitions/paginationOffsetConfig"
2327
- }
2328
- ]
2329
- },
2330
- "paginationCursorConfig": {
2331
- "title": "Pagination Cursor Config",
2332
- "type": "object",
2333
- "properties": {
2334
- "type": {
2335
- "type": "string",
2336
- "enum": ["cursor"]
2337
- },
2338
- "cursorArg": {
2339
- "type": "string"
2340
- },
2341
- "cursorPath": {
2342
- "type": "string"
2343
- },
2344
- "pageSize": {
2345
- "type": "number"
2346
- },
2347
- "pageSizeArg": {
2348
- "type": "string"
2349
- },
2350
- "hasMorePath": {
2351
- "type": "string"
2352
- },
2353
- "itemsPath": {
2354
- "type": "string"
2355
- }
2356
- },
2357
- "additionalProperties": false,
2358
- "required": ["type", "cursorArg", "cursorPath", "pageSizeArg", "hasMorePath", "itemsPath"]
2359
- },
2360
- "paginationPageConfig": {
2361
- "title": "Pagination Page Config",
2362
- "type": "object",
2363
- "properties": {
2364
- "type": {
2365
- "type": "string",
2366
- "enum": ["page"]
2367
- },
2368
- "pageArg": {
2369
- "type": "string"
2370
- },
2371
- "pageSize": {
2372
- "type": "number"
2373
- },
2374
- "pageSizeArg": {
2375
- "type": "string"
2376
- },
2377
- "itemsPath": {
2378
- "type": "string"
2379
- },
2380
- "pageTotalPath": {
2381
- "type": "string"
2382
- }
2383
- },
2384
- "additionalProperties": false,
2385
- "required": ["type", "pageArg", "itemsPath", "pageTotalPath"]
2386
- },
2387
- "paginationOffsetConfig": {
2388
- "title": "Pagination Offset Config",
2389
- "type": "object",
2390
- "properties": {
2391
- "type": {
2392
- "type": "string",
2393
- "enum": ["offset"]
2394
- },
2395
- "offsetArg": {
2396
- "type": "string"
2397
- },
2398
- "pageSize": {
2399
- "type": "number"
2400
- },
2401
- "pageSizeArg": {
2402
- "type": "string"
2403
- },
2404
- "itemsPath": {
2405
- "type": "string"
2406
- },
2407
- "itemTotalPath": {
2408
- "type": "string"
2409
- }
2410
- },
2411
- "additionalProperties": false,
2412
- "required": ["type", "offsetArg", "itemsPath", "itemTotalPath"]
2413
- },
2414
- "cacheTriggerConfig": {
2415
- "title": "CacheTriggerConfig",
2416
- "oneOf": [
2417
- {
2418
- "$ref": "#/definitions/cacheScheduleTriggerConfig"
2419
- },
2420
- {
2421
- "$ref": "#/definitions/cacheWebhookTriggerConfig"
2422
- }
2423
- ]
2424
- },
2425
- "cacheScheduleTriggerConfig": {
2426
- "title": "CacheScheduleTriggerConfig",
2427
- "type": "object",
2428
- "properties": {
2429
- "type": {
2430
- "type": "string",
2431
- "enum": ["schedule"]
2432
- },
2433
- "loader": {
2434
- "enum": ["get", "list"]
2435
- },
2436
- "interval": {
2437
- "type": "number"
2438
- }
2439
- },
2440
- "additionalProperties": false,
2441
- "required": ["type", "loader", "interval"]
2442
- },
2443
- "cacheWebhookTriggerConfig": {
2444
- "title": "CacheWebhookTriggerConfig",
2445
- "type": "object",
2446
- "properties": {
2447
- "type": {
2448
- "type": "string",
2449
- "enum": ["webhook"]
2450
- },
2451
- "loader": {
2452
- "enum": ["get", "list"]
2453
- },
2454
- "service": {
2455
- "type": "string"
2456
- },
2457
- "events": {
2458
- "type": "array",
2459
- "items": {
2460
- "type": "string"
2461
- }
2462
- }
2463
- },
2464
- "additionalProperties": false,
2465
- "required": ["type", "loader", "service", "events"]
2466
- },
2467
- "formScalarConfig": {
2468
- "title": "Form Scalar Config",
2469
- "type": "object",
2470
- "properties": {
2471
- "widget": {
2472
- "type": "string"
2473
- }
2474
- },
2475
- "additionalProperties": false,
2476
- "required": ["widget"]
2477
- },
2478
- "formObjectConfig": {
2479
- "title": "Form Object Config",
2480
- "type": "object",
2481
- "properties": {
2482
- "widget": {
2483
- "type": "string"
2484
- },
2485
- "order": {
2486
- "type": "array",
2487
- "items": {
2488
- "type": "string"
2489
- }
2490
- },
2491
- "properties": {
2492
- "patternProperties": {
2493
- "[0-9A-Za-z_-]+": {
2494
- "$ref": "#/definitions/formConfig"
2495
- }
2496
- }
2497
- }
2498
- },
2499
- "additionalProperties": false
2500
- },
2501
- "formArrayConfig": {
2502
- "title": "Form Array Config",
2503
- "type": "object",
2504
- "properties": {
2505
- "widget": {
2506
- "type": "string"
2507
- },
2508
- "items": {
2509
- "$ref": "#/definitions/formConfig"
2510
- }
2511
- },
2512
- "additionalProperties": false,
2513
- "required": ["widget", "items"]
2514
- },
2515
- "customAuthentication": {
2516
- "title": "Custom Authentication",
2517
- "description": "For use with a custom auth handler on a service provider.",
2518
- "type": "object",
2519
- "properties": {
2520
- "type": {
2521
- "type": "string",
2522
- "enum": ["custom"]
2523
- }
2524
- },
2525
- "additionalProperties": true,
2526
- "required": ["type"]
2527
- },
2528
- "searchParamsAuthentication": {
2529
- "title": "Search Params Authentication",
2530
- "type": "object",
2531
- "properties": {
2532
- "type": {
2533
- "type": "string",
2534
- "enum": ["searchParams"]
2535
- },
2536
- "params": {
2537
- "type": "array",
2538
- "items": {
2539
- "properties": {
2540
- "name": {
2541
- "type": "string"
2542
- },
2543
- "value": {
2544
- "type": "string"
2545
- }
2546
- },
2547
- "required": ["name", "value"],
2548
- "additionalProperties": false
2549
- }
2550
- }
2551
- },
2552
- "additionalProperties": false,
2553
- "required": ["type", "params"]
2554
- },
2555
- "bearerAuthentication": {
2556
- "title": "Bearer Authentication",
2557
- "type": "object",
2558
- "properties": {
2559
- "type": {
2560
- "type": "string",
2561
- "enum": ["bearer"]
2562
- },
2563
- "token": {
2564
- "type": "string"
2565
- },
2566
- "prefix": {
2567
- "type": "string"
2568
- },
2569
- "header": {
2570
- "type": "string"
2571
- }
2572
- },
2573
- "additionalProperties": false,
2574
- "required": ["type", "token"]
2575
- },
2576
- "oauth2BearerAuthentication": {
2577
- "title": "OAuth 2 Bearer Authentication",
2578
- "type": "object",
2579
- "properties": {
2580
- "type": {
2581
- "type": "string",
2582
- "enum": ["oauth2Bearer"]
2583
- },
2584
- "token": {
2585
- "type": "string"
2586
- },
2587
- "prefix": {
2588
- "type": "string"
2589
- },
2590
- "header": {
2591
- "type": "string"
2592
- },
2593
- "scope": {
2594
- "type": "string"
2595
- },
2596
- "expiresAt": {
2597
- "type": "string"
2598
- }
2599
- },
2600
- "additionalProperties": false,
2601
- "required": ["type", "token"]
2602
- },
2603
- "basicAuthentication": {
2604
- "title": "Basic Authentication",
2605
- "type": "object",
2606
- "properties": {
2607
- "type": {
2608
- "type": "string",
2609
- "enum": ["basic"]
2610
- },
2611
- "username": {
2612
- "type": "string"
2613
- },
2614
- "password": {
2615
- "type": "string"
2616
- },
2617
- "useIso8859": {
2618
- "type": "boolean"
2619
- }
2620
- },
2621
- "additionalProperties": false,
2622
- "required": ["type", "username", "password"]
2623
- },
2624
- "oauth2Authentication": {
2625
- "title": "OAuth 2 Authentication",
2626
- "type": "object",
2627
- "properties": {
2628
- "type": {
2629
- "type": "string",
2630
- "enum": ["oauth2"]
2631
- },
2632
- "grantType": {
2633
- "type": "string",
2634
- "enum": ["authorizationCode", "clientCredentials"]
2635
- },
2636
- "authorizationUrl": {
2637
- "type": "string"
2638
- },
2639
- "accessTokenUrl": {
2640
- "type": "string"
2641
- },
2642
- "clientId": {
2643
- "type": "string"
2644
- },
2645
- "clientSecret": {
2646
- "type": "string"
2647
- },
2648
- "scope": {
2649
- "type": "string"
2650
- },
2651
- "usePkce": {
2652
- "type": "boolean"
2653
- },
2654
- "redirectUrl": {
2655
- "type": "string"
2656
- },
2657
- "headerPrefix": {
2658
- "type": "string"
2659
- },
2660
- "audience": {
2661
- "type": "string"
2662
- },
2663
- "resource": {
2664
- "type": "string"
2665
- }
2666
- },
2667
- "additionalProperties": false,
2668
- "required": ["type", "grantType", "clientId"]
2669
- },
2670
- "awsAuthentication": {
2671
- "title": "AWS Authentication",
2672
- "type": "object",
2673
- "properties": {
2674
- "type": {
2675
- "type": "string",
2676
- "enum": ["aws"]
2677
- },
2678
- "awsAccessKeyId": {
2679
- "type": "string"
2680
- },
2681
- "awsSecretAccessKey": {
2682
- "type": "string"
2683
- }
2684
- },
2685
- "additionalProperties": false,
2686
- "required": ["type", "awsAccessKeyId", "awsSecretAccessKey"]
2687
- },
2688
- "serviceAuthentication": {
2689
- "title": "Service Authentication",
2690
- "oneOf": [
2691
- {
2692
- "$ref": "#/definitions/oauth2Authentication"
2693
- },
2694
- {
2695
- "$ref": "#/definitions/oauth2BearerAuthentication"
2696
- },
2697
- {
2698
- "$ref": "#/definitions/bearerAuthentication"
2699
- },
2700
- {
2701
- "$ref": "#/definitions/basicAuthentication"
2702
- },
2703
- {
2704
- "$ref": "#/definitions/searchParamsAuthentication"
2705
- },
2706
- {
2707
- "$ref": "#/definitions/awsAuthentication"
2708
- },
2709
- {
2710
- "$ref": "#/definitions/customAuthentication"
2711
- }
2712
- ]
2713
- },
2714
- "serviceHealthCheck": {
2715
- "title": "Service Health Check",
2716
- "description": "Configuration for ping health checks.",
2717
- "type": "object",
2718
- "properties": {
2719
- "checkName": {
2720
- "title": "Check Name",
2721
- "description": "The name of a health check to run",
2722
- "type": "string",
2723
- "enum": ["graphqlIntrospection", "ping", "none"]
2724
- },
2725
- "endpoint": {
2726
- "title": "Endpoint",
2727
- "description": "The endpoint to use when checking the service health.",
2728
- "type": "string"
2729
- },
2730
- "requestMethod": {
2731
- "title": "Request Method",
2732
- "description": "A custom method to use for the health check request.",
2733
- "type": "string",
2734
- "enum": ["GET", "POST", "PUT", "PATCH", "DELETE"]
2735
- },
2736
- "requestHeaders": {
2737
- "title": "Request Headers",
2738
- "description": "Any custom headers to set with the health check request.",
2739
- "type": "object",
2740
- "propertyNames": {
2741
- "pattern": "[0-9A-Za-z_-]+"
2742
- }
2743
- },
2744
- "requestSearchParams": {
2745
- "title": "Request Search Params",
2746
- "description": "Any custom search params to set with the health check request.",
2747
- "type": "object",
2748
- "propertyNames": {
2749
- "pattern": "[0-9A-Za-z_-]+"
2750
- }
2751
- },
2752
- "requestBody": {
2753
- "title": "Request Body",
2754
- "description": "A custom body to send along with the ping request.",
2755
- "type": "string"
2756
- },
2757
- "requestBodyFormat": {
2758
- "title": "Request Body Format",
2759
- "description": "A custom body to send along with the ping request.",
2760
- "type": "string",
2761
- "enum": ["string", "form", "json"]
2762
- },
2763
- "requestTimeout": {
2764
- "title": "Request Timeout",
2765
- "description": "The amount of time to wait when receiving a response from the health check, in seconds.",
2766
- "type": "number",
2767
- "minimum": 2,
2768
- "maximum": 60
2769
- },
2770
- "healthyResponseStatusCode": {
2771
- "title": "Healthy Response Status Code",
2772
- "description": "The response status code that qualifies as healthy.",
2773
- "type": "number",
2774
- "minimum": 200,
2775
- "maximum": 399
2776
- }
2777
- },
2778
- "required": ["checkName"],
2779
- "additionalProperties": false
2780
- },
2781
- "serviceType": {
2782
- "title": "Service Type",
2783
- "description": "The general type of this service, specifying how and where it will be utilized.",
2784
- "type": "string",
2785
- "enum": ["deployment", "authentication", "takeshape", "rest", "graphql", "openapi", "aws", "unknown"]
2786
- },
2787
- "serviceConfig": {
2788
- "title": "Service Config",
2789
- "type": "object",
2790
- "properties": {
2791
- "id": {
2792
- "type": "string",
2793
- "description": "Machine-readable identifier, should typically be the same as the property name on the services object."
2794
- },
2795
- "title": {
2796
- "type": "string",
2797
- "description": "Human-readable name for this service."
2798
- },
2799
- "provider": {
2800
- "description": "The service provider id.",
2801
- "type": "string"
2802
- },
2803
- "namespace": {
2804
- "type": "string",
2805
- "description": "A namespace to use for the imported types tied to this service."
2806
- },
2807
- "serviceType": {
2808
- "$ref": "#/definitions/serviceType"
2809
- },
2810
- "authenticationType": {
2811
- "type": "string",
2812
- "enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
2813
- },
2814
- "authentication": {
2815
- "$ref": "#/definitions/serviceAuthentication"
2816
- },
2817
- "healthCheck": {
2818
- "$ref": "#/definitions/serviceHealthCheck"
2819
- },
2820
- "webhookId": {
2821
- "type": "string"
2822
- },
2823
- "options": {
2824
- "type": "object",
2825
- "description": "Configuration options passed to and handled by the provider."
2826
- }
2827
- },
2828
- "required": ["id", "title", "provider", "serviceType", "authenticationType"],
2829
- "additionalProperties": false
2830
- },
2831
- "storedServiceConfig": {
2832
- "title": "Service Config JSON",
2833
- "type": "object",
2834
- "properties": {
2835
- "id": {
2836
- "type": "string",
2837
- "description": "Machine-readable identifier, should typically be the same as the property name on the services object."
2838
- },
2839
- "title": {
2840
- "type": "string",
2841
- "description": "Human-readable name for this service."
2842
- },
2843
- "provider": {
2844
- "type": "string",
2845
- "description": "The service provider id."
2846
- },
2847
- "namespace": {
2848
- "type": "string",
2849
- "description": "A namespace to use for the imported types tied to this service."
2850
- },
2851
- "serviceType": {
2852
- "$ref": "#/definitions/serviceType"
2853
- },
2854
- "authenticationType": {
2855
- "type": "string",
2856
- "enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
2857
- },
2858
- "authentication": {
2859
- "type": "string"
2860
- },
2861
- "healthCheck": {
2862
- "$ref": "#/definitions/serviceHealthCheck"
2863
- },
2864
- "webhookId": {
2865
- "type": "string"
2866
- },
2867
- "options": {
2868
- "type": "object",
2869
- "description": "Configuration options passed to and handled by the provider."
2870
- }
2871
- },
2872
- "required": ["id", "title", "provider", "serviceType", "authenticationType"],
2873
- "additionalProperties": false
2874
- },
2875
- "anyServiceConfig": {
2876
- "title": "Any Service Config",
2877
- "oneOf": [
2878
- {
2879
- "$ref": "#/definitions/storedServiceConfig"
2880
- },
2881
- {
2882
- "$ref": "#/definitions/serviceConfig"
2883
- }
2884
- ]
2885
- },
2886
- "storedServiceMap": {
2887
- "title": "Service Map JSON",
2888
- "type": "object",
2889
- "patternProperties": {
2890
- "[0-9A-Za-z_-]+": {
2891
- "$ref": "#/definitions/storedServiceConfig"
2892
- }
2893
- }
2894
- },
2895
- "workflowStep": {
2896
- "title": "Workflow Step",
2897
- "type": "object",
2898
- "properties": {
2899
- "name": {
2900
- "type": "string",
2901
- "title": "Name",
2902
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
2903
- "description": "machine-readable slug"
2904
- },
2905
- "title": {
2906
- "title": "Title",
2907
- "type": "string",
2908
- "description": "Human-readable id for use in the UI"
2909
- },
2910
- "description": {
2911
- "title": "Description",
2912
- "type": "string"
2913
- },
2914
- "color": {
2915
- "title": "Color",
2916
- "type": "string",
2917
- "description": "Hex color code"
2918
- },
2919
- "live": {
2920
- "title": "Live",
2921
- "type": "boolean",
2922
- "description": "Value to indicate whether items in the state should be returned in list queries"
2923
- },
2924
- "key": {
2925
- "title": "Key",
2926
- "type": "string",
2927
- "description": "machine-readable id"
2928
- }
2929
- },
2930
- "required": ["name", "title", "color", "live", "key"],
2931
- "additionalProperties": false
2932
- },
2933
- "workflow": {
2934
- "title": "Workflow",
2935
- "type": "object",
2936
- "properties": {
2937
- "name": {
2938
- "type": "string",
2939
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
2940
- "description": "machine-readable id"
2941
- },
2942
- "title": {
2943
- "type": "string",
2944
- "title": "Workflow Name",
2945
- "minLength": 1,
2946
- "description": "Human-readable id for use in the UI"
2947
- },
2948
- "steps": {
2949
- "type": "array",
2950
- "title": "Steps",
2951
- "items": {
2952
- "$ref": "#/definitions/workflowStep"
2953
- },
2954
- "minItems": 1
2955
- }
2956
- },
2957
- "required": ["name", "title", "steps"]
2958
- },
2959
- "workflowMap": {
2960
- "title": "Workflow Map",
2961
- "type": "object",
2962
- "patternProperties": {
2963
- "[0-9A-Za-z_-]+": {
2964
- "$ref": "#/definitions/workflow"
2965
- }
2966
- }
2967
- },
2968
- "formConfig": {
2969
- "title": "Form Config",
2970
- "type": "object"
2971
- },
2972
- "formsConfig": {
2973
- "title": "Forms Config",
2974
- "type": "object",
2975
- "properties": {
2976
- "default": {
2977
- "$ref": "#/definitions/formConfig"
2978
- }
2979
- },
2980
- "patternProperties": {
2981
- "[0-9A-Za-z_-]+": {
2982
- "$ref": "#/definitions/formConfig"
2983
- }
2984
- },
2985
- "required": ["default"]
2986
- }
2987
- },
2988
- "properties": {
2989
- "$schema": {
2990
- "type": "string"
2991
- },
2992
- "apiVersion": {
2993
- "type": "string",
2994
- "description": "The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints."
2995
- },
2996
- "schemaVersion": {
2997
- "type": "string",
2998
- "enum": ["3.45.0"],
2999
- "description": "The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format."
3000
- },
3001
- "projectId": {
3002
- "type": "string",
3003
- "description": "The ID of the TakeShape project this schema belongs to."
3004
- },
3005
- "author": {
3006
- "type": "string",
3007
- "description": "The ID of the TakeShape user who created the schema."
3008
- },
3009
- "deactivated": {
3010
- "type": "number"
3011
- },
3012
- "defaultLocale": {
3013
- "type": "string",
3014
- "minLength": 1,
3015
- "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$",
3016
- "description": "The locale that should be preferred when creating new Shape items. This must be an entry in the locales array."
3017
- },
3018
- "locales": {
3019
- "type": "array",
3020
- "minItems": 1,
3021
- "items": {
3022
- "type": "string",
3023
- "minLength": 1,
3024
- "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$"
3025
- }
3026
- },
3027
- "queries": {
3028
- "$ref": "#/definitions/queryMap",
3029
- "description": "Queries map directly to queries your project's GraphQL API"
3030
- },
3031
- "mutations": {
3032
- "$ref": "#/definitions/queryMap",
3033
- "description": "Mutations map directly to mutations your project's GraphQL API"
3034
- },
3035
- "shapes": {
3036
- "$ref": "#/definitions/shapeMap",
3037
- "description": "A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services."
3038
- },
3039
- "forms": {
3040
- "$ref": "#/definitions/formMap",
3041
- "description": "Forms define a visual interface for editing Shapes in the TakeShape UI."
3042
- },
3043
- "workflows": {
3044
- "$ref": "#/definitions/workflowMap",
3045
- "description": "Workflows describe the status of a shape item. Every schema starts with a default workflow with two steps, Disabled and Enabled"
3046
- },
3047
- "services": {
3048
- "$ref": "#/definitions/storedServiceMap",
3049
- "description": "By connecting new Services to your project schema, you can add shapes, queries, and mutations from 3rd party sources to your API in TakeShape. This allows you to mesh together exactly the API you need to interact with all of the services your app or business depends upon. Services use an encrypted configuration to keep auth tokens secret. For this reason, services can only be added to a schema through the web client or through the Admin API."
3050
- }
3051
- },
3052
- "additionalProperties": false,
3053
- "required": [
3054
- "projectId",
3055
- "apiVersion",
3056
- "schemaVersion",
3057
- "defaultLocale",
3058
- "locales",
3059
- "shapes",
3060
- "queries",
3061
- "mutations",
3062
- "workflows"
3063
- ]
3064
- }