@takeshape/schema 7.194.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 (312) hide show
  1. package/README.md +5 -0
  2. package/es/api-version.js +21 -0
  3. package/es/auth-schemas.js +0 -0
  4. package/es/builtin-schema.js +590 -0
  5. package/es/content-schema-transform.js +192 -0
  6. package/es/entitlements.js +0 -0
  7. package/es/enum.js +11 -0
  8. package/es/get-is-leaf.js +58 -0
  9. package/es/index.js +25 -0
  10. package/es/migration.js +413 -0
  11. package/es/mocks.js +47 -0
  12. package/es/patterns.js +0 -0
  13. package/es/project-schema/index.js +10 -0
  14. package/es/project-schema/v1.0.0.js +0 -0
  15. package/es/project-schema/v3.0.0.js +0 -0
  16. package/es/project-schema/v3.1.0.js +0 -0
  17. package/es/project-schema/v3.2.0.js +0 -0
  18. package/es/project-schema/v3.3.0.js +0 -0
  19. package/es/project-schema/v3.4.0.js +0 -0
  20. package/es/project-schema/v3.5.0.js +0 -0
  21. package/es/project-schema/v3.5.1.js +0 -0
  22. package/es/project-schema/v3.6.0.js +0 -0
  23. package/es/refs.js +301 -0
  24. package/es/resolvers.js +2 -0
  25. package/es/scalars.js +4 -0
  26. package/es/schema-util.js +1197 -0
  27. package/es/schemas/auth-schemas.json +313 -0
  28. package/es/schemas/project-schema/meta-schema-v1.0.0.json +209 -0
  29. package/es/schemas/project-schema/meta-schema-v3.0.0.json +609 -0
  30. package/es/schemas/project-schema/meta-schema-v3.1.0.json +609 -0
  31. package/es/schemas/project-schema/meta-schema-v3.2.0.json +613 -0
  32. package/es/schemas/project-schema/meta-schema-v3.3.0.json +613 -0
  33. package/es/schemas/project-schema/meta-schema-v3.4.0.json +613 -0
  34. package/es/schemas/project-schema/meta-schema-v3.5.0.json +627 -0
  35. package/es/schemas/project-schema/meta-schema-v3.5.1.json +630 -0
  36. package/es/schemas/project-schema/meta-schema-v3.6.0.json +633 -0
  37. package/es/schemas/project-schema/v1.0.0.json +321 -0
  38. package/es/schemas/project-schema/v3.0.0.json +411 -0
  39. package/es/schemas/project-schema/v3.1.0.json +569 -0
  40. package/es/schemas/project-schema/v3.2.0.json +577 -0
  41. package/es/schemas/project-schema/v3.3.0.json +578 -0
  42. package/es/schemas/project-schema/v3.4.0.json +568 -0
  43. package/es/schemas/project-schema/v3.5.0.json +568 -0
  44. package/es/schemas/project-schema/v3.5.1.json +568 -0
  45. package/es/schemas/project-schema/v3.6.0.json +584 -0
  46. package/es/schemas/project-schema.json +16 -0
  47. package/es/schemas/user-schema.json +58 -0
  48. package/es/services.js +379 -0
  49. package/es/taxonomies.js +55 -0
  50. package/es/template-shapes.js +79 -0
  51. package/es/types.js +202 -0
  52. package/es/unions.js +137 -0
  53. package/es/user-schema.js +0 -0
  54. package/es/util/detect-cycles.js +54 -0
  55. package/es/util/index.js +1 -0
  56. package/es/validate.js +764 -0
  57. package/es/versions.js +4 -0
  58. package/es/workflows.js +69 -0
  59. package/examples/.pnpm-debug.log +20 -0
  60. package/examples/v1_0_0/beer-schema.json +125 -0
  61. package/examples/v1_0_0/blog-schema.json +192 -0
  62. package/examples/v1_0_0/brewery-schema.json +232 -0
  63. package/examples/v1_0_0/complex-project-schema.json +3197 -0
  64. package/examples/v1_0_0/error-schema.json +275 -0
  65. package/examples/v1_0_0/frank-and-fred-schema.json +21387 -0
  66. package/examples/v1_0_0/massive-schema.json +6930 -0
  67. package/examples/v1_0_0/post-schema.json +83 -0
  68. package/examples/v1_0_0/real-world-schema.json +797 -0
  69. package/examples/v1_0_0/recursive-repeater-schema.json +69 -0
  70. package/examples/v1_0_0/recursive-schema.json +79 -0
  71. package/examples/v1_0_0/schema-with-repeater-draftjs.json +292 -0
  72. package/examples/v1_0_0/shape-books.json +797 -0
  73. package/examples/v1_0_0/user-schema-no-required.json +84 -0
  74. package/examples/v1_0_0/user-schema-with-defaults.json +105 -0
  75. package/examples/v1_0_0/user-schema-with-obj-prop.json +92 -0
  76. package/examples/v1_0_0/user-schema.json +87 -0
  77. package/examples/v3_0_0/rick-and-morty-rest.json +62 -0
  78. package/examples/v3_0_0/shopify-lookbook.json +1172 -0
  79. package/examples/v3_0_0/shopify-store-with-widget.json +11323 -0
  80. package/examples/v3_2_0/blog-schema.json +378 -0
  81. package/examples/v3_2_0/brewery-schema.json +385 -0
  82. package/examples/v3_2_0/complex-project-schema.json +3748 -0
  83. package/examples/v3_2_0/frank-and-fred-schema.json +19217 -0
  84. package/examples/v3_2_0/massive-schema.json +6676 -0
  85. package/examples/v3_2_0/pet-oneof-array.json +323 -0
  86. package/examples/v3_2_0/post-schema.json +265 -0
  87. package/examples/v3_2_0/real-world-schema.json +970 -0
  88. package/examples/v3_2_0/recursive-repeater-schema.json +144 -0
  89. package/examples/v3_2_0/recursive-schema.json +151 -0
  90. package/examples/v3_2_0/rick-and-morty-rest.json +65 -0
  91. package/examples/v3_2_0/schema-with-repeater-draftjs.json +381 -0
  92. package/examples/v3_2_0/shape-books.json +1044 -0
  93. package/examples/v3_2_0/shopify-store-with-widget.json +11016 -0
  94. package/examples/v3_2_0/user-schema-no-required.json +174 -0
  95. package/examples/v3_2_0/user-schema-with-defaults.json +187 -0
  96. package/examples/v3_3_0/blog-schema.json +405 -0
  97. package/examples/v3_3_0/brewery-schema.json +406 -0
  98. package/examples/v3_3_0/complex-project-schema.json +4076 -0
  99. package/examples/v3_3_0/frank-and-fred-schema.json +20913 -0
  100. package/examples/v3_3_0/massive-schema.json +7309 -0
  101. package/examples/v3_3_0/pet-oneof-array.json +380 -0
  102. package/examples/v3_3_0/post-schema.json +248 -0
  103. package/examples/v3_3_0/real-world-schema.json +1046 -0
  104. package/examples/v3_3_0/recursive-repeater-schema.json +154 -0
  105. package/examples/v3_3_0/recursive-schema.json +161 -0
  106. package/examples/v3_3_0/rick-and-morty-rest.json +101 -0
  107. package/examples/v3_3_0/schema-with-repeater-draftjs.json +393 -0
  108. package/examples/v3_3_0/shape-books.json +1121 -0
  109. package/examples/v3_3_0/shopify-lookbook.json +1196 -0
  110. package/examples/v3_3_0/shopify-store-with-widget.json +11320 -0
  111. package/examples/v3_3_0/user-schema-no-required.json +185 -0
  112. package/examples/v3_3_0/user-schema-with-defaults.json +210 -0
  113. package/examples/v3_4_0/blog-schema.json +405 -0
  114. package/examples/v3_4_0/brewery-schema.json +406 -0
  115. package/examples/v3_4_0/complex-project-schema.json +4076 -0
  116. package/examples/v3_4_0/frank-and-fred-schema.json +20913 -0
  117. package/examples/v3_4_0/massive-schema.json +7309 -0
  118. package/examples/v3_4_0/pet-oneof-array.json +420 -0
  119. package/examples/v3_4_0/post-schema.json +248 -0
  120. package/examples/v3_4_0/real-world-schema.json +1046 -0
  121. package/examples/v3_4_0/recursive-repeater-schema.json +154 -0
  122. package/examples/v3_4_0/recursive-schema.json +161 -0
  123. package/examples/v3_4_0/rick-and-morty-rest.json +101 -0
  124. package/examples/v3_4_0/schema-with-repeater-draftjs.json +393 -0
  125. package/examples/v3_4_0/shape-books.json +1121 -0
  126. package/examples/v3_4_0/shopify-lookbook.json +1196 -0
  127. package/examples/v3_4_0/shopify-store-with-widget.json +11323 -0
  128. package/examples/v3_4_0/user-schema-no-required.json +185 -0
  129. package/examples/v3_4_0/user-schema-with-defaults.json +210 -0
  130. package/examples/v3_5_0/blog-schema.json +405 -0
  131. package/examples/v3_5_0/brewery-schema.json +406 -0
  132. package/examples/v3_5_0/complex-project-schema.json +4076 -0
  133. package/examples/v3_5_0/frank-and-fred-schema.json +20913 -0
  134. package/examples/v3_5_0/massive-schema.json +7309 -0
  135. package/examples/v3_5_0/pet-oneof-array.json +420 -0
  136. package/examples/v3_5_0/post-schema.json +248 -0
  137. package/examples/v3_5_0/real-world-schema.json +1046 -0
  138. package/examples/v3_5_0/recursive-repeater-schema.json +154 -0
  139. package/examples/v3_5_0/recursive-schema.json +161 -0
  140. package/examples/v3_5_0/rick-and-morty-rest.json +101 -0
  141. package/examples/v3_5_0/schema-with-repeater-draftjs.json +393 -0
  142. package/examples/v3_5_0/shape-books.json +1121 -0
  143. package/examples/v3_5_0/shopify-lookbook.json +1196 -0
  144. package/examples/v3_5_0/shopify-store-with-widget.json +12271 -0
  145. package/examples/v3_5_0/user-schema-no-required.json +185 -0
  146. package/examples/v3_5_0/user-schema-with-defaults.json +210 -0
  147. package/examples/v3_5_1/blog-schema.json +405 -0
  148. package/examples/v3_5_1/brewery-schema.json +406 -0
  149. package/examples/v3_5_1/complex-project-schema.json +4076 -0
  150. package/examples/v3_5_1/frank-and-fred-schema.json +20913 -0
  151. package/examples/v3_5_1/massive-schema.json +7309 -0
  152. package/examples/v3_5_1/pet-oneof-array.json +420 -0
  153. package/examples/v3_5_1/post-schema.json +248 -0
  154. package/examples/v3_5_1/real-world-schema.json +1046 -0
  155. package/examples/v3_5_1/recursive-repeater-schema.json +154 -0
  156. package/examples/v3_5_1/recursive-schema.json +161 -0
  157. package/examples/v3_5_1/rick-and-morty-rest.json +101 -0
  158. package/examples/v3_5_1/schema-with-repeater-draftjs.json +393 -0
  159. package/examples/v3_5_1/shape-books.json +1121 -0
  160. package/examples/v3_5_1/shopify-lookbook.json +1196 -0
  161. package/examples/v3_5_1/shopify-store-with-widget.json +12271 -0
  162. package/examples/v3_5_1/stripe-starter-resolved.json +21419 -0
  163. package/examples/v3_5_1/user-schema-no-required.json +185 -0
  164. package/examples/v3_5_1/user-schema-with-defaults.json +210 -0
  165. package/examples/v3_6_0/blog-schema.json +405 -0
  166. package/examples/v3_6_0/brewery-schema.json +406 -0
  167. package/examples/v3_6_0/complex-project-schema.json +4076 -0
  168. package/examples/v3_6_0/frank-and-fred-schema.json +20913 -0
  169. package/examples/v3_6_0/massive-schema.json +7309 -0
  170. package/examples/v3_6_0/pet-oneof-array.json +420 -0
  171. package/examples/v3_6_0/post-schema.json +248 -0
  172. package/examples/v3_6_0/real-world-schema.json +1046 -0
  173. package/examples/v3_6_0/recursive-repeater-schema.json +154 -0
  174. package/examples/v3_6_0/recursive-schema.json +161 -0
  175. package/examples/v3_6_0/rick-and-morty-rest.json +101 -0
  176. package/examples/v3_6_0/schema-with-repeater-draftjs.json +393 -0
  177. package/examples/v3_6_0/shape-books.json +1121 -0
  178. package/examples/v3_6_0/shopify-lookbook.json +1196 -0
  179. package/examples/v3_6_0/shopify-store-with-widget.json +12271 -0
  180. package/examples/v3_6_0/stripe-starter-resolved.json +21419 -0
  181. package/examples/v3_6_0/user-schema-no-required.json +185 -0
  182. package/examples/v3_6_0/user-schema-with-defaults.json +210 -0
  183. package/lib/api-version.d.ts +6 -0
  184. package/lib/api-version.d.ts.map +1 -0
  185. package/lib/api-version.js +36 -0
  186. package/lib/auth-schemas.d.ts +105 -0
  187. package/lib/auth-schemas.d.ts.map +1 -0
  188. package/lib/auth-schemas.js +1 -0
  189. package/lib/builtin-schema.d.ts +8 -0
  190. package/lib/builtin-schema.d.ts.map +1 -0
  191. package/lib/builtin-schema.js +606 -0
  192. package/lib/content-schema-transform.d.ts +41 -0
  193. package/lib/content-schema-transform.d.ts.map +1 -0
  194. package/lib/content-schema-transform.js +217 -0
  195. package/lib/entitlements.d.ts +1 -0
  196. package/lib/entitlements.d.ts.map +1 -0
  197. package/lib/entitlements.js +1 -0
  198. package/lib/enum.d.ts +3 -0
  199. package/lib/enum.d.ts.map +1 -0
  200. package/lib/enum.js +18 -0
  201. package/lib/get-is-leaf.d.ts +4 -0
  202. package/lib/get-is-leaf.d.ts.map +1 -0
  203. package/lib/get-is-leaf.js +68 -0
  204. package/lib/index.d.ts +27 -0
  205. package/lib/index.d.ts.map +1 -0
  206. package/lib/index.js +359 -0
  207. package/lib/migration.d.ts +55 -0
  208. package/lib/migration.d.ts.map +1 -0
  209. package/lib/migration.js +463 -0
  210. package/lib/mocks.d.ts +13 -0
  211. package/lib/mocks.d.ts.map +1 -0
  212. package/lib/mocks.js +61 -0
  213. package/lib/patterns.d.ts +13 -0
  214. package/lib/patterns.d.ts.map +1 -0
  215. package/lib/patterns.js +1 -0
  216. package/lib/project-schema/index.d.ts +21 -0
  217. package/lib/project-schema/index.d.ts.map +1 -0
  218. package/lib/project-schema/index.js +122 -0
  219. package/lib/project-schema/v1.0.0.d.ts +293 -0
  220. package/lib/project-schema/v1.0.0.d.ts.map +1 -0
  221. package/lib/project-schema/v1.0.0.js +1 -0
  222. package/lib/project-schema/v3.0.0.d.ts +480 -0
  223. package/lib/project-schema/v3.0.0.d.ts.map +1 -0
  224. package/lib/project-schema/v3.0.0.js +1 -0
  225. package/lib/project-schema/v3.1.0.d.ts +623 -0
  226. package/lib/project-schema/v3.1.0.d.ts.map +1 -0
  227. package/lib/project-schema/v3.1.0.js +1 -0
  228. package/lib/project-schema/v3.2.0.d.ts +634 -0
  229. package/lib/project-schema/v3.2.0.d.ts.map +1 -0
  230. package/lib/project-schema/v3.2.0.js +1 -0
  231. package/lib/project-schema/v3.3.0.d.ts +634 -0
  232. package/lib/project-schema/v3.3.0.d.ts.map +1 -0
  233. package/lib/project-schema/v3.3.0.js +1 -0
  234. package/lib/project-schema/v3.4.0.d.ts +626 -0
  235. package/lib/project-schema/v3.4.0.d.ts.map +1 -0
  236. package/lib/project-schema/v3.4.0.js +1 -0
  237. package/lib/project-schema/v3.5.0.d.ts +651 -0
  238. package/lib/project-schema/v3.5.0.d.ts.map +1 -0
  239. package/lib/project-schema/v3.5.0.js +1 -0
  240. package/lib/project-schema/v3.5.1.d.ts +651 -0
  241. package/lib/project-schema/v3.5.1.d.ts.map +1 -0
  242. package/lib/project-schema/v3.5.1.js +1 -0
  243. package/lib/project-schema/v3.6.0.d.ts +660 -0
  244. package/lib/project-schema/v3.6.0.d.ts.map +1 -0
  245. package/lib/project-schema/v3.6.0.js +1 -0
  246. package/lib/refs.d.ts +122 -0
  247. package/lib/refs.d.ts.map +1 -0
  248. package/lib/refs.js +359 -0
  249. package/lib/resolvers.d.ts +4 -0
  250. package/lib/resolvers.d.ts.map +1 -0
  251. package/lib/resolvers.js +10 -0
  252. package/lib/scalars.d.ts +3 -0
  253. package/lib/scalars.d.ts.map +1 -0
  254. package/lib/scalars.js +13 -0
  255. package/lib/schema-util.d.ts +201 -0
  256. package/lib/schema-util.d.ts.map +1 -0
  257. package/lib/schema-util.js +1353 -0
  258. package/lib/schemas/auth-schemas.json +313 -0
  259. package/lib/schemas/project-schema/meta-schema-v1.0.0.json +209 -0
  260. package/lib/schemas/project-schema/meta-schema-v3.0.0.json +609 -0
  261. package/lib/schemas/project-schema/meta-schema-v3.1.0.json +609 -0
  262. package/lib/schemas/project-schema/meta-schema-v3.2.0.json +613 -0
  263. package/lib/schemas/project-schema/meta-schema-v3.3.0.json +613 -0
  264. package/lib/schemas/project-schema/meta-schema-v3.4.0.json +613 -0
  265. package/lib/schemas/project-schema/meta-schema-v3.5.0.json +627 -0
  266. package/lib/schemas/project-schema/meta-schema-v3.5.1.json +630 -0
  267. package/lib/schemas/project-schema/meta-schema-v3.6.0.json +633 -0
  268. package/lib/schemas/project-schema/v1.0.0.json +321 -0
  269. package/lib/schemas/project-schema/v3.0.0.json +411 -0
  270. package/lib/schemas/project-schema/v3.1.0.json +569 -0
  271. package/lib/schemas/project-schema/v3.2.0.json +577 -0
  272. package/lib/schemas/project-schema/v3.3.0.json +578 -0
  273. package/lib/schemas/project-schema/v3.4.0.json +568 -0
  274. package/lib/schemas/project-schema/v3.5.0.json +568 -0
  275. package/lib/schemas/project-schema/v3.5.1.json +568 -0
  276. package/lib/schemas/project-schema/v3.6.0.json +584 -0
  277. package/lib/schemas/project-schema.json +16 -0
  278. package/lib/schemas/user-schema.json +58 -0
  279. package/lib/services.d.ts +71 -0
  280. package/lib/services.d.ts.map +1 -0
  281. package/lib/services.js +413 -0
  282. package/lib/taxonomies.d.ts +16 -0
  283. package/lib/taxonomies.d.ts.map +1 -0
  284. package/lib/taxonomies.js +69 -0
  285. package/lib/template-shapes.d.ts +32 -0
  286. package/lib/template-shapes.d.ts.map +1 -0
  287. package/lib/template-shapes.js +100 -0
  288. package/lib/types.d.ts +187 -0
  289. package/lib/types.d.ts.map +1 -0
  290. package/lib/types.js +289 -0
  291. package/lib/unions.d.ts +29 -0
  292. package/lib/unions.d.ts.map +1 -0
  293. package/lib/unions.js +167 -0
  294. package/lib/user-schema.d.ts +39 -0
  295. package/lib/user-schema.d.ts.map +1 -0
  296. package/lib/user-schema.js +1 -0
  297. package/lib/util/detect-cycles.d.ts +6 -0
  298. package/lib/util/detect-cycles.d.ts.map +1 -0
  299. package/lib/util/detect-cycles.js +61 -0
  300. package/lib/util/index.d.ts +2 -0
  301. package/lib/util/index.d.ts.map +1 -0
  302. package/lib/util/index.js +18 -0
  303. package/lib/validate.d.ts +49 -0
  304. package/lib/validate.d.ts.map +1 -0
  305. package/lib/validate.js +823 -0
  306. package/lib/versions.d.ts +5 -0
  307. package/lib/versions.d.ts.map +1 -0
  308. package/lib/versions.js +14 -0
  309. package/lib/workflows.d.ts +15 -0
  310. package/lib/workflows.d.ts.map +1 -0
  311. package/lib/workflows.js +92 -0
  312. package/package.json +65 -0
@@ -0,0 +1,797 @@
1
+ {
2
+ "created": 1499973370801,
3
+ "projectId": "6f78e8ac-527a-4e09-9c5e-510876b096bf",
4
+ "version": 103,
5
+ "updated": 1536437805814,
6
+ "apiVersion": "2",
7
+ "defaultLocale": "en-us",
8
+ "locales": ["en-us"],
9
+ "workflows": {},
10
+ "contentTypes": {
11
+ "rJ9bZzk-m": {
12
+ "schema": {
13
+ "type": "object",
14
+ "properties": {
15
+ "title": {
16
+ "title": "Title",
17
+ "type": "string",
18
+ "key": "SJgZZzJWm",
19
+ "minLength": 0
20
+ }
21
+ }
22
+ },
23
+ "single": false,
24
+ "name": "genre",
25
+ "taxonomy": true,
26
+ "title": "Genre",
27
+ "forms": {
28
+ "default": {
29
+ "properties": {
30
+ "title": {
31
+ "widget": "singleLineText"
32
+ }
33
+ },
34
+ "order": [
35
+ "title"
36
+ ]
37
+ }
38
+ }
39
+ },
40
+ "rJBYXVyuQ": {
41
+ "schema": {
42
+ "type": "object",
43
+ "properties": {
44
+ "name": {
45
+ "title": "Name",
46
+ "type": "string",
47
+ "key": "rkZYm41d7",
48
+ "minLength": 1
49
+ }
50
+ },
51
+ "required": [
52
+ "name"
53
+ ]
54
+ },
55
+ "single": false,
56
+ "name": "tag",
57
+ "taxonomy": true,
58
+ "title": "Tag",
59
+ "forms": {
60
+ "default": {
61
+ "properties": {
62
+ "name": {
63
+ "widget": "singleLineText"
64
+ }
65
+ },
66
+ "order": [
67
+ "name"
68
+ ]
69
+ }
70
+ }
71
+ },
72
+ "rJoobhv8W": {
73
+ "schema": {
74
+ "type": "object",
75
+ "properties": {
76
+ "body": {
77
+ "draftjs": true,
78
+ "title": "Body",
79
+ "type": "object",
80
+ "key": "rybsZhDU-"
81
+ },
82
+ "featureImage": {
83
+ "relationship": {
84
+ "contentTypeIds": [
85
+ "ASSET"
86
+ ]
87
+ },
88
+ "title": "Feature Image",
89
+ "type": "object",
90
+ "key": "BybUznPIW",
91
+ "properties": {
92
+ "contentTypeId": {
93
+ "type": "string",
94
+ "enum": [
95
+ "ASSET"
96
+ ],
97
+ "minLength": 1
98
+ },
99
+ "id": {
100
+ "type": "string",
101
+ "minLength": 1
102
+ }
103
+ },
104
+ "required": [
105
+ "contentTypeId",
106
+ "id"
107
+ ]
108
+ },
109
+ "title": {
110
+ "title": "Title",
111
+ "type": "string",
112
+ "key": "BkJDGhw8W",
113
+ "minLength": 1
114
+ },
115
+ "author": {
116
+ "relationship": {
117
+ "type": "single",
118
+ "contentTypeIds": [
119
+ "SJDIicDUZ"
120
+ ]
121
+ },
122
+ "title": "Author",
123
+ "type": "object",
124
+ "key": "rJgad7TLZ",
125
+ "properties": {
126
+ "contentTypeId": {
127
+ "type": "string",
128
+ "enum": [
129
+ "SJDIicDUZ"
130
+ ],
131
+ "minLength": 1
132
+ },
133
+ "id": {
134
+ "type": "string",
135
+ "minLength": 1
136
+ }
137
+ },
138
+ "required": [
139
+ "contentTypeId",
140
+ "id"
141
+ ]
142
+ },
143
+ "deck": {
144
+ "title": "Deck",
145
+ "type": "string",
146
+ "key": "HkJzKRDUb",
147
+ "minLength": 0
148
+ },
149
+ "tags": {
150
+ "relationship": {
151
+ "type": "multiple",
152
+ "contentTypeIds": [
153
+ "rJBYXVyuQ"
154
+ ]
155
+ },
156
+ "title": "Tags",
157
+ "type": "array",
158
+ "items": {
159
+ "type": "object",
160
+ "properties": {
161
+ "contentTypeId": {
162
+ "type": "string",
163
+ "enum": [
164
+ "rJBYXVyuQ"
165
+ ],
166
+ "minLength": 1
167
+ },
168
+ "id": {
169
+ "type": "string",
170
+ "minLength": 1
171
+ }
172
+ },
173
+ "required": [
174
+ "contentTypeId",
175
+ "id"
176
+ ]
177
+ },
178
+ "key": "Hkb57EkOQ"
179
+ }
180
+ },
181
+ "required": [
182
+ "title",
183
+ "featureImage"
184
+ ]
185
+ },
186
+ "single": false,
187
+ "name": "post",
188
+ "taxonomy": false,
189
+ "title": "Post",
190
+ "forms": {
191
+ "default": {
192
+ "properties": {
193
+ "body": {
194
+ "widget": "wysiwygText"
195
+ },
196
+ "featureImage": {
197
+ "widget": "image"
198
+ },
199
+ "title": {
200
+ "widget": "singleLineText"
201
+ },
202
+ "author": {
203
+ "widget": "relationship"
204
+ },
205
+ "deck": {
206
+ "widget": "paragraphText"
207
+ },
208
+ "tags": {
209
+ "widget": "relationship"
210
+ }
211
+ },
212
+ "order": [
213
+ "title",
214
+ "deck",
215
+ "tags",
216
+ "author",
217
+ "featureImage",
218
+ "body"
219
+ ]
220
+ }
221
+ }
222
+ },
223
+ "SJDIicDUZ": {
224
+ "schema": {
225
+ "type": "object",
226
+ "properties": {
227
+ "name": {
228
+ "title": "Name",
229
+ "type": "string",
230
+ "key": "Hk8NiqwLb",
231
+ "minLength": 1
232
+ },
233
+ "photo": {
234
+ "relationship": {
235
+ "contentTypeIds": [
236
+ "ASSET"
237
+ ]
238
+ },
239
+ "title": "Photo",
240
+ "type": "object",
241
+ "key": "BkyFrpUcb",
242
+ "properties": {
243
+ "contentTypeId": {
244
+ "type": "string",
245
+ "enum": [
246
+ "ASSET"
247
+ ],
248
+ "minLength": 1
249
+ },
250
+ "id": {
251
+ "type": "string",
252
+ "minLength": 1
253
+ }
254
+ },
255
+ "required": [
256
+ "contentTypeId",
257
+ "id"
258
+ ]
259
+ },
260
+ "biography": {
261
+ "draftjs": true,
262
+ "title": "Biography",
263
+ "type": "object",
264
+ "key": "S1tvt0Hq-"
265
+ }
266
+ },
267
+ "required": [
268
+ "name",
269
+ "photo",
270
+ "biography"
271
+ ]
272
+ },
273
+ "single": false,
274
+ "name": "author",
275
+ "taxonomy": true,
276
+ "title": "Author",
277
+ "forms": {
278
+ "default": {
279
+ "properties": {
280
+ "name": {
281
+ "widget": "singleLineText"
282
+ },
283
+ "photo": {
284
+ "widget": "image"
285
+ },
286
+ "biography": {
287
+ "widget": "wysiwygText"
288
+ }
289
+ },
290
+ "order": [
291
+ "name",
292
+ "photo",
293
+ "biography"
294
+ ]
295
+ }
296
+ }
297
+ },
298
+ "H1TFgJdIb": {
299
+ "schema": {
300
+ "type": "object",
301
+ "properties": {
302
+ "title": {
303
+ "title": "Title",
304
+ "type": "string",
305
+ "key": "BJfmu0OIZ",
306
+ "minLength": 0
307
+ },
308
+ "featuredBook": {
309
+ "relationship": {
310
+ "type": "single",
311
+ "contentTypeIds": [
312
+ "r166qcP8Z"
313
+ ]
314
+ },
315
+ "title": "Featured Book",
316
+ "type": "object",
317
+ "key": "r1xPx1OUW",
318
+ "properties": {
319
+ "contentTypeId": {
320
+ "type": "string",
321
+ "enum": [
322
+ "r166qcP8Z"
323
+ ],
324
+ "minLength": 1
325
+ },
326
+ "id": {
327
+ "type": "string",
328
+ "minLength": 1
329
+ }
330
+ },
331
+ "required": [
332
+ "contentTypeId",
333
+ "id"
334
+ ]
335
+ },
336
+ "hero": {
337
+ "mutable": true,
338
+ "title": "Hero",
339
+ "type": "object",
340
+ "key": "ry4VnCD8W",
341
+ "properties": {
342
+ "image": {
343
+ "relationship": {
344
+ "contentTypeIds": [
345
+ "ASSET"
346
+ ]
347
+ },
348
+ "title": "Image",
349
+ "type": "object",
350
+ "key": "H1vBnAv8-",
351
+ "properties": {
352
+ "contentTypeId": {
353
+ "type": "string",
354
+ "enum": [
355
+ "ASSET"
356
+ ],
357
+ "minLength": 1
358
+ },
359
+ "id": {
360
+ "type": "string",
361
+ "minLength": 1
362
+ }
363
+ },
364
+ "required": [
365
+ "contentTypeId",
366
+ "id"
367
+ ]
368
+ },
369
+ "featuredPost": {
370
+ "relationship": {
371
+ "type": "single",
372
+ "relatedName": "heroFeaturedPost",
373
+ "contentTypeIds": [
374
+ "rJoobhv8W"
375
+ ]
376
+ },
377
+ "title": "Featured Post",
378
+ "type": "object",
379
+ "key": "SJ1Xo0v8b",
380
+ "properties": {
381
+ "contentTypeId": {
382
+ "type": "string",
383
+ "enum": [
384
+ "rJoobhv8W"
385
+ ],
386
+ "minLength": 1
387
+ },
388
+ "id": {
389
+ "type": "string",
390
+ "minLength": 1
391
+ }
392
+ },
393
+ "required": [
394
+ "contentTypeId",
395
+ "id"
396
+ ]
397
+ }
398
+ }
399
+ }
400
+ }
401
+ },
402
+ "single": true,
403
+ "name": "homepage",
404
+ "title": "Homepage",
405
+ "forms": {
406
+ "default": {
407
+ "properties": {
408
+ "title": {
409
+ "widget": "singleLineText"
410
+ },
411
+ "featuredBook": {
412
+ "widget": "relationship"
413
+ },
414
+ "hero": {
415
+ "properties": {
416
+ "image": {
417
+ "widget": "image"
418
+ },
419
+ "featuredPost": {
420
+ "widget": "relationship"
421
+ }
422
+ },
423
+ "widget": "object",
424
+ "order": [
425
+ "image",
426
+ "featuredPost"
427
+ ]
428
+ }
429
+ },
430
+ "order": [
431
+ "title",
432
+ "hero",
433
+ "featuredBook"
434
+ ]
435
+ }
436
+ }
437
+ },
438
+ "Skp0mAuUb": {
439
+ "schema": {
440
+ "type": "object",
441
+ "properties": {
442
+ "siteTitle": {
443
+ "title": "Site Title",
444
+ "type": "string",
445
+ "key": "SkVAQA_8Z",
446
+ "minLength": 0
447
+ }
448
+ }
449
+ },
450
+ "single": true,
451
+ "name": "siteSettings",
452
+ "taxonomy": false,
453
+ "title": "Site Settings",
454
+ "forms": {
455
+ "default": {
456
+ "properties": {
457
+ "siteTitle": {
458
+ "widget": "singleLineText"
459
+ }
460
+ },
461
+ "order": [
462
+ "siteTitle"
463
+ ]
464
+ }
465
+ }
466
+ },
467
+ "ASSET": {
468
+ "single": false,
469
+ "schema": {
470
+ "type": "object",
471
+ "properties": {
472
+ "path": {
473
+ "title": "Path",
474
+ "type": "string",
475
+ "key": "Hk6FQuz5",
476
+ "builtIn": true,
477
+ "minLength": 1
478
+ },
479
+ "filename": {
480
+ "title": "Filename",
481
+ "type": "string",
482
+ "key": "H1oYQOM9",
483
+ "builtIn": true,
484
+ "minLength": 1
485
+ },
486
+ "description": {
487
+ "title": "Description",
488
+ "type": "string",
489
+ "key": "B1Zsra3fx",
490
+ "builtIn": true
491
+ },
492
+ "caption": {
493
+ "draftjs": true,
494
+ "title": "Caption",
495
+ "type": "object",
496
+ "key": "SyWVsd98x",
497
+ "builtIn": true
498
+ },
499
+ "uploadStatus": {
500
+ "title": "Upload status",
501
+ "type": "string",
502
+ "enum": [
503
+ "PENDING",
504
+ "COMPLETE"
505
+ ],
506
+ "key": "ByeAYXdG9",
507
+ "builtIn": true
508
+ },
509
+ "mimeType": {
510
+ "title": "MIME type",
511
+ "type": "string",
512
+ "key": "SyCYX_Gq",
513
+ "builtIn": true
514
+ },
515
+ "title": {
516
+ "title": "Title",
517
+ "type": "string",
518
+ "key": "By5tQOMc",
519
+ "builtIn": true
520
+ },
521
+ "authorTag": {
522
+ "title": "Author Tag",
523
+ "relationship": {
524
+ "type": "single",
525
+ "contentTypeIds": [
526
+ "SJDIicDUZ"
527
+ ]
528
+ },
529
+ "type": "object",
530
+ "key": "SyQiZrgdX",
531
+ "properties": {
532
+ "contentTypeId": {
533
+ "type": "string",
534
+ "enum": [
535
+ "SJDIicDUZ"
536
+ ],
537
+ "minLength": 1
538
+ },
539
+ "id": {
540
+ "type": "string",
541
+ "minLength": 1
542
+ }
543
+ },
544
+ "required": [
545
+ "contentTypeId",
546
+ "id"
547
+ ]
548
+ },
549
+ "credit": {
550
+ "draftjs": true,
551
+ "title": "Credit",
552
+ "type": "object",
553
+ "key": "Skn_i_5Ll",
554
+ "builtIn": true
555
+ }
556
+ },
557
+ "required": [
558
+ "filename",
559
+ "path"
560
+ ]
561
+ },
562
+ "name": "asset",
563
+ "description": "The built-in TakeShape asset model",
564
+ "taxonomy": false,
565
+ "title": "Asset",
566
+ "forms": {
567
+ "default": {
568
+ "properties": {
569
+ "path": {
570
+ "disabled": true,
571
+ "widget": "singleLineText"
572
+ },
573
+ "filename": {
574
+ "disabled": true,
575
+ "widget": "singleLineText"
576
+ },
577
+ "description": {
578
+ "disabled": true,
579
+ "widget": "paragraphText"
580
+ },
581
+ "caption": {
582
+ "disabled": true,
583
+ "widget": "wysiwygSingleLineText"
584
+ },
585
+ "uploadStatus": {
586
+ "disabled": true,
587
+ "widget": "singleLineText"
588
+ },
589
+ "mimeType": {
590
+ "disabled": true,
591
+ "widget": "singleLineText"
592
+ },
593
+ "title": {
594
+ "disabled": true,
595
+ "widget": "singleLineText"
596
+ },
597
+ "authorTag": {
598
+ "widget": "relationship"
599
+ },
600
+ "credit": {
601
+ "disabled": true,
602
+ "widget": "wysiwygSingleLineText"
603
+ }
604
+ },
605
+ "order": [
606
+ "title",
607
+ "authorTag",
608
+ "description",
609
+ "caption",
610
+ "credit",
611
+ "filename",
612
+ "path",
613
+ "mimeType",
614
+ "uploadStatus"
615
+ ]
616
+ }
617
+ }
618
+ },
619
+ "r166qcP8Z": {
620
+ "schema": {
621
+ "type": "object",
622
+ "properties": {
623
+ "author": {
624
+ "title": "Author",
625
+ "relationship": {
626
+ "type": "single",
627
+ "relatedName": "authored",
628
+ "contentTypeIds": [
629
+ "SJDIicDUZ"
630
+ ]
631
+ },
632
+ "type": "object",
633
+ "key": "BJ7Xn5vLW",
634
+ "properties": {
635
+ "contentTypeId": {
636
+ "type": "string",
637
+ "enum": [
638
+ "SJDIicDUZ"
639
+ ]
640
+ },
641
+ "id": {
642
+ "type": "string"
643
+ }
644
+ },
645
+ "required": [
646
+ "contentTypeId",
647
+ "id"
648
+ ]
649
+ },
650
+ "coverImage": {
651
+ "title": "Cover Image",
652
+ "relationship": {
653
+ "contentTypeIds": [
654
+ "ASSET"
655
+ ]
656
+ },
657
+ "type": "object",
658
+ "key": "SymsKiD8W",
659
+ "properties": {
660
+ "contentTypeId": {
661
+ "type": "string",
662
+ "enum": [
663
+ "ASSET"
664
+ ]
665
+ },
666
+ "id": {
667
+ "type": "string"
668
+ }
669
+ },
670
+ "required": [
671
+ "contentTypeId",
672
+ "id"
673
+ ]
674
+ },
675
+ "genre": {
676
+ "title": "Genre",
677
+ "relationship": {
678
+ "type": "single",
679
+ "relatedName": "books",
680
+ "contentTypeIds": [
681
+ "rJ9bZzk-m"
682
+ ]
683
+ },
684
+ "type": "object",
685
+ "key": "B1E4ZMkW7",
686
+ "properties": {
687
+ "contentTypeId": {
688
+ "type": "string",
689
+ "enum": [
690
+ "rJ9bZzk-m"
691
+ ]
692
+ },
693
+ "id": {
694
+ "type": "string"
695
+ }
696
+ },
697
+ "required": [
698
+ "contentTypeId",
699
+ "id"
700
+ ]
701
+ },
702
+ "publishDate": {
703
+ "format": "date-time",
704
+ "title": "Publish Date",
705
+ "type": "string",
706
+ "key": "BJtYLE5PZ"
707
+ },
708
+ "totalPages": {
709
+ "title": "Total Pages",
710
+ "type": "integer",
711
+ "minimum": 1,
712
+ "key": "HkDXBoP8W"
713
+ },
714
+ "title": {
715
+ "title": "Title",
716
+ "type": "string",
717
+ "key": "B1An5cwLb",
718
+ "minLength": 1
719
+ },
720
+ "type": {
721
+ "oneOf": [
722
+ {
723
+ "title": "Hardcover",
724
+ "enum": [
725
+ "hardcover"
726
+ ]
727
+ },
728
+ {
729
+ "title": "Paperback",
730
+ "enum": [
731
+ "paperback"
732
+ ]
733
+ }
734
+ ],
735
+ "title": "Type",
736
+ "type": "string",
737
+ "key": "BJM2_ovUZ"
738
+ },
739
+ "body": {
740
+ "draftjs": true,
741
+ "title": "Body",
742
+ "type": "object",
743
+ "key": "BJ4ZHov8-"
744
+ }
745
+ },
746
+ "required": [
747
+ "title",
748
+ "author"
749
+ ]
750
+ },
751
+ "single": false,
752
+ "name": "book",
753
+ "taxonomy": false,
754
+ "title": "Book",
755
+ "forms": {
756
+ "default": {
757
+ "properties": {
758
+ "author": {
759
+ "widget": "relationship"
760
+ },
761
+ "coverImage": {
762
+ "widget": "image"
763
+ },
764
+ "genre": {
765
+ "widget": "relationship"
766
+ },
767
+ "publishDate": {
768
+ "widget": "datetime"
769
+ },
770
+ "totalPages": {
771
+ "widget": "number"
772
+ },
773
+ "title": {
774
+ "widget": "singleLineText"
775
+ },
776
+ "type": {
777
+ "widget": "dropdown"
778
+ },
779
+ "body": {
780
+ "widget": "wysiwygText"
781
+ }
782
+ },
783
+ "order": [
784
+ "title",
785
+ "genre",
786
+ "publishDate",
787
+ "coverImage",
788
+ "author",
789
+ "totalPages",
790
+ "type",
791
+ "body"
792
+ ]
793
+ }
794
+ }
795
+ }
796
+ }
797
+ }