@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": {
@@ -1512,9 +1331,7 @@
1512
1331
  "title": "AI Resolver Name",
1513
1332
  "type": "string",
1514
1333
  "description": "Name of the resolver function.",
1515
- "enum": [
1516
- "ai:generateText"
1517
- ]
1334
+ "enum": ["ai:generateText"]
1518
1335
  },
1519
1336
  "service": {
1520
1337
  "type": "string",
@@ -1560,12 +1377,7 @@
1560
1377
  "$ref": "#/definitions/parameterConfigForJson"
1561
1378
  }
1562
1379
  },
1563
- "required": [
1564
- "name",
1565
- "service",
1566
- "model",
1567
- "systemPrompt"
1568
- ],
1380
+ "required": ["name", "service", "model", "systemPrompt"],
1569
1381
  "additionalProperties": false
1570
1382
  },
1571
1383
  "aiEmbeddingResolverOptions": {
@@ -1592,9 +1404,7 @@
1592
1404
  "title": "AI Resolver Name",
1593
1405
  "type": "string",
1594
1406
  "description": "Name of the resolver function.",
1595
- "enum": [
1596
- "ai:createEmbedding"
1597
- ]
1407
+ "enum": ["ai:createEmbedding"]
1598
1408
  },
1599
1409
  "service": {
1600
1410
  "type": "string",
@@ -1615,11 +1425,7 @@
1615
1425
  "$ref": "#/definitions/parameterConfigForJson"
1616
1426
  }
1617
1427
  },
1618
- "required": [
1619
- "name",
1620
- "service",
1621
- "model"
1622
- ],
1428
+ "required": ["name", "service", "model"],
1623
1429
  "additionalProperties": false
1624
1430
  },
1625
1431
  "takeshapeResolver": {
@@ -1637,19 +1443,12 @@
1637
1443
  "title": "TakeshapeResolverName",
1638
1444
  "type": "string",
1639
1445
  "description": "Name of the resolver function.",
1640
- "enum": [
1641
- "takeshape:getUser",
1642
- "takeshape:search",
1643
- "takeshape:vectorSearch",
1644
- "takeshape:queryApiIndex"
1645
- ]
1446
+ "enum": ["takeshape:getUser", "takeshape:search", "takeshape:vectorSearch", "takeshape:queryApiIndex"]
1646
1447
  },
1647
1448
  "service": {
1648
1449
  "type": "string",
1649
1450
  "description": "Internal service identifier.",
1650
- "enum": [
1651
- "takeshape"
1652
- ]
1451
+ "enum": ["takeshape"]
1653
1452
  },
1654
1453
  "options": {
1655
1454
  "title": "TakeshapeResolverOptions",
@@ -1676,10 +1475,7 @@
1676
1475
  "$ref": "#/definitions/resultsMapping"
1677
1476
  }
1678
1477
  },
1679
- "required": [
1680
- "name",
1681
- "service"
1682
- ],
1478
+ "required": ["name", "service"],
1683
1479
  "additionalProperties": false
1684
1480
  },
1685
1481
  "graphqlResolver": {
@@ -1697,11 +1493,7 @@
1697
1493
  "title": "GraphqlResolverName",
1698
1494
  "type": "string",
1699
1495
  "description": "Name of the resolver function.",
1700
- "enum": [
1701
- "graphql:query",
1702
- "graphql:mutation",
1703
- "shopify:bulkQuery"
1704
- ]
1496
+ "enum": ["graphql:query", "graphql:mutation", "shopify:bulkQuery"]
1705
1497
  },
1706
1498
  "service": {
1707
1499
  "type": "string",
@@ -1772,11 +1564,7 @@
1772
1564
  "$ref": "#/definitions/parameterConfigForJson"
1773
1565
  }
1774
1566
  },
1775
- "required": [
1776
- "name",
1777
- "service",
1778
- "fieldName"
1779
- ],
1567
+ "required": ["name", "service", "fieldName"],
1780
1568
  "additionalProperties": false
1781
1569
  },
1782
1570
  "restResolver": {
@@ -1794,14 +1582,7 @@
1794
1582
  "title": "RestResolverName",
1795
1583
  "type": "string",
1796
1584
  "description": "Name of the resolver function.",
1797
- "enum": [
1798
- "rest:get",
1799
- "rest:head",
1800
- "rest:post",
1801
- "rest:put",
1802
- "rest:patch",
1803
- "rest:delete"
1804
- ]
1585
+ "enum": ["rest:get", "rest:head", "rest:post", "rest:put", "rest:patch", "rest:delete"]
1805
1586
  },
1806
1587
  "service": {
1807
1588
  "type": "string",
@@ -1885,11 +1666,7 @@
1885
1666
  "$ref": "#/definitions/parameterConfigForJson"
1886
1667
  }
1887
1668
  },
1888
- "required": [
1889
- "name",
1890
- "service",
1891
- "path"
1892
- ],
1669
+ "required": ["name", "service", "path"],
1893
1670
  "additionalProperties": false
1894
1671
  },
1895
1672
  "awsLambdaResolver": {
@@ -1907,9 +1684,7 @@
1907
1684
  "title": "AwsLambdaResolverName",
1908
1685
  "type": "string",
1909
1686
  "description": "Name of the resolver function.",
1910
- "enum": [
1911
- "awsLambda:invoke"
1912
- ]
1687
+ "enum": ["awsLambda:invoke"]
1913
1688
  },
1914
1689
  "service": {
1915
1690
  "type": "string",
@@ -1958,11 +1733,7 @@
1958
1733
  "$ref": "#/definitions/resultsMapping"
1959
1734
  }
1960
1735
  },
1961
- "required": [
1962
- "name",
1963
- "service",
1964
- "functionName"
1965
- ],
1736
+ "required": ["name", "service", "functionName"],
1966
1737
  "additionalProperties": false
1967
1738
  },
1968
1739
  "composeResolver": {
@@ -1990,9 +1761,7 @@
1990
1761
  "$ref": "#/definitions/parameterConfigForJson"
1991
1762
  }
1992
1763
  },
1993
- "required": [
1994
- "compose"
1995
- ],
1764
+ "required": ["compose"],
1996
1765
  "additionalProperties": false
1997
1766
  },
1998
1767
  "resolver": {
@@ -2055,10 +1824,7 @@
2055
1824
  "description": "Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs."
2056
1825
  }
2057
1826
  },
2058
- "required": [
2059
- "resolver",
2060
- "shape"
2061
- ],
1827
+ "required": ["resolver", "shape"],
2062
1828
  "additionalProperties": false
2063
1829
  },
2064
1830
  "propertySchema": {
@@ -2140,9 +1906,7 @@
2140
1906
  "$ref": "#/definitions/propertySchema"
2141
1907
  },
2142
1908
  {
2143
- "enum": [
2144
- false
2145
- ]
1909
+ "enum": [false]
2146
1910
  }
2147
1911
  ]
2148
1912
  },
@@ -2299,11 +2063,7 @@
2299
2063
  "type": "string"
2300
2064
  },
2301
2065
  "type": {
2302
- "enum": [
2303
- "interface",
2304
- "input",
2305
- "output"
2306
- ]
2066
+ "enum": ["interface", "input", "output"]
2307
2067
  },
2308
2068
  "interfaces": {
2309
2069
  "type": "array",
@@ -2318,16 +2078,10 @@
2318
2078
  "type": {
2319
2079
  "title": "Model Type",
2320
2080
  "type": "string",
2321
- "enum": [
2322
- "single",
2323
- "multiple",
2324
- "taxonomy"
2325
- ]
2081
+ "enum": ["single", "multiple", "taxonomy"]
2326
2082
  }
2327
2083
  },
2328
- "required": [
2329
- "type"
2330
- ],
2084
+ "required": ["type"],
2331
2085
  "additionalProperties": false
2332
2086
  },
2333
2087
  "workflow": {
@@ -2346,12 +2100,7 @@
2346
2100
  "$ref": "#/definitions/shapeSchema"
2347
2101
  }
2348
2102
  },
2349
- "required": [
2350
- "name",
2351
- "title",
2352
- "id",
2353
- "schema"
2354
- ],
2103
+ "required": ["name", "title", "id", "schema"],
2355
2104
  "additionalProperties": false
2356
2105
  },
2357
2106
  "shapeWithObjectSchema": {
@@ -2368,9 +2117,7 @@
2368
2117
  "$ref": "#/definitions/objectSchema"
2369
2118
  }
2370
2119
  },
2371
- "required": [
2372
- "schema"
2373
- ],
2120
+ "required": ["schema"],
2374
2121
  "additionalProperties": false
2375
2122
  }
2376
2123
  ]
@@ -2423,9 +2170,7 @@
2423
2170
  }
2424
2171
  },
2425
2172
  "additionalProperties": false,
2426
- "required": [
2427
- "enabled"
2428
- ]
2173
+ "required": ["enabled"]
2429
2174
  },
2430
2175
  "shapeJoin": {
2431
2176
  "title": "ShapeJoin",
@@ -2445,9 +2190,7 @@
2445
2190
  "type": "string"
2446
2191
  }
2447
2192
  },
2448
- "required": [
2449
- "resolver"
2450
- ],
2193
+ "required": ["resolver"],
2451
2194
  "additionalProperties": false
2452
2195
  },
2453
2196
  "shapeJoins": {
@@ -2481,9 +2224,7 @@
2481
2224
  }
2482
2225
  },
2483
2226
  "additionalProperties": false,
2484
- "required": [
2485
- "list"
2486
- ]
2227
+ "required": ["list"]
2487
2228
  },
2488
2229
  "cachedFragmentConfig": {
2489
2230
  "title": "Cached Fragment Config",
@@ -2523,9 +2264,7 @@
2523
2264
  }
2524
2265
  },
2525
2266
  "additionalProperties": false,
2526
- "required": [
2527
- "query"
2528
- ]
2267
+ "required": ["query"]
2529
2268
  },
2530
2269
  "storedListQueryLoaderConfig": {
2531
2270
  "title": "StoredListQueryLoaderConfig",
@@ -2554,9 +2293,7 @@
2554
2293
  }
2555
2294
  },
2556
2295
  "additionalProperties": false,
2557
- "required": [
2558
- "query"
2559
- ]
2296
+ "required": ["query"]
2560
2297
  },
2561
2298
  "getQueryLoaderConfig": {
2562
2299
  "title": "GetQueryLoaderConfig",
@@ -2574,9 +2311,7 @@
2574
2311
  }
2575
2312
  },
2576
2313
  "additionalProperties": false,
2577
- "required": [
2578
- "query"
2579
- ]
2314
+ "required": ["query"]
2580
2315
  },
2581
2316
  "paginationConfig": {
2582
2317
  "title": "Pagination Config",
@@ -2598,9 +2333,7 @@
2598
2333
  "properties": {
2599
2334
  "type": {
2600
2335
  "type": "string",
2601
- "enum": [
2602
- "cursor"
2603
- ]
2336
+ "enum": ["cursor"]
2604
2337
  },
2605
2338
  "cursorArg": {
2606
2339
  "type": "string"
@@ -2622,14 +2355,7 @@
2622
2355
  }
2623
2356
  },
2624
2357
  "additionalProperties": false,
2625
- "required": [
2626
- "type",
2627
- "cursorArg",
2628
- "cursorPath",
2629
- "pageSizeArg",
2630
- "hasMorePath",
2631
- "itemsPath"
2632
- ]
2358
+ "required": ["type", "cursorArg", "cursorPath", "pageSizeArg", "hasMorePath", "itemsPath"]
2633
2359
  },
2634
2360
  "paginationPageConfig": {
2635
2361
  "title": "Pagination Page Config",
@@ -2637,9 +2363,7 @@
2637
2363
  "properties": {
2638
2364
  "type": {
2639
2365
  "type": "string",
2640
- "enum": [
2641
- "page"
2642
- ]
2366
+ "enum": ["page"]
2643
2367
  },
2644
2368
  "pageArg": {
2645
2369
  "type": "string"
@@ -2658,12 +2382,7 @@
2658
2382
  }
2659
2383
  },
2660
2384
  "additionalProperties": false,
2661
- "required": [
2662
- "type",
2663
- "pageArg",
2664
- "itemsPath",
2665
- "pageTotalPath"
2666
- ]
2385
+ "required": ["type", "pageArg", "itemsPath", "pageTotalPath"]
2667
2386
  },
2668
2387
  "paginationOffsetConfig": {
2669
2388
  "title": "Pagination Offset Config",
@@ -2671,9 +2390,7 @@
2671
2390
  "properties": {
2672
2391
  "type": {
2673
2392
  "type": "string",
2674
- "enum": [
2675
- "offset"
2676
- ]
2393
+ "enum": ["offset"]
2677
2394
  },
2678
2395
  "offsetArg": {
2679
2396
  "type": "string"
@@ -2692,12 +2409,7 @@
2692
2409
  }
2693
2410
  },
2694
2411
  "additionalProperties": false,
2695
- "required": [
2696
- "type",
2697
- "offsetArg",
2698
- "itemsPath",
2699
- "itemTotalPath"
2700
- ]
2412
+ "required": ["type", "offsetArg", "itemsPath", "itemTotalPath"]
2701
2413
  },
2702
2414
  "cacheTriggerConfig": {
2703
2415
  "title": "CacheTriggerConfig",
@@ -2716,26 +2428,17 @@
2716
2428
  "properties": {
2717
2429
  "type": {
2718
2430
  "type": "string",
2719
- "enum": [
2720
- "schedule"
2721
- ]
2431
+ "enum": ["schedule"]
2722
2432
  },
2723
2433
  "loader": {
2724
- "enum": [
2725
- "get",
2726
- "list"
2727
- ]
2434
+ "enum": ["get", "list"]
2728
2435
  },
2729
2436
  "interval": {
2730
2437
  "type": "number"
2731
2438
  }
2732
2439
  },
2733
2440
  "additionalProperties": false,
2734
- "required": [
2735
- "type",
2736
- "loader",
2737
- "interval"
2738
- ]
2441
+ "required": ["type", "loader", "interval"]
2739
2442
  },
2740
2443
  "cacheWebhookTriggerConfig": {
2741
2444
  "title": "CacheWebhookTriggerConfig",
@@ -2743,15 +2446,10 @@
2743
2446
  "properties": {
2744
2447
  "type": {
2745
2448
  "type": "string",
2746
- "enum": [
2747
- "webhook"
2748
- ]
2449
+ "enum": ["webhook"]
2749
2450
  },
2750
2451
  "loader": {
2751
- "enum": [
2752
- "get",
2753
- "list"
2754
- ]
2452
+ "enum": ["get", "list"]
2755
2453
  },
2756
2454
  "service": {
2757
2455
  "type": "string"
@@ -2764,12 +2462,7 @@
2764
2462
  }
2765
2463
  },
2766
2464
  "additionalProperties": false,
2767
- "required": [
2768
- "type",
2769
- "loader",
2770
- "service",
2771
- "events"
2772
- ]
2465
+ "required": ["type", "loader", "service", "events"]
2773
2466
  },
2774
2467
  "formScalarConfig": {
2775
2468
  "title": "Form Scalar Config",
@@ -2780,9 +2473,7 @@
2780
2473
  }
2781
2474
  },
2782
2475
  "additionalProperties": false,
2783
- "required": [
2784
- "widget"
2785
- ]
2476
+ "required": ["widget"]
2786
2477
  },
2787
2478
  "formObjectConfig": {
2788
2479
  "title": "Form Object Config",
@@ -2819,10 +2510,7 @@
2819
2510
  }
2820
2511
  },
2821
2512
  "additionalProperties": false,
2822
- "required": [
2823
- "widget",
2824
- "items"
2825
- ]
2513
+ "required": ["widget", "items"]
2826
2514
  },
2827
2515
  "customAuthentication": {
2828
2516
  "title": "Custom Authentication",
@@ -2831,15 +2519,11 @@
2831
2519
  "properties": {
2832
2520
  "type": {
2833
2521
  "type": "string",
2834
- "enum": [
2835
- "custom"
2836
- ]
2522
+ "enum": ["custom"]
2837
2523
  }
2838
2524
  },
2839
2525
  "additionalProperties": true,
2840
- "required": [
2841
- "type"
2842
- ]
2526
+ "required": ["type"]
2843
2527
  },
2844
2528
  "searchParamsAuthentication": {
2845
2529
  "title": "Search Params Authentication",
@@ -2847,9 +2531,7 @@
2847
2531
  "properties": {
2848
2532
  "type": {
2849
2533
  "type": "string",
2850
- "enum": [
2851
- "searchParams"
2852
- ]
2534
+ "enum": ["searchParams"]
2853
2535
  },
2854
2536
  "params": {
2855
2537
  "type": "array",
@@ -2862,19 +2544,13 @@
2862
2544
  "type": "string"
2863
2545
  }
2864
2546
  },
2865
- "required": [
2866
- "name",
2867
- "value"
2868
- ],
2547
+ "required": ["name", "value"],
2869
2548
  "additionalProperties": false
2870
2549
  }
2871
2550
  }
2872
2551
  },
2873
2552
  "additionalProperties": false,
2874
- "required": [
2875
- "type",
2876
- "params"
2877
- ]
2553
+ "required": ["type", "params"]
2878
2554
  },
2879
2555
  "bearerAuthentication": {
2880
2556
  "title": "Bearer Authentication",
@@ -2882,9 +2558,7 @@
2882
2558
  "properties": {
2883
2559
  "type": {
2884
2560
  "type": "string",
2885
- "enum": [
2886
- "bearer"
2887
- ]
2561
+ "enum": ["bearer"]
2888
2562
  },
2889
2563
  "token": {
2890
2564
  "type": "string"
@@ -2897,10 +2571,7 @@
2897
2571
  }
2898
2572
  },
2899
2573
  "additionalProperties": false,
2900
- "required": [
2901
- "type",
2902
- "token"
2903
- ]
2574
+ "required": ["type", "token"]
2904
2575
  },
2905
2576
  "oauth2BearerAuthentication": {
2906
2577
  "title": "OAuth 2 Bearer Authentication",
@@ -2908,9 +2579,7 @@
2908
2579
  "properties": {
2909
2580
  "type": {
2910
2581
  "type": "string",
2911
- "enum": [
2912
- "oauth2Bearer"
2913
- ]
2582
+ "enum": ["oauth2Bearer"]
2914
2583
  },
2915
2584
  "token": {
2916
2585
  "type": "string"
@@ -2929,10 +2598,7 @@
2929
2598
  }
2930
2599
  },
2931
2600
  "additionalProperties": false,
2932
- "required": [
2933
- "type",
2934
- "token"
2935
- ]
2601
+ "required": ["type", "token"]
2936
2602
  },
2937
2603
  "basicAuthentication": {
2938
2604
  "title": "Basic Authentication",
@@ -2940,9 +2606,7 @@
2940
2606
  "properties": {
2941
2607
  "type": {
2942
2608
  "type": "string",
2943
- "enum": [
2944
- "basic"
2945
- ]
2609
+ "enum": ["basic"]
2946
2610
  },
2947
2611
  "username": {
2948
2612
  "type": "string"
@@ -2955,11 +2619,7 @@
2955
2619
  }
2956
2620
  },
2957
2621
  "additionalProperties": false,
2958
- "required": [
2959
- "type",
2960
- "username",
2961
- "password"
2962
- ]
2622
+ "required": ["type", "username", "password"]
2963
2623
  },
2964
2624
  "oauth2Authentication": {
2965
2625
  "title": "OAuth 2 Authentication",
@@ -2967,16 +2627,11 @@
2967
2627
  "properties": {
2968
2628
  "type": {
2969
2629
  "type": "string",
2970
- "enum": [
2971
- "oauth2"
2972
- ]
2630
+ "enum": ["oauth2"]
2973
2631
  },
2974
2632
  "grantType": {
2975
2633
  "type": "string",
2976
- "enum": [
2977
- "authorizationCode",
2978
- "clientCredentials"
2979
- ]
2634
+ "enum": ["authorizationCode", "clientCredentials"]
2980
2635
  },
2981
2636
  "authorizationUrl": {
2982
2637
  "type": "string"
@@ -3010,11 +2665,7 @@
3010
2665
  }
3011
2666
  },
3012
2667
  "additionalProperties": false,
3013
- "required": [
3014
- "type",
3015
- "grantType",
3016
- "clientId"
3017
- ]
2668
+ "required": ["type", "grantType", "clientId"]
3018
2669
  },
3019
2670
  "awsAuthentication": {
3020
2671
  "title": "AWS Authentication",
@@ -3022,9 +2673,7 @@
3022
2673
  "properties": {
3023
2674
  "type": {
3024
2675
  "type": "string",
3025
- "enum": [
3026
- "aws"
3027
- ]
2676
+ "enum": ["aws"]
3028
2677
  },
3029
2678
  "awsAccessKeyId": {
3030
2679
  "type": "string"
@@ -3034,11 +2683,7 @@
3034
2683
  }
3035
2684
  },
3036
2685
  "additionalProperties": false,
3037
- "required": [
3038
- "type",
3039
- "awsAccessKeyId",
3040
- "awsSecretAccessKey"
3041
- ]
2686
+ "required": ["type", "awsAccessKeyId", "awsSecretAccessKey"]
3042
2687
  },
3043
2688
  "serviceAuthentication": {
3044
2689
  "title": "Service Authentication",
@@ -3075,11 +2720,7 @@
3075
2720
  "title": "Check Name",
3076
2721
  "description": "The name of a health check to run",
3077
2722
  "type": "string",
3078
- "enum": [
3079
- "graphqlIntrospection",
3080
- "ping",
3081
- "none"
3082
- ]
2723
+ "enum": ["graphqlIntrospection", "ping", "none"]
3083
2724
  },
3084
2725
  "endpoint": {
3085
2726
  "title": "Endpoint",
@@ -3090,13 +2731,7 @@
3090
2731
  "title": "Request Method",
3091
2732
  "description": "A custom method to use for the health check request.",
3092
2733
  "type": "string",
3093
- "enum": [
3094
- "GET",
3095
- "POST",
3096
- "PUT",
3097
- "PATCH",
3098
- "DELETE"
3099
- ]
2734
+ "enum": ["GET", "POST", "PUT", "PATCH", "DELETE"]
3100
2735
  },
3101
2736
  "requestHeaders": {
3102
2737
  "title": "Request Headers",
@@ -3123,11 +2758,7 @@
3123
2758
  "title": "Request Body Format",
3124
2759
  "description": "A custom body to send along with the ping request.",
3125
2760
  "type": "string",
3126
- "enum": [
3127
- "string",
3128
- "form",
3129
- "json"
3130
- ]
2761
+ "enum": ["string", "form", "json"]
3131
2762
  },
3132
2763
  "requestTimeout": {
3133
2764
  "title": "Request Timeout",
@@ -3144,25 +2775,14 @@
3144
2775
  "maximum": 399
3145
2776
  }
3146
2777
  },
3147
- "required": [
3148
- "checkName"
3149
- ],
2778
+ "required": ["checkName"],
3150
2779
  "additionalProperties": false
3151
2780
  },
3152
2781
  "serviceType": {
3153
2782
  "title": "Service Type",
3154
2783
  "description": "The general type of this service, specifying how and where it will be utilized.",
3155
2784
  "type": "string",
3156
- "enum": [
3157
- "deployment",
3158
- "authentication",
3159
- "takeshape",
3160
- "rest",
3161
- "graphql",
3162
- "openapi",
3163
- "aws",
3164
- "unknown"
3165
- ]
2785
+ "enum": ["deployment", "authentication", "takeshape", "rest", "graphql", "openapi", "aws", "unknown"]
3166
2786
  },
3167
2787
  "serviceConfig": {
3168
2788
  "title": "Service Config",
@@ -3189,17 +2809,7 @@
3189
2809
  },
3190
2810
  "authenticationType": {
3191
2811
  "type": "string",
3192
- "enum": [
3193
- "oauth2",
3194
- "basic",
3195
- "bearer",
3196
- "searchParams",
3197
- "oauth2Bearer",
3198
- "custom",
3199
- "aws",
3200
- "none",
3201
- "unknown"
3202
- ]
2812
+ "enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
3203
2813
  },
3204
2814
  "authentication": {
3205
2815
  "$ref": "#/definitions/serviceAuthentication"
@@ -3215,13 +2825,7 @@
3215
2825
  "description": "Configuration options passed to and handled by the provider."
3216
2826
  }
3217
2827
  },
3218
- "required": [
3219
- "id",
3220
- "title",
3221
- "provider",
3222
- "serviceType",
3223
- "authenticationType"
3224
- ],
2828
+ "required": ["id", "title", "provider", "serviceType", "authenticationType"],
3225
2829
  "additionalProperties": false
3226
2830
  },
3227
2831
  "storedServiceConfig": {
@@ -3249,17 +2853,7 @@
3249
2853
  },
3250
2854
  "authenticationType": {
3251
2855
  "type": "string",
3252
- "enum": [
3253
- "oauth2",
3254
- "basic",
3255
- "bearer",
3256
- "searchParams",
3257
- "oauth2Bearer",
3258
- "custom",
3259
- "aws",
3260
- "none",
3261
- "unknown"
3262
- ]
2856
+ "enum": ["oauth2", "basic", "bearer", "searchParams", "oauth2Bearer", "custom", "aws", "none", "unknown"]
3263
2857
  },
3264
2858
  "authentication": {
3265
2859
  "type": "string"
@@ -3275,13 +2869,7 @@
3275
2869
  "description": "Configuration options passed to and handled by the provider."
3276
2870
  }
3277
2871
  },
3278
- "required": [
3279
- "id",
3280
- "title",
3281
- "provider",
3282
- "serviceType",
3283
- "authenticationType"
3284
- ],
2872
+ "required": ["id", "title", "provider", "serviceType", "authenticationType"],
3285
2873
  "additionalProperties": false
3286
2874
  },
3287
2875
  "anyServiceConfig": {
@@ -3339,13 +2927,7 @@
3339
2927
  "description": "machine-readable id"
3340
2928
  }
3341
2929
  },
3342
- "required": [
3343
- "name",
3344
- "title",
3345
- "color",
3346
- "live",
3347
- "key"
3348
- ],
2930
+ "required": ["name", "title", "color", "live", "key"],
3349
2931
  "additionalProperties": false
3350
2932
  },
3351
2933
  "workflow": {
@@ -3372,11 +2954,7 @@
3372
2954
  "minItems": 1
3373
2955
  }
3374
2956
  },
3375
- "required": [
3376
- "name",
3377
- "title",
3378
- "steps"
3379
- ]
2957
+ "required": ["name", "title", "steps"]
3380
2958
  },
3381
2959
  "workflowMap": {
3382
2960
  "title": "Workflow Map",
@@ -3404,9 +2982,7 @@
3404
2982
  "$ref": "#/definitions/formConfig"
3405
2983
  }
3406
2984
  },
3407
- "required": [
3408
- "default"
3409
- ]
2985
+ "required": ["default"]
3410
2986
  }
3411
2987
  },
3412
2988
  "properties": {
@@ -3419,9 +2995,7 @@
3419
2995
  },
3420
2996
  "schemaVersion": {
3421
2997
  "type": "string",
3422
- "enum": [
3423
- "3.45.0"
3424
- ],
2998
+ "enum": ["3.45.0"],
3425
2999
  "description": "The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format."
3426
3000
  },
3427
3001
  "projectId": {