@takeshape/schema 11.52.0 → 11.56.1

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