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