@takeshape/schema 11.45.5 → 11.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (465) hide show
  1. package/dist/cjs/src/agents.js +6 -6
  2. package/dist/cjs/src/api-version.js +1 -1
  3. package/dist/cjs/src/content-schema-transform.js +12 -12
  4. package/dist/cjs/src/create-input-schema.js +1 -1
  5. package/dist/cjs/src/enum.js +1 -1
  6. package/dist/cjs/src/flatten-templates.js +4 -4
  7. package/dist/cjs/src/get-is-leaf.js +1 -1
  8. package/dist/cjs/src/interfaces.js +11 -9
  9. package/dist/cjs/src/layers/layers.js +11 -5
  10. package/dist/cjs/src/layers/refs.js +3 -3
  11. package/dist/cjs/src/layers/type-utils.js +1 -1
  12. package/dist/cjs/src/migration/index.js +3 -1
  13. package/dist/cjs/src/migration/to/v3.0.0.js +20 -8
  14. package/dist/cjs/src/migration/to/v3.1.0.js +6 -4
  15. package/dist/cjs/src/migration/to/v3.10.0.js +1 -1
  16. package/dist/cjs/src/migration/to/v3.13.0.js +1 -1
  17. package/dist/cjs/src/migration/to/v3.17.0.js +1 -1
  18. package/dist/cjs/src/migration/to/v3.18.0.js +4 -4
  19. package/dist/cjs/src/migration/to/v3.18.1.js +1 -1
  20. package/dist/cjs/src/migration/to/v3.18.2.js +1 -1
  21. package/dist/cjs/src/migration/to/v3.20.0.js +5 -2
  22. package/dist/cjs/src/migration/to/v3.22.0.js +1 -1
  23. package/dist/cjs/src/migration/to/v3.31.0.js +2 -2
  24. package/dist/cjs/src/migration/to/v3.32.0.js +3 -1
  25. package/dist/cjs/src/migration/to/v3.34.0.js +6 -9
  26. package/dist/cjs/src/migration/to/v3.36.0.js +1 -1
  27. package/dist/cjs/src/migration/to/v3.39.0.js +8 -8
  28. package/dist/cjs/src/migration/to/v3.40.0.js +1 -1
  29. package/dist/cjs/src/migration/to/v3.46.0.js +1 -1
  30. package/dist/cjs/src/migration/to/v3.51.0.js +12 -0
  31. package/dist/cjs/src/migration/to/v3.9.0.js +3 -3
  32. package/dist/cjs/src/models/project-schema.js +4 -4
  33. package/dist/cjs/src/models/shape.js +2 -2
  34. package/dist/cjs/src/project-schema/index.js +4 -2
  35. package/dist/cjs/src/project-schema/migrate.js +3 -1
  36. package/dist/cjs/src/project-schema/v3.51.0.js +8 -0
  37. package/dist/cjs/src/refs.js +28 -18
  38. package/dist/cjs/src/relationships.js +25 -20
  39. package/dist/cjs/src/runtime-schema.js +16 -9
  40. package/dist/cjs/src/schema-transform.js +3 -3
  41. package/dist/cjs/src/schema-util.js +38 -30
  42. package/dist/cjs/src/schemas/auth-schemas.json +18 -78
  43. package/dist/cjs/src/schemas/index.js +18 -16
  44. package/dist/cjs/src/schemas/project-schema/experimental.json +7 -20
  45. package/dist/cjs/src/schemas/project-schema/latest.json +166 -566
  46. package/dist/cjs/src/schemas/project-schema/meta-schema-v1.0.0.json +3 -17
  47. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.0.0.json +4 -4
  48. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.1.0.json +4 -4
  49. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.2.0.json +5 -5
  50. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.3.0.json +5 -5
  51. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.4.0.json +11 -43
  52. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.5.0.json +7 -7
  53. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.5.1.json +8 -11
  54. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.6.0.json +8 -11
  55. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.7.0.json +11 -9
  56. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.8.0.json +11 -9
  57. package/dist/cjs/src/schemas/project-schema/meta-schema-v3.9.0.json +24 -22
  58. package/dist/cjs/src/schemas/project-schema/v1.0.0.json +3 -3
  59. package/dist/cjs/src/schemas/project-schema/v3.0.0.json +1 -1
  60. package/dist/cjs/src/schemas/project-schema/v3.1.0.json +2 -2
  61. package/dist/cjs/src/schemas/project-schema/v3.10.0.json +32 -30
  62. package/dist/cjs/src/schemas/project-schema/v3.11.0.json +32 -30
  63. package/dist/cjs/src/schemas/project-schema/v3.12.0.json +33 -36
  64. package/dist/cjs/src/schemas/project-schema/v3.12.1.json +33 -36
  65. package/dist/cjs/src/schemas/project-schema/v3.12.2.json +2122 -2125
  66. package/dist/cjs/src/schemas/project-schema/v3.12.3.json +2175 -2178
  67. package/dist/cjs/src/schemas/project-schema/v3.13.0.json +32 -30
  68. package/dist/cjs/src/schemas/project-schema/v3.14.0.json +32 -30
  69. package/dist/cjs/src/schemas/project-schema/v3.15.0.json +40 -38
  70. package/dist/cjs/src/schemas/project-schema/v3.16.0.json +40 -38
  71. package/dist/cjs/src/schemas/project-schema/v3.17.0.json +47 -39
  72. package/dist/cjs/src/schemas/project-schema/v3.17.1.json +2204 -2196
  73. package/dist/cjs/src/schemas/project-schema/v3.18.0.json +40 -38
  74. package/dist/cjs/src/schemas/project-schema/v3.18.1.json +40 -38
  75. package/dist/cjs/src/schemas/project-schema/v3.18.2.json +40 -38
  76. package/dist/cjs/src/schemas/project-schema/v3.19.0.json +40 -38
  77. package/dist/cjs/src/schemas/project-schema/v3.2.0.json +1 -1
  78. package/dist/cjs/src/schemas/project-schema/v3.20.0.json +40 -38
  79. package/dist/cjs/src/schemas/project-schema/v3.21.0.json +41 -39
  80. package/dist/cjs/src/schemas/project-schema/v3.22.0.json +41 -39
  81. package/dist/cjs/src/schemas/project-schema/v3.23.0.json +43 -43
  82. package/dist/cjs/src/schemas/project-schema/v3.24.0.json +105 -458
  83. package/dist/cjs/src/schemas/project-schema/v3.25.0.json +105 -458
  84. package/dist/cjs/src/schemas/project-schema/v3.26.0.json +107 -466
  85. package/dist/cjs/src/schemas/project-schema/v3.27.0.json +107 -466
  86. package/dist/cjs/src/schemas/project-schema/v3.28.0.json +112 -471
  87. package/dist/cjs/src/schemas/project-schema/v3.29.0.json +112 -471
  88. package/dist/cjs/src/schemas/project-schema/v3.3.0.json +1 -1
  89. package/dist/cjs/src/schemas/project-schema/v3.30.0.json +112 -472
  90. package/dist/cjs/src/schemas/project-schema/v3.31.0.json +112 -486
  91. package/dist/cjs/src/schemas/project-schema/v3.32.0.json +113 -488
  92. package/dist/cjs/src/schemas/project-schema/v3.33.0.json +113 -488
  93. package/dist/cjs/src/schemas/project-schema/v3.34.0.json +113 -488
  94. package/dist/cjs/src/schemas/project-schema/v3.35.0.json +114 -491
  95. package/dist/cjs/src/schemas/project-schema/v3.36.0.json +114 -491
  96. package/dist/cjs/src/schemas/project-schema/v3.37.0.json +118 -511
  97. package/dist/cjs/src/schemas/project-schema/v3.38.0.json +118 -511
  98. package/dist/cjs/src/schemas/project-schema/v3.39.0.json +118 -511
  99. package/dist/cjs/src/schemas/project-schema/v3.4.0.json +1 -1
  100. package/dist/cjs/src/schemas/project-schema/v3.40.0.json +118 -512
  101. package/dist/cjs/src/schemas/project-schema/v3.41.0.json +118 -512
  102. package/dist/cjs/src/schemas/project-schema/v3.42.0.json +118 -512
  103. package/dist/cjs/src/schemas/project-schema/v3.43.0.json +118 -512
  104. package/dist/cjs/src/schemas/project-schema/v3.44.0.json +125 -540
  105. package/dist/cjs/src/schemas/project-schema/v3.45.0.json +128 -554
  106. package/dist/cjs/src/schemas/project-schema/v3.46.0.json +129 -560
  107. package/dist/cjs/src/schemas/project-schema/v3.47.0.json +131 -568
  108. package/dist/cjs/src/schemas/project-schema/v3.48.0.json +132 -572
  109. package/dist/cjs/src/schemas/project-schema/v3.49.0.json +132 -558
  110. package/dist/cjs/src/schemas/project-schema/v3.5.0.json +1 -1
  111. package/dist/cjs/src/schemas/project-schema/v3.5.1.json +1 -1
  112. package/dist/cjs/src/schemas/project-schema/v3.50.0.json +165 -565
  113. package/dist/cjs/src/schemas/project-schema/v3.51.0.json +3320 -0
  114. package/dist/cjs/src/schemas/project-schema/v3.6.0.json +1 -1
  115. package/dist/cjs/src/schemas/project-schema/v3.7.0.json +1 -1
  116. package/dist/cjs/src/schemas/project-schema/v3.8.0.json +1 -1
  117. package/dist/cjs/src/schemas/project-schema/v3.9.0.json +1 -1
  118. package/dist/cjs/src/schemas/project-schema/v4.0.0.json +31 -29
  119. package/dist/cjs/src/schemas/project-schema.json +3 -0
  120. package/dist/cjs/src/schemas/user-schema.json +2 -9
  121. package/dist/cjs/src/service-dependencies.js +15 -9
  122. package/dist/cjs/src/services/services.js +12 -11
  123. package/dist/cjs/src/services/util.js +4 -4
  124. package/dist/cjs/src/template-shapes/templates.js +18 -12
  125. package/dist/cjs/src/template-shapes/where.js +23 -14
  126. package/dist/cjs/src/types/utils.js +3 -3
  127. package/dist/cjs/src/unions.js +6 -8
  128. package/dist/cjs/src/util/api-indexing.js +4 -4
  129. package/dist/cjs/src/util/detect-cycles.js +2 -2
  130. package/dist/cjs/src/util/find-shape-at-path.js +1 -1
  131. package/dist/cjs/src/util/form-config.js +0 -1
  132. package/dist/cjs/src/util/get-conflicting-properties.js +1 -1
  133. package/dist/cjs/src/util/merge.js +22 -13
  134. package/dist/cjs/src/util/patch-schema.js +2 -2
  135. package/dist/cjs/src/util/shapes.js +2 -2
  136. package/dist/cjs/src/validate.js +64 -47
  137. package/dist/cjs/src/workflows.js +4 -4
  138. package/dist/esm/src/agents.js +6 -6
  139. package/dist/esm/src/api-version.js +1 -1
  140. package/dist/esm/src/content-schema-transform.js +12 -12
  141. package/dist/esm/src/create-input-schema.js +1 -1
  142. package/dist/esm/src/enum.js +1 -1
  143. package/dist/esm/src/flatten-templates.js +4 -4
  144. package/dist/esm/src/get-is-leaf.js +1 -1
  145. package/dist/esm/src/interfaces.js +12 -10
  146. package/dist/esm/src/layers/layers.js +12 -6
  147. package/dist/esm/src/layers/refs.js +3 -3
  148. package/dist/esm/src/layers/type-utils.js +1 -1
  149. package/dist/esm/src/migration/index.js +3 -1
  150. package/dist/esm/src/migration/to/v3.0.0.js +20 -8
  151. package/dist/esm/src/migration/to/v3.1.0.js +6 -4
  152. package/dist/esm/src/migration/to/v3.10.0.js +1 -1
  153. package/dist/esm/src/migration/to/v3.13.0.js +1 -1
  154. package/dist/esm/src/migration/to/v3.17.0.js +1 -1
  155. package/dist/esm/src/migration/to/v3.18.0.js +4 -4
  156. package/dist/esm/src/migration/to/v3.18.1.js +1 -1
  157. package/dist/esm/src/migration/to/v3.18.2.js +1 -1
  158. package/dist/esm/src/migration/to/v3.20.0.js +5 -2
  159. package/dist/esm/src/migration/to/v3.22.0.js +1 -1
  160. package/dist/esm/src/migration/to/v3.31.0.js +2 -2
  161. package/dist/esm/src/migration/to/v3.32.0.js +3 -1
  162. package/dist/esm/src/migration/to/v3.34.0.js +6 -9
  163. package/dist/esm/src/migration/to/v3.36.0.js +1 -1
  164. package/dist/esm/src/migration/to/v3.39.0.js +8 -8
  165. package/dist/esm/src/migration/to/v3.40.0.js +1 -1
  166. package/dist/esm/src/migration/to/v3.46.0.js +1 -1
  167. package/dist/esm/src/migration/to/v3.51.0.js +10 -0
  168. package/dist/esm/src/migration/to/v3.9.0.js +3 -3
  169. package/dist/esm/src/mocks.js +1 -1
  170. package/dist/esm/src/models/project-schema.js +4 -4
  171. package/dist/esm/src/models/shape.js +2 -2
  172. package/dist/esm/src/project-schema/index.js +3 -1
  173. package/dist/esm/src/project-schema/migrate.js +4 -2
  174. package/dist/esm/src/project-schema/v3.51.0.js +7 -0
  175. package/dist/esm/src/refs.js +29 -19
  176. package/dist/esm/src/relationships.js +26 -21
  177. package/dist/esm/src/runtime-schema.js +16 -9
  178. package/dist/esm/src/schema-transform.js +3 -3
  179. package/dist/esm/src/schema-util.js +40 -32
  180. package/dist/esm/src/schemas/auth-schemas.json +18 -78
  181. package/dist/esm/src/schemas/index.js +15 -13
  182. package/dist/esm/src/schemas/project-schema/experimental.json +7 -20
  183. package/dist/esm/src/schemas/project-schema/latest.json +166 -566
  184. package/dist/esm/src/schemas/project-schema/meta-schema-v1.0.0.json +3 -17
  185. package/dist/esm/src/schemas/project-schema/meta-schema-v3.0.0.json +4 -4
  186. package/dist/esm/src/schemas/project-schema/meta-schema-v3.1.0.json +4 -4
  187. package/dist/esm/src/schemas/project-schema/meta-schema-v3.2.0.json +5 -5
  188. package/dist/esm/src/schemas/project-schema/meta-schema-v3.3.0.json +5 -5
  189. package/dist/esm/src/schemas/project-schema/meta-schema-v3.4.0.json +11 -43
  190. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.0.json +7 -7
  191. package/dist/esm/src/schemas/project-schema/meta-schema-v3.5.1.json +8 -11
  192. package/dist/esm/src/schemas/project-schema/meta-schema-v3.6.0.json +8 -11
  193. package/dist/esm/src/schemas/project-schema/meta-schema-v3.7.0.json +11 -9
  194. package/dist/esm/src/schemas/project-schema/meta-schema-v3.8.0.json +11 -9
  195. package/dist/esm/src/schemas/project-schema/meta-schema-v3.9.0.json +24 -22
  196. package/dist/esm/src/schemas/project-schema/v1.0.0.json +3 -3
  197. package/dist/esm/src/schemas/project-schema/v3.0.0.json +1 -1
  198. package/dist/esm/src/schemas/project-schema/v3.1.0.json +2 -2
  199. package/dist/esm/src/schemas/project-schema/v3.10.0.json +32 -30
  200. package/dist/esm/src/schemas/project-schema/v3.11.0.json +32 -30
  201. package/dist/esm/src/schemas/project-schema/v3.12.0.json +33 -36
  202. package/dist/esm/src/schemas/project-schema/v3.12.1.json +33 -36
  203. package/dist/esm/src/schemas/project-schema/v3.12.2.json +2122 -2125
  204. package/dist/esm/src/schemas/project-schema/v3.12.3.json +2175 -2178
  205. package/dist/esm/src/schemas/project-schema/v3.13.0.json +32 -30
  206. package/dist/esm/src/schemas/project-schema/v3.14.0.json +32 -30
  207. package/dist/esm/src/schemas/project-schema/v3.15.0.json +40 -38
  208. package/dist/esm/src/schemas/project-schema/v3.16.0.json +40 -38
  209. package/dist/esm/src/schemas/project-schema/v3.17.0.json +47 -39
  210. package/dist/esm/src/schemas/project-schema/v3.17.1.json +2204 -2196
  211. package/dist/esm/src/schemas/project-schema/v3.18.0.json +40 -38
  212. package/dist/esm/src/schemas/project-schema/v3.18.1.json +40 -38
  213. package/dist/esm/src/schemas/project-schema/v3.18.2.json +40 -38
  214. package/dist/esm/src/schemas/project-schema/v3.19.0.json +40 -38
  215. package/dist/esm/src/schemas/project-schema/v3.2.0.json +1 -1
  216. package/dist/esm/src/schemas/project-schema/v3.20.0.json +40 -38
  217. package/dist/esm/src/schemas/project-schema/v3.21.0.json +41 -39
  218. package/dist/esm/src/schemas/project-schema/v3.22.0.json +41 -39
  219. package/dist/esm/src/schemas/project-schema/v3.23.0.json +43 -43
  220. package/dist/esm/src/schemas/project-schema/v3.24.0.json +105 -458
  221. package/dist/esm/src/schemas/project-schema/v3.25.0.json +105 -458
  222. package/dist/esm/src/schemas/project-schema/v3.26.0.json +107 -466
  223. package/dist/esm/src/schemas/project-schema/v3.27.0.json +107 -466
  224. package/dist/esm/src/schemas/project-schema/v3.28.0.json +112 -471
  225. package/dist/esm/src/schemas/project-schema/v3.29.0.json +112 -471
  226. package/dist/esm/src/schemas/project-schema/v3.3.0.json +1 -1
  227. package/dist/esm/src/schemas/project-schema/v3.30.0.json +112 -472
  228. package/dist/esm/src/schemas/project-schema/v3.31.0.json +112 -486
  229. package/dist/esm/src/schemas/project-schema/v3.32.0.json +113 -488
  230. package/dist/esm/src/schemas/project-schema/v3.33.0.json +113 -488
  231. package/dist/esm/src/schemas/project-schema/v3.34.0.json +113 -488
  232. package/dist/esm/src/schemas/project-schema/v3.35.0.json +114 -491
  233. package/dist/esm/src/schemas/project-schema/v3.36.0.json +114 -491
  234. package/dist/esm/src/schemas/project-schema/v3.37.0.json +118 -511
  235. package/dist/esm/src/schemas/project-schema/v3.38.0.json +118 -511
  236. package/dist/esm/src/schemas/project-schema/v3.39.0.json +118 -511
  237. package/dist/esm/src/schemas/project-schema/v3.4.0.json +1 -1
  238. package/dist/esm/src/schemas/project-schema/v3.40.0.json +118 -512
  239. package/dist/esm/src/schemas/project-schema/v3.41.0.json +118 -512
  240. package/dist/esm/src/schemas/project-schema/v3.42.0.json +118 -512
  241. package/dist/esm/src/schemas/project-schema/v3.43.0.json +118 -512
  242. package/dist/esm/src/schemas/project-schema/v3.44.0.json +125 -540
  243. package/dist/esm/src/schemas/project-schema/v3.45.0.json +128 -554
  244. package/dist/esm/src/schemas/project-schema/v3.46.0.json +129 -560
  245. package/dist/esm/src/schemas/project-schema/v3.47.0.json +131 -568
  246. package/dist/esm/src/schemas/project-schema/v3.48.0.json +132 -572
  247. package/dist/esm/src/schemas/project-schema/v3.49.0.json +132 -558
  248. package/dist/esm/src/schemas/project-schema/v3.5.0.json +1 -1
  249. package/dist/esm/src/schemas/project-schema/v3.5.1.json +1 -1
  250. package/dist/esm/src/schemas/project-schema/v3.50.0.json +165 -565
  251. package/dist/esm/src/schemas/project-schema/v3.51.0.json +3320 -0
  252. package/dist/esm/src/schemas/project-schema/v3.6.0.json +1 -1
  253. package/dist/esm/src/schemas/project-schema/v3.7.0.json +1 -1
  254. package/dist/esm/src/schemas/project-schema/v3.8.0.json +1 -1
  255. package/dist/esm/src/schemas/project-schema/v3.9.0.json +1 -1
  256. package/dist/esm/src/schemas/project-schema/v4.0.0.json +31 -29
  257. package/dist/esm/src/schemas/project-schema.json +3 -0
  258. package/dist/esm/src/schemas/user-schema.json +2 -9
  259. package/dist/esm/src/service-dependencies.js +17 -11
  260. package/dist/esm/src/services/services.js +12 -11
  261. package/dist/esm/src/services/util.js +4 -4
  262. package/dist/esm/src/template-shapes/templates.js +18 -12
  263. package/dist/esm/src/template-shapes/where.js +24 -15
  264. package/dist/esm/src/types/utils.js +3 -3
  265. package/dist/esm/src/unions.js +6 -8
  266. package/dist/esm/src/util/api-indexing.js +4 -4
  267. package/dist/esm/src/util/detect-cycles.js +2 -2
  268. package/dist/esm/src/util/find-shape-at-path.js +1 -1
  269. package/dist/esm/src/util/form-config.js +0 -1
  270. package/dist/esm/src/util/get-conflicting-properties.js +1 -1
  271. package/dist/esm/src/util/merge.js +23 -14
  272. package/dist/esm/src/util/patch-schema.js +2 -2
  273. package/dist/esm/src/util/shapes.js +2 -2
  274. package/dist/esm/src/validate.js +64 -47
  275. package/dist/esm/src/workflows.js +4 -4
  276. package/dist/types/src/agents.d.ts +1 -1
  277. package/dist/types/src/builtin-schema.d.ts +2 -2
  278. package/dist/types/src/content-schema-transform.d.ts +1 -1
  279. package/dist/types/src/create-input-schema.d.ts +1 -1
  280. package/dist/types/src/enum.d.ts +1 -1
  281. package/dist/types/src/flatten-templates.d.ts +1 -1
  282. package/dist/types/src/layers/layers.d.ts +1 -1
  283. package/dist/types/src/layers/refs.d.ts +1 -1
  284. package/dist/types/src/layers/type-utils.d.ts +1 -1
  285. package/dist/types/src/layers/visitor.d.ts +2 -2
  286. package/dist/types/src/migration/index.d.ts +1 -0
  287. package/dist/types/src/migration/to/v3.17.1.d.ts +1 -1
  288. package/dist/types/src/migration/to/v3.19.0.d.ts +1 -1
  289. package/dist/types/src/migration/to/v3.21.0.d.ts +1 -1
  290. package/dist/types/src/migration/to/v3.22.0.d.ts +1 -1
  291. package/dist/types/src/migration/to/v3.23.0.d.ts +1 -1
  292. package/dist/types/src/migration/to/v3.24.0.d.ts +1 -1
  293. package/dist/types/src/migration/to/v3.25.0.d.ts +1 -1
  294. package/dist/types/src/migration/to/v3.26.0.d.ts +1 -1
  295. package/dist/types/src/migration/to/v3.27.0.d.ts +1 -1
  296. package/dist/types/src/migration/to/v3.28.0.d.ts +1 -1
  297. package/dist/types/src/migration/to/v3.29.0.d.ts +1 -1
  298. package/dist/types/src/migration/to/v3.30.0.d.ts +1 -1
  299. package/dist/types/src/migration/to/v3.31.0.d.ts +1 -1
  300. package/dist/types/src/migration/to/v3.32.0.d.ts +1 -1
  301. package/dist/types/src/migration/to/v3.33.0.d.ts +1 -1
  302. package/dist/types/src/migration/to/v3.34.0.d.ts +1 -1
  303. package/dist/types/src/migration/to/v3.35.0.d.ts +1 -1
  304. package/dist/types/src/migration/to/v3.36.0.d.ts +1 -1
  305. package/dist/types/src/migration/to/v3.37.0.d.ts +1 -1
  306. package/dist/types/src/migration/to/v3.38.0.d.ts +1 -1
  307. package/dist/types/src/migration/to/v3.39.0.d.ts +1 -1
  308. package/dist/types/src/migration/to/v3.40.0.d.ts +1 -1
  309. package/dist/types/src/migration/to/v3.41.0.d.ts +1 -1
  310. package/dist/types/src/migration/to/v3.42.0.d.ts +1 -1
  311. package/dist/types/src/migration/to/v3.43.0.d.ts +1 -1
  312. package/dist/types/src/migration/to/v3.44.0.d.ts +1 -1
  313. package/dist/types/src/migration/to/v3.45.0.d.ts +1 -1
  314. package/dist/types/src/migration/to/v3.46.0.d.ts +1 -1
  315. package/dist/types/src/migration/to/v3.47.0.d.ts +1 -1
  316. package/dist/types/src/migration/to/v3.48.0.d.ts +1 -1
  317. package/dist/types/src/migration/to/v3.49.0.d.ts +1 -1
  318. package/dist/types/src/migration/to/v3.50.0.d.ts +1 -1
  319. package/dist/types/src/migration/to/v3.51.0.d.ts +4 -0
  320. package/dist/types/src/migration/types.d.ts +1 -1
  321. package/dist/types/src/mocks.d.ts +1 -1
  322. package/dist/types/src/models/project-schema.d.ts +3 -3
  323. package/dist/types/src/models/query.d.ts +2 -2
  324. package/dist/types/src/models/service.d.ts +2 -2
  325. package/dist/types/src/models/shape.d.ts +2 -2
  326. package/dist/types/src/project-schema/index.d.ts +4 -1
  327. package/dist/types/src/project-schema/latest.d.ts +28 -10
  328. package/dist/types/src/project-schema/v3.50.0.d.ts +27 -9
  329. package/dist/types/src/project-schema/v3.51.0.d.ts +2189 -0
  330. package/dist/types/src/refs.d.ts +1 -1
  331. package/dist/types/src/relationships.d.ts +2 -2
  332. package/dist/types/src/runtime-schema.d.ts +1 -1
  333. package/dist/types/src/schema-transform.d.ts +1 -1
  334. package/dist/types/src/schema-util.d.ts +2 -2
  335. package/dist/types/src/schemas/index.d.ts +2 -2
  336. package/dist/types/src/service-dependencies.d.ts +2 -2
  337. package/dist/types/src/services/services.d.ts +3 -3
  338. package/dist/types/src/services/util.d.ts +2 -2
  339. package/dist/types/src/template-shapes/index.d.ts +2 -2
  340. package/dist/types/src/template-shapes/names.d.ts +1 -1
  341. package/dist/types/src/template-shapes/types.d.ts +2 -2
  342. package/dist/types/src/template-shapes/where.d.ts +1 -1
  343. package/dist/types/src/types/transforms.d.ts +1 -1
  344. package/dist/types/src/types/types.d.ts +4 -4
  345. package/dist/types/src/types/utils.d.ts +2 -2
  346. package/dist/types/src/unions.d.ts +2 -2
  347. package/dist/types/src/util/ai-tools.d.ts +1 -1
  348. package/dist/types/src/util/api-indexing.d.ts +1 -1
  349. package/dist/types/src/util/detect-cycles.d.ts +1 -1
  350. package/dist/types/src/util/find-shape-at-path.d.ts +1 -1
  351. package/dist/types/src/util/form-config.d.ts +1 -1
  352. package/dist/types/src/util/get-conflicting-properties.d.ts +1 -1
  353. package/dist/types/src/util/get-return-shape.d.ts +1 -1
  354. package/dist/types/src/util/has-arg.d.ts +2 -2
  355. package/dist/types/src/util/merge.d.ts +1 -1
  356. package/dist/types/src/util/patch-schema.d.ts +2 -2
  357. package/dist/types/src/util/shapes.d.ts +1 -1
  358. package/dist/types/src/validate.d.ts +4 -4
  359. package/dist/types/src/workflows.d.ts +1 -1
  360. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  361. package/examples/latest/agent-schema.json +5 -13
  362. package/examples/latest/all-fields-shapes-inline.json +19 -53
  363. package/examples/latest/all-fields-shapes.json +27 -77
  364. package/examples/latest/betzino.json +903 -3140
  365. package/examples/latest/blog-schema.json +9 -29
  366. package/examples/latest/brewery-schema.json +8 -26
  367. package/examples/latest/clear-cache-schema.json +4 -8
  368. package/examples/latest/complex-project-schema.json +99 -360
  369. package/examples/latest/complex-schema.json +487 -1754
  370. package/examples/latest/edit-schema.json +5 -12
  371. package/examples/latest/fabric-ecommerce.json +188 -839
  372. package/examples/latest/frank-and-fred-schema.json +489 -1756
  373. package/examples/latest/klirr-schema.json +683 -2412
  374. package/examples/latest/layers/rick-and-morty-layer.json +12 -33
  375. package/examples/latest/layers/shopify-layer-2023-01.json +2207 -8638
  376. package/examples/latest/layers/shopify-storefront-2023-04.json +403 -1713
  377. package/examples/latest/layers/wordpress-2024-01.json +689 -2744
  378. package/examples/latest/massive-schema.json +132 -585
  379. package/examples/latest/mill-components-schema.json +30 -126
  380. package/examples/latest/nested-shape-arrays.json +8 -20
  381. package/examples/latest/one-earth.json +237 -1114
  382. package/examples/latest/pet-oneof-array.json +8 -23
  383. package/examples/latest/post-schema.json +7 -21
  384. package/examples/latest/pruned-shopify-product-schema.json +186 -831
  385. package/examples/latest/rag-example.json +6 -16
  386. package/examples/latest/real-world-schema.json +15 -57
  387. package/examples/latest/recursive-repeater-schema.json +5 -12
  388. package/examples/latest/recursive-schema.json +5 -12
  389. package/examples/latest/rick-and-morty-ast.json +46 -175
  390. package/examples/latest/rick-and-morty-graphql.json +26 -101
  391. package/examples/latest/rick-and-morty-rest.json +4 -8
  392. package/examples/latest/rick-and-morty-with-indexing.json +6 -14
  393. package/examples/latest/schema-where-filter.json +12 -41
  394. package/examples/latest/schema-with-repeater-draftjs.json +4 -9
  395. package/examples/latest/schema-with-rick-and-morty.json +3 -5
  396. package/examples/latest/shape-books-v3_2_0.json +18 -72
  397. package/examples/latest/shape-books.json +18 -72
  398. package/examples/latest/shape-editor-schema-edited.json +24 -70
  399. package/examples/latest/shape-editor-schema-initial.json +11 -29
  400. package/examples/latest/shapedb-crud-every-prop-type.json +9 -23
  401. package/examples/latest/shopify-lookbook.json +6 -20
  402. package/examples/latest/shopify-product-2022-07.json +727 -3218
  403. package/examples/latest/shopify-product-2023-04.json +1013 -4497
  404. package/examples/latest/shopify-store-with-widget.json +214 -943
  405. package/examples/latest/stripe-product-runtime-schema.json +82 -278
  406. package/examples/latest/stripe-starter-resolved.json +477 -1954
  407. package/examples/latest/user-schema-no-required.json +4 -14
  408. package/examples/latest/user-schema-with-defaults.json +6 -28
  409. package/examples/latest/valvoline-ai-demo.json +18 -70
  410. package/examples/latest/vector-search-schema.json +9 -25
  411. package/examples/source/agent-schema.json +29 -16
  412. package/examples/source/all-fields-shapes-inline.json +21 -30
  413. package/examples/source/all-fields-shapes.json +26 -76
  414. package/examples/source/betzino.json +1501 -4960
  415. package/examples/source/blog-schema.json +1 -1
  416. package/examples/source/brewery-schema.json +1 -1
  417. package/examples/source/clear-cache-schema.json +4 -4
  418. package/examples/source/complex-project-schema.json +196 -688
  419. package/examples/source/edit-schema.json +3 -3
  420. package/examples/source/fabric-ecommerce.json +186 -837
  421. package/examples/source/frank-and-fred-schema.json +1136 -3929
  422. package/examples/source/layers/rick-and-morty-layer.json +10 -31
  423. package/examples/source/layers/shopify-layer-2023-01.json +2205 -8636
  424. package/examples/source/layers/shopify-storefront-2023-04.json +401 -1711
  425. package/examples/source/layers/wordpress-2024-01.json +689 -2743
  426. package/examples/source/massive-schema.json +386 -1455
  427. package/examples/source/nested-shape-arrays.json +12 -12
  428. package/examples/source/pet-oneof-array.json +31 -29
  429. package/examples/source/post-schema.json +1 -1
  430. package/examples/source/pruned-shopify-product-schema.json +184 -829
  431. package/examples/source/rag-example.json +5 -15
  432. package/examples/source/real-world-schema.json +32 -119
  433. package/examples/source/recursive-repeater-schema.json +3 -8
  434. package/examples/source/recursive-schema.json +1 -1
  435. package/examples/source/rick-and-morty-ast.json +66 -251
  436. package/examples/source/rick-and-morty-graphql.json +41 -162
  437. package/examples/source/rick-and-morty-rest.json +24 -6
  438. package/examples/source/rick-and-morty-with-indexing.json +25 -25
  439. package/examples/source/schema-where-filter.json +29 -50
  440. package/examples/source/schema-with-repeater-draftjs.json +9 -31
  441. package/examples/source/schema-with-rick-and-morty.json +4 -4
  442. package/examples/source/shape-books.json +49 -181
  443. package/examples/source/shape-editor-schema-edited.json +22 -68
  444. package/examples/source/shape-editor-schema-initial.json +9 -27
  445. package/examples/source/shapedb-crud-every-prop-type.json +20 -29
  446. package/examples/source/shopify-product-2022-07.json +736 -3261
  447. package/examples/source/shopify-product-2023-04.json +1022 -4540
  448. package/examples/source/shopify-store-with-widget.json +212 -941
  449. package/examples/source/stripe-product-runtime-schema.json +91 -321
  450. package/examples/source/stripe-starter-resolved.json +475 -1952
  451. package/examples/source/user-schema-with-defaults.json +1 -9
  452. package/examples/source/valvoline-ai-demo.json +175 -219
  453. package/examples/source/vector-search-schema.json +37 -38
  454. package/examples/v4_0_0/rick-and-morty-notes/flattened-schema.json +15 -49
  455. package/examples/v4_0_0/rick-and-morty-notes/layers/character-notes.json +8 -8
  456. package/examples/v4_0_0/rick-and-morty-notes/layers/takeshape-builtins.json +1 -3
  457. package/examples/v4_0_0/rick-and-morty-notes/layers/takeshape-static-sites.json +19 -79
  458. package/examples/v4_0_0/rick-and-morty-notes/schema.json +8 -5
  459. package/examples/v4_0_0/shopify-lookbook/flattened-schema.json +190 -851
  460. package/examples/v4_0_0/shopify-lookbook/layers/andrews-store.json +1103 -4431
  461. package/examples/v4_0_0/shopify-lookbook/layers/lookbook.json +64 -56
  462. package/examples/v4_0_0/shopify-lookbook/layers/takeshape-assets.json +1 -4
  463. package/examples/v4_0_0/shopify-lookbook/layers/takeshape-builtins.json +1 -3
  464. package/examples/v4_0_0/shopify-lookbook/schema.json +3 -10
  465. package/package.json +12 -9
@@ -29,15 +29,7 @@
29
29
  },
30
30
  "simpleTypes": {
31
31
  "title": "Simple Types",
32
- "enum": [
33
- "array",
34
- "boolean",
35
- "integer",
36
- "null",
37
- "number",
38
- "object",
39
- "string"
40
- ]
32
+ "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
41
33
  },
42
34
  "stringArray": {
43
35
  "title": "String Array",
@@ -62,9 +54,7 @@
62
54
  }
63
55
  },
64
56
  "additionalProperties": false,
65
- "required": [
66
- "enabled"
67
- ]
57
+ "required": ["enabled"]
68
58
  },
69
59
  "mappingString": {
70
60
  "title": "Mapping String",
@@ -93,9 +83,7 @@
93
83
  "$ref": "#/definitions/ref"
94
84
  }
95
85
  },
96
- "required": [
97
- "@ref"
98
- ]
86
+ "required": ["@ref"]
99
87
  },
100
88
  "refSchemaLegacy": {
101
89
  "title": "Ref Schema Legacy",
@@ -105,9 +93,7 @@
105
93
  "$ref": "#/definitions/ref"
106
94
  }
107
95
  },
108
- "required": [
109
- "$ref"
110
- ]
96
+ "required": ["$ref"]
111
97
  },
112
98
  "shapeSchemaEnum": {
113
99
  "title": "Shape Schema Enum",
@@ -120,9 +106,7 @@
120
106
  }
121
107
  },
122
108
  "additionalProperties": false,
123
- "required": [
124
- "enum"
125
- ]
109
+ "required": ["enum"]
126
110
  },
127
111
  "objectSchema": {
128
112
  "title": "Object Schema",
@@ -144,10 +128,7 @@
144
128
  }
145
129
  }
146
130
  },
147
- "required": [
148
- "type",
149
- "properties"
150
- ]
131
+ "required": ["type", "properties"]
151
132
  }
152
133
  ]
153
134
  },
@@ -173,26 +154,15 @@
173
154
  "type": "object",
174
155
  "properties": {
175
156
  "type": {
176
- "enum": [
177
- "boolean",
178
- "integer",
179
- "number",
180
- "string",
181
- "object"
182
- ]
157
+ "enum": ["boolean", "integer", "number", "string", "object"]
183
158
  }
184
159
  },
185
- "required": [
186
- "type"
187
- ]
160
+ "required": ["type"]
188
161
  }
189
162
  ]
190
163
  }
191
164
  },
192
- "required": [
193
- "type",
194
- "items"
195
- ]
165
+ "required": ["type", "items"]
196
166
  }
197
167
  ]
198
168
  },
@@ -222,9 +192,7 @@
222
192
  "$ref": "#/definitions/objectOrRefArray"
223
193
  }
224
194
  },
225
- "required": [
226
- "allOf"
227
- ],
195
+ "required": ["allOf"],
228
196
  "additionalProperties": false
229
197
  },
230
198
  "allOfSchema": {
@@ -240,9 +208,7 @@
240
208
  "$ref": "#/definitions/objectOrRefArray"
241
209
  }
242
210
  },
243
- "required": [
244
- "allOf"
245
- ]
211
+ "required": ["allOf"]
246
212
  }
247
213
  ]
248
214
  },
@@ -254,9 +220,7 @@
254
220
  "$ref": "#/definitions/objectOrRefArray"
255
221
  }
256
222
  },
257
- "required": [
258
- "extends"
259
- ],
223
+ "required": ["extends"],
260
224
  "additionalProperties": false
261
225
  },
262
226
  "extendsSchema": {
@@ -272,9 +236,7 @@
272
236
  "$ref": "#/definitions/objectOrRefArray"
273
237
  }
274
238
  },
275
- "required": [
276
- "extends"
277
- ]
239
+ "required": ["extends"]
278
240
  }
279
241
  ]
280
242
  },
@@ -286,9 +248,7 @@
286
248
  "$ref": "#/definitions/objectOrRefArray"
287
249
  }
288
250
  },
289
- "required": [
290
- "oneOf"
291
- ],
251
+ "required": ["oneOf"],
292
252
  "additionalProperties": false
293
253
  },
294
254
  "oneOfSchema": {
@@ -304,9 +264,7 @@
304
264
  "$ref": "#/definitions/objectOrRefArray"
305
265
  }
306
266
  },
307
- "required": [
308
- "oneOf"
309
- ],
267
+ "required": ["oneOf"],
310
268
  "additionalProperties": false
311
269
  }
312
270
  ]
@@ -397,16 +355,7 @@
397
355
  "properties": {
398
356
  "style": {
399
357
  "type": "string",
400
- "enum": [
401
- "simple",
402
- "label",
403
- "matrix",
404
- "form",
405
- "spaceDelimited",
406
- "pipeDelimited",
407
- "deepObject",
408
- "none"
409
- ]
358
+ "enum": ["simple", "label", "matrix", "form", "spaceDelimited", "pipeDelimited", "deepObject", "none"]
410
359
  },
411
360
  "explode": {
412
361
  "type": "boolean"
@@ -422,9 +371,7 @@
422
371
  "type": "boolean"
423
372
  }
424
373
  },
425
- "required": [
426
- "style"
427
- ],
374
+ "required": ["style"],
428
375
  "additionalProperties": false
429
376
  },
430
377
  "parameterSerializeStyleOptionsForPathParams": {
@@ -434,12 +381,7 @@
434
381
  "properties": {
435
382
  "style": {
436
383
  "type": "string",
437
- "enum": [
438
- "simple",
439
- "label",
440
- "matrix",
441
- "none"
442
- ]
384
+ "enum": ["simple", "label", "matrix", "none"]
443
385
  },
444
386
  "explode": {
445
387
  "type": "boolean"
@@ -455,9 +397,7 @@
455
397
  "type": "boolean"
456
398
  }
457
399
  },
458
- "required": [
459
- "style"
460
- ],
400
+ "required": ["style"],
461
401
  "additionalProperties": false
462
402
  },
463
403
  "parameterSerializeStyleOptionsForSearchParams": {
@@ -467,13 +407,7 @@
467
407
  "properties": {
468
408
  "style": {
469
409
  "type": "string",
470
- "enum": [
471
- "form",
472
- "spaceDelimited",
473
- "pipeDelimited",
474
- "deepObject",
475
- "none"
476
- ]
410
+ "enum": ["form", "spaceDelimited", "pipeDelimited", "deepObject", "none"]
477
411
  },
478
412
  "explode": {
479
413
  "type": "boolean"
@@ -489,9 +423,7 @@
489
423
  "type": "boolean"
490
424
  }
491
425
  },
492
- "required": [
493
- "style"
494
- ],
426
+ "required": ["style"],
495
427
  "additionalProperties": false
496
428
  },
497
429
  "parameterSerializeStyleOptionsForHeaders": {
@@ -501,18 +433,13 @@
501
433
  "properties": {
502
434
  "style": {
503
435
  "type": "string",
504
- "enum": [
505
- "simple",
506
- "none"
507
- ]
436
+ "enum": ["simple", "none"]
508
437
  },
509
438
  "explode": {
510
439
  "type": "boolean"
511
440
  }
512
441
  },
513
- "required": [
514
- "style"
515
- ],
442
+ "required": ["style"],
516
443
  "additionalProperties": false
517
444
  },
518
445
  "parameterSerializeContentOptions": {
@@ -535,9 +462,7 @@
535
462
  "type": "object"
536
463
  }
537
464
  },
538
- "required": [
539
- "contentType"
540
- ],
465
+ "required": ["contentType"],
541
466
  "additionalProperties": false
542
467
  },
543
468
  "parameterSerializeOptions": {
@@ -621,9 +546,7 @@
621
546
  }
622
547
  }
623
548
  },
624
- "required": [
625
- "template"
626
- ],
549
+ "required": ["template"],
627
550
  "additionalProperties": false
628
551
  },
629
552
  "parameterSerializeConfigForSearchParams": {
@@ -706,22 +629,14 @@
706
629
  "op": {
707
630
  "description": "A mode for this parameter's operation.",
708
631
  "type": "string",
709
- "enum": [
710
- "set",
711
- "concat",
712
- "extend",
713
- "remove"
714
- ]
632
+ "enum": ["set", "concat", "extend", "remove"]
715
633
  },
716
634
  "ops": {
717
635
  "description": "A nested op list.",
718
636
  "$ref": "#/definitions/parameterOpList"
719
637
  }
720
638
  },
721
- "required": [
722
- "path",
723
- "ops"
724
- ],
639
+ "required": ["path", "ops"],
725
640
  "additionalProperties": false
726
641
  },
727
642
  "parameterOpValue": {
@@ -738,29 +653,14 @@
738
653
  "op": {
739
654
  "description": "A mode for this parameter's operation.",
740
655
  "type": "string",
741
- "enum": [
742
- "set",
743
- "concat",
744
- "extend",
745
- "remove"
746
- ]
656
+ "enum": ["set", "concat", "extend", "remove"]
747
657
  },
748
658
  "value": {
749
659
  "description": "A value to set directly at this path.",
750
- "type": [
751
- "number",
752
- "string",
753
- "boolean",
754
- "object",
755
- "array",
756
- "null"
757
- ]
660
+ "type": ["number", "string", "boolean", "object", "array", "null"]
758
661
  }
759
662
  },
760
- "required": [
761
- "path",
762
- "value"
763
- ],
663
+ "required": ["path", "value"],
764
664
  "additionalProperties": false
765
665
  },
766
666
  "parameterOpMapping": {
@@ -777,12 +677,7 @@
777
677
  "op": {
778
678
  "description": "A mode for this parameter's operation.",
779
679
  "type": "string",
780
- "enum": [
781
- "set",
782
- "concat",
783
- "extend",
784
- "remove"
785
- ]
680
+ "enum": ["set", "concat", "extend", "remove"]
786
681
  },
787
682
  "mapping": {
788
683
  "description": "Either a valid JSONPath or a directive pipeline to evaluate against the query context.",
@@ -797,10 +692,7 @@
797
692
  ]
798
693
  }
799
694
  },
800
- "required": [
801
- "path",
802
- "mapping"
803
- ],
695
+ "required": ["path", "mapping"],
804
696
  "additionalProperties": false
805
697
  },
806
698
  "parameterOpOp": {
@@ -817,18 +709,10 @@
817
709
  "op": {
818
710
  "description": "A mode for this parameter's operation.",
819
711
  "type": "string",
820
- "enum": [
821
- "set",
822
- "concat",
823
- "extend",
824
- "remove"
825
- ]
712
+ "enum": ["set", "concat", "extend", "remove"]
826
713
  }
827
714
  },
828
- "required": [
829
- "path",
830
- "op"
831
- ],
715
+ "required": ["path", "op"],
832
716
  "additionalProperties": false
833
717
  },
834
718
  "parameterOp": {
@@ -869,9 +753,7 @@
869
753
  "$ref": "#/definitions/parameterSerializeConfig"
870
754
  }
871
755
  },
872
- "required": [
873
- "ops"
874
- ],
756
+ "required": ["ops"],
875
757
  "additionalProperties": false
876
758
  },
877
759
  "parameterConfigForBody": {
@@ -885,9 +767,7 @@
885
767
  "$ref": "#/definitions/parameterSerializeConfigForBody"
886
768
  }
887
769
  },
888
- "required": [
889
- "ops"
890
- ],
770
+ "required": ["ops"],
891
771
  "additionalProperties": false
892
772
  },
893
773
  "parameterConfigForPathParams": {
@@ -901,10 +781,7 @@
901
781
  "$ref": "#/definitions/parameterSerializeConfigForPathParams"
902
782
  }
903
783
  },
904
- "required": [
905
- "ops",
906
- "serialize"
907
- ],
784
+ "required": ["ops", "serialize"],
908
785
  "additionalProperties": false
909
786
  },
910
787
  "parameterConfigForAwsLambda": {
@@ -918,10 +795,7 @@
918
795
  "$ref": "#/definitions/parameterSerializeConfigForPathParams"
919
796
  }
920
797
  },
921
- "required": [
922
- "ops",
923
- "serialize"
924
- ],
798
+ "required": ["ops", "serialize"],
925
799
  "additionalProperties": false
926
800
  },
927
801
  "parameterConfigForSearchParams": {
@@ -935,9 +809,7 @@
935
809
  "$ref": "#/definitions/parameterSerializeConfigForSearchParams"
936
810
  }
937
811
  },
938
- "required": [
939
- "ops"
940
- ],
812
+ "required": ["ops"],
941
813
  "additionalProperties": false
942
814
  },
943
815
  "parameterConfigForHeaders": {
@@ -951,9 +823,7 @@
951
823
  "$ref": "#/definitions/parameterSerializeConfigForHeaders"
952
824
  }
953
825
  },
954
- "required": [
955
- "ops"
956
- ],
826
+ "required": ["ops"],
957
827
  "additionalProperties": false
958
828
  },
959
829
  "parameterConfigForJson": {
@@ -964,9 +834,7 @@
964
834
  "$ref": "#/definitions/parameterOpList"
965
835
  }
966
836
  },
967
- "required": [
968
- "ops"
969
- ],
837
+ "required": ["ops"],
970
838
  "additionalProperties": false
971
839
  },
972
840
  "directiveConfig": {
@@ -1125,10 +993,7 @@
1125
993
  "title": "UtilResolverName",
1126
994
  "type": "string",
1127
995
  "description": "Name of the resolver function.",
1128
- "enum": [
1129
- "util:noop",
1130
- "util:wrap"
1131
- ]
996
+ "enum": ["util:noop", "util:wrap"]
1132
997
  },
1133
998
  "options": {
1134
999
  "title": "UtilResolverOptions",
@@ -1137,14 +1002,7 @@
1137
1002
  },
1138
1003
  "value": {
1139
1004
  "description": "Optional value to return from the noop resolver.",
1140
- "type": [
1141
- "number",
1142
- "string",
1143
- "boolean",
1144
- "object",
1145
- "array",
1146
- "null"
1147
- ]
1005
+ "type": ["number", "string", "boolean", "object", "array", "null"]
1148
1006
  },
1149
1007
  "args": {
1150
1008
  "description": "Mapping and serialization configuration for args.",
@@ -1161,9 +1019,7 @@
1161
1019
  "$ref": "#/definitions/resultsMapping"
1162
1020
  }
1163
1021
  },
1164
- "required": [
1165
- "name"
1166
- ],
1022
+ "required": ["name"],
1167
1023
  "additionalProperties": false
1168
1024
  },
1169
1025
  "functionResolver": {
@@ -1181,9 +1037,7 @@
1181
1037
  "title": "FunctionResolverName",
1182
1038
  "type": "string",
1183
1039
  "description": "Name of the resolver function.",
1184
- "enum": [
1185
- "function:run"
1186
- ]
1040
+ "enum": ["function:run"]
1187
1041
  },
1188
1042
  "options": {
1189
1043
  "title": "FunctionResolverOptions",
@@ -1209,9 +1063,7 @@
1209
1063
  "type": "string"
1210
1064
  }
1211
1065
  },
1212
- "required": [
1213
- "name"
1214
- ],
1066
+ "required": ["name"],
1215
1067
  "additionalProperties": false
1216
1068
  },
1217
1069
  "delegateResolver": {
@@ -1229,9 +1081,7 @@
1229
1081
  "title": "Delegate Resolver Name",
1230
1082
  "type": "string",
1231
1083
  "description": "Name of the resolver function.",
1232
- "enum": [
1233
- "delegate"
1234
- ]
1084
+ "enum": ["delegate"]
1235
1085
  },
1236
1086
  "options": {
1237
1087
  "title": "DelegateResolverOptions",
@@ -1258,10 +1108,7 @@
1258
1108
  "$ref": "#/definitions/parameterConfigForJson"
1259
1109
  }
1260
1110
  },
1261
- "required": [
1262
- "name",
1263
- "to"
1264
- ],
1111
+ "required": ["name", "to"],
1265
1112
  "additionalProperties": false
1266
1113
  },
1267
1114
  "salsifyResolver": {
@@ -1279,9 +1126,7 @@
1279
1126
  "title": "Salsify Resolver Name",
1280
1127
  "type": "string",
1281
1128
  "description": "Name of the resolver function.",
1282
- "enum": [
1283
- "salsify:listChannelProducts"
1284
- ]
1129
+ "enum": ["salsify:listChannelProducts"]
1285
1130
  },
1286
1131
  "service": {
1287
1132
  "type": "string",
@@ -1307,10 +1152,7 @@
1307
1152
  "$ref": "#/definitions/resultsMapping"
1308
1153
  }
1309
1154
  },
1310
- "required": [
1311
- "name",
1312
- "service"
1313
- ],
1155
+ "required": ["name", "service"],
1314
1156
  "additionalProperties": false
1315
1157
  },
1316
1158
  "shapedbResolver": {
@@ -1340,9 +1182,7 @@
1340
1182
  "service": {
1341
1183
  "type": "string",
1342
1184
  "description": "Internal service identifier.",
1343
- "enum": [
1344
- "shapedb"
1345
- ]
1185
+ "enum": ["shapedb"]
1346
1186
  },
1347
1187
  "options": {
1348
1188
  "title": "ShapedbResolverOptions",
@@ -1369,11 +1209,7 @@
1369
1209
  "$ref": "#/definitions/parameterConfigForJson"
1370
1210
  }
1371
1211
  },
1372
- "required": [
1373
- "name",
1374
- "service",
1375
- "shapeName"
1376
- ],
1212
+ "required": ["name", "service", "shapeName"],
1377
1213
  "additionalProperties": false
1378
1214
  },
1379
1215
  "shapedbResolverShapeNameNotRequired": {
@@ -1391,18 +1227,12 @@
1391
1227
  "title": "ShapedbResolverShapeNameNotRequiredName",
1392
1228
  "type": "string",
1393
1229
  "description": "Name of the resolver function.",
1394
- "enum": [
1395
- "shapedb:list",
1396
- "shapedb:taxonomySuggest",
1397
- "shapedb:getRelated"
1398
- ]
1230
+ "enum": ["shapedb:list", "shapedb:taxonomySuggest", "shapedb:getRelated"]
1399
1231
  },
1400
1232
  "service": {
1401
1233
  "type": "string",
1402
1234
  "description": "Internal service identifier.",
1403
- "enum": [
1404
- "shapedb"
1405
- ]
1235
+ "enum": ["shapedb"]
1406
1236
  },
1407
1237
  "options": {
1408
1238
  "title": "ShapedbResolverShapeNameNotRequiredOptions",
@@ -1429,10 +1259,7 @@
1429
1259
  "$ref": "#/definitions/resultsMapping"
1430
1260
  }
1431
1261
  },
1432
- "required": [
1433
- "name",
1434
- "service"
1435
- ],
1262
+ "required": ["name", "service"],
1436
1263
  "additionalProperties": false
1437
1264
  },
1438
1265
  "aiToolConfig": {
@@ -1446,9 +1273,7 @@
1446
1273
  "type": "string"
1447
1274
  }
1448
1275
  },
1449
- "required": [
1450
- "ref"
1451
- ],
1276
+ "required": ["ref"],
1452
1277
  "additionalProperties": false
1453
1278
  },
1454
1279
  "aiSimilarityGuardrail": {
@@ -1456,9 +1281,7 @@
1456
1281
  "type": "object",
1457
1282
  "properties": {
1458
1283
  "name": {
1459
- "enum": [
1460
- "similarity"
1461
- ]
1284
+ "enum": ["similarity"]
1462
1285
  },
1463
1286
  "shape": {
1464
1287
  "type": "string"
@@ -1470,11 +1293,7 @@
1470
1293
  "type": "number"
1471
1294
  }
1472
1295
  },
1473
- "required": [
1474
- "name",
1475
- "shape",
1476
- "defaultResponse"
1477
- ],
1296
+ "required": ["name", "shape", "defaultResponse"],
1478
1297
  "additionalProperties": false
1479
1298
  },
1480
1299
  "aiGuardrail": {
@@ -1556,11 +1375,7 @@
1556
1375
  "description": "The tool choice strategy. Default: 'auto'",
1557
1376
  "anyOf": [
1558
1377
  {
1559
- "enum": [
1560
- "auto",
1561
- "none",
1562
- "required"
1563
- ]
1378
+ "enum": ["auto", "none", "required"]
1564
1379
  },
1565
1380
  {
1566
1381
  "type": "string"
@@ -1588,10 +1403,7 @@
1588
1403
  "title": "AI Resolver Name",
1589
1404
  "type": "string",
1590
1405
  "description": "Name of the resolver function.",
1591
- "enum": [
1592
- "ai:generateText",
1593
- "ai:chat"
1594
- ]
1406
+ "enum": ["ai:generateText", "ai:chat"]
1595
1407
  },
1596
1408
  "service": {
1597
1409
  "type": "string",
@@ -1637,12 +1449,7 @@
1637
1449
  "$ref": "#/definitions/parameterConfigForJson"
1638
1450
  }
1639
1451
  },
1640
- "required": [
1641
- "name",
1642
- "service",
1643
- "model",
1644
- "systemPrompt"
1645
- ],
1452
+ "required": ["name", "service", "model", "systemPrompt"],
1646
1453
  "additionalProperties": false
1647
1454
  },
1648
1455
  "aiEmbeddingResolverOptions": {
@@ -1669,9 +1476,7 @@
1669
1476
  "title": "AI Resolver Name",
1670
1477
  "type": "string",
1671
1478
  "description": "Name of the resolver function.",
1672
- "enum": [
1673
- "ai:createEmbedding"
1674
- ]
1479
+ "enum": ["ai:createEmbedding"]
1675
1480
  },
1676
1481
  "service": {
1677
1482
  "type": "string",
@@ -1692,11 +1497,7 @@
1692
1497
  "$ref": "#/definitions/parameterConfigForJson"
1693
1498
  }
1694
1499
  },
1695
- "required": [
1696
- "name",
1697
- "service",
1698
- "model"
1699
- ],
1500
+ "required": ["name", "service", "model"],
1700
1501
  "additionalProperties": false
1701
1502
  },
1702
1503
  "takeshapeResolver": {
@@ -1714,19 +1515,12 @@
1714
1515
  "title": "TakeshapeResolverName",
1715
1516
  "type": "string",
1716
1517
  "description": "Name of the resolver function.",
1717
- "enum": [
1718
- "takeshape:getUser",
1719
- "takeshape:search",
1720
- "takeshape:vectorSearch",
1721
- "takeshape:queryApiIndex"
1722
- ]
1518
+ "enum": ["takeshape:getUser", "takeshape:search", "takeshape:vectorSearch", "takeshape:queryApiIndex"]
1723
1519
  },
1724
1520
  "service": {
1725
1521
  "type": "string",
1726
1522
  "description": "Internal service identifier.",
1727
- "enum": [
1728
- "takeshape"
1729
- ]
1523
+ "enum": ["takeshape"]
1730
1524
  },
1731
1525
  "options": {
1732
1526
  "title": "TakeshapeResolverOptions",
@@ -1753,10 +1547,7 @@
1753
1547
  "$ref": "#/definitions/resultsMapping"
1754
1548
  }
1755
1549
  },
1756
- "required": [
1757
- "name",
1758
- "service"
1759
- ],
1550
+ "required": ["name", "service"],
1760
1551
  "additionalProperties": false
1761
1552
  },
1762
1553
  "graphqlResolver": {
@@ -1774,11 +1565,7 @@
1774
1565
  "title": "GraphqlResolverName",
1775
1566
  "type": "string",
1776
1567
  "description": "Name of the resolver function.",
1777
- "enum": [
1778
- "graphql:query",
1779
- "graphql:mutation",
1780
- "shopify:bulkQuery"
1781
- ]
1568
+ "enum": ["graphql:query", "graphql:mutation", "shopify:bulkQuery"]
1782
1569
  },
1783
1570
  "service": {
1784
1571
  "type": "string",
@@ -1849,11 +1636,7 @@
1849
1636
  "$ref": "#/definitions/parameterConfigForJson"
1850
1637
  }
1851
1638
  },
1852
- "required": [
1853
- "name",
1854
- "service",
1855
- "fieldName"
1856
- ],
1639
+ "required": ["name", "service", "fieldName"],
1857
1640
  "additionalProperties": false
1858
1641
  },
1859
1642
  "restResolver": {
@@ -1871,14 +1654,7 @@
1871
1654
  "title": "RestResolverName",
1872
1655
  "type": "string",
1873
1656
  "description": "Name of the resolver function.",
1874
- "enum": [
1875
- "rest:get",
1876
- "rest:head",
1877
- "rest:post",
1878
- "rest:put",
1879
- "rest:patch",
1880
- "rest:delete"
1881
- ]
1657
+ "enum": ["rest:get", "rest:head", "rest:post", "rest:put", "rest:patch", "rest:delete"]
1882
1658
  },
1883
1659
  "service": {
1884
1660
  "type": "string",
@@ -1962,11 +1738,7 @@
1962
1738
  "$ref": "#/definitions/parameterConfigForJson"
1963
1739
  }
1964
1740
  },
1965
- "required": [
1966
- "name",
1967
- "service",
1968
- "path"
1969
- ],
1741
+ "required": ["name", "service", "path"],
1970
1742
  "additionalProperties": false
1971
1743
  },
1972
1744
  "awsLambdaResolver": {
@@ -1984,9 +1756,7 @@
1984
1756
  "title": "AwsLambdaResolverName",
1985
1757
  "type": "string",
1986
1758
  "description": "Name of the resolver function.",
1987
- "enum": [
1988
- "awsLambda:invoke"
1989
- ]
1759
+ "enum": ["awsLambda:invoke"]
1990
1760
  },
1991
1761
  "service": {
1992
1762
  "type": "string",
@@ -2035,11 +1805,7 @@
2035
1805
  "$ref": "#/definitions/resultsMapping"
2036
1806
  }
2037
1807
  },
2038
- "required": [
2039
- "name",
2040
- "service",
2041
- "functionName"
2042
- ],
1808
+ "required": ["name", "service", "functionName"],
2043
1809
  "additionalProperties": false
2044
1810
  },
2045
1811
  "composeResolver": {
@@ -2067,9 +1833,7 @@
2067
1833
  "$ref": "#/definitions/parameterConfigForJson"
2068
1834
  }
2069
1835
  },
2070
- "required": [
2071
- "compose"
2072
- ],
1836
+ "required": ["compose"],
2073
1837
  "additionalProperties": false
2074
1838
  },
2075
1839
  "resolver": {
@@ -2132,10 +1896,7 @@
2132
1896
  "description": "Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs."
2133
1897
  }
2134
1898
  },
2135
- "required": [
2136
- "resolver",
2137
- "shape"
2138
- ],
1899
+ "required": ["resolver", "shape"],
2139
1900
  "additionalProperties": false
2140
1901
  },
2141
1902
  "propertySchema": {
@@ -2217,9 +1978,7 @@
2217
1978
  "$ref": "#/definitions/propertySchema"
2218
1979
  },
2219
1980
  {
2220
- "enum": [
2221
- false
2222
- ]
1981
+ "enum": [false]
2223
1982
  }
2224
1983
  ]
2225
1984
  },
@@ -2376,11 +2135,7 @@
2376
2135
  "type": "string"
2377
2136
  },
2378
2137
  "type": {
2379
- "enum": [
2380
- "interface",
2381
- "input",
2382
- "output"
2383
- ]
2138
+ "enum": ["interface", "input", "output"]
2384
2139
  },
2385
2140
  "interfaces": {
2386
2141
  "type": "array",
@@ -2395,16 +2150,10 @@
2395
2150
  "type": {
2396
2151
  "title": "Model Type",
2397
2152
  "type": "string",
2398
- "enum": [
2399
- "single",
2400
- "multiple",
2401
- "taxonomy"
2402
- ]
2153
+ "enum": ["single", "multiple", "taxonomy"]
2403
2154
  }
2404
2155
  },
2405
- "required": [
2406
- "type"
2407
- ],
2156
+ "required": ["type"],
2408
2157
  "additionalProperties": false
2409
2158
  },
2410
2159
  "workflow": {
@@ -2423,12 +2172,7 @@
2423
2172
  "$ref": "#/definitions/shapeSchema"
2424
2173
  }
2425
2174
  },
2426
- "required": [
2427
- "name",
2428
- "title",
2429
- "id",
2430
- "schema"
2431
- ],
2175
+ "required": ["name", "title", "id", "schema"],
2432
2176
  "additionalProperties": false
2433
2177
  },
2434
2178
  "shapeWithObjectSchema": {
@@ -2445,9 +2189,7 @@
2445
2189
  "$ref": "#/definitions/objectSchema"
2446
2190
  }
2447
2191
  },
2448
- "required": [
2449
- "schema"
2450
- ],
2192
+ "required": ["schema"],
2451
2193
  "additionalProperties": false
2452
2194
  }
2453
2195
  ]
@@ -2500,9 +2242,7 @@
2500
2242
  }
2501
2243
  },
2502
2244
  "additionalProperties": false,
2503
- "required": [
2504
- "enabled"
2505
- ]
2245
+ "required": ["enabled"]
2506
2246
  },
2507
2247
  "shapeJoin": {
2508
2248
  "title": "ShapeJoin",
@@ -2522,9 +2262,7 @@
2522
2262
  "type": "string"
2523
2263
  }
2524
2264
  },
2525
- "required": [
2526
- "resolver"
2527
- ],
2265
+ "required": ["resolver"],
2528
2266
  "additionalProperties": false
2529
2267
  },
2530
2268
  "shapeJoins": {
@@ -2558,9 +2296,7 @@
2558
2296
  }
2559
2297
  },
2560
2298
  "additionalProperties": false,
2561
- "required": [
2562
- "list"
2563
- ]
2299
+ "required": ["list"]
2564
2300
  },
2565
2301
  "cachedFragmentConfig": {
2566
2302
  "title": "Cached Fragment Config",
@@ -2600,9 +2336,7 @@
2600
2336
  }
2601
2337
  },
2602
2338
  "additionalProperties": false,
2603
- "required": [
2604
- "query"
2605
- ]
2339
+ "required": ["query"]
2606
2340
  },
2607
2341
  "storedListQueryLoaderConfig": {
2608
2342
  "title": "StoredListQueryLoaderConfig",
@@ -2631,9 +2365,7 @@
2631
2365
  }
2632
2366
  },
2633
2367
  "additionalProperties": false,
2634
- "required": [
2635
- "query"
2636
- ]
2368
+ "required": ["query"]
2637
2369
  },
2638
2370
  "getQueryLoaderConfig": {
2639
2371
  "title": "GetQueryLoaderConfig",
@@ -2651,9 +2383,7 @@
2651
2383
  }
2652
2384
  },
2653
2385
  "additionalProperties": false,
2654
- "required": [
2655
- "query"
2656
- ]
2386
+ "required": ["query"]
2657
2387
  },
2658
2388
  "paginationConfig": {
2659
2389
  "title": "Pagination Config",
@@ -2675,9 +2405,7 @@
2675
2405
  "properties": {
2676
2406
  "type": {
2677
2407
  "type": "string",
2678
- "enum": [
2679
- "cursor"
2680
- ]
2408
+ "enum": ["cursor"]
2681
2409
  },
2682
2410
  "cursorArg": {
2683
2411
  "type": "string"
@@ -2699,14 +2427,7 @@
2699
2427
  }
2700
2428
  },
2701
2429
  "additionalProperties": false,
2702
- "required": [
2703
- "type",
2704
- "cursorArg",
2705
- "cursorPath",
2706
- "pageSizeArg",
2707
- "hasMorePath",
2708
- "itemsPath"
2709
- ]
2430
+ "required": ["type", "cursorArg", "cursorPath", "pageSizeArg", "hasMorePath", "itemsPath"]
2710
2431
  },
2711
2432
  "paginationPageConfig": {
2712
2433
  "title": "Pagination Page Config",
@@ -2714,9 +2435,7 @@
2714
2435
  "properties": {
2715
2436
  "type": {
2716
2437
  "type": "string",
2717
- "enum": [
2718
- "page"
2719
- ]
2438
+ "enum": ["page"]
2720
2439
  },
2721
2440
  "pageArg": {
2722
2441
  "type": "string"
@@ -2735,12 +2454,7 @@
2735
2454
  }
2736
2455
  },
2737
2456
  "additionalProperties": false,
2738
- "required": [
2739
- "type",
2740
- "pageArg",
2741
- "itemsPath",
2742
- "pageTotalPath"
2743
- ]
2457
+ "required": ["type", "pageArg", "itemsPath", "pageTotalPath"]
2744
2458
  },
2745
2459
  "paginationOffsetConfig": {
2746
2460
  "title": "Pagination Offset Config",
@@ -2748,9 +2462,7 @@
2748
2462
  "properties": {
2749
2463
  "type": {
2750
2464
  "type": "string",
2751
- "enum": [
2752
- "offset"
2753
- ]
2465
+ "enum": ["offset"]
2754
2466
  },
2755
2467
  "offsetArg": {
2756
2468
  "type": "string"
@@ -2769,12 +2481,7 @@
2769
2481
  }
2770
2482
  },
2771
2483
  "additionalProperties": false,
2772
- "required": [
2773
- "type",
2774
- "offsetArg",
2775
- "itemsPath",
2776
- "itemTotalPath"
2777
- ]
2484
+ "required": ["type", "offsetArg", "itemsPath", "itemTotalPath"]
2778
2485
  },
2779
2486
  "cacheTriggerConfig": {
2780
2487
  "title": "CacheTriggerConfig",
@@ -2793,26 +2500,17 @@
2793
2500
  "properties": {
2794
2501
  "type": {
2795
2502
  "type": "string",
2796
- "enum": [
2797
- "schedule"
2798
- ]
2503
+ "enum": ["schedule"]
2799
2504
  },
2800
2505
  "loader": {
2801
- "enum": [
2802
- "get",
2803
- "list"
2804
- ]
2506
+ "enum": ["get", "list"]
2805
2507
  },
2806
2508
  "interval": {
2807
2509
  "type": "number"
2808
2510
  }
2809
2511
  },
2810
2512
  "additionalProperties": false,
2811
- "required": [
2812
- "type",
2813
- "loader",
2814
- "interval"
2815
- ]
2513
+ "required": ["type", "loader", "interval"]
2816
2514
  },
2817
2515
  "cacheWebhookTriggerConfig": {
2818
2516
  "title": "CacheWebhookTriggerConfig",
@@ -2820,15 +2518,10 @@
2820
2518
  "properties": {
2821
2519
  "type": {
2822
2520
  "type": "string",
2823
- "enum": [
2824
- "webhook"
2825
- ]
2521
+ "enum": ["webhook"]
2826
2522
  },
2827
2523
  "loader": {
2828
- "enum": [
2829
- "get",
2830
- "list"
2831
- ]
2524
+ "enum": ["get", "list"]
2832
2525
  },
2833
2526
  "service": {
2834
2527
  "type": "string"
@@ -2841,12 +2534,7 @@
2841
2534
  }
2842
2535
  },
2843
2536
  "additionalProperties": false,
2844
- "required": [
2845
- "type",
2846
- "loader",
2847
- "service",
2848
- "events"
2849
- ]
2537
+ "required": ["type", "loader", "service", "events"]
2850
2538
  },
2851
2539
  "formScalarConfig": {
2852
2540
  "title": "Form Scalar Config",
@@ -2857,9 +2545,7 @@
2857
2545
  }
2858
2546
  },
2859
2547
  "additionalProperties": false,
2860
- "required": [
2861
- "widget"
2862
- ]
2548
+ "required": ["widget"]
2863
2549
  },
2864
2550
  "formObjectConfig": {
2865
2551
  "title": "Form Object Config",
@@ -2896,10 +2582,7 @@
2896
2582
  }
2897
2583
  },
2898
2584
  "additionalProperties": false,
2899
- "required": [
2900
- "widget",
2901
- "items"
2902
- ]
2585
+ "required": ["widget", "items"]
2903
2586
  },
2904
2587
  "customAuthentication": {
2905
2588
  "title": "Custom Authentication",
@@ -2908,15 +2591,11 @@
2908
2591
  "properties": {
2909
2592
  "type": {
2910
2593
  "type": "string",
2911
- "enum": [
2912
- "custom"
2913
- ]
2594
+ "enum": ["custom"]
2914
2595
  }
2915
2596
  },
2916
2597
  "additionalProperties": true,
2917
- "required": [
2918
- "type"
2919
- ]
2598
+ "required": ["type"]
2920
2599
  },
2921
2600
  "searchParamsAuthentication": {
2922
2601
  "title": "Search Params Authentication",
@@ -2924,9 +2603,7 @@
2924
2603
  "properties": {
2925
2604
  "type": {
2926
2605
  "type": "string",
2927
- "enum": [
2928
- "searchParams"
2929
- ]
2606
+ "enum": ["searchParams"]
2930
2607
  },
2931
2608
  "params": {
2932
2609
  "type": "array",
@@ -2939,19 +2616,13 @@
2939
2616
  "type": "string"
2940
2617
  }
2941
2618
  },
2942
- "required": [
2943
- "name",
2944
- "value"
2945
- ],
2619
+ "required": ["name", "value"],
2946
2620
  "additionalProperties": false
2947
2621
  }
2948
2622
  }
2949
2623
  },
2950
2624
  "additionalProperties": false,
2951
- "required": [
2952
- "type",
2953
- "params"
2954
- ]
2625
+ "required": ["type", "params"]
2955
2626
  },
2956
2627
  "bearerAuthentication": {
2957
2628
  "title": "Bearer Authentication",
@@ -2959,9 +2630,7 @@
2959
2630
  "properties": {
2960
2631
  "type": {
2961
2632
  "type": "string",
2962
- "enum": [
2963
- "bearer"
2964
- ]
2633
+ "enum": ["bearer"]
2965
2634
  },
2966
2635
  "token": {
2967
2636
  "type": "string"
@@ -2974,10 +2643,7 @@
2974
2643
  }
2975
2644
  },
2976
2645
  "additionalProperties": false,
2977
- "required": [
2978
- "type",
2979
- "token"
2980
- ]
2646
+ "required": ["type", "token"]
2981
2647
  },
2982
2648
  "oauth2BearerAuthentication": {
2983
2649
  "title": "OAuth 2 Bearer Authentication",
@@ -2985,9 +2651,7 @@
2985
2651
  "properties": {
2986
2652
  "type": {
2987
2653
  "type": "string",
2988
- "enum": [
2989
- "oauth2Bearer"
2990
- ]
2654
+ "enum": ["oauth2Bearer"]
2991
2655
  },
2992
2656
  "token": {
2993
2657
  "type": "string"
@@ -3006,10 +2670,7 @@
3006
2670
  }
3007
2671
  },
3008
2672
  "additionalProperties": false,
3009
- "required": [
3010
- "type",
3011
- "token"
3012
- ]
2673
+ "required": ["type", "token"]
3013
2674
  },
3014
2675
  "basicAuthentication": {
3015
2676
  "title": "Basic Authentication",
@@ -3017,9 +2678,7 @@
3017
2678
  "properties": {
3018
2679
  "type": {
3019
2680
  "type": "string",
3020
- "enum": [
3021
- "basic"
3022
- ]
2681
+ "enum": ["basic"]
3023
2682
  },
3024
2683
  "username": {
3025
2684
  "type": "string"
@@ -3032,11 +2691,7 @@
3032
2691
  }
3033
2692
  },
3034
2693
  "additionalProperties": false,
3035
- "required": [
3036
- "type",
3037
- "username",
3038
- "password"
3039
- ]
2694
+ "required": ["type", "username", "password"]
3040
2695
  },
3041
2696
  "oauth2Authentication": {
3042
2697
  "title": "OAuth 2 Authentication",
@@ -3044,16 +2699,11 @@
3044
2699
  "properties": {
3045
2700
  "type": {
3046
2701
  "type": "string",
3047
- "enum": [
3048
- "oauth2"
3049
- ]
2702
+ "enum": ["oauth2"]
3050
2703
  },
3051
2704
  "grantType": {
3052
2705
  "type": "string",
3053
- "enum": [
3054
- "authorizationCode",
3055
- "clientCredentials"
3056
- ]
2706
+ "enum": ["authorizationCode", "clientCredentials"]
3057
2707
  },
3058
2708
  "authorizationUrl": {
3059
2709
  "type": "string"
@@ -3087,11 +2737,7 @@
3087
2737
  }
3088
2738
  },
3089
2739
  "additionalProperties": false,
3090
- "required": [
3091
- "type",
3092
- "grantType",
3093
- "clientId"
3094
- ]
2740
+ "required": ["type", "grantType", "clientId"]
3095
2741
  },
3096
2742
  "awsAuthentication": {
3097
2743
  "title": "AWS Authentication",
@@ -3099,9 +2745,7 @@
3099
2745
  "properties": {
3100
2746
  "type": {
3101
2747
  "type": "string",
3102
- "enum": [
3103
- "aws"
3104
- ]
2748
+ "enum": ["aws"]
3105
2749
  },
3106
2750
  "awsAccessKeyId": {
3107
2751
  "type": "string"
@@ -3111,11 +2755,7 @@
3111
2755
  }
3112
2756
  },
3113
2757
  "additionalProperties": false,
3114
- "required": [
3115
- "type",
3116
- "awsAccessKeyId",
3117
- "awsSecretAccessKey"
3118
- ]
2758
+ "required": ["type", "awsAccessKeyId", "awsSecretAccessKey"]
3119
2759
  },
3120
2760
  "serviceAuthentication": {
3121
2761
  "title": "Service Authentication",
@@ -3152,11 +2792,7 @@
3152
2792
  "title": "Check Name",
3153
2793
  "description": "The name of a health check to run",
3154
2794
  "type": "string",
3155
- "enum": [
3156
- "graphqlIntrospection",
3157
- "ping",
3158
- "none"
3159
- ]
2795
+ "enum": ["graphqlIntrospection", "ping", "none"]
3160
2796
  },
3161
2797
  "endpoint": {
3162
2798
  "title": "Endpoint",
@@ -3167,13 +2803,7 @@
3167
2803
  "title": "Request Method",
3168
2804
  "description": "A custom method to use for the health check request.",
3169
2805
  "type": "string",
3170
- "enum": [
3171
- "GET",
3172
- "POST",
3173
- "PUT",
3174
- "PATCH",
3175
- "DELETE"
3176
- ]
2806
+ "enum": ["GET", "POST", "PUT", "PATCH", "DELETE"]
3177
2807
  },
3178
2808
  "requestHeaders": {
3179
2809
  "title": "Request Headers",
@@ -3200,11 +2830,7 @@
3200
2830
  "title": "Request Body Format",
3201
2831
  "description": "A custom body to send along with the ping request.",
3202
2832
  "type": "string",
3203
- "enum": [
3204
- "string",
3205
- "form",
3206
- "json"
3207
- ]
2833
+ "enum": ["string", "form", "json"]
3208
2834
  },
3209
2835
  "requestTimeout": {
3210
2836
  "title": "Request Timeout",
@@ -3221,25 +2847,14 @@
3221
2847
  "maximum": 399
3222
2848
  }
3223
2849
  },
3224
- "required": [
3225
- "checkName"
3226
- ],
2850
+ "required": ["checkName"],
3227
2851
  "additionalProperties": false
3228
2852
  },
3229
2853
  "serviceType": {
3230
2854
  "title": "Service Type",
3231
2855
  "description": "The general type of this service, specifying how and where it will be utilized.",
3232
2856
  "type": "string",
3233
- "enum": [
3234
- "deployment",
3235
- "authentication",
3236
- "takeshape",
3237
- "rest",
3238
- "graphql",
3239
- "openapi",
3240
- "aws",
3241
- "unknown"
3242
- ]
2857
+ "enum": ["deployment", "authentication", "takeshape", "rest", "graphql", "openapi", "aws", "unknown"]
3243
2858
  },
3244
2859
  "serviceConfig": {
3245
2860
  "title": "Service Config",
@@ -3266,17 +2881,7 @@
3266
2881
  },
3267
2882
  "authenticationType": {
3268
2883
  "type": "string",
3269
- "enum": [
3270
- "oauth2",
3271
- "basic",
3272
- "bearer",
3273
- "searchParams",
3274
- "oauth2Bearer",
3275
- "custom",
3276
- "aws",
3277
- "none",
3278
- "unknown"
3279
- ]
2884
+ "enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
3280
2885
  },
3281
2886
  "authentication": {
3282
2887
  "$ref": "#/definitions/serviceAuthentication"
@@ -3292,13 +2897,7 @@
3292
2897
  "description": "Configuration options passed to and handled by the provider."
3293
2898
  }
3294
2899
  },
3295
- "required": [
3296
- "id",
3297
- "title",
3298
- "provider",
3299
- "serviceType",
3300
- "authenticationType"
3301
- ],
2900
+ "required": ["id", "title", "provider", "serviceType", "authenticationType"],
3302
2901
  "additionalProperties": false
3303
2902
  },
3304
2903
  "storedServiceConfig": {
@@ -3326,17 +2925,7 @@
3326
2925
  },
3327
2926
  "authenticationType": {
3328
2927
  "type": "string",
3329
- "enum": [
3330
- "oauth2",
3331
- "basic",
3332
- "bearer",
3333
- "searchParams",
3334
- "oauth2Bearer",
3335
- "custom",
3336
- "aws",
3337
- "none",
3338
- "unknown"
3339
- ]
2928
+ "enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
3340
2929
  },
3341
2930
  "authentication": {
3342
2931
  "type": "string"
@@ -3352,13 +2941,7 @@
3352
2941
  "description": "Configuration options passed to and handled by the provider."
3353
2942
  }
3354
2943
  },
3355
- "required": [
3356
- "id",
3357
- "title",
3358
- "provider",
3359
- "serviceType",
3360
- "authenticationType"
3361
- ],
2944
+ "required": ["id", "title", "provider", "serviceType", "authenticationType"],
3362
2945
  "additionalProperties": false
3363
2946
  },
3364
2947
  "anyServiceConfig": {
@@ -3416,13 +2999,7 @@
3416
2999
  "description": "machine-readable id"
3417
3000
  }
3418
3001
  },
3419
- "required": [
3420
- "name",
3421
- "title",
3422
- "color",
3423
- "live",
3424
- "key"
3425
- ],
3002
+ "required": ["name", "title", "color", "live", "key"],
3426
3003
  "additionalProperties": false
3427
3004
  },
3428
3005
  "workflow": {
@@ -3449,11 +3026,7 @@
3449
3026
  "minItems": 1
3450
3027
  }
3451
3028
  },
3452
- "required": [
3453
- "name",
3454
- "title",
3455
- "steps"
3456
- ]
3029
+ "required": ["name", "title", "steps"]
3457
3030
  },
3458
3031
  "workflowMap": {
3459
3032
  "title": "Workflow Map",
@@ -3481,9 +3054,7 @@
3481
3054
  "$ref": "#/definitions/formConfig"
3482
3055
  }
3483
3056
  },
3484
- "required": [
3485
- "default"
3486
- ]
3057
+ "required": ["default"]
3487
3058
  }
3488
3059
  },
3489
3060
  "properties": {
@@ -3496,9 +3067,7 @@
3496
3067
  },
3497
3068
  "schemaVersion": {
3498
3069
  "type": "string",
3499
- "enum": [
3500
- "3.46.0"
3501
- ],
3070
+ "enum": ["3.46.0"],
3502
3071
  "description": "The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format."
3503
3072
  },
3504
3073
  "projectId": {