@takeshape/schema 11.52.0 → 11.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1024) 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/migrate.d.ts +4 -0
  162. package/dist/project-schema/migrate.js +194 -0
  163. package/dist/refs.d.ts +226 -0
  164. package/dist/refs.js +608 -0
  165. package/dist/relationships.d.ts +40 -0
  166. package/dist/relationships.js +311 -0
  167. package/dist/runtime-schema.d.ts +5 -0
  168. package/dist/runtime-schema.js +80 -0
  169. package/dist/schema-transform.d.ts +19 -0
  170. package/dist/schema-transform.js +74 -0
  171. package/dist/schema-util.d.ts +210 -0
  172. package/dist/schema-util.js +1077 -0
  173. package/dist/schemas/auth-schemas.json +365 -0
  174. package/dist/schemas/index.js +154 -0
  175. package/dist/service-dependencies.d.ts +13 -0
  176. package/dist/service-dependencies.js +165 -0
  177. package/dist/services/__tests__/services.test.d.ts +1 -0
  178. package/dist/services/__tests__/services.test.js +113 -0
  179. package/dist/services/services.d.ts +31 -0
  180. package/dist/services/services.js +145 -0
  181. package/dist/services/types.js +1 -0
  182. package/dist/services/util.d.ts +16 -0
  183. package/dist/taxonomies.d.ts +15 -0
  184. package/dist/taxonomies.js +24 -0
  185. package/dist/template-shapes/__tests__/index.test.d.ts +1 -0
  186. package/dist/template-shapes/__tests__/index.test.js +40 -0
  187. package/dist/template-shapes/__tests__/names.test.d.ts +1 -0
  188. package/dist/template-shapes/__tests__/names.test.js +19 -0
  189. package/dist/template-shapes/__tests__/templates.test.d.ts +1 -0
  190. package/dist/template-shapes/__tests__/templates.test.js +80 -0
  191. package/dist/template-shapes/__tests__/where.test.d.ts +1 -0
  192. package/dist/template-shapes/__tests__/where.test.js +218 -0
  193. package/dist/template-shapes/index.d.ts +7 -0
  194. package/dist/template-shapes/names.d.ts +10 -0
  195. package/dist/template-shapes/templates.d.ts +32 -0
  196. package/dist/template-shapes/templates.js +319 -0
  197. package/dist/template-shapes/types.d.ts +15 -0
  198. package/dist/template-shapes/where.d.ts +37 -0
  199. package/dist/template-shapes/where.js +402 -0
  200. package/dist/types/__tests__/utils.test.d.ts +1 -0
  201. package/dist/types/__tests__/utils.test.js +159 -0
  202. package/dist/types/index.d.ts +3 -0
  203. package/dist/types/index.js +2 -0
  204. package/dist/types/transforms.d.ts +13 -0
  205. package/dist/types/transforms.js +1 -0
  206. package/dist/types/types.d.ts +211 -0
  207. package/dist/types/utils.d.ts +117 -0
  208. package/dist/types/utils.js +279 -0
  209. package/dist/unions.d.ts +14 -0
  210. package/dist/unions.js +77 -0
  211. package/dist/util/__tests__/api-indexing.test.d.ts +1 -0
  212. package/dist/util/__tests__/api-indexing.test.js +129 -0
  213. package/dist/util/__tests__/detect-cycles.test.d.ts +1 -0
  214. package/dist/util/__tests__/detect-cycles.test.js +193 -0
  215. package/dist/util/__tests__/find-shape-at-path.test.d.ts +1 -0
  216. package/dist/util/__tests__/find-shape-at-path.test.js +41 -0
  217. package/dist/util/__tests__/form-config.test.d.ts +1 -0
  218. package/dist/util/__tests__/form-config.test.js +196 -0
  219. package/dist/util/__tests__/get-return-shape.test.d.ts +1 -0
  220. package/dist/util/__tests__/get-return-shape.test.js +27 -0
  221. package/dist/util/__tests__/has-args.test.d.ts +1 -0
  222. package/dist/util/__tests__/has-args.test.js +46 -0
  223. package/dist/util/__tests__/merge.test.d.ts +1 -0
  224. package/dist/util/__tests__/merge.test.js +1074 -0
  225. package/dist/util/__tests__/patch-schema.test.d.ts +1 -0
  226. package/dist/util/__tests__/patch-schema.test.js +82 -0
  227. package/dist/util/__tests__/shapes.test.d.ts +1 -0
  228. package/dist/util/__tests__/shapes.test.js +30 -0
  229. package/dist/util/ai-tools.d.ts +3 -0
  230. package/dist/util/api-indexing.d.ts +9 -0
  231. package/dist/util/api-indexing.js +57 -0
  232. package/dist/util/detect-cycles.d.ts +7 -0
  233. package/dist/util/detect-cycles.js +45 -0
  234. package/dist/util/find-shape-at-path.d.ts +21 -0
  235. package/dist/util/form-config.d.ts +11 -0
  236. package/dist/util/form-config.js +62 -0
  237. package/dist/util/get-conflicting-properties.d.ts +6 -0
  238. package/dist/util/get-conflicting-properties.js +55 -0
  239. package/dist/util/get-return-shape.d.ts +4 -0
  240. package/dist/util/get-return-shape.js +30 -0
  241. package/dist/util/has-arg.d.ts +4 -0
  242. package/dist/util/has-arg.js +13 -0
  243. package/dist/util/merge.d.ts +15 -0
  244. package/dist/util/merge.js +256 -0
  245. package/dist/util/patch-schema.d.ts +8 -0
  246. package/dist/util/shapes.d.ts +5 -0
  247. package/dist/validate/errors.d.ts +3 -0
  248. package/dist/validate/errors.js +20 -0
  249. package/dist/validate/validate.d.ts +73 -0
  250. package/dist/validate/validate.js +1107 -0
  251. package/dist/versions.d.ts +4 -0
  252. package/dist/versions.js +4 -0
  253. package/dist/workflows.d.ts +14 -0
  254. package/dist/workflows.js +66 -0
  255. package/examples/latest/agent-schema.json +12 -4
  256. package/examples/latest/all-fields-shapes-inline.json +52 -18
  257. package/examples/latest/all-fields-shapes.json +76 -26
  258. package/examples/latest/betzino.json +3139 -902
  259. package/examples/latest/blog-schema.json +28 -8
  260. package/examples/latest/brewery-schema.json +25 -7
  261. package/examples/latest/clear-cache-schema.json +7 -3
  262. package/examples/latest/complex-project-schema.json +359 -98
  263. package/examples/latest/complex-schema.json +1754 -487
  264. package/examples/latest/edit-schema.json +11 -4
  265. package/examples/latest/fabric-ecommerce.json +838 -187
  266. package/examples/latest/frank-and-fred-schema.json +1753 -486
  267. package/examples/latest/klirr-schema.json +2411 -682
  268. package/examples/latest/layers/rick-and-morty-layer.json +32 -11
  269. package/examples/latest/layers/shopify-layer-2023-01.json +8637 -2206
  270. package/examples/latest/layers/shopify-storefront-2023-04.json +1714 -404
  271. package/examples/latest/layers/wordpress-2024-01.json +2746 -691
  272. package/examples/latest/massive-schema.json +584 -131
  273. package/examples/latest/mill-components-schema.json +125 -29
  274. package/examples/latest/nested-shape-arrays.json +19 -7
  275. package/examples/latest/one-earth.json +1113 -236
  276. package/examples/latest/pet-oneof-array.json +22 -7
  277. package/examples/latest/post-schema.json +20 -6
  278. package/examples/latest/pruned-shopify-product-schema.json +830 -185
  279. package/examples/latest/rag-example.json +15 -5
  280. package/examples/latest/real-world-schema.json +56 -14
  281. package/examples/latest/recursive-repeater-schema.json +11 -4
  282. package/examples/latest/recursive-schema.json +11 -4
  283. package/examples/latest/rick-and-morty-ast.json +174 -45
  284. package/examples/latest/rick-and-morty-graphql.json +100 -25
  285. package/examples/latest/rick-and-morty-rest.json +7 -3
  286. package/examples/latest/rick-and-morty-with-indexing.json +13 -5
  287. package/examples/latest/schema-where-filter.json +40 -11
  288. package/examples/latest/schema-with-repeater-draftjs.json +8 -3
  289. package/examples/latest/schema-with-rick-and-morty.json +4 -2
  290. package/examples/latest/shape-books-v3_2_0.json +71 -17
  291. package/examples/latest/shape-books.json +71 -17
  292. package/examples/latest/shape-editor-schema-edited.json +69 -23
  293. package/examples/latest/shape-editor-schema-initial.json +28 -10
  294. package/examples/latest/shapedb-crud-every-prop-type.json +22 -8
  295. package/examples/latest/shopify-lookbook.json +19 -5
  296. package/examples/latest/shopify-product-2022-07.json +3217 -726
  297. package/examples/latest/shopify-product-2023-04.json +4496 -1012
  298. package/examples/latest/shopify-store-with-widget.json +942 -213
  299. package/examples/latest/stripe-product-runtime-schema.json +277 -81
  300. package/examples/latest/stripe-starter-resolved.json +1953 -476
  301. package/examples/latest/user-schema-no-required.json +13 -3
  302. package/examples/latest/user-schema-with-defaults.json +27 -5
  303. package/examples/latest/valvoline-ai-demo.json +69 -17
  304. package/examples/latest/vector-search-schema.json +24 -8
  305. package/package.json +23 -24
  306. package/dist/cjs/package.json +0 -1
  307. package/dist/cjs/src/agents.js +0 -147
  308. package/dist/cjs/src/api-version.js +0 -24
  309. package/dist/cjs/src/auth-schemas.js +0 -8
  310. package/dist/cjs/src/builtin-schema.js +0 -616
  311. package/dist/cjs/src/constants.js +0 -4
  312. package/dist/cjs/src/content-schema-transform.js +0 -175
  313. package/dist/cjs/src/create-input-schema.js +0 -66
  314. package/dist/cjs/src/enum.js +0 -12
  315. package/dist/cjs/src/flatten-templates.js +0 -26
  316. package/dist/cjs/src/get-is-leaf.js +0 -59
  317. package/dist/cjs/src/index.js +0 -62
  318. package/dist/cjs/src/interfaces.js +0 -98
  319. package/dist/cjs/src/layers/layers.js +0 -313
  320. package/dist/cjs/src/layers/refs.js +0 -243
  321. package/dist/cjs/src/layers/type-utils.js +0 -145
  322. package/dist/cjs/src/layers/visitor.js +0 -42
  323. package/dist/cjs/src/migration/index.js +0 -142
  324. package/dist/cjs/src/migration/to/v3.0.0.js +0 -217
  325. package/dist/cjs/src/migration/to/v3.1.0.js +0 -199
  326. package/dist/cjs/src/migration/to/v3.10.0.js +0 -72
  327. package/dist/cjs/src/migration/to/v3.11.0.js +0 -90
  328. package/dist/cjs/src/migration/to/v3.12.0.js +0 -12
  329. package/dist/cjs/src/migration/to/v3.12.1.js +0 -12
  330. package/dist/cjs/src/migration/to/v3.12.2.js +0 -12
  331. package/dist/cjs/src/migration/to/v3.12.3.js +0 -92
  332. package/dist/cjs/src/migration/to/v3.13.0.js +0 -22
  333. package/dist/cjs/src/migration/to/v3.14.0.js +0 -12
  334. package/dist/cjs/src/migration/to/v3.15.0.js +0 -12
  335. package/dist/cjs/src/migration/to/v3.16.0.js +0 -12
  336. package/dist/cjs/src/migration/to/v3.17.0.js +0 -27
  337. package/dist/cjs/src/migration/to/v3.17.1.js +0 -12
  338. package/dist/cjs/src/migration/to/v3.18.0.js +0 -69
  339. package/dist/cjs/src/migration/to/v3.18.1.js +0 -20
  340. package/dist/cjs/src/migration/to/v3.18.2.js +0 -24
  341. package/dist/cjs/src/migration/to/v3.19.0.js +0 -12
  342. package/dist/cjs/src/migration/to/v3.2.0.js +0 -12
  343. package/dist/cjs/src/migration/to/v3.20.0.js +0 -29
  344. package/dist/cjs/src/migration/to/v3.21.0.js +0 -12
  345. package/dist/cjs/src/migration/to/v3.22.0.js +0 -30
  346. package/dist/cjs/src/migration/to/v3.23.0.js +0 -12
  347. package/dist/cjs/src/migration/to/v3.24.0.js +0 -13
  348. package/dist/cjs/src/migration/to/v3.25.0.js +0 -13
  349. package/dist/cjs/src/migration/to/v3.26.0.js +0 -12
  350. package/dist/cjs/src/migration/to/v3.27.0.js +0 -12
  351. package/dist/cjs/src/migration/to/v3.28.0.js +0 -12
  352. package/dist/cjs/src/migration/to/v3.29.0.js +0 -12
  353. package/dist/cjs/src/migration/to/v3.3.0.js +0 -15
  354. package/dist/cjs/src/migration/to/v3.30.0.js +0 -12
  355. package/dist/cjs/src/migration/to/v3.31.0.js +0 -43
  356. package/dist/cjs/src/migration/to/v3.32.0.js +0 -61
  357. package/dist/cjs/src/migration/to/v3.33.0.js +0 -12
  358. package/dist/cjs/src/migration/to/v3.34.0.js +0 -123
  359. package/dist/cjs/src/migration/to/v3.35.0.js +0 -12
  360. package/dist/cjs/src/migration/to/v3.36.0.js +0 -27
  361. package/dist/cjs/src/migration/to/v3.37.0.js +0 -12
  362. package/dist/cjs/src/migration/to/v3.38.0.js +0 -12
  363. package/dist/cjs/src/migration/to/v3.39.0.js +0 -47
  364. package/dist/cjs/src/migration/to/v3.4.0.js +0 -12
  365. package/dist/cjs/src/migration/to/v3.40.0.js +0 -31
  366. package/dist/cjs/src/migration/to/v3.41.0.js +0 -12
  367. package/dist/cjs/src/migration/to/v3.42.0.js +0 -12
  368. package/dist/cjs/src/migration/to/v3.43.0.js +0 -12
  369. package/dist/cjs/src/migration/to/v3.44.0.js +0 -12
  370. package/dist/cjs/src/migration/to/v3.45.0.js +0 -12
  371. package/dist/cjs/src/migration/to/v3.46.0.js +0 -37
  372. package/dist/cjs/src/migration/to/v3.47.0.js +0 -12
  373. package/dist/cjs/src/migration/to/v3.48.0.js +0 -12
  374. package/dist/cjs/src/migration/to/v3.49.0.js +0 -12
  375. package/dist/cjs/src/migration/to/v3.5.0.js +0 -12
  376. package/dist/cjs/src/migration/to/v3.5.1.js +0 -12
  377. package/dist/cjs/src/migration/to/v3.50.0.js +0 -12
  378. package/dist/cjs/src/migration/to/v3.51.0.js +0 -12
  379. package/dist/cjs/src/migration/to/v3.6.0.js +0 -12
  380. package/dist/cjs/src/migration/to/v3.7.0.js +0 -12
  381. package/dist/cjs/src/migration/to/v3.8.0.js +0 -12
  382. package/dist/cjs/src/migration/to/v3.9.0.js +0 -84
  383. package/dist/cjs/src/migration/types.js +0 -2
  384. package/dist/cjs/src/migration/utils.js +0 -10
  385. package/dist/cjs/src/mocks.js +0 -65
  386. package/dist/cjs/src/models/project-schema.js +0 -99
  387. package/dist/cjs/src/models/query.js +0 -35
  388. package/dist/cjs/src/models/service.js +0 -24
  389. package/dist/cjs/src/models/shape.js +0 -89
  390. package/dist/cjs/src/patterns.js +0 -2
  391. package/dist/cjs/src/project-schema/index.js +0 -156
  392. package/dist/cjs/src/project-schema/latest.js +0 -8
  393. package/dist/cjs/src/project-schema/migrate.js +0 -198
  394. package/dist/cjs/src/project-schema/v1.0.0.js +0 -8
  395. package/dist/cjs/src/project-schema/v3.0.0.js +0 -8
  396. package/dist/cjs/src/project-schema/v3.1.0.js +0 -8
  397. package/dist/cjs/src/project-schema/v3.10.0.js +0 -8
  398. package/dist/cjs/src/project-schema/v3.11.0.js +0 -8
  399. package/dist/cjs/src/project-schema/v3.12.0.js +0 -8
  400. package/dist/cjs/src/project-schema/v3.12.1.js +0 -8
  401. package/dist/cjs/src/project-schema/v3.12.2.js +0 -8
  402. package/dist/cjs/src/project-schema/v3.12.3.js +0 -8
  403. package/dist/cjs/src/project-schema/v3.13.0.js +0 -8
  404. package/dist/cjs/src/project-schema/v3.13.1.js +0 -8
  405. package/dist/cjs/src/project-schema/v3.14.0.js +0 -8
  406. package/dist/cjs/src/project-schema/v3.15.0.js +0 -8
  407. package/dist/cjs/src/project-schema/v3.16.0.js +0 -8
  408. package/dist/cjs/src/project-schema/v3.17.0.js +0 -8
  409. package/dist/cjs/src/project-schema/v3.17.1.js +0 -8
  410. package/dist/cjs/src/project-schema/v3.18.0.js +0 -8
  411. package/dist/cjs/src/project-schema/v3.18.1.js +0 -8
  412. package/dist/cjs/src/project-schema/v3.18.2.js +0 -8
  413. package/dist/cjs/src/project-schema/v3.19.0.js +0 -8
  414. package/dist/cjs/src/project-schema/v3.2.0.js +0 -8
  415. package/dist/cjs/src/project-schema/v3.20.0.js +0 -8
  416. package/dist/cjs/src/project-schema/v3.21.0.js +0 -8
  417. package/dist/cjs/src/project-schema/v3.22.0.js +0 -8
  418. package/dist/cjs/src/project-schema/v3.23.0.js +0 -8
  419. package/dist/cjs/src/project-schema/v3.24.0.js +0 -8
  420. package/dist/cjs/src/project-schema/v3.25.0.js +0 -8
  421. package/dist/cjs/src/project-schema/v3.26.0.js +0 -8
  422. package/dist/cjs/src/project-schema/v3.27.0.js +0 -8
  423. package/dist/cjs/src/project-schema/v3.28.0.js +0 -8
  424. package/dist/cjs/src/project-schema/v3.29.0.js +0 -8
  425. package/dist/cjs/src/project-schema/v3.3.0.js +0 -8
  426. package/dist/cjs/src/project-schema/v3.30.0.js +0 -8
  427. package/dist/cjs/src/project-schema/v3.31.0.js +0 -8
  428. package/dist/cjs/src/project-schema/v3.32.0.js +0 -8
  429. package/dist/cjs/src/project-schema/v3.33.0.js +0 -8
  430. package/dist/cjs/src/project-schema/v3.34.0.js +0 -8
  431. package/dist/cjs/src/project-schema/v3.35.0.js +0 -8
  432. package/dist/cjs/src/project-schema/v3.36.0.js +0 -8
  433. package/dist/cjs/src/project-schema/v3.37.0.js +0 -8
  434. package/dist/cjs/src/project-schema/v3.38.0.js +0 -8
  435. package/dist/cjs/src/project-schema/v3.39.0.js +0 -8
  436. package/dist/cjs/src/project-schema/v3.4.0.js +0 -8
  437. package/dist/cjs/src/project-schema/v3.40.0.js +0 -8
  438. package/dist/cjs/src/project-schema/v3.41.0.js +0 -8
  439. package/dist/cjs/src/project-schema/v3.42.0.js +0 -8
  440. package/dist/cjs/src/project-schema/v3.43.0.js +0 -8
  441. package/dist/cjs/src/project-schema/v3.44.0.js +0 -8
  442. package/dist/cjs/src/project-schema/v3.45.0.js +0 -8
  443. package/dist/cjs/src/project-schema/v3.46.0.js +0 -8
  444. package/dist/cjs/src/project-schema/v3.47.0.js +0 -8
  445. package/dist/cjs/src/project-schema/v3.48.0.js +0 -8
  446. package/dist/cjs/src/project-schema/v3.49.0.js +0 -8
  447. package/dist/cjs/src/project-schema/v3.5.0.js +0 -8
  448. package/dist/cjs/src/project-schema/v3.5.1.js +0 -8
  449. package/dist/cjs/src/project-schema/v3.50.0.js +0 -8
  450. package/dist/cjs/src/project-schema/v3.51.0.js +0 -8
  451. package/dist/cjs/src/project-schema/v3.6.0.js +0 -8
  452. package/dist/cjs/src/project-schema/v3.7.0.js +0 -8
  453. package/dist/cjs/src/project-schema/v3.8.0.js +0 -8
  454. package/dist/cjs/src/project-schema/v3.9.0.js +0 -8
  455. package/dist/cjs/src/project-schema/v4.0.0.js +0 -8
  456. package/dist/cjs/src/refs.js +0 -671
  457. package/dist/cjs/src/relationships.js +0 -326
  458. package/dist/cjs/src/runtime-schema.js +0 -88
  459. package/dist/cjs/src/scalars.js +0 -8
  460. package/dist/cjs/src/schema-transform.js +0 -83
  461. package/dist/cjs/src/schema-util.js +0 -1140
  462. package/dist/cjs/src/schemas/auth-schemas.json +0 -313
  463. package/dist/cjs/src/schemas/index.js +0 -162
  464. package/dist/cjs/src/schemas/user-schema.json +0 -51
  465. package/dist/cjs/src/service-dependencies.js +0 -172
  466. package/dist/cjs/src/services/services.js +0 -156
  467. package/dist/cjs/src/services/types.js +0 -2
  468. package/dist/cjs/src/services/util.js +0 -45
  469. package/dist/cjs/src/taxonomies.js +0 -28
  470. package/dist/cjs/src/template-shapes/index.js +0 -37
  471. package/dist/cjs/src/template-shapes/names.js +0 -26
  472. package/dist/cjs/src/template-shapes/templates.js +0 -331
  473. package/dist/cjs/src/template-shapes/types.js +0 -10
  474. package/dist/cjs/src/template-shapes/where.js +0 -414
  475. package/dist/cjs/src/types/index.js +0 -19
  476. package/dist/cjs/src/types/transforms.js +0 -2
  477. package/dist/cjs/src/types/types.js +0 -21
  478. package/dist/cjs/src/types/utils.js +0 -344
  479. package/dist/cjs/src/unions.js +0 -88
  480. package/dist/cjs/src/user-schema.js +0 -8
  481. package/dist/cjs/src/util/ai-tools.js +0 -10
  482. package/dist/cjs/src/util/api-indexing.js +0 -62
  483. package/dist/cjs/src/util/detect-cycles.js +0 -48
  484. package/dist/cjs/src/util/find-shape-at-path.js +0 -57
  485. package/dist/cjs/src/util/form-config.js +0 -66
  486. package/dist/cjs/src/util/get-conflicting-properties.js +0 -58
  487. package/dist/cjs/src/util/get-return-shape.js +0 -34
  488. package/dist/cjs/src/util/has-arg.js +0 -17
  489. package/dist/cjs/src/util/merge.js +0 -269
  490. package/dist/cjs/src/util/patch-schema.js +0 -55
  491. package/dist/cjs/src/util/shapes.js +0 -31
  492. package/dist/cjs/src/validate.js +0 -1140
  493. package/dist/cjs/src/versions.js +0 -8
  494. package/dist/cjs/src/workflows.js +0 -76
  495. package/dist/cjs/tsconfig.cjs.tsbuildinfo +0 -1
  496. package/dist/esm/package.json +0 -1
  497. package/dist/esm/src/content-schema-transform.js +0 -162
  498. package/dist/esm/src/flatten-templates.js +0 -20
  499. package/dist/esm/src/get-is-leaf.js +0 -56
  500. package/dist/esm/src/index.js +0 -46
  501. package/dist/esm/src/interfaces.js +0 -85
  502. package/dist/esm/src/layers/layers.js +0 -301
  503. package/dist/esm/src/layers/refs.js +0 -220
  504. package/dist/esm/src/layers/type-utils.js +0 -118
  505. package/dist/esm/src/layers/visitor.js +0 -38
  506. package/dist/esm/src/migration/index.js +0 -122
  507. package/dist/esm/src/migration/to/v3.0.0.js +0 -212
  508. package/dist/esm/src/migration/to/v3.1.0.js +0 -194
  509. package/dist/esm/src/migration/to/v3.32.0.js +0 -59
  510. package/dist/esm/src/migration/to/v3.34.0.js +0 -116
  511. package/dist/esm/src/migration/to/v3.39.0.js +0 -45
  512. package/dist/esm/src/mocks.js +0 -58
  513. package/dist/esm/src/models/project-schema.js +0 -92
  514. package/dist/esm/src/models/shape.js +0 -85
  515. package/dist/esm/src/project-schema/index.js +0 -138
  516. package/dist/esm/src/project-schema/migrate.js +0 -194
  517. package/dist/esm/src/refs.js +0 -608
  518. package/dist/esm/src/relationships.js +0 -311
  519. package/dist/esm/src/runtime-schema.js +0 -80
  520. package/dist/esm/src/schema-transform.js +0 -74
  521. package/dist/esm/src/schema-util.js +0 -1077
  522. package/dist/esm/src/schemas/auth-schemas.json +0 -313
  523. package/dist/esm/src/schemas/index.js +0 -154
  524. package/dist/esm/src/schemas/project-schema/experimental.json +0 -1101
  525. package/dist/esm/src/schemas/project-schema/latest.json +0 -3320
  526. package/dist/esm/src/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
  527. package/dist/esm/src/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
  528. package/dist/esm/src/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
  529. package/dist/esm/src/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
  530. package/dist/esm/src/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
  531. package/dist/esm/src/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
  532. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
  533. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
  534. package/dist/esm/src/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
  535. package/dist/esm/src/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
  536. package/dist/esm/src/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
  537. package/dist/esm/src/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
  538. package/dist/esm/src/schemas/project-schema/v1.0.0.json +0 -321
  539. package/dist/esm/src/schemas/project-schema/v3.0.0.json +0 -414
  540. package/dist/esm/src/schemas/project-schema/v3.1.0.json +0 -572
  541. package/dist/esm/src/schemas/project-schema/v3.10.0.json +0 -2097
  542. package/dist/esm/src/schemas/project-schema/v3.11.0.json +0 -2141
  543. package/dist/esm/src/schemas/project-schema/v3.12.0.json +0 -2144
  544. package/dist/esm/src/schemas/project-schema/v3.12.1.json +0 -2282
  545. package/dist/esm/src/schemas/project-schema/v3.12.2.json +0 -2304
  546. package/dist/esm/src/schemas/project-schema/v3.12.3.json +0 -2357
  547. package/dist/esm/src/schemas/project-schema/v3.13.0.json +0 -2377
  548. package/dist/esm/src/schemas/project-schema/v3.14.0.json +0 -2385
  549. package/dist/esm/src/schemas/project-schema/v3.15.0.json +0 -2365
  550. package/dist/esm/src/schemas/project-schema/v3.16.0.json +0 -2373
  551. package/dist/esm/src/schemas/project-schema/v3.17.0.json +0 -2378
  552. package/dist/esm/src/schemas/project-schema/v3.17.1.json +0 -2380
  553. package/dist/esm/src/schemas/project-schema/v3.18.0.json +0 -2356
  554. package/dist/esm/src/schemas/project-schema/v3.18.1.json +0 -2357
  555. package/dist/esm/src/schemas/project-schema/v3.18.2.json +0 -2357
  556. package/dist/esm/src/schemas/project-schema/v3.19.0.json +0 -2369
  557. package/dist/esm/src/schemas/project-schema/v3.2.0.json +0 -580
  558. package/dist/esm/src/schemas/project-schema/v3.20.0.json +0 -2369
  559. package/dist/esm/src/schemas/project-schema/v3.21.0.json +0 -2376
  560. package/dist/esm/src/schemas/project-schema/v3.22.0.json +0 -2381
  561. package/dist/esm/src/schemas/project-schema/v3.23.0.json +0 -2456
  562. package/dist/esm/src/schemas/project-schema/v3.24.0.json +0 -2556
  563. package/dist/esm/src/schemas/project-schema/v3.25.0.json +0 -2552
  564. package/dist/esm/src/schemas/project-schema/v3.26.0.json +0 -2599
  565. package/dist/esm/src/schemas/project-schema/v3.27.0.json +0 -2611
  566. package/dist/esm/src/schemas/project-schema/v3.28.0.json +0 -2656
  567. package/dist/esm/src/schemas/project-schema/v3.29.0.json +0 -2670
  568. package/dist/esm/src/schemas/project-schema/v3.3.0.json +0 -581
  569. package/dist/esm/src/schemas/project-schema/v3.30.0.json +0 -2656
  570. package/dist/esm/src/schemas/project-schema/v3.31.0.json +0 -2714
  571. package/dist/esm/src/schemas/project-schema/v3.32.0.json +0 -2708
  572. package/dist/esm/src/schemas/project-schema/v3.33.0.json +0 -2715
  573. package/dist/esm/src/schemas/project-schema/v3.34.0.json +0 -2715
  574. package/dist/esm/src/schemas/project-schema/v3.35.0.json +0 -2748
  575. package/dist/esm/src/schemas/project-schema/v3.36.0.json +0 -2756
  576. package/dist/esm/src/schemas/project-schema/v3.37.0.json +0 -2821
  577. package/dist/esm/src/schemas/project-schema/v3.38.0.json +0 -2819
  578. package/dist/esm/src/schemas/project-schema/v3.39.0.json +0 -2827
  579. package/dist/esm/src/schemas/project-schema/v3.4.0.json +0 -571
  580. package/dist/esm/src/schemas/project-schema/v3.40.0.json +0 -2830
  581. package/dist/esm/src/schemas/project-schema/v3.41.0.json +0 -2830
  582. package/dist/esm/src/schemas/project-schema/v3.42.0.json +0 -2835
  583. package/dist/esm/src/schemas/project-schema/v3.43.0.json +0 -2841
  584. package/dist/esm/src/schemas/project-schema/v3.44.0.json +0 -3013
  585. package/dist/esm/src/schemas/project-schema/v3.45.0.json +0 -3064
  586. package/dist/esm/src/schemas/project-schema/v3.46.0.json +0 -3136
  587. package/dist/esm/src/schemas/project-schema/v3.47.0.json +0 -3189
  588. package/dist/esm/src/schemas/project-schema/v3.48.0.json +0 -3196
  589. package/dist/esm/src/schemas/project-schema/v3.49.0.json +0 -3239
  590. package/dist/esm/src/schemas/project-schema/v3.5.0.json +0 -571
  591. package/dist/esm/src/schemas/project-schema/v3.5.1.json +0 -571
  592. package/dist/esm/src/schemas/project-schema/v3.50.0.json +0 -3320
  593. package/dist/esm/src/schemas/project-schema/v3.51.0.json +0 -3320
  594. package/dist/esm/src/schemas/project-schema/v3.6.0.json +0 -587
  595. package/dist/esm/src/schemas/project-schema/v3.7.0.json +0 -587
  596. package/dist/esm/src/schemas/project-schema/v3.8.0.json +0 -604
  597. package/dist/esm/src/schemas/project-schema/v3.9.0.json +0 -604
  598. package/dist/esm/src/schemas/project-schema/v4.0.0.json +0 -2316
  599. package/dist/esm/src/schemas/project-schema.json +0 -190
  600. package/dist/esm/src/schemas/user-schema.json +0 -51
  601. package/dist/esm/src/service-dependencies.js +0 -165
  602. package/dist/esm/src/services/services.js +0 -145
  603. package/dist/esm/src/taxonomies.js +0 -24
  604. package/dist/esm/src/template-shapes/templates.js +0 -319
  605. package/dist/esm/src/template-shapes/where.js +0 -402
  606. package/dist/esm/src/types/index.js +0 -3
  607. package/dist/esm/src/types/utils.js +0 -279
  608. package/dist/esm/src/unions.js +0 -77
  609. package/dist/esm/src/user-schema.js +0 -7
  610. package/dist/esm/src/util/api-indexing.js +0 -57
  611. package/dist/esm/src/util/detect-cycles.js +0 -45
  612. package/dist/esm/src/util/form-config.js +0 -62
  613. package/dist/esm/src/util/get-conflicting-properties.js +0 -55
  614. package/dist/esm/src/util/get-return-shape.js +0 -30
  615. package/dist/esm/src/util/has-arg.js +0 -13
  616. package/dist/esm/src/util/merge.js +0 -256
  617. package/dist/esm/src/validate.js +0 -1126
  618. package/dist/esm/src/versions.js +0 -4
  619. package/dist/esm/src/workflows.js +0 -66
  620. package/dist/esm/tsconfig.esm.tsbuildinfo +0 -1
  621. package/dist/types/src/agents.d.ts +0 -14
  622. package/dist/types/src/auth-schemas.d.ts +0 -104
  623. package/dist/types/src/builtin-schema.d.ts +0 -8
  624. package/dist/types/src/content-schema-transform.d.ts +0 -35
  625. package/dist/types/src/create-input-schema.d.ts +0 -9
  626. package/dist/types/src/enum.d.ts +0 -2
  627. package/dist/types/src/flatten-templates.d.ts +0 -2
  628. package/dist/types/src/get-is-leaf.d.ts +0 -3
  629. package/dist/types/src/index.d.ts +0 -48
  630. package/dist/types/src/interfaces.d.ts +0 -12
  631. package/dist/types/src/layers/layers.d.ts +0 -26
  632. package/dist/types/src/layers/refs.d.ts +0 -102
  633. package/dist/types/src/layers/type-utils.d.ts +0 -59
  634. package/dist/types/src/layers/visitor.d.ts +0 -5
  635. package/dist/types/src/migration/index.d.ts +0 -64
  636. package/dist/types/src/migration/to/v3.0.0.d.ts +0 -4
  637. package/dist/types/src/migration/to/v3.1.0.d.ts +0 -4
  638. package/dist/types/src/migration/to/v3.10.0.d.ts +0 -4
  639. package/dist/types/src/migration/to/v3.11.0.d.ts +0 -4
  640. package/dist/types/src/migration/to/v3.12.0.d.ts +0 -4
  641. package/dist/types/src/migration/to/v3.12.1.d.ts +0 -4
  642. package/dist/types/src/migration/to/v3.12.2.d.ts +0 -4
  643. package/dist/types/src/migration/to/v3.12.3.d.ts +0 -4
  644. package/dist/types/src/migration/to/v3.13.0.d.ts +0 -4
  645. package/dist/types/src/migration/to/v3.14.0.d.ts +0 -4
  646. package/dist/types/src/migration/to/v3.15.0.d.ts +0 -4
  647. package/dist/types/src/migration/to/v3.16.0.d.ts +0 -4
  648. package/dist/types/src/migration/to/v3.17.0.d.ts +0 -4
  649. package/dist/types/src/migration/to/v3.17.1.d.ts +0 -4
  650. package/dist/types/src/migration/to/v3.18.0.d.ts +0 -4
  651. package/dist/types/src/migration/to/v3.18.1.d.ts +0 -4
  652. package/dist/types/src/migration/to/v3.18.2.d.ts +0 -4
  653. package/dist/types/src/migration/to/v3.19.0.d.ts +0 -4
  654. package/dist/types/src/migration/to/v3.2.0.d.ts +0 -4
  655. package/dist/types/src/migration/to/v3.20.0.d.ts +0 -4
  656. package/dist/types/src/migration/to/v3.21.0.d.ts +0 -4
  657. package/dist/types/src/migration/to/v3.22.0.d.ts +0 -4
  658. package/dist/types/src/migration/to/v3.23.0.d.ts +0 -4
  659. package/dist/types/src/migration/to/v3.24.0.d.ts +0 -4
  660. package/dist/types/src/migration/to/v3.25.0.d.ts +0 -4
  661. package/dist/types/src/migration/to/v3.26.0.d.ts +0 -4
  662. package/dist/types/src/migration/to/v3.27.0.d.ts +0 -4
  663. package/dist/types/src/migration/to/v3.28.0.d.ts +0 -4
  664. package/dist/types/src/migration/to/v3.29.0.d.ts +0 -4
  665. package/dist/types/src/migration/to/v3.3.0.d.ts +0 -4
  666. package/dist/types/src/migration/to/v3.30.0.d.ts +0 -4
  667. package/dist/types/src/migration/to/v3.31.0.d.ts +0 -4
  668. package/dist/types/src/migration/to/v3.32.0.d.ts +0 -4
  669. package/dist/types/src/migration/to/v3.33.0.d.ts +0 -4
  670. package/dist/types/src/migration/to/v3.34.0.d.ts +0 -6
  671. package/dist/types/src/migration/to/v3.35.0.d.ts +0 -4
  672. package/dist/types/src/migration/to/v3.36.0.d.ts +0 -4
  673. package/dist/types/src/migration/to/v3.37.0.d.ts +0 -4
  674. package/dist/types/src/migration/to/v3.38.0.d.ts +0 -4
  675. package/dist/types/src/migration/to/v3.39.0.d.ts +0 -4
  676. package/dist/types/src/migration/to/v3.4.0.d.ts +0 -4
  677. package/dist/types/src/migration/to/v3.40.0.d.ts +0 -4
  678. package/dist/types/src/migration/to/v3.41.0.d.ts +0 -4
  679. package/dist/types/src/migration/to/v3.42.0.d.ts +0 -4
  680. package/dist/types/src/migration/to/v3.43.0.d.ts +0 -4
  681. package/dist/types/src/migration/to/v3.44.0.d.ts +0 -4
  682. package/dist/types/src/migration/to/v3.45.0.d.ts +0 -4
  683. package/dist/types/src/migration/to/v3.46.0.d.ts +0 -4
  684. package/dist/types/src/migration/to/v3.47.0.d.ts +0 -4
  685. package/dist/types/src/migration/to/v3.48.0.d.ts +0 -4
  686. package/dist/types/src/migration/to/v3.49.0.d.ts +0 -4
  687. package/dist/types/src/migration/to/v3.5.0.d.ts +0 -4
  688. package/dist/types/src/migration/to/v3.5.1.d.ts +0 -4
  689. package/dist/types/src/migration/to/v3.50.0.d.ts +0 -4
  690. package/dist/types/src/migration/to/v3.51.0.d.ts +0 -4
  691. package/dist/types/src/migration/to/v3.6.0.d.ts +0 -4
  692. package/dist/types/src/migration/to/v3.7.0.d.ts +0 -4
  693. package/dist/types/src/migration/to/v3.8.0.d.ts +0 -4
  694. package/dist/types/src/migration/to/v3.9.0.d.ts +0 -4
  695. package/dist/types/src/migration/types.d.ts +0 -19
  696. package/dist/types/src/mocks.d.ts +0 -13
  697. package/dist/types/src/models/project-schema.d.ts +0 -35
  698. package/dist/types/src/models/query.d.ts +0 -17
  699. package/dist/types/src/models/service.d.ts +0 -12
  700. package/dist/types/src/models/shape.d.ts +0 -41
  701. package/dist/types/src/project-schema/index.d.ts +0 -187
  702. package/dist/types/src/project-schema/migrate.d.ts +0 -4
  703. package/dist/types/src/refs.d.ts +0 -226
  704. package/dist/types/src/relationships.d.ts +0 -40
  705. package/dist/types/src/runtime-schema.d.ts +0 -5
  706. package/dist/types/src/schema-transform.d.ts +0 -19
  707. package/dist/types/src/schema-util.d.ts +0 -210
  708. package/dist/types/src/service-dependencies.d.ts +0 -13
  709. package/dist/types/src/services/services.d.ts +0 -31
  710. package/dist/types/src/services/util.d.ts +0 -16
  711. package/dist/types/src/taxonomies.d.ts +0 -15
  712. package/dist/types/src/template-shapes/index.d.ts +0 -7
  713. package/dist/types/src/template-shapes/names.d.ts +0 -10
  714. package/dist/types/src/template-shapes/templates.d.ts +0 -32
  715. package/dist/types/src/template-shapes/types.d.ts +0 -15
  716. package/dist/types/src/template-shapes/where.d.ts +0 -37
  717. package/dist/types/src/types/index.d.ts +0 -3
  718. package/dist/types/src/types/transforms.d.ts +0 -13
  719. package/dist/types/src/types/types.d.ts +0 -211
  720. package/dist/types/src/types/utils.d.ts +0 -117
  721. package/dist/types/src/unions.d.ts +0 -14
  722. package/dist/types/src/user-schema.d.ts +0 -38
  723. package/dist/types/src/util/ai-tools.d.ts +0 -3
  724. package/dist/types/src/util/api-indexing.d.ts +0 -9
  725. package/dist/types/src/util/detect-cycles.d.ts +0 -7
  726. package/dist/types/src/util/find-shape-at-path.d.ts +0 -21
  727. package/dist/types/src/util/form-config.d.ts +0 -11
  728. package/dist/types/src/util/get-conflicting-properties.d.ts +0 -6
  729. package/dist/types/src/util/get-return-shape.d.ts +0 -4
  730. package/dist/types/src/util/has-arg.d.ts +0 -4
  731. package/dist/types/src/util/merge.d.ts +0 -15
  732. package/dist/types/src/util/patch-schema.d.ts +0 -8
  733. package/dist/types/src/util/shapes.d.ts +0 -5
  734. package/dist/types/src/validate.d.ts +0 -75
  735. package/dist/types/src/versions.d.ts +0 -4
  736. package/dist/types/src/workflows.d.ts +0 -14
  737. package/dist/types/tsconfig.types.tsbuildinfo +0 -1
  738. /package/dist/{esm/src/migration/types.js → __tests__/_examples.test.d.ts} +0 -0
  739. /package/dist/{esm/src/patterns.js → __tests__/agents.test.d.ts} +0 -0
  740. /package/dist/{esm/src/services/types.js → __tests__/api-version.test.d.ts} +0 -0
  741. /package/dist/{esm/src/types/transforms.js → __tests__/builtin-schema.test.d.ts} +0 -0
  742. /package/dist/{esm/src/agents.js → agents.js} +0 -0
  743. /package/dist/{types/src/api-version.d.ts → api-version.d.ts} +0 -0
  744. /package/dist/{esm/src/api-version.js → api-version.js} +0 -0
  745. /package/dist/{esm/src/auth-schemas.js → auth-schemas.js} +0 -0
  746. /package/dist/{esm/src/builtin-schema.js → builtin-schema.js} +0 -0
  747. /package/dist/{types/src/constants.d.ts → constants.d.ts} +0 -0
  748. /package/dist/{esm/src/constants.js → constants.js} +0 -0
  749. /package/dist/{esm/src/create-input-schema.js → create-input-schema.js} +0 -0
  750. /package/dist/{esm/src/enum.js → enum.js} +0 -0
  751. /package/dist/{esm/src/migration → migration}/to/v3.10.0.js +0 -0
  752. /package/dist/{esm/src/migration → migration}/to/v3.11.0.js +0 -0
  753. /package/dist/{esm/src/migration → migration}/to/v3.12.0.js +0 -0
  754. /package/dist/{esm/src/migration → migration}/to/v3.12.1.js +0 -0
  755. /package/dist/{esm/src/migration → migration}/to/v3.12.2.js +0 -0
  756. /package/dist/{esm/src/migration → migration}/to/v3.12.3.js +0 -0
  757. /package/dist/{esm/src/migration → migration}/to/v3.13.0.js +0 -0
  758. /package/dist/{esm/src/migration → migration}/to/v3.14.0.js +0 -0
  759. /package/dist/{esm/src/migration → migration}/to/v3.15.0.js +0 -0
  760. /package/dist/{esm/src/migration → migration}/to/v3.16.0.js +0 -0
  761. /package/dist/{esm/src/migration → migration}/to/v3.17.0.js +0 -0
  762. /package/dist/{esm/src/migration → migration}/to/v3.17.1.js +0 -0
  763. /package/dist/{esm/src/migration → migration}/to/v3.18.0.js +0 -0
  764. /package/dist/{esm/src/migration → migration}/to/v3.18.1.js +0 -0
  765. /package/dist/{esm/src/migration → migration}/to/v3.18.2.js +0 -0
  766. /package/dist/{esm/src/migration → migration}/to/v3.19.0.js +0 -0
  767. /package/dist/{esm/src/migration → migration}/to/v3.2.0.js +0 -0
  768. /package/dist/{esm/src/migration → migration}/to/v3.20.0.js +0 -0
  769. /package/dist/{esm/src/migration → migration}/to/v3.21.0.js +0 -0
  770. /package/dist/{esm/src/migration → migration}/to/v3.22.0.js +0 -0
  771. /package/dist/{esm/src/migration → migration}/to/v3.23.0.js +0 -0
  772. /package/dist/{esm/src/migration → migration}/to/v3.24.0.js +0 -0
  773. /package/dist/{esm/src/migration → migration}/to/v3.25.0.js +0 -0
  774. /package/dist/{esm/src/migration → migration}/to/v3.26.0.js +0 -0
  775. /package/dist/{esm/src/migration → migration}/to/v3.27.0.js +0 -0
  776. /package/dist/{esm/src/migration → migration}/to/v3.28.0.js +0 -0
  777. /package/dist/{esm/src/migration → migration}/to/v3.29.0.js +0 -0
  778. /package/dist/{esm/src/migration → migration}/to/v3.3.0.js +0 -0
  779. /package/dist/{esm/src/migration → migration}/to/v3.30.0.js +0 -0
  780. /package/dist/{esm/src/migration → migration}/to/v3.31.0.js +0 -0
  781. /package/dist/{esm/src/migration → migration}/to/v3.33.0.js +0 -0
  782. /package/dist/{esm/src/migration → migration}/to/v3.35.0.js +0 -0
  783. /package/dist/{esm/src/migration → migration}/to/v3.36.0.js +0 -0
  784. /package/dist/{esm/src/migration → migration}/to/v3.37.0.js +0 -0
  785. /package/dist/{esm/src/migration → migration}/to/v3.38.0.js +0 -0
  786. /package/dist/{esm/src/migration → migration}/to/v3.4.0.js +0 -0
  787. /package/dist/{esm/src/migration → migration}/to/v3.40.0.js +0 -0
  788. /package/dist/{esm/src/migration → migration}/to/v3.41.0.js +0 -0
  789. /package/dist/{esm/src/migration → migration}/to/v3.42.0.js +0 -0
  790. /package/dist/{esm/src/migration → migration}/to/v3.43.0.js +0 -0
  791. /package/dist/{esm/src/migration → migration}/to/v3.44.0.js +0 -0
  792. /package/dist/{esm/src/migration → migration}/to/v3.45.0.js +0 -0
  793. /package/dist/{esm/src/migration → migration}/to/v3.46.0.js +0 -0
  794. /package/dist/{esm/src/migration → migration}/to/v3.47.0.js +0 -0
  795. /package/dist/{esm/src/migration → migration}/to/v3.48.0.js +0 -0
  796. /package/dist/{esm/src/migration → migration}/to/v3.49.0.js +0 -0
  797. /package/dist/{esm/src/migration → migration}/to/v3.5.0.js +0 -0
  798. /package/dist/{esm/src/migration → migration}/to/v3.5.1.js +0 -0
  799. /package/dist/{esm/src/migration → migration}/to/v3.50.0.js +0 -0
  800. /package/dist/{esm/src/migration → migration}/to/v3.51.0.js +0 -0
  801. /package/dist/{esm/src/migration → migration}/to/v3.6.0.js +0 -0
  802. /package/dist/{esm/src/migration → migration}/to/v3.7.0.js +0 -0
  803. /package/dist/{esm/src/migration → migration}/to/v3.8.0.js +0 -0
  804. /package/dist/{esm/src/migration → migration}/to/v3.9.0.js +0 -0
  805. /package/dist/{types/src/migration → migration}/utils.d.ts +0 -0
  806. /package/dist/{esm/src/migration → migration}/utils.js +0 -0
  807. /package/dist/{esm/src/models → models}/query.js +0 -0
  808. /package/dist/{esm/src/models → models}/service.js +0 -0
  809. /package/dist/{types/src/patterns.d.ts → patterns.d.ts} +0 -0
  810. /package/dist/{types/src/project-schema → project-schema}/latest.d.ts +0 -0
  811. /package/dist/{esm/src/project-schema → project-schema}/latest.js +0 -0
  812. /package/dist/{types/src/project-schema → project-schema}/v1.0.0.d.ts +0 -0
  813. /package/dist/{esm/src/project-schema → project-schema}/v1.0.0.js +0 -0
  814. /package/dist/{types/src/project-schema → project-schema}/v3.0.0.d.ts +0 -0
  815. /package/dist/{esm/src/project-schema → project-schema}/v3.0.0.js +0 -0
  816. /package/dist/{types/src/project-schema → project-schema}/v3.1.0.d.ts +0 -0
  817. /package/dist/{esm/src/project-schema → project-schema}/v3.1.0.js +0 -0
  818. /package/dist/{types/src/project-schema → project-schema}/v3.10.0.d.ts +0 -0
  819. /package/dist/{esm/src/project-schema → project-schema}/v3.10.0.js +0 -0
  820. /package/dist/{types/src/project-schema → project-schema}/v3.11.0.d.ts +0 -0
  821. /package/dist/{esm/src/project-schema → project-schema}/v3.11.0.js +0 -0
  822. /package/dist/{types/src/project-schema → project-schema}/v3.12.0.d.ts +0 -0
  823. /package/dist/{esm/src/project-schema → project-schema}/v3.12.0.js +0 -0
  824. /package/dist/{types/src/project-schema → project-schema}/v3.12.1.d.ts +0 -0
  825. /package/dist/{esm/src/project-schema → project-schema}/v3.12.1.js +0 -0
  826. /package/dist/{types/src/project-schema → project-schema}/v3.12.2.d.ts +0 -0
  827. /package/dist/{esm/src/project-schema → project-schema}/v3.12.2.js +0 -0
  828. /package/dist/{types/src/project-schema → project-schema}/v3.12.3.d.ts +0 -0
  829. /package/dist/{esm/src/project-schema → project-schema}/v3.12.3.js +0 -0
  830. /package/dist/{types/src/project-schema → project-schema}/v3.13.0.d.ts +0 -0
  831. /package/dist/{esm/src/project-schema → project-schema}/v3.13.0.js +0 -0
  832. /package/dist/{types/src/project-schema → project-schema}/v3.13.1.d.ts +0 -0
  833. /package/dist/{esm/src/project-schema → project-schema}/v3.13.1.js +0 -0
  834. /package/dist/{types/src/project-schema → project-schema}/v3.14.0.d.ts +0 -0
  835. /package/dist/{esm/src/project-schema → project-schema}/v3.14.0.js +0 -0
  836. /package/dist/{types/src/project-schema → project-schema}/v3.15.0.d.ts +0 -0
  837. /package/dist/{esm/src/project-schema → project-schema}/v3.15.0.js +0 -0
  838. /package/dist/{types/src/project-schema → project-schema}/v3.16.0.d.ts +0 -0
  839. /package/dist/{esm/src/project-schema → project-schema}/v3.16.0.js +0 -0
  840. /package/dist/{types/src/project-schema → project-schema}/v3.17.0.d.ts +0 -0
  841. /package/dist/{esm/src/project-schema → project-schema}/v3.17.0.js +0 -0
  842. /package/dist/{types/src/project-schema → project-schema}/v3.17.1.d.ts +0 -0
  843. /package/dist/{esm/src/project-schema → project-schema}/v3.17.1.js +0 -0
  844. /package/dist/{types/src/project-schema → project-schema}/v3.18.0.d.ts +0 -0
  845. /package/dist/{esm/src/project-schema → project-schema}/v3.18.0.js +0 -0
  846. /package/dist/{types/src/project-schema → project-schema}/v3.18.1.d.ts +0 -0
  847. /package/dist/{esm/src/project-schema → project-schema}/v3.18.1.js +0 -0
  848. /package/dist/{types/src/project-schema → project-schema}/v3.18.2.d.ts +0 -0
  849. /package/dist/{esm/src/project-schema → project-schema}/v3.18.2.js +0 -0
  850. /package/dist/{types/src/project-schema → project-schema}/v3.19.0.d.ts +0 -0
  851. /package/dist/{esm/src/project-schema → project-schema}/v3.19.0.js +0 -0
  852. /package/dist/{types/src/project-schema → project-schema}/v3.2.0.d.ts +0 -0
  853. /package/dist/{esm/src/project-schema → project-schema}/v3.2.0.js +0 -0
  854. /package/dist/{types/src/project-schema → project-schema}/v3.20.0.d.ts +0 -0
  855. /package/dist/{esm/src/project-schema → project-schema}/v3.20.0.js +0 -0
  856. /package/dist/{types/src/project-schema → project-schema}/v3.21.0.d.ts +0 -0
  857. /package/dist/{esm/src/project-schema → project-schema}/v3.21.0.js +0 -0
  858. /package/dist/{types/src/project-schema → project-schema}/v3.22.0.d.ts +0 -0
  859. /package/dist/{esm/src/project-schema → project-schema}/v3.22.0.js +0 -0
  860. /package/dist/{types/src/project-schema → project-schema}/v3.23.0.d.ts +0 -0
  861. /package/dist/{esm/src/project-schema → project-schema}/v3.23.0.js +0 -0
  862. /package/dist/{types/src/project-schema → project-schema}/v3.24.0.d.ts +0 -0
  863. /package/dist/{esm/src/project-schema → project-schema}/v3.24.0.js +0 -0
  864. /package/dist/{types/src/project-schema → project-schema}/v3.25.0.d.ts +0 -0
  865. /package/dist/{esm/src/project-schema → project-schema}/v3.25.0.js +0 -0
  866. /package/dist/{types/src/project-schema → project-schema}/v3.26.0.d.ts +0 -0
  867. /package/dist/{esm/src/project-schema → project-schema}/v3.26.0.js +0 -0
  868. /package/dist/{types/src/project-schema → project-schema}/v3.27.0.d.ts +0 -0
  869. /package/dist/{esm/src/project-schema → project-schema}/v3.27.0.js +0 -0
  870. /package/dist/{types/src/project-schema → project-schema}/v3.28.0.d.ts +0 -0
  871. /package/dist/{esm/src/project-schema → project-schema}/v3.28.0.js +0 -0
  872. /package/dist/{types/src/project-schema → project-schema}/v3.29.0.d.ts +0 -0
  873. /package/dist/{esm/src/project-schema → project-schema}/v3.29.0.js +0 -0
  874. /package/dist/{types/src/project-schema → project-schema}/v3.3.0.d.ts +0 -0
  875. /package/dist/{esm/src/project-schema → project-schema}/v3.3.0.js +0 -0
  876. /package/dist/{types/src/project-schema → project-schema}/v3.30.0.d.ts +0 -0
  877. /package/dist/{esm/src/project-schema → project-schema}/v3.30.0.js +0 -0
  878. /package/dist/{types/src/project-schema → project-schema}/v3.31.0.d.ts +0 -0
  879. /package/dist/{esm/src/project-schema → project-schema}/v3.31.0.js +0 -0
  880. /package/dist/{types/src/project-schema → project-schema}/v3.32.0.d.ts +0 -0
  881. /package/dist/{esm/src/project-schema → project-schema}/v3.32.0.js +0 -0
  882. /package/dist/{types/src/project-schema → project-schema}/v3.33.0.d.ts +0 -0
  883. /package/dist/{esm/src/project-schema → project-schema}/v3.33.0.js +0 -0
  884. /package/dist/{types/src/project-schema → project-schema}/v3.34.0.d.ts +0 -0
  885. /package/dist/{esm/src/project-schema → project-schema}/v3.34.0.js +0 -0
  886. /package/dist/{types/src/project-schema → project-schema}/v3.35.0.d.ts +0 -0
  887. /package/dist/{esm/src/project-schema → project-schema}/v3.35.0.js +0 -0
  888. /package/dist/{types/src/project-schema → project-schema}/v3.36.0.d.ts +0 -0
  889. /package/dist/{esm/src/project-schema → project-schema}/v3.36.0.js +0 -0
  890. /package/dist/{types/src/project-schema → project-schema}/v3.37.0.d.ts +0 -0
  891. /package/dist/{esm/src/project-schema → project-schema}/v3.37.0.js +0 -0
  892. /package/dist/{types/src/project-schema → project-schema}/v3.38.0.d.ts +0 -0
  893. /package/dist/{esm/src/project-schema → project-schema}/v3.38.0.js +0 -0
  894. /package/dist/{types/src/project-schema → project-schema}/v3.39.0.d.ts +0 -0
  895. /package/dist/{esm/src/project-schema → project-schema}/v3.39.0.js +0 -0
  896. /package/dist/{types/src/project-schema → project-schema}/v3.4.0.d.ts +0 -0
  897. /package/dist/{esm/src/project-schema → project-schema}/v3.4.0.js +0 -0
  898. /package/dist/{types/src/project-schema → project-schema}/v3.40.0.d.ts +0 -0
  899. /package/dist/{esm/src/project-schema → project-schema}/v3.40.0.js +0 -0
  900. /package/dist/{types/src/project-schema → project-schema}/v3.41.0.d.ts +0 -0
  901. /package/dist/{esm/src/project-schema → project-schema}/v3.41.0.js +0 -0
  902. /package/dist/{types/src/project-schema → project-schema}/v3.42.0.d.ts +0 -0
  903. /package/dist/{esm/src/project-schema → project-schema}/v3.42.0.js +0 -0
  904. /package/dist/{types/src/project-schema → project-schema}/v3.43.0.d.ts +0 -0
  905. /package/dist/{esm/src/project-schema → project-schema}/v3.43.0.js +0 -0
  906. /package/dist/{types/src/project-schema → project-schema}/v3.44.0.d.ts +0 -0
  907. /package/dist/{esm/src/project-schema → project-schema}/v3.44.0.js +0 -0
  908. /package/dist/{types/src/project-schema → project-schema}/v3.45.0.d.ts +0 -0
  909. /package/dist/{esm/src/project-schema → project-schema}/v3.45.0.js +0 -0
  910. /package/dist/{types/src/project-schema → project-schema}/v3.46.0.d.ts +0 -0
  911. /package/dist/{esm/src/project-schema → project-schema}/v3.46.0.js +0 -0
  912. /package/dist/{types/src/project-schema → project-schema}/v3.47.0.d.ts +0 -0
  913. /package/dist/{esm/src/project-schema → project-schema}/v3.47.0.js +0 -0
  914. /package/dist/{types/src/project-schema → project-schema}/v3.48.0.d.ts +0 -0
  915. /package/dist/{esm/src/project-schema → project-schema}/v3.48.0.js +0 -0
  916. /package/dist/{types/src/project-schema → project-schema}/v3.49.0.d.ts +0 -0
  917. /package/dist/{esm/src/project-schema → project-schema}/v3.49.0.js +0 -0
  918. /package/dist/{types/src/project-schema → project-schema}/v3.5.0.d.ts +0 -0
  919. /package/dist/{esm/src/project-schema → project-schema}/v3.5.0.js +0 -0
  920. /package/dist/{types/src/project-schema → project-schema}/v3.5.1.d.ts +0 -0
  921. /package/dist/{esm/src/project-schema → project-schema}/v3.5.1.js +0 -0
  922. /package/dist/{types/src/project-schema → project-schema}/v3.50.0.d.ts +0 -0
  923. /package/dist/{esm/src/project-schema → project-schema}/v3.50.0.js +0 -0
  924. /package/dist/{types/src/project-schema → project-schema}/v3.51.0.d.ts +0 -0
  925. /package/dist/{esm/src/project-schema → project-schema}/v3.51.0.js +0 -0
  926. /package/dist/{types/src/project-schema → project-schema}/v3.6.0.d.ts +0 -0
  927. /package/dist/{esm/src/project-schema → project-schema}/v3.6.0.js +0 -0
  928. /package/dist/{types/src/project-schema → project-schema}/v3.7.0.d.ts +0 -0
  929. /package/dist/{esm/src/project-schema → project-schema}/v3.7.0.js +0 -0
  930. /package/dist/{types/src/project-schema → project-schema}/v3.8.0.d.ts +0 -0
  931. /package/dist/{esm/src/project-schema → project-schema}/v3.8.0.js +0 -0
  932. /package/dist/{types/src/project-schema → project-schema}/v3.9.0.d.ts +0 -0
  933. /package/dist/{esm/src/project-schema → project-schema}/v3.9.0.js +0 -0
  934. /package/dist/{types/src/project-schema → project-schema}/v4.0.0.d.ts +0 -0
  935. /package/dist/{esm/src/project-schema → project-schema}/v4.0.0.js +0 -0
  936. /package/dist/{types/src/scalars.d.ts → scalars.d.ts} +0 -0
  937. /package/dist/{esm/src/scalars.js → scalars.js} +0 -0
  938. /package/dist/{types/src/schemas → schemas}/index.d.ts +0 -0
  939. /package/dist/{cjs/src/schemas → schemas}/project-schema/experimental.json +0 -0
  940. /package/dist/{cjs/src/schemas → schemas}/project-schema/latest.json +0 -0
  941. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v1.0.0.json +0 -0
  942. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.0.0.json +0 -0
  943. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.1.0.json +0 -0
  944. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.2.0.json +0 -0
  945. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.3.0.json +0 -0
  946. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.4.0.json +0 -0
  947. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.5.0.json +0 -0
  948. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.5.1.json +0 -0
  949. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.6.0.json +0 -0
  950. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.7.0.json +0 -0
  951. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.8.0.json +0 -0
  952. /package/dist/{cjs/src/schemas → schemas}/project-schema/meta-schema-v3.9.0.json +0 -0
  953. /package/dist/{cjs/src/schemas → schemas}/project-schema/v1.0.0.json +0 -0
  954. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.0.0.json +0 -0
  955. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.1.0.json +0 -0
  956. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.10.0.json +0 -0
  957. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.11.0.json +0 -0
  958. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.0.json +0 -0
  959. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.1.json +0 -0
  960. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.2.json +0 -0
  961. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.12.3.json +0 -0
  962. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.13.0.json +0 -0
  963. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.14.0.json +0 -0
  964. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.15.0.json +0 -0
  965. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.16.0.json +0 -0
  966. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.17.0.json +0 -0
  967. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.17.1.json +0 -0
  968. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.0.json +0 -0
  969. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.1.json +0 -0
  970. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.18.2.json +0 -0
  971. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.19.0.json +0 -0
  972. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.2.0.json +0 -0
  973. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.20.0.json +0 -0
  974. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.21.0.json +0 -0
  975. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.22.0.json +0 -0
  976. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.23.0.json +0 -0
  977. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.24.0.json +0 -0
  978. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.25.0.json +0 -0
  979. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.26.0.json +0 -0
  980. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.27.0.json +0 -0
  981. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.28.0.json +0 -0
  982. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.29.0.json +0 -0
  983. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.3.0.json +0 -0
  984. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.30.0.json +0 -0
  985. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.31.0.json +0 -0
  986. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.32.0.json +0 -0
  987. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.33.0.json +0 -0
  988. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.34.0.json +0 -0
  989. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.35.0.json +0 -0
  990. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.36.0.json +0 -0
  991. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.37.0.json +0 -0
  992. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.38.0.json +0 -0
  993. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.39.0.json +0 -0
  994. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.4.0.json +0 -0
  995. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.40.0.json +0 -0
  996. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.41.0.json +0 -0
  997. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.42.0.json +0 -0
  998. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.43.0.json +0 -0
  999. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.44.0.json +0 -0
  1000. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.45.0.json +0 -0
  1001. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.46.0.json +0 -0
  1002. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.47.0.json +0 -0
  1003. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.48.0.json +0 -0
  1004. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.49.0.json +0 -0
  1005. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.5.0.json +0 -0
  1006. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.5.1.json +0 -0
  1007. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.50.0.json +0 -0
  1008. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.51.0.json +0 -0
  1009. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.6.0.json +0 -0
  1010. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.7.0.json +0 -0
  1011. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.8.0.json +0 -0
  1012. /package/dist/{cjs/src/schemas → schemas}/project-schema/v3.9.0.json +0 -0
  1013. /package/dist/{cjs/src/schemas → schemas}/project-schema/v4.0.0.json +0 -0
  1014. /package/dist/{cjs/src/schemas → schemas}/project-schema.json +0 -0
  1015. /package/dist/{types/src/services → services}/types.d.ts +0 -0
  1016. /package/dist/{esm/src/services → services}/util.js +0 -0
  1017. /package/dist/{esm/src/template-shapes → template-shapes}/index.js +0 -0
  1018. /package/dist/{esm/src/template-shapes → template-shapes}/names.js +0 -0
  1019. /package/dist/{esm/src/template-shapes → template-shapes}/types.js +0 -0
  1020. /package/dist/{esm/src/types → types}/types.js +0 -0
  1021. /package/dist/{esm/src/util → util}/ai-tools.js +0 -0
  1022. /package/dist/{esm/src/util → util}/find-shape-at-path.js +0 -0
  1023. /package/dist/{esm/src/util → util}/patch-schema.js +0 -0
  1024. /package/dist/{esm/src/util → util}/shapes.js +0 -0
@@ -1,2377 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://schema.takeshape.io/project-schema/v3.13.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
- "relationship": {
44
- "title": "Relationship",
45
- "type": "object",
46
- "properties": {
47
- "shapeIds": {
48
- "type": "array",
49
- "items": {
50
- "type": "string"
51
- },
52
- "minItems": 1
53
- },
54
- "type": {
55
- "type": "string"
56
- },
57
- "relatedName": {
58
- "type": "string",
59
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$"
60
- }
61
- },
62
- "required": ["shapeIds"],
63
- "additionalProperties": false
64
- },
65
- "backreference": {
66
- "title": "Back Reference",
67
- "description": "A configuration object for a reverse reference in a relationship.",
68
- "type": "object",
69
- "properties": {
70
- "enabled": {
71
- "type": "boolean"
72
- },
73
- "name": {
74
- "type": "string",
75
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$"
76
- }
77
- },
78
- "additionalProperties": false,
79
- "required": ["enabled"]
80
- },
81
- "mappingString": {
82
- "title": "Mapping String",
83
- "type": "string",
84
- "pattern": "^[\\w-]+(?::[\\w-]+)+(?:\\.[\\w-]+)+$"
85
- },
86
- "fieldMapping": {
87
- "title": "Field Mapping",
88
- "oneOf": [
89
- {
90
- "$ref": "#/definitions/mappingString"
91
- },
92
- {
93
- "type": "array",
94
- "items": {
95
- "$ref": "#/definitions/mappingString"
96
- }
97
- }
98
- ]
99
- },
100
- "refSchema": {
101
- "title": "Ref Schema",
102
- "type": "object",
103
- "properties": {
104
- "@ref": {
105
- "$ref": "#/definitions/ref"
106
- }
107
- },
108
- "required": ["@ref"]
109
- },
110
- "refSchemaLegacy": {
111
- "title": "Ref Schema Legacy",
112
- "type": "object",
113
- "properties": {
114
- "$ref": {
115
- "$ref": "#/definitions/ref"
116
- }
117
- },
118
- "required": ["$ref"]
119
- },
120
- "shapeSchemaEnum": {
121
- "title": "Shape Schema Enum",
122
- "type": "object",
123
- "properties": {
124
- "enum": {
125
- "type": "array",
126
- "items": {
127
- "type": "string"
128
- },
129
- "minItems": 1
130
- }
131
- },
132
- "additionalProperties": false,
133
- "required": ["enum"]
134
- },
135
- "objectSchema": {
136
- "title": "Object Schema",
137
- "type": "object",
138
- "allOf": [
139
- {
140
- "$ref": "#/definitions/propertySchema"
141
- },
142
- {
143
- "properties": {
144
- "type": {
145
- "type": "string",
146
- "const": "object"
147
- },
148
- "properties": {
149
- "type": "object",
150
- "additionalProperties": {
151
- "$ref": "#/definitions/propertySchema"
152
- }
153
- }
154
- },
155
- "required": ["type", "properties"]
156
- }
157
- ]
158
- },
159
- "returnShapeArraySchema": {
160
- "title": "Return Shape Array Schema",
161
- "type": "object",
162
- "allOf": [
163
- {
164
- "$ref": "#/definitions/propertySchema"
165
- },
166
- {
167
- "properties": {
168
- "type": {
169
- "type": "string",
170
- "const": "array"
171
- },
172
- "items": {
173
- "oneOf": [
174
- { "$ref": "#/definitions/refSchema" },
175
- {
176
- "type": "object",
177
- "properties": {
178
- "type": {
179
- "enum": ["boolean", "integer", "number", "string"]
180
- }
181
- },
182
- "required": ["type"]
183
- }
184
- ]
185
- }
186
- },
187
- "required": ["type", "items"]
188
- }
189
- ]
190
- },
191
- "shapeSchemaAllOf": {
192
- "title": "Shape Schema All Of",
193
- "type": "object",
194
- "properties": {
195
- "allOf": {
196
- "type": "array",
197
- "items": {
198
- "oneOf": [
199
- {
200
- "$ref": "#/definitions/refSchema"
201
- },
202
- {
203
- "$ref": "#/definitions/refSchemaLegacy"
204
- },
205
- {
206
- "$ref": "#/definitions/objectSchema"
207
- }
208
- ],
209
- "unevaluatedProperties": true
210
- }
211
- }
212
- },
213
- "required": ["allOf"],
214
- "additionalProperties": false
215
- },
216
- "allOfSchema": {
217
- "title": "AllOfSchema",
218
- "allOf": [
219
- { "$ref": "#/definitions/propertySchema" },
220
- {
221
- "type": "object",
222
- "properties": {
223
- "allOf": {
224
- "type": "array",
225
- "items": {
226
- "oneOf": [
227
- {
228
- "$ref": "#/definitions/refSchema"
229
- },
230
- {
231
- "$ref": "#/definitions/refSchemaLegacy"
232
- },
233
- {
234
- "$ref": "#/definitions/objectSchema"
235
- }
236
- ],
237
- "unevaluatedProperties": true
238
- }
239
- }
240
- },
241
- "required": ["allOf"]
242
- }
243
- ]
244
- },
245
- "shapeSchemaOneOf": {
246
- "title": "Shape Schema One Of",
247
- "type": "object",
248
- "properties": {
249
- "oneOf": {
250
- "type": "array",
251
- "items": {
252
- "oneOf": [
253
- {
254
- "$ref": "#/definitions/refSchema"
255
- },
256
- {
257
- "$ref": "#/definitions/refSchemaLegacy"
258
- },
259
- {
260
- "$ref": "#/definitions/objectSchema"
261
- }
262
- ],
263
- "unevaluatedProperties": true
264
- }
265
- }
266
- },
267
- "required": ["oneOf"],
268
- "additionalProperties": false
269
- },
270
- "oneOfSchema": {
271
- "title": "OneOfSchema",
272
- "allOf": [
273
- { "$ref": "#/definitions/propertySchema" },
274
- {
275
- "type": "object",
276
- "properties": {
277
- "oneOf": {
278
- "type": "array",
279
- "items": {
280
- "oneOf": [
281
- {
282
- "$ref": "#/definitions/refSchema"
283
- },
284
- {
285
- "$ref": "#/definitions/refSchemaLegacy"
286
- },
287
- {
288
- "$ref": "#/definitions/objectSchema"
289
- }
290
- ],
291
- "unevaluatedProperties": true
292
- }
293
- }
294
- },
295
- "required": ["oneOf"],
296
- "additionalProperties": false
297
- }
298
- ]
299
- },
300
- "shapeSchema": {
301
- "title": "Shape Schema",
302
- "type": "object",
303
- "oneOf": [
304
- { "$ref": "#/definitions/shapeSchemaAllOf" },
305
- { "$ref": "#/definitions/shapeSchemaOneOf" },
306
- { "$ref": "#/definitions/shapeSchemaEnum" },
307
- { "$ref": "#/definitions/objectSchema" }
308
- ]
309
- },
310
- "queryMap": {
311
- "title": "Query Map",
312
- "type": "object",
313
- "patternProperties": {
314
- "^[0-9A-Za-z_]+$": {
315
- "$ref": "#/definitions/query"
316
- }
317
- },
318
- "additionalProperties": false
319
- },
320
- "args": {
321
- "title": "Args",
322
- "oneOf": [{ "type": "string" }, { "$ref": "#/definitions/objectSchema" }]
323
- },
324
- "returnShape": {
325
- "title": "Return Shape",
326
- "oneOf": [{ "type": "string" }, { "$ref": "#/definitions/returnShapeArraySchema" }]
327
- },
328
- "directiveConfigItem": {
329
- "title": "Directive Config Item",
330
- "description": "A tuple with a string directive name, and options to pass to the directive",
331
- "type": "array",
332
- "items": [
333
- {
334
- "title": "Directive Name",
335
- "type": "string"
336
- },
337
- {
338
- "title": "Directive Options",
339
- "type": "object",
340
- "propertyNames": {
341
- "pattern": "[0-9A-Za-z_-]+"
342
- }
343
- }
344
- ]
345
- },
346
- "parameterSerializeStyleOptions": {
347
- "title": "Parameter Serialize Style Options",
348
- "description": "All possible options for the more specific ParameterSerializeStyleOptions types.",
349
- "type": "object",
350
- "properties": {
351
- "style": {
352
- "type": "string",
353
- "enum": ["simple", "label", "matrix", "form", "spaceDelimited", "pipeDelimited", "deepObject", "none"]
354
- },
355
- "explode": {
356
- "type": "boolean"
357
- },
358
- "allowEmptyValue": {
359
- "type": "boolean"
360
- },
361
- "allowReserved": {
362
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
363
- "type": "boolean"
364
- },
365
- "skipEncoding": {
366
- "type": "boolean"
367
- }
368
- },
369
- "required": ["style"],
370
- "additionalProperties": false
371
- },
372
- "parameterSerializeStyleOptionsForPathParams": {
373
- "title": "Parameter Serialize Style Options For Path Params",
374
- "description": "Options to be passed to the serialization routine.",
375
- "type": "object",
376
- "properties": {
377
- "style": {
378
- "type": "string",
379
- "enum": ["simple", "label", "matrix", "none"]
380
- },
381
- "explode": {
382
- "type": "boolean"
383
- },
384
- "allowEmptyValue": {
385
- "type": "boolean"
386
- },
387
- "allowReserved": {
388
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
389
- "type": "boolean"
390
- },
391
- "skipEncoding": {
392
- "type": "boolean"
393
- }
394
- },
395
- "required": ["style"],
396
- "additionalProperties": false
397
- },
398
- "parameterSerializeStyleOptionsForSearchParams": {
399
- "title": "Parameter Serialize Style Options For Search Params",
400
- "description": "Options to be passed to the serialization routine.",
401
- "type": "object",
402
- "properties": {
403
- "style": {
404
- "type": "string",
405
- "enum": ["form", "spaceDelimited", "pipeDelimited", "deepObject", "none"]
406
- },
407
- "explode": {
408
- "type": "boolean"
409
- },
410
- "allowEmptyValue": {
411
- "type": "boolean"
412
- },
413
- "allowReserved": {
414
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
415
- "type": "boolean"
416
- },
417
- "skipEncoding": {
418
- "type": "boolean"
419
- }
420
- },
421
- "required": ["style"],
422
- "additionalProperties": false
423
- },
424
- "parameterSerializeStyleOptionsForHeaders": {
425
- "title": "Parameter Serialize Style Options For Headers",
426
- "description": "Options to be passed to the serialization routine.",
427
- "type": "object",
428
- "properties": {
429
- "style": {
430
- "type": "string",
431
- "enum": ["simple", "none"]
432
- },
433
- "explode": {
434
- "type": "boolean"
435
- }
436
- },
437
- "required": ["style"],
438
- "additionalProperties": false
439
- },
440
- "parameterSerializeContentOptions": {
441
- "title": "Parameter Serialize Content Options",
442
- "description": "Options to be passed to the serialization routine.",
443
- "type": "object",
444
- "properties": {
445
- "contentType": {
446
- "type": "string"
447
- },
448
- "allowReserved": {
449
- "description": "The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.",
450
- "type": "boolean"
451
- },
452
- "skipEncoding": {
453
- "type": "boolean"
454
- },
455
- "options": {
456
- "description": "Options to be passed directly to the content serializer library. Valid options depend upon your contentType.",
457
- "type": "object"
458
- }
459
- },
460
- "required": ["contentType"],
461
- "additionalProperties": false
462
- },
463
- "parameterSerializeOptions": {
464
- "title": "Parameter Serialize Options",
465
- "description": "Options to be passed to the serialization routine.",
466
- "type": "object",
467
- "oneOf": [
468
- {
469
- "$ref": "#/definitions/parameterSerializeStyleOptions"
470
- },
471
- {
472
- "$ref": "#/definitions/parameterSerializeContentOptions"
473
- }
474
- ]
475
- },
476
- "parameterSerializeConfig": {
477
- "title": "Parameter Serialize Config",
478
- "description": "All possible options for the more specific ParameterSerializeConfig types.",
479
- "type": "object",
480
- "properties": {
481
- "content": {
482
- "$ref": "#/definitions/parameterSerializeContentOptions"
483
- },
484
- "defaults": {
485
- "$ref": "#/definitions/parameterSerializeOptions"
486
- },
487
- "paths": {
488
- "type": "object",
489
- "patternProperties": {
490
- "^[^\\n\\r]*$": {
491
- "$ref": "#/definitions/parameterSerializeOptions"
492
- }
493
- }
494
- }
495
- },
496
- "additionalProperties": false
497
- },
498
- "parameterSerializeConfigForBody": {
499
- "title": "Parameter Serialize Config For Body",
500
- "description": "Top-level paths to use serialization options for.",
501
- "type": "object",
502
- "properties": {
503
- "content": {
504
- "$ref": "#/definitions/parameterSerializeContentOptions"
505
- }
506
- },
507
- "additionalProperties": false
508
- },
509
- "parameterSerializeConfigForPathParams": {
510
- "title": "Parameter Serialize Config For Path Params",
511
- "description": "Top-level paths to use path params serialization options for.",
512
- "type": "object",
513
- "properties": {
514
- "template": {
515
- "description": "For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'",
516
- "type": "string"
517
- },
518
- "defaults": {
519
- "oneOf": [
520
- {
521
- "$ref": "#/definitions/parameterSerializeStyleOptionsForPathParams"
522
- },
523
- {
524
- "$ref": "#/definitions/parameterSerializeContentOptions"
525
- }
526
- ]
527
- },
528
- "paths": {
529
- "type": "object",
530
- "patternProperties": {
531
- "^[^\\n\\r]*$": {
532
- "oneOf": [
533
- {
534
- "$ref": "#/definitions/parameterSerializeStyleOptionsForPathParams"
535
- },
536
- {
537
- "$ref": "#/definitions/parameterSerializeContentOptions"
538
- }
539
- ]
540
- }
541
- }
542
- }
543
- },
544
- "required": ["template"],
545
- "additionalProperties": false
546
- },
547
- "parameterSerializeConfigForSearchParams": {
548
- "title": "Parameter Serialize Config For Search Params",
549
- "description": "Top-level paths to use search params serialization options for.",
550
- "type": "object",
551
- "properties": {
552
- "defaults": {
553
- "oneOf": [
554
- {
555
- "$ref": "#/definitions/parameterSerializeStyleOptionsForSearchParams"
556
- },
557
- {
558
- "$ref": "#/definitions/parameterSerializeContentOptions"
559
- }
560
- ]
561
- },
562
- "paths": {
563
- "type": "object",
564
- "patternProperties": {
565
- "^[^\\n\\r]*$": {
566
- "oneOf": [
567
- {
568
- "$ref": "#/definitions/parameterSerializeStyleOptionsForSearchParams"
569
- },
570
- {
571
- "$ref": "#/definitions/parameterSerializeContentOptions"
572
- }
573
- ]
574
- }
575
- }
576
- }
577
- },
578
- "additionalProperties": false
579
- },
580
- "parameterSerializeConfigForHeaders": {
581
- "title": "Parameter Serialize Config For Headers",
582
- "description": "Top-level paths to use headers serialization options for.",
583
- "type": "object",
584
- "properties": {
585
- "defaults": {
586
- "oneOf": [
587
- {
588
- "$ref": "#/definitions/parameterSerializeStyleOptionsForHeaders"
589
- },
590
- {
591
- "$ref": "#/definitions/parameterSerializeContentOptions"
592
- }
593
- ]
594
- },
595
- "paths": {
596
- "type": "object",
597
- "patternProperties": {
598
- "^[^\\n\\r]*$": {
599
- "oneOf": [
600
- {
601
- "$ref": "#/definitions/parameterSerializeStyleOptionsForHeaders"
602
- },
603
- {
604
- "$ref": "#/definitions/parameterSerializeContentOptions"
605
- }
606
- ]
607
- }
608
- }
609
- }
610
- },
611
- "additionalProperties": false
612
- },
613
- "parameterOpNested": {
614
- "title": "Parameter Op Nested",
615
- "description": "An object describing an operation to generate a parameter, using a nested OpList.",
616
- "type": "object",
617
- "properties": {
618
- "path": {
619
- "description": "A path to the parameter for this operation.",
620
- "type": "string",
621
- "minLength": 1,
622
- "pattern": "^[^\\n\\r]*$"
623
- },
624
- "op": {
625
- "description": "A mode for this parameter's operation.",
626
- "type": "string",
627
- "enum": ["set", "concat", "extend", "remove"]
628
- },
629
- "ops": {
630
- "description": "A nested op list.",
631
- "$ref": "#/definitions/parameterOpList"
632
- }
633
- },
634
- "required": ["path", "ops"],
635
- "additionalProperties": false
636
- },
637
- "parameterOpValue": {
638
- "title": "Parameter Op Value",
639
- "description": "An object describing an operation to generate a parameter using a value.",
640
- "type": "object",
641
- "properties": {
642
- "path": {
643
- "description": "A path to the parameter for this operation.",
644
- "type": "string",
645
- "minLength": 1,
646
- "pattern": "^[^\\n\\r]*$"
647
- },
648
- "op": {
649
- "description": "A mode for this parameter's operation.",
650
- "type": "string",
651
- "enum": ["set", "concat", "extend", "remove"]
652
- },
653
- "value": {
654
- "description": "A value to set directly at this path.",
655
- "type": ["number", "string", "boolean", "object", "array", "null"]
656
- }
657
- },
658
- "required": ["path", "value"],
659
- "additionalProperties": false
660
- },
661
- "parameterOpMapping": {
662
- "title": "Parameter Op Mapping",
663
- "description": "An object describing an operation to generate a parameter using a mapping.",
664
- "type": "object",
665
- "properties": {
666
- "path": {
667
- "description": "A path to the parameter for this operation.",
668
- "type": "string",
669
- "minLength": 1,
670
- "pattern": "^[^\\n\\r]*$"
671
- },
672
- "op": {
673
- "description": "A mode for this parameter's operation.",
674
- "type": "string",
675
- "enum": ["set", "concat", "extend", "remove"]
676
- },
677
- "mapping": {
678
- "description": "Either a valid JSONPath or a directive pipeline to evaluate against the query context.",
679
- "oneOf": [
680
- {
681
- "type": "string",
682
- "minLength": 1
683
- },
684
- {
685
- "$ref": "#/definitions/directiveConfig"
686
- }
687
- ]
688
- }
689
- },
690
- "required": ["path", "mapping"],
691
- "additionalProperties": false
692
- },
693
- "parameterOpOp": {
694
- "title": "Parameter Op Op",
695
- "description": "An object describing an operation to generate a parameter using a mapping.",
696
- "type": "object",
697
- "properties": {
698
- "path": {
699
- "description": "A path to the parameter for this operation.",
700
- "type": "string",
701
- "minLength": 1,
702
- "pattern": "^[^\\n\\r]*$"
703
- },
704
- "op": {
705
- "description": "A mode for this parameter's operation.",
706
- "type": "string",
707
- "enum": ["set", "concat", "extend", "remove"]
708
- }
709
- },
710
- "required": ["path", "op"],
711
- "additionalProperties": false
712
- },
713
- "parameterOp": {
714
- "title": "Parameter Op",
715
- "description": "An object describing an operation to generate a parameter.",
716
- "oneOf": [
717
- {
718
- "$ref": "#/definitions/parameterOpNested"
719
- },
720
- {
721
- "$ref": "#/definitions/parameterOpValue"
722
- },
723
- {
724
- "$ref": "#/definitions/parameterOpMapping"
725
- },
726
- {
727
- "$ref": "#/definitions/parameterOpOp"
728
- }
729
- ]
730
- },
731
- "parameterOpList": {
732
- "title": "Parameter Op List",
733
- "type": "array",
734
- "items": {
735
- "$ref": "#/definitions/parameterOp"
736
- },
737
- "minItems": 1
738
- },
739
- "parameterConfig": {
740
- "title": "Parameter Config",
741
- "description": "All possible options for the more specific ParameterConfig types.",
742
- "type": "object",
743
- "properties": {
744
- "ops": {
745
- "$ref": "#/definitions/parameterOpList"
746
- },
747
- "serialize": {
748
- "$ref": "#/definitions/parameterSerializeConfig"
749
- }
750
- },
751
- "required": ["ops"],
752
- "additionalProperties": false
753
- },
754
- "parameterConfigForBody": {
755
- "title": "Parameter Config For Body",
756
- "type": "object",
757
- "properties": {
758
- "ops": {
759
- "$ref": "#/definitions/parameterOpList"
760
- },
761
- "serialize": {
762
- "$ref": "#/definitions/parameterSerializeConfigForBody"
763
- }
764
- },
765
- "required": ["ops"],
766
- "additionalProperties": false
767
- },
768
- "parameterConfigForPathParams": {
769
- "title": "Parameter Config For Path Params",
770
- "type": "object",
771
- "properties": {
772
- "ops": {
773
- "$ref": "#/definitions/parameterOpList"
774
- },
775
- "serialize": {
776
- "$ref": "#/definitions/parameterSerializeConfigForPathParams"
777
- }
778
- },
779
- "required": ["ops", "serialize"],
780
- "additionalProperties": false
781
- },
782
- "parameterConfigForAwsLambda": {
783
- "title": "ParameterConfigForAwsLambda",
784
- "type": "object",
785
- "properties": {
786
- "ops": {
787
- "$ref": "#/definitions/parameterOpList"
788
- },
789
- "serialize": {
790
- "$ref": "#/definitions/parameterSerializeConfigForPathParams"
791
- }
792
- },
793
- "required": ["ops", "serialize"],
794
- "additionalProperties": false
795
- },
796
- "parameterConfigForSearchParams": {
797
- "title": "Parameter Config For Search Params",
798
- "type": "object",
799
- "properties": {
800
- "ops": {
801
- "$ref": "#/definitions/parameterOpList"
802
- },
803
- "serialize": {
804
- "$ref": "#/definitions/parameterSerializeConfigForSearchParams"
805
- }
806
- },
807
- "required": ["ops"],
808
- "additionalProperties": false
809
- },
810
- "parameterConfigForHeaders": {
811
- "title": "Parameter Config For Headers",
812
- "type": "object",
813
- "properties": {
814
- "ops": {
815
- "$ref": "#/definitions/parameterOpList"
816
- },
817
- "serialize": {
818
- "$ref": "#/definitions/parameterSerializeConfigForHeaders"
819
- }
820
- },
821
- "required": ["ops"],
822
- "additionalProperties": false
823
- },
824
- "parameterConfigForJson": {
825
- "title": "Parameter Config For Json",
826
- "type": "object",
827
- "properties": {
828
- "ops": {
829
- "$ref": "#/definitions/parameterOpList"
830
- }
831
- },
832
- "required": ["ops"],
833
- "additionalProperties": false
834
- },
835
- "directiveConfig": {
836
- "title": "Directive Config",
837
- "description": "An array of individual directive config items to process in order",
838
- "type": "array",
839
- "items": {
840
- "$ref": "#/definitions/directiveConfigItem"
841
- },
842
- "minItems": 1
843
- },
844
- "directiveMappingMap": {
845
- "title": "Directive Mapping Map",
846
- "description": "An map of object keys / key paths to directive configs",
847
- "type": "object",
848
- "patternProperties": {
849
- "[0-9A-Za-z_-]+": {
850
- "$ref": "#/definitions/directiveConfig"
851
- }
852
- }
853
- },
854
- "directiveMappingArrayItem": {
855
- "title": "Directive Mapping Array Item",
856
- "description": "A tuple with a string key and a directive config to evaluate",
857
- "type": "array",
858
- "items": [{ "type": "string" }, { "$ref": "#/definitions/directiveConfig" }]
859
- },
860
- "directiveMappingArray": {
861
- "title": "Directive Mapping Array",
862
- "description": "An array of key / value or directive config tuples",
863
- "type": "array",
864
- "items": { "$ref": "#/definitions/directiveMappingArrayItem" }
865
- },
866
- "basicResolver": {
867
- "title": "BasicResolver",
868
- "description": "A single resolver, can be composed with the ComposeResolver.",
869
- "oneOf": [
870
- {
871
- "$ref": "#/definitions/utilResolver"
872
- },
873
- {
874
- "$ref": "#/definitions/takeshapeResolver"
875
- },
876
- {
877
- "$ref": "#/definitions/internalTakeshapeResolver"
878
- },
879
- {
880
- "$ref": "#/definitions/graphqlResolver"
881
- },
882
- {
883
- "$ref": "#/definitions/restResolver"
884
- },
885
- {
886
- "$ref": "#/definitions/awsLambdaResolver"
887
- }
888
- ]
889
- },
890
- "argsMapping": {
891
- "title": "ArgsMapping",
892
- "description": "Maps a query's input args to the input expected by the service's endpoint.",
893
- "oneOf": [
894
- {
895
- "$ref": "#/definitions/directiveMappingMap"
896
- },
897
- {
898
- "$ref": "#/definitions/directiveConfig"
899
- }
900
- ]
901
- },
902
- "searchParamsMapping": {
903
- "title": "SearchParamsMapping",
904
- "description": "Set or evaluate directives to generate searchParams for the service endpoint.",
905
- "$ref": "#/definitions/directiveMappingArray"
906
- },
907
- "resultsMapping": {
908
- "title": "ResultsMapping",
909
- "description": "Maps a service endpoint's response results to the expected shape of the query's response.",
910
- "oneOf": [
911
- {
912
- "$ref": "#/definitions/directiveMappingMap"
913
- },
914
- {
915
- "$ref": "#/definitions/directiveConfig"
916
- }
917
- ]
918
- },
919
- "utilResolver": {
920
- "title": "UtilResolver",
921
- "type": "object",
922
- "properties": {
923
- "if": {
924
- "type": "string"
925
- },
926
- "id": {
927
- "type": "string",
928
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
929
- },
930
- "name": {
931
- "title": "UtilResolverName",
932
- "type": "string",
933
- "description": "Name of the resolver function.",
934
- "enum": ["debug:noop", "util:wrap"]
935
- },
936
- "service": {
937
- "type": "string",
938
- "description": "Configuration for a service to use with this resolver."
939
- },
940
- "options": {
941
- "title": "UtilResolverOptions",
942
- "type": "object",
943
- "additionalProperties": true
944
- },
945
- "args": {
946
- "description": "Mapping and serialization configuration for args.",
947
- "$ref": "#/definitions/parameterConfigForJson"
948
- },
949
- "results": {
950
- "description": "Mapping configuration for the results of this resolver step.",
951
- "$ref": "#/definitions/parameterConfigForJson"
952
- },
953
- "argsMapping": {
954
- "$ref": "#/definitions/argsMapping"
955
- },
956
- "resultsMapping": {
957
- "$ref": "#/definitions/resultsMapping"
958
- }
959
- },
960
- "required": ["name", "service"],
961
- "additionalProperties": false
962
- },
963
- "takeshapeResolver": {
964
- "title": "TakeshapeResolver",
965
- "type": "object",
966
- "properties": {
967
- "if": { "type": "string" },
968
- "id": {
969
- "type": "string",
970
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
971
- },
972
- "name": {
973
- "title": "TakeshapeResolverName",
974
- "type": "string",
975
- "description": "Name of the resolver function.",
976
- "enum": [
977
- "takeshape:get",
978
- "takeshape:create",
979
- "takeshape:update",
980
- "takeshape:delete",
981
- "takeshape:duplicate",
982
- "takeshape:find",
983
- "takeshape:queryApiIndex"
984
- ]
985
- },
986
- "service": {
987
- "type": "string",
988
- "description": "Internal service identifier.",
989
- "enum": ["takeshape:local"]
990
- },
991
- "options": {
992
- "title": "TakeshapeResolverOptions",
993
- "type": "object",
994
- "additionalProperties": true
995
- },
996
- "argsMapping": {
997
- "$ref": "#/definitions/argsMapping"
998
- },
999
- "resultsMapping": {
1000
- "$ref": "#/definitions/resultsMapping"
1001
- },
1002
- "shapeName": {
1003
- "description": "A Shape name for the resolver to use.",
1004
- "type": "string"
1005
- },
1006
- "args": {
1007
- "description": "Mapping and serialization configuration for args.",
1008
- "$ref": "#/definitions/parameterConfigForJson"
1009
- },
1010
- "results": {
1011
- "description": "Mapping configuration for the results of this resolver step.",
1012
- "$ref": "#/definitions/parameterConfigForJson"
1013
- }
1014
- },
1015
- "required": ["name", "service", "shapeName"],
1016
- "additionalProperties": false
1017
- },
1018
- "internalTakeshapeResolver": {
1019
- "title": "InternalTakeshapeResolver",
1020
- "type": "object",
1021
- "properties": {
1022
- "if": {
1023
- "type": "string"
1024
- },
1025
- "id": {
1026
- "type": "string",
1027
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1028
- },
1029
- "name": {
1030
- "title": "InternalTakeshapeResolverName",
1031
- "type": "string",
1032
- "description": "Name of the resolver function.",
1033
- "enum": ["takeshape:getRelationship", "takeshape:taxonomySuggest", "takeshape:list", "takeshape:search"]
1034
- },
1035
- "service": {
1036
- "type": "string",
1037
- "description": "Internal service identifier.",
1038
- "enum": ["takeshape:local"]
1039
- },
1040
- "options": {
1041
- "title": "TakeshapeResolverOptions",
1042
- "type": "object",
1043
- "additionalProperties": true
1044
- },
1045
- "shapeName": {
1046
- "description": "An optional Shape name for the resolver.",
1047
- "type": "string"
1048
- },
1049
- "args": {
1050
- "description": "Mapping and serialization configuration for args.",
1051
- "$ref": "#/definitions/parameterConfigForJson"
1052
- },
1053
- "results": {
1054
- "description": "Mapping configuration for the results of this resolver step.",
1055
- "$ref": "#/definitions/parameterConfigForJson"
1056
- },
1057
- "argsMapping": {
1058
- "$ref": "#/definitions/argsMapping"
1059
- },
1060
- "resultsMapping": {
1061
- "$ref": "#/definitions/resultsMapping"
1062
- }
1063
- },
1064
- "required": ["name", "service"],
1065
- "additionalProperties": false
1066
- },
1067
- "graphqlResolver": {
1068
- "title": "GraphqlResolver",
1069
- "type": "object",
1070
- "properties": {
1071
- "if": { "type": "string" },
1072
- "id": {
1073
- "type": "string",
1074
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1075
- },
1076
- "name": {
1077
- "title": "GraphqlResolverName",
1078
- "type": "string",
1079
- "description": "Name of the resolver function.",
1080
- "enum": ["graphql:query", "graphql:mutation"]
1081
- },
1082
- "service": {
1083
- "type": "string",
1084
- "description": "Configuration for a service to use with this resolver."
1085
- },
1086
- "argsMapping": {
1087
- "$ref": "#/definitions/argsMapping"
1088
- },
1089
- "resultsMapping": {
1090
- "$ref": "#/definitions/resultsMapping"
1091
- },
1092
- "options": {
1093
- "title": "GraphqlResolverOptions",
1094
- "type": "object",
1095
- "properties": {
1096
- "selectionSet": { "type": "string" },
1097
- "unboxParentSelectionSet": { "type": "boolean" },
1098
- "ignoreErrors": { "type": "boolean" },
1099
- "skipWhenMissingArgs": { "type": "boolean" },
1100
- "ttl": { "type": "number" },
1101
- "timeout": { "type": "number" },
1102
- "retry": { "oneOf": [{ "type": "number" }, { "type": "object" }] }
1103
- },
1104
- "additionalProperties": true
1105
- },
1106
- "fieldName": {
1107
- "description": "A fieldname to use in queries.",
1108
- "type": "string"
1109
- },
1110
- "headers": {
1111
- "description": "Mapping and serialization configuration for headers.",
1112
- "$ref": "#/definitions/parameterConfigForHeaders"
1113
- },
1114
- "searchParams": {
1115
- "description": "Mapping and serialization configuration for searchParams.",
1116
- "$ref": "#/definitions/parameterConfigForSearchParams"
1117
- },
1118
- "args": {
1119
- "description": "Mapping and serialization configuration for args.",
1120
- "$ref": "#/definitions/parameterConfigForJson"
1121
- },
1122
- "results": {
1123
- "description": "Mapping configuration for the results of this resolver step.",
1124
- "$ref": "#/definitions/parameterConfigForJson"
1125
- }
1126
- },
1127
- "required": ["name", "service", "fieldName"],
1128
- "additionalProperties": false
1129
- },
1130
- "restResolver": {
1131
- "title": "RestResolver",
1132
- "type": "object",
1133
- "properties": {
1134
- "if": { "type": "string" },
1135
- "id": {
1136
- "type": "string",
1137
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1138
- },
1139
- "name": {
1140
- "title": "RestResolverName",
1141
- "type": "string",
1142
- "description": "Name of the resolver function.",
1143
- "enum": ["rest:get", "rest:head", "rest:post", "rest:put", "rest:patch", "rest:delete"]
1144
- },
1145
- "service": {
1146
- "type": "string",
1147
- "description": "Configuration for a service to use with this resolver."
1148
- },
1149
- "argsMapping": {
1150
- "$ref": "#/definitions/argsMapping"
1151
- },
1152
- "searchParamsMapping": {
1153
- "$ref": "#/definitions/searchParamsMapping"
1154
- },
1155
- "resultsMapping": {
1156
- "$ref": "#/definitions/resultsMapping"
1157
- },
1158
- "options": {
1159
- "title": "RestResolverOptions",
1160
- "type": "object",
1161
- "properties": {
1162
- "trailingSlash": { "type": "boolean" },
1163
- "ttl": { "type": "number" },
1164
- "timeout": { "type": "number" },
1165
- "retry": { "oneOf": [{ "type": "number" }, { "type": "object" }] }
1166
- },
1167
- "additionalProperties": true
1168
- },
1169
- "body": {
1170
- "description": "Mapping and serialization configuration for a request body.",
1171
- "$ref": "#/definitions/parameterConfigForBody"
1172
- },
1173
- "form": {
1174
- "description": "Mapping and serialization configuration for form data.",
1175
- "$ref": "#/definitions/parameterConfigForSearchParams"
1176
- },
1177
- "headers": {
1178
- "description": "Mapping and serialization configuration for headers.",
1179
- "$ref": "#/definitions/parameterConfigForHeaders"
1180
- },
1181
- "json": {
1182
- "description": "Mapping and serialization configuration for a json request body.",
1183
- "$ref": "#/definitions/parameterConfigForJson"
1184
- },
1185
- "path": {
1186
- "description": "Mapping and serialization configuration for the path, or a simple string.",
1187
- "oneOf": [
1188
- {
1189
- "$ref": "#/definitions/parameterConfigForPathParams"
1190
- },
1191
- {
1192
- "type": "string"
1193
- }
1194
- ]
1195
- },
1196
- "searchParams": {
1197
- "description": "Mapping and serialization configuration for searchParams.",
1198
- "$ref": "#/definitions/parameterConfigForSearchParams"
1199
- },
1200
- "args": {
1201
- "description": "Mapping and serialization configuration for args.",
1202
- "$ref": "#/definitions/parameterConfigForJson"
1203
- },
1204
- "results": {
1205
- "description": "Mapping configuration for the results of this resolver step.",
1206
- "$ref": "#/definitions/parameterConfigForJson"
1207
- }
1208
- },
1209
- "required": ["name", "service", "path"],
1210
- "additionalProperties": false
1211
- },
1212
- "awsLambdaResolver": {
1213
- "title": "AwsLambdaResolver",
1214
- "type": "object",
1215
- "properties": {
1216
- "if": { "type": "string" },
1217
- "id": {
1218
- "type": "string",
1219
- "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1220
- },
1221
- "name": {
1222
- "title": "AwsLambdaResolverName",
1223
- "type": "string",
1224
- "description": "Name of the resolver function.",
1225
- "enum": ["awsLambda:invoke"]
1226
- },
1227
- "service": {
1228
- "type": "string",
1229
- "description": "Configuration for a service to use with this resolver."
1230
- },
1231
- "options": {
1232
- "title": "AwsLambdaResolverOptions",
1233
- "type": "object",
1234
- "additionalProperties": true
1235
- },
1236
- "payload": {
1237
- "description": "Mapping configuration the Payload.",
1238
- "$ref": "#/definitions/parameterConfigForJson"
1239
- },
1240
- "functionName": {
1241
- "description": "Mapping configuration for the FunctionName.",
1242
- "oneOf": [
1243
- {
1244
- "type": "string"
1245
- },
1246
- {
1247
- "$ref": "#/definitions/parameterConfigForAwsLambda"
1248
- }
1249
- ]
1250
- },
1251
- "clientContext": {
1252
- "description": "Mapping configuration for the ClientContext.",
1253
- "$ref": "#/definitions/parameterConfigForJson"
1254
- },
1255
- "args": {
1256
- "description": "Mapping and serialization configuration for args.",
1257
- "$ref": "#/definitions/parameterConfigForJson"
1258
- },
1259
- "results": {
1260
- "description": "Mapping configuration for the results of this resolver step.",
1261
- "$ref": "#/definitions/parameterConfigForJson"
1262
- },
1263
- "argsMapping": {
1264
- "$ref": "#/definitions/argsMapping"
1265
- },
1266
- "searchParamsMapping": {
1267
- "description": "Set or evaluate directives to generate searchParams for the service endpoint.",
1268
- "$ref": "#/definitions/searchParamsMapping"
1269
- },
1270
- "resultsMapping": {
1271
- "$ref": "#/definitions/resultsMapping"
1272
- }
1273
- },
1274
- "required": ["name", "service", "functionName"],
1275
- "additionalProperties": false
1276
- },
1277
- "composeResolver": {
1278
- "title": "ComposeResolver",
1279
- "type": "object",
1280
- "properties": {
1281
- "compose": {
1282
- "type": "array",
1283
- "items": {
1284
- "$ref": "#/definitions/basicResolver"
1285
- }
1286
- },
1287
- "resultsMapping": {
1288
- "oneOf": [
1289
- {
1290
- "$ref": "#/definitions/directiveMappingMap"
1291
- },
1292
- {
1293
- "$ref": "#/definitions/directiveConfig"
1294
- }
1295
- ]
1296
- },
1297
- "results": {
1298
- "description": "Mapping configuration for final query results.",
1299
- "$ref": "#/definitions/parameterConfigForJson"
1300
- }
1301
- },
1302
- "required": ["compose"],
1303
- "additionalProperties": false
1304
- },
1305
- "resolver": {
1306
- "title": "Resolver",
1307
- "oneOf": [{ "$ref": "#/definitions/basicResolver" }, { "$ref": "#/definitions/composeResolver" }]
1308
- },
1309
- "ref": {
1310
- "title": "Ref",
1311
- "type": "string"
1312
- },
1313
- "query": {
1314
- "title": "Query JSON",
1315
- "type": "object",
1316
- "properties": {
1317
- "args": {
1318
- "description": "The args field specifies the name of a Shape for the input arguments required by your resolver.",
1319
- "$ref": "#/definitions/args"
1320
- },
1321
- "resolver": {
1322
- "description": "Configures the resolver for your query or mutation.",
1323
- "$ref": "#/definitions/resolver"
1324
- },
1325
- "shape": {
1326
- "$ref": "#/definitions/returnShape",
1327
- "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."
1328
- },
1329
- "description": {
1330
- "type": "string",
1331
- "description": "Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs."
1332
- }
1333
- },
1334
- "required": ["resolver", "shape"]
1335
- },
1336
- "propertySchema": {
1337
- "title": "PropertySchema",
1338
- "type": "object",
1339
- "properties": {
1340
- "$ref": {
1341
- "type": "string",
1342
- "format": "uri-reference"
1343
- },
1344
- "title": {
1345
- "type": "string"
1346
- },
1347
- "description": {
1348
- "type": "string"
1349
- },
1350
- "default": {},
1351
- "readOnly": {
1352
- "type": "boolean",
1353
- "default": false
1354
- },
1355
- "multipleOf": {
1356
- "type": "number",
1357
- "exclusiveMinimum": 0
1358
- },
1359
- "maximum": {
1360
- "type": "number"
1361
- },
1362
- "exclusiveMaximum": {
1363
- "type": "number"
1364
- },
1365
- "minimum": {
1366
- "type": "number"
1367
- },
1368
- "exclusiveMinimum": {
1369
- "type": "number"
1370
- },
1371
- "maxLength": {
1372
- "$ref": "#/definitions/nonNegativeInteger"
1373
- },
1374
- "minLength": {
1375
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
1376
- },
1377
- "pattern": {
1378
- "type": "string",
1379
- "format": "regex"
1380
- },
1381
- "additionalItems": {
1382
- "$ref": "#/definitions/propertySchema"
1383
- },
1384
- "items": {
1385
- "$ref": "#/definitions/propertySchema"
1386
- },
1387
- "maxItems": {
1388
- "$ref": "#/definitions/nonNegativeInteger"
1389
- },
1390
- "minItems": {
1391
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
1392
- },
1393
- "uniqueItems": {
1394
- "type": "boolean",
1395
- "default": false
1396
- },
1397
- "contains": {
1398
- "$ref": "#/definitions/propertySchema"
1399
- },
1400
- "maxProperties": {
1401
- "$ref": "#/definitions/nonNegativeInteger"
1402
- },
1403
- "minProperties": {
1404
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
1405
- },
1406
- "required": {
1407
- "$ref": "#/definitions/stringArray"
1408
- },
1409
- "additionalProperties": {
1410
- "oneOf": [{ "$ref": "#/definitions/propertySchema" }, { "enum": [false] }]
1411
- },
1412
- "definitions": {
1413
- "type": "object",
1414
- "additionalProperties": {
1415
- "$ref": "#/definitions/propertySchema"
1416
- },
1417
- "default": {}
1418
- },
1419
- "properties": {
1420
- "type": "object",
1421
- "additionalProperties": {
1422
- "$ref": "#/definitions/propertySchema"
1423
- },
1424
- "default": {}
1425
- },
1426
- "const": {},
1427
- "enum": {
1428
- "type": "array",
1429
- "minItems": 1,
1430
- "uniqueItems": true
1431
- },
1432
- "type": {
1433
- "anyOf": [
1434
- {
1435
- "$ref": "#/definitions/simpleTypes"
1436
- },
1437
- {
1438
- "type": "array",
1439
- "items": {
1440
- "$ref": "#/definitions/simpleTypes"
1441
- },
1442
- "minItems": 1,
1443
- "uniqueItems": true
1444
- }
1445
- ]
1446
- },
1447
- "format": {
1448
- "type": "string"
1449
- },
1450
- "contentMediaType": {
1451
- "type": "string"
1452
- },
1453
- "contentEncoding": {
1454
- "type": "string"
1455
- },
1456
- "allOf": {
1457
- "$ref": "#/definitions/schemaArray"
1458
- },
1459
- "oneOf": {
1460
- "$ref": "#/definitions/schemaArray"
1461
- },
1462
- "@relationship": {
1463
- "$ref": "#/definitions/relationship"
1464
- },
1465
- "@backreference": {
1466
- "$ref": "#/definitions/backreference"
1467
- },
1468
- "@syncLocaleStructure": {
1469
- "type": "boolean"
1470
- },
1471
- "@sensitive": {
1472
- "type": "boolean"
1473
- },
1474
- "@draftjs": {
1475
- "type": "boolean"
1476
- },
1477
- "@l10n": {
1478
- "type": "boolean"
1479
- },
1480
- "@key": {
1481
- "type": "string",
1482
- "pattern": "^[-_a-zA-Z0-9]+$"
1483
- },
1484
- "@workflow": {
1485
- "type": "string"
1486
- },
1487
- "@mapping": {
1488
- "$ref": "#/definitions/fieldMapping"
1489
- },
1490
- "@tag": {
1491
- "type": "string"
1492
- },
1493
- "@tags": {
1494
- "type": "array",
1495
- "items": {
1496
- "type": "string"
1497
- }
1498
- },
1499
- "@deprecationReason": {
1500
- "type": "string"
1501
- },
1502
- "@user": {
1503
- "type": "boolean"
1504
- },
1505
- "@args": {
1506
- "$ref": "#/definitions/args"
1507
- },
1508
- "@resolver": {
1509
- "$ref": "#/definitions/resolver"
1510
- },
1511
- "@ref": {
1512
- "$ref": "#/definitions/ref"
1513
- },
1514
- "@derivedFrom": {
1515
- "type": "string"
1516
- }
1517
- },
1518
- "additionalProperties": false
1519
- },
1520
- "shape": {
1521
- "title": "Shape JSON",
1522
- "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",
1523
- "type": "object",
1524
- "properties": {
1525
- "name": {
1526
- "type": "string",
1527
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
1528
- "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"
1529
- },
1530
- "id": {
1531
- "type": "string",
1532
- "pattern": "[0-9A-Za-z_-]+",
1533
- "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."
1534
- },
1535
- "title": {
1536
- "type": "string",
1537
- "description": "The human-readable name for a Shape for use in a UI."
1538
- },
1539
- "description": {
1540
- "type": "string"
1541
- },
1542
- "model": {
1543
- "description": "Specifying a model type allows Shape data to be stored in TakeShape's built-in database",
1544
- "type": "object",
1545
- "properties": {
1546
- "type": {
1547
- "title": "Model Type",
1548
- "type": "string",
1549
- "enum": ["single", "multiple", "taxonomy"]
1550
- }
1551
- },
1552
- "required": ["type"],
1553
- "additionalProperties": false
1554
- },
1555
- "workflow": {
1556
- "type": "string"
1557
- },
1558
- "schema": {
1559
- "$ref": "#/definitions/shapeSchema"
1560
- }
1561
- },
1562
- "required": ["name", "title", "id", "schema"],
1563
- "additionalProperties": false
1564
- },
1565
- "shapeWithObjectSchema": {
1566
- "title": "Shape With Object Schema",
1567
- "type": "object",
1568
- "allOf": [
1569
- {
1570
- "$ref": "#/definitions/shape"
1571
- },
1572
- {
1573
- "type": "object",
1574
- "properties": {
1575
- "schema": {
1576
- "$ref": "#/definitions/objectSchema"
1577
- }
1578
- },
1579
- "required": ["schema"],
1580
- "additionalProperties": false
1581
- }
1582
- ]
1583
- },
1584
- "shapeMap": {
1585
- "title": "Shape Map",
1586
- "type": "object",
1587
- "patternProperties": {
1588
- "^[0-9A-Za-z_]+$": {
1589
- "$ref": "#/definitions/shape"
1590
- }
1591
- },
1592
- "additionalProperties": false
1593
- },
1594
- "formMap": {
1595
- "title": "Form Map",
1596
- "type": "object",
1597
- "patternProperties": {
1598
- "[0-9A-Za-z_-]+": {
1599
- "$ref": "#/definitions/formsConfig"
1600
- }
1601
- }
1602
- },
1603
- "indexedShapeMap": {
1604
- "title": "Indexed Shape Map",
1605
- "type": "object",
1606
- "patternProperties": {
1607
- "[0-9A-Za-z_-]+": {
1608
- "$ref": "#/definitions/indexedShapeConfig"
1609
- }
1610
- }
1611
- },
1612
- "indexedShapeConfig": {
1613
- "title": "Indexed Shape Config",
1614
- "type": "object",
1615
- "properties": {
1616
- "idField": {
1617
- "type": "string"
1618
- },
1619
- "searchSummaryField": {
1620
- "type": "string"
1621
- },
1622
- "queries": {
1623
- "$ref": "#/definitions/indexedShapeQueriesConfig"
1624
- },
1625
- "triggers": {
1626
- "type": "array",
1627
- "items": {
1628
- "$ref": "#/definitions/indexedShapeTriggersConfig"
1629
- }
1630
- }
1631
- },
1632
- "additionalProperties": false,
1633
- "required": ["queries", "triggers"]
1634
- },
1635
- "indexedShapeQueriesConfig": {
1636
- "title": "Indexed Shape Queries Config",
1637
- "type": "object",
1638
- "properties": {
1639
- "list": {
1640
- "$ref": "#/definitions/indexedShapeListQueryConfig"
1641
- },
1642
- "get": {
1643
- "$ref": "#/definitions/indexedShapeGetQueryConfig"
1644
- }
1645
- },
1646
- "additionalProperties": false
1647
- },
1648
- "indexedShapeListQueryConfig": {
1649
- "title": "Indexed Shape Query All Config",
1650
- "type": "object",
1651
- "properties": {
1652
- "name": {
1653
- "type": "string"
1654
- },
1655
- "ignoreFields": {
1656
- "type": "array",
1657
- "items": {
1658
- "type": "string"
1659
- }
1660
- },
1661
- "objectDepthLimit": {
1662
- "type": "number"
1663
- },
1664
- "pagination": {
1665
- "$ref": "#/definitions/paginationConfig"
1666
- }
1667
- },
1668
- "additionalProperties": false,
1669
- "required": ["name"]
1670
- },
1671
- "indexedShapeGetQueryConfig": {
1672
- "title": "Indexed Shape Query Single Config",
1673
- "type": "object",
1674
- "properties": {
1675
- "name": {
1676
- "type": "string"
1677
- },
1678
- "ignoreFields": {
1679
- "type": "array",
1680
- "items": {
1681
- "type": "string"
1682
- }
1683
- },
1684
- "objectDepthLimit": {
1685
- "type": "number"
1686
- }
1687
- },
1688
- "additionalProperties": false,
1689
- "required": ["name"]
1690
- },
1691
- "paginationConfig": {
1692
- "title": "Pagination Config",
1693
- "oneOf": [
1694
- {
1695
- "$ref": "#/definitions/paginationCursorConfig"
1696
- },
1697
- {
1698
- "$ref": "#/definitions/paginationPageConfig"
1699
- },
1700
- {
1701
- "$ref": "#/definitions/paginationOffsetConfig"
1702
- }
1703
- ]
1704
- },
1705
- "paginationCursorConfig": {
1706
- "title": "Pagination Cursor Config",
1707
- "type": "object",
1708
- "properties": {
1709
- "type": {
1710
- "type": "string",
1711
- "enum": ["cursor"]
1712
- },
1713
- "cursorArg": {
1714
- "type": "string"
1715
- },
1716
- "cursorPath": {
1717
- "type": "string"
1718
- },
1719
- "pageSize": {
1720
- "type": "number"
1721
- },
1722
- "pageSizeArg": {
1723
- "type": "string"
1724
- },
1725
- "hasMorePath": {
1726
- "type": "string"
1727
- },
1728
- "itemsToIndexPath": {
1729
- "type": "string"
1730
- }
1731
- },
1732
- "additionalProperties": false,
1733
- "required": ["type", "cursorArg", "cursorPath", "pageSizeArg", "hasMorePath", "itemsToIndexPath"]
1734
- },
1735
- "paginationPageConfig": {
1736
- "title": "Pagination Page Config",
1737
- "type": "object",
1738
- "properties": {
1739
- "type": {
1740
- "type": "string",
1741
- "enum": ["page"]
1742
- },
1743
- "pageArg": {
1744
- "type": "string"
1745
- },
1746
- "itemsToIndexPath": {
1747
- "type": "string"
1748
- },
1749
- "pageTotalPath": {
1750
- "type": "string"
1751
- }
1752
- },
1753
- "additionalProperties": false,
1754
- "required": ["type", "pageArg", "itemsToIndexPath", "pageTotalPath"]
1755
- },
1756
- "paginationOffsetConfig": {
1757
- "title": "Pagination Offset Config",
1758
- "type": "object",
1759
- "properties": {
1760
- "type": {
1761
- "type": "string",
1762
- "enum": ["offset"]
1763
- },
1764
- "offsetArg": {
1765
- "type": "string"
1766
- },
1767
- "itemsToIndexPath": {
1768
- "type": "string"
1769
- },
1770
- "itemTotalPath": {
1771
- "type": "string"
1772
- }
1773
- },
1774
- "additionalProperties": false,
1775
- "required": ["type", "offsetArg", "itemsToIndexPath", "itemTotalPath"]
1776
- },
1777
- "indexedShapeTriggersConfig": {
1778
- "title": "Indexed Shape Triggers Config",
1779
- "oneOf": [
1780
- {
1781
- "$ref": "#/definitions/indexedShapeScheduleTriggerConfig"
1782
- },
1783
- {
1784
- "$ref": "#/definitions/indexedShapeWebhookTriggerConfig"
1785
- }
1786
- ]
1787
- },
1788
- "indexedShapeScheduleTriggerConfig": {
1789
- "title": "Indexed Shape Schedule Trigger Config",
1790
- "type": "object",
1791
- "properties": {
1792
- "type": {
1793
- "type": "string",
1794
- "enum": ["schedule"]
1795
- },
1796
- "query": {
1797
- "enum": ["get", "list"]
1798
- },
1799
- "interval": {
1800
- "type": "number"
1801
- }
1802
- },
1803
- "additionalProperties": false,
1804
- "required": ["type", "query", "interval"]
1805
- },
1806
- "indexedShapeWebhookTriggerConfig": {
1807
- "title": "Indexed Shape Webhook Trigger Config",
1808
- "type": "object",
1809
- "properties": {
1810
- "type": {
1811
- "type": "string",
1812
- "enum": ["webhook"]
1813
- },
1814
- "query": {
1815
- "enum": ["get", "list"]
1816
- },
1817
- "service": {
1818
- "type": "string"
1819
- },
1820
- "events": {
1821
- "type": "array",
1822
- "items": {
1823
- "type": "string"
1824
- }
1825
- }
1826
- },
1827
- "additionalProperties": false,
1828
- "required": ["type", "query", "service", "events"]
1829
- },
1830
- "formScalarConfig": {
1831
- "title": "Form Scalar Config",
1832
- "type": "object",
1833
- "properties": {
1834
- "widget": {
1835
- "type": "string"
1836
- }
1837
- },
1838
- "additionalProperties": false,
1839
- "required": ["widget"]
1840
- },
1841
- "formObjectConfig": {
1842
- "title": "Form Object Config",
1843
- "type": "object",
1844
- "properties": {
1845
- "widget": {
1846
- "type": "string"
1847
- },
1848
- "order": {
1849
- "type": "array",
1850
- "items": {
1851
- "type": "string"
1852
- }
1853
- },
1854
- "properties": {
1855
- "patternProperties": {
1856
- "[0-9A-Za-z_-]+": {
1857
- "$ref": "#/definitions/formConfig"
1858
- }
1859
- }
1860
- }
1861
- },
1862
- "additionalProperties": false
1863
- },
1864
- "formArrayConfig": {
1865
- "title": "Form Array Config",
1866
- "type": "object",
1867
- "properties": {
1868
- "widget": {
1869
- "type": "string"
1870
- },
1871
- "items": {
1872
- "$ref": "#/definitions/formConfig"
1873
- }
1874
- },
1875
- "additionalProperties": false,
1876
- "required": ["widget", "items"]
1877
- },
1878
- "customAuthentication": {
1879
- "title": "Custom Authentication",
1880
- "description": "For use with a custom auth handler on a service provider.",
1881
- "type": "object",
1882
- "properties": {
1883
- "type": {
1884
- "type": "string",
1885
- "enum": ["custom"]
1886
- }
1887
- },
1888
- "additionalProperties": true,
1889
- "required": ["type"]
1890
- },
1891
- "searchParamsAuthentication": {
1892
- "title": "Search Params Authentication",
1893
- "type": "object",
1894
- "properties": {
1895
- "type": {
1896
- "type": "string",
1897
- "enum": ["searchParams"]
1898
- },
1899
- "params": {
1900
- "type": "array",
1901
- "items": {
1902
- "properties": {
1903
- "name": {
1904
- "type": "string"
1905
- },
1906
- "value": {
1907
- "type": "string"
1908
- }
1909
- },
1910
- "required": ["name", "value"],
1911
- "additionalProperties": false
1912
- }
1913
- }
1914
- },
1915
- "additionalProperties": false,
1916
- "required": ["type", "params"]
1917
- },
1918
- "bearerAuthentication": {
1919
- "title": "Bearer Authentication",
1920
- "type": "object",
1921
- "properties": {
1922
- "type": {
1923
- "type": "string",
1924
- "enum": ["bearer"]
1925
- },
1926
- "token": {
1927
- "type": "string"
1928
- },
1929
- "prefix": {
1930
- "type": "string"
1931
- },
1932
- "header": {
1933
- "type": "string"
1934
- }
1935
- },
1936
- "additionalProperties": false,
1937
- "required": ["type", "token"]
1938
- },
1939
- "oauth2BearerAuthentication": {
1940
- "title": "OAuth 2 Bearer Authentication",
1941
- "type": "object",
1942
- "properties": {
1943
- "type": {
1944
- "type": "string",
1945
- "enum": ["oauth2Bearer"]
1946
- },
1947
- "token": {
1948
- "type": "string"
1949
- },
1950
- "prefix": {
1951
- "type": "string"
1952
- },
1953
- "header": {
1954
- "type": "string"
1955
- },
1956
- "scope": {
1957
- "type": "string"
1958
- },
1959
- "expiresAt": {
1960
- "type": "string"
1961
- }
1962
- },
1963
- "additionalProperties": false,
1964
- "required": ["type", "token"]
1965
- },
1966
- "basicAuthentication": {
1967
- "title": "Basic Authentication",
1968
- "type": "object",
1969
- "properties": {
1970
- "type": {
1971
- "type": "string",
1972
- "enum": ["basic"]
1973
- },
1974
- "username": {
1975
- "type": "string"
1976
- },
1977
- "password": {
1978
- "type": "string"
1979
- },
1980
- "useIso8859": {
1981
- "type": "boolean"
1982
- }
1983
- },
1984
- "additionalProperties": false,
1985
- "required": ["type", "username", "password"]
1986
- },
1987
- "oauth2Authentication": {
1988
- "title": "OAuth 2 Authentication",
1989
- "type": "object",
1990
- "properties": {
1991
- "type": {
1992
- "type": "string",
1993
- "enum": ["oauth2"]
1994
- },
1995
- "grantType": {
1996
- "type": "string",
1997
- "enum": ["authorizationCode", "clientCredentials"]
1998
- },
1999
- "authorizationUrl": {
2000
- "type": "string"
2001
- },
2002
- "accessTokenUrl": {
2003
- "type": "string"
2004
- },
2005
- "clientId": {
2006
- "type": "string"
2007
- },
2008
- "clientSecret": {
2009
- "type": "string"
2010
- },
2011
- "scope": {
2012
- "type": "string"
2013
- },
2014
- "usePkce": {
2015
- "type": "boolean"
2016
- },
2017
- "redirectUrl": {
2018
- "type": "string"
2019
- },
2020
- "headerPrefix": {
2021
- "type": "string"
2022
- },
2023
- "audience": {
2024
- "type": "string"
2025
- },
2026
- "resource": {
2027
- "type": "string"
2028
- }
2029
- },
2030
- "additionalProperties": false,
2031
- "required": ["type", "grantType", "clientId"]
2032
- },
2033
- "awsAuthentication": {
2034
- "title": "AWS Authentication",
2035
- "type": "object",
2036
- "properties": {
2037
- "type": {
2038
- "type": "string",
2039
- "enum": ["aws"]
2040
- },
2041
- "awsAccessKeyId": {
2042
- "type": "string"
2043
- },
2044
- "awsSecretAccessKey": {
2045
- "type": "string"
2046
- }
2047
- },
2048
- "additionalProperties": false,
2049
- "required": ["type", "awsAccessKeyId", "awsSecretAccessKey"]
2050
- },
2051
- "serviceAuthentication": {
2052
- "title": "Service Authentication",
2053
- "oneOf": [
2054
- {
2055
- "$ref": "#/definitions/oauth2Authentication"
2056
- },
2057
- {
2058
- "$ref": "#/definitions/oauth2BearerAuthentication"
2059
- },
2060
- {
2061
- "$ref": "#/definitions/bearerAuthentication"
2062
- },
2063
- {
2064
- "$ref": "#/definitions/basicAuthentication"
2065
- },
2066
- {
2067
- "$ref": "#/definitions/searchParamsAuthentication"
2068
- },
2069
- {
2070
- "$ref": "#/definitions/awsAuthentication"
2071
- },
2072
- {
2073
- "$ref": "#/definitions/customAuthentication"
2074
- }
2075
- ]
2076
- },
2077
- "serviceType": {
2078
- "title": "Service Type",
2079
- "description": "The general type of this service, specifying how and where it will be utilized.",
2080
- "type": "string",
2081
- "enum": ["deployment", "authentication", "takeshape", "rest", "graphql", "openapi", "aws", "unknown"]
2082
- },
2083
- "serviceConfig": {
2084
- "title": "Service Config",
2085
- "type": "object",
2086
- "properties": {
2087
- "id": {
2088
- "type": "string",
2089
- "description": "Machine-readable identifier, should typically be the same as the property name on the services object."
2090
- },
2091
- "title": {
2092
- "type": "string",
2093
- "description": "Human-readable name for this service."
2094
- },
2095
- "provider": {
2096
- "description": "The service provider id.",
2097
- "type": "string"
2098
- },
2099
- "namespace": {
2100
- "type": "string",
2101
- "description": "A namespace to use for the imported types tied to this service."
2102
- },
2103
- "serviceType": {
2104
- "$ref": "#/definitions/serviceType"
2105
- },
2106
- "authenticationType": {
2107
- "type": "string",
2108
- "enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
2109
- },
2110
- "authentication": {
2111
- "$ref": "#/definitions/serviceAuthentication"
2112
- },
2113
- "webhookId": {
2114
- "type": "string"
2115
- },
2116
- "options": {
2117
- "type": "object",
2118
- "description": "Configuration options passed to and handled by the provider."
2119
- }
2120
- },
2121
- "required": ["id", "title", "provider", "serviceType", "authenticationType"],
2122
- "additionalProperties": false
2123
- },
2124
- "storedServiceConfig": {
2125
- "title": "Service Config JSON",
2126
- "type": "object",
2127
- "properties": {
2128
- "id": {
2129
- "type": "string",
2130
- "description": "Machine-readable identifier, should typically be the same as the property name on the services object."
2131
- },
2132
- "title": {
2133
- "type": "string",
2134
- "description": "Human-readable name for this service."
2135
- },
2136
- "provider": {
2137
- "type": "string",
2138
- "description": "The service provider id."
2139
- },
2140
- "namespace": {
2141
- "type": "string",
2142
- "description": "A namespace to use for the imported types tied to this service."
2143
- },
2144
- "serviceType": {
2145
- "$ref": "#/definitions/serviceType"
2146
- },
2147
- "authenticationType": {
2148
- "type": "string",
2149
- "enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
2150
- },
2151
- "authentication": {
2152
- "type": "string"
2153
- },
2154
- "webhookId": {
2155
- "type": "string"
2156
- },
2157
- "options": {
2158
- "type": "object",
2159
- "description": "Configuration options passed to and handled by the provider."
2160
- }
2161
- },
2162
- "required": ["id", "title", "provider", "serviceType", "authenticationType"],
2163
- "additionalProperties": false
2164
- },
2165
- "anyServiceConfig": {
2166
- "title": "Any Service Config",
2167
- "oneOf": [
2168
- {
2169
- "$ref": "#/definitions/storedServiceConfig"
2170
- },
2171
- {
2172
- "$ref": "#/definitions/serviceConfig"
2173
- }
2174
- ]
2175
- },
2176
- "storedServiceMap": {
2177
- "title": "Service Map JSON",
2178
- "type": "object",
2179
- "patternProperties": {
2180
- "[0-9A-Za-z_-]+": {
2181
- "$ref": "#/definitions/storedServiceConfig"
2182
- }
2183
- }
2184
- },
2185
- "workflowStep": {
2186
- "title": "Workflow Step",
2187
- "type": "object",
2188
- "properties": {
2189
- "name": {
2190
- "type": "string",
2191
- "title": "Name",
2192
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
2193
- "description": "machine-readable slug"
2194
- },
2195
- "title": {
2196
- "title": "Title",
2197
- "type": "string",
2198
- "description": "Human-readable id for use in the UI"
2199
- },
2200
- "description": {
2201
- "title": "Description",
2202
- "type": "string"
2203
- },
2204
- "color": {
2205
- "title": "Color",
2206
- "type": "string",
2207
- "description": "Hex color code"
2208
- },
2209
- "live": {
2210
- "title": "Live",
2211
- "type": "boolean",
2212
- "description": "Value to indicate whether items in the state should be returned in list queries"
2213
- },
2214
- "key": {
2215
- "title": "Key",
2216
- "type": "string",
2217
- "description": "machine-readable id"
2218
- }
2219
- },
2220
- "required": ["name", "title", "color", "live", "key"],
2221
- "additionalProperties": false
2222
- },
2223
- "workflow": {
2224
- "title": "Workflow",
2225
- "type": "object",
2226
- "properties": {
2227
- "name": {
2228
- "type": "string",
2229
- "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$",
2230
- "description": "machine-readable id"
2231
- },
2232
- "title": {
2233
- "type": "string",
2234
- "title": "Workflow Name",
2235
- "minLength": 1,
2236
- "description": "Human-readable id for use in the UI"
2237
- },
2238
- "steps": {
2239
- "type": "array",
2240
- "title": "Steps",
2241
- "items": {
2242
- "$ref": "#/definitions/workflowStep"
2243
- },
2244
- "minItems": 1
2245
- }
2246
- },
2247
- "required": ["name", "title", "steps"]
2248
- },
2249
- "workflowMap": {
2250
- "title": "Workflow Map",
2251
- "type": "object",
2252
- "patternProperties": {
2253
- "[0-9A-Za-z_-]+": { "$ref": "#/definitions/workflow" }
2254
- }
2255
- },
2256
- "formConfig": {
2257
- "title": "Form Config",
2258
- "type": "object"
2259
- },
2260
- "formsConfig": {
2261
- "title": "Forms Config",
2262
- "type": "object",
2263
- "properties": {
2264
- "default": {
2265
- "$ref": "#/definitions/formConfig"
2266
- }
2267
- },
2268
- "patternProperties": {
2269
- "[0-9A-Za-z_-]+": {
2270
- "$ref": "#/definitions/formConfig"
2271
- }
2272
- },
2273
- "required": ["default"]
2274
- }
2275
- },
2276
- "properties": {
2277
- "$schema": {
2278
- "type": "string"
2279
- },
2280
- "version": {
2281
- "type": "number",
2282
- "description": "This is the revision number of your schema. Every time your project schema is updated, this value should be incremented."
2283
- },
2284
- "apiVersion": {
2285
- "type": "string",
2286
- "description": "The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints."
2287
- },
2288
- "schemaVersion": {
2289
- "type": "string",
2290
- "enum": ["3.13.0"],
2291
- "description": "The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format."
2292
- },
2293
- "projectId": {
2294
- "type": "string",
2295
- "description": "The ID of the TakeShape project this schema belongs to."
2296
- },
2297
- "author": {
2298
- "type": "string",
2299
- "description": "The ID of the TakeShape user who created the schema."
2300
- },
2301
- "created": {
2302
- "type": "string",
2303
- "format": "date-time",
2304
- "description": "The date the schema was created"
2305
- },
2306
- "updated": {
2307
- "type": "string",
2308
- "format": "date-time",
2309
- "description": "The date the schema was last updated"
2310
- },
2311
- "deactivated": {
2312
- "type": "number"
2313
- },
2314
- "defaultLocale": {
2315
- "type": "string",
2316
- "minLength": 1,
2317
- "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$",
2318
- "description": "The locale that should be preferred when creating new Shape items. This must be an entry in the locales array."
2319
- },
2320
- "locales": {
2321
- "type": "array",
2322
- "minItems": 1,
2323
- "items": {
2324
- "type": "string",
2325
- "minLength": 1,
2326
- "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2,3})?$"
2327
- }
2328
- },
2329
- "queries": {
2330
- "$ref": "#/definitions/queryMap",
2331
- "description": "Queries map directly to queries your project's GraphQL API"
2332
- },
2333
- "mutations": {
2334
- "$ref": "#/definitions/queryMap",
2335
- "description": "Mutations map directly to mutations your project's GraphQL API"
2336
- },
2337
- "shapes": {
2338
- "$ref": "#/definitions/shapeMap",
2339
- "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."
2340
- },
2341
- "indexedShapes": {
2342
- "$ref": "#/definitions/indexedShapeMap",
2343
- "description": "Experimental shape indexing configuration if you are curious about learning more message @asprouse in the TakeShape Slack"
2344
- },
2345
- "forms": {
2346
- "$ref": "#/definitions/formMap",
2347
- "description": "Forms define a visual interface for editing Shapes in the TakeShape UI."
2348
- },
2349
- "workflows": {
2350
- "$ref": "#/definitions/workflowMap",
2351
- "description": "Workflows describe the status of a shape item. Every schema starts with a default workflow with two steps, Disabled and Enabled"
2352
- },
2353
- "dataKey": {
2354
- "type": "string"
2355
- },
2356
- "services": {
2357
- "$ref": "#/definitions/storedServiceMap",
2358
- "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."
2359
- }
2360
- },
2361
- "additionalProperties": false,
2362
- "required": [
2363
- "projectId",
2364
- "created",
2365
- "updated",
2366
- "apiVersion",
2367
- "schemaVersion",
2368
- "version",
2369
- "defaultLocale",
2370
- "locales",
2371
- "shapes",
2372
- "queries",
2373
- "mutations",
2374
- "workflows",
2375
- "dataKey"
2376
- ]
2377
- }