@takeshape/schema 11.9.4 → 11.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/migration/index.d.ts +1 -0
  2. package/dist/migration/index.d.ts.map +1 -1
  3. package/dist/migration/index.js +3 -1
  4. package/dist/migration/to/v3.47.0.d.ts +5 -0
  5. package/dist/migration/to/v3.47.0.d.ts.map +1 -0
  6. package/dist/migration/to/v3.47.0.js +16 -0
  7. package/dist/project-schema/index.d.ts +4 -1
  8. package/dist/project-schema/index.d.ts.map +1 -1
  9. package/dist/project-schema/index.js +17 -3
  10. package/dist/project-schema/latest.d.ts +36 -3
  11. package/dist/project-schema/latest.d.ts.map +1 -1
  12. package/dist/project-schema/migrate.d.ts.map +1 -1
  13. package/dist/project-schema/migrate.js +3 -0
  14. package/dist/project-schema/v3.47.0.d.ts +1737 -0
  15. package/dist/project-schema/v3.47.0.d.ts.map +1 -0
  16. package/dist/project-schema/v3.47.0.js +5 -0
  17. package/dist/schemas/index.d.ts +2 -2
  18. package/dist/schemas/index.d.ts.map +1 -1
  19. package/dist/schemas/index.js +5 -4
  20. package/dist/schemas/index.ts +4 -2
  21. package/dist/schemas/project-schema/latest.json +62 -3
  22. package/dist/schemas/project-schema/v3.47.0.json +3626 -0
  23. package/dist/schemas/project-schema.json +3 -0
  24. package/es/migration/index.js +3 -1
  25. package/es/migration/to/v3.47.0.js +10 -0
  26. package/es/project-schema/index.js +3 -1
  27. package/es/project-schema/migrate.js +4 -1
  28. package/es/project-schema/v3.47.0.js +1 -0
  29. package/es/schemas/index.js +4 -3
  30. package/es/schemas/index.ts +4 -2
  31. package/es/schemas/project-schema/latest.json +62 -3
  32. package/es/schemas/project-schema/v3.47.0.json +3626 -0
  33. package/es/schemas/project-schema.json +3 -0
  34. package/examples/latest/all-fields-shapes-inline.json +1 -1
  35. package/examples/latest/all-fields-shapes.json +1 -1
  36. package/examples/latest/betzino.json +1 -1
  37. package/examples/latest/blog-schema.json +1 -1
  38. package/examples/latest/brewery-schema.json +1 -1
  39. package/examples/latest/clear-cache-schema.json +1 -1
  40. package/examples/latest/complex-project-schema.json +1 -1
  41. package/examples/latest/complex-schema.json +1 -1
  42. package/examples/latest/edit-schema.json +1 -1
  43. package/examples/latest/fabric-ecommerce.json +1 -1
  44. package/examples/latest/frank-and-fred-schema.json +1 -1
  45. package/examples/latest/klirr-schema.json +1 -1
  46. package/examples/latest/layers/rick-and-morty-layer.json +1 -1
  47. package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
  48. package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
  49. package/examples/latest/layers/wordpress-2024-01.json +1 -1
  50. package/examples/latest/massive-schema.json +1 -1
  51. package/examples/latest/mill-components-schema.json +1 -1
  52. package/examples/latest/nested-shape-arrays.json +1 -1
  53. package/examples/latest/one-earth.json +1 -1
  54. package/examples/latest/pet-oneof-array.json +1 -1
  55. package/examples/latest/post-schema.json +1 -1
  56. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  57. package/examples/latest/rag-example.json +2 -2
  58. package/examples/latest/real-world-schema.json +1 -1
  59. package/examples/latest/recursive-repeater-schema.json +1 -1
  60. package/examples/latest/recursive-schema.json +1 -1
  61. package/examples/latest/rick-and-morty-ast.json +1 -1
  62. package/examples/latest/rick-and-morty-graphql.json +1 -1
  63. package/examples/latest/rick-and-morty-rest.json +1 -1
  64. package/examples/latest/rick-and-morty-with-indexing.json +1 -1
  65. package/examples/latest/schema-where-filter.json +1 -1
  66. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  67. package/examples/latest/schema-with-rick-and-morty.json +1 -1
  68. package/examples/latest/shape-books-v3_2_0.json +1 -1
  69. package/examples/latest/shape-books.json +1 -1
  70. package/examples/latest/shape-editor-schema-edited.json +1 -1
  71. package/examples/latest/shape-editor-schema-initial.json +1 -1
  72. package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
  73. package/examples/latest/shopify-lookbook.json +1 -1
  74. package/examples/latest/shopify-product-2022-07.json +1 -1
  75. package/examples/latest/shopify-product-2023-04.json +1 -1
  76. package/examples/latest/shopify-store-with-widget.json +1 -1
  77. package/examples/latest/stripe-product-runtime-schema.json +1 -1
  78. package/examples/latest/stripe-starter-resolved.json +1 -1
  79. package/examples/latest/user-schema-no-required.json +1 -1
  80. package/examples/latest/user-schema-with-defaults.json +1 -1
  81. package/examples/latest/valvoline-ai-demo.json +1 -1
  82. package/examples/latest/vector-search-schema.json +1 -1
  83. package/examples/source/rag-example.json +86 -23
  84. package/package.json +5 -5
@@ -168,6 +168,9 @@
168
168
  {
169
169
  "$ref": "https://schema.takeshape.io/project-schema/v3.46.0#"
170
170
  },
171
+ {
172
+ "$ref": "https://schema.takeshape.io/project-schema/v3.47.0#"
173
+ },
171
174
  {
172
175
  "$ref": "https://schema.takeshape.io/project-schema/v4.0.0#"
173
176
  }
@@ -52,6 +52,7 @@ import migrateToV3_43_0 from './to/v3.43.0';
52
52
  import migrateToV3_44_0 from './to/v3.44.0';
53
53
  import migrateToV3_45_0 from './to/v3.45.0';
54
54
  import migrateToV3_46_0 from './to/v3.46.0';
55
+ import migrateToV3_47_0 from './to/v3.47.0';
55
56
  export const migrateTo = {
56
57
  'v3.0.0': migrateToV3_0_0,
57
58
  'v3.1.0': migrateToV3_1_0,
@@ -106,7 +107,8 @@ export const migrateTo = {
106
107
  'v3.43.0': migrateToV3_43_0,
107
108
  'v3.44.0': migrateToV3_44_0,
108
109
  'v3.45.0': migrateToV3_45_0,
109
- 'v3.46.0': migrateToV3_46_0
110
+ 'v3.46.0': migrateToV3_46_0,
111
+ 'v3.47.0': migrateToV3_47_0
110
112
  };
111
113
  export * from './utils';
112
114
  export const listTypePrefix = 'PaginatedList';
@@ -0,0 +1,10 @@
1
+ const migrate = async (_, projectSchema) => {
2
+ /**
3
+ * No migration needed all changes are backwards compatible.
4
+ */
5
+ return {
6
+ ...projectSchema,
7
+ schemaVersion: '3.47.0'
8
+ };
9
+ };
10
+ export default migrate;
@@ -55,6 +55,7 @@ export * from './v3.43.0';
55
55
  export * from './v3.44.0';
56
56
  export * from './v3.45.0';
57
57
  export * from './v3.46.0';
58
+ export * from './v3.47.0';
58
59
  export * from './v4.0.0';
59
60
  // Schema type utilities
60
61
  function createVersionPredicate(expectedVersion) {
@@ -126,5 +127,6 @@ export const isProjectSchemaJSONV3_43_0 = createVersionPredicate('3.43.0');
126
127
  export const isProjectSchemaJSONV3_44_0 = createVersionPredicate('3.44.0');
127
128
  export const isProjectSchemaJSONV3_45_0 = createVersionPredicate('3.45.0');
128
129
  export const isProjectSchemaJSONV3_46_0 = createVersionPredicate('3.46.0');
129
- export const isLatestProjectSchemaJSON = createVersionPredicate('3.46.0');
130
+ export const isProjectSchemaJSONV3_47_0 = createVersionPredicate('3.47.0');
131
+ export const isLatestProjectSchemaJSON = createVersionPredicate('3.47.0');
130
132
  export const isProjectSchemaJSONV4_0_0 = createVersionPredicate('4.0.0');
@@ -1,7 +1,7 @@
1
1
  // This file is generated by "pnpm json2ts"
2
2
 
3
3
  import { migrateTo } from '../migration';
4
- import { isProjectSchemaJSONV1_0_0, isProjectSchemaJSONV3_0_0, isProjectSchemaJSONV3_1_0, isProjectSchemaJSONV3_2_0, isProjectSchemaJSONV3_3_0, isProjectSchemaJSONV3_4_0, isProjectSchemaJSONV3_5_0, isProjectSchemaJSONV3_5_1, isProjectSchemaJSONV3_6_0, isProjectSchemaJSONV3_7_0, isProjectSchemaJSONV3_8_0, isProjectSchemaJSONV3_9_0, isProjectSchemaJSONV3_10_0, isProjectSchemaJSONV3_11_0, isProjectSchemaJSONV3_12_0, isProjectSchemaJSONV3_12_1, isProjectSchemaJSONV3_12_2, isProjectSchemaJSONV3_12_3, isProjectSchemaJSONV3_13_0, isProjectSchemaJSONV3_14_0, isProjectSchemaJSONV3_15_0, isProjectSchemaJSONV3_16_0, isProjectSchemaJSONV3_17_0, isProjectSchemaJSONV3_17_1, isProjectSchemaJSONV3_18_0, isProjectSchemaJSONV3_18_1, isProjectSchemaJSONV3_18_2, isProjectSchemaJSONV3_19_0, isProjectSchemaJSONV3_20_0, isProjectSchemaJSONV3_21_0, isProjectSchemaJSONV3_22_0, isProjectSchemaJSONV3_23_0, isProjectSchemaJSONV3_24_0, isProjectSchemaJSONV3_25_0, isProjectSchemaJSONV3_26_0, isProjectSchemaJSONV3_27_0, isProjectSchemaJSONV3_28_0, isProjectSchemaJSONV3_29_0, isProjectSchemaJSONV3_30_0, isProjectSchemaJSONV3_31_0, isProjectSchemaJSONV3_32_0, isProjectSchemaJSONV3_33_0, isProjectSchemaJSONV3_34_0, isProjectSchemaJSONV3_35_0, isProjectSchemaJSONV3_36_0, isProjectSchemaJSONV3_37_0, isProjectSchemaJSONV3_38_0, isProjectSchemaJSONV3_39_0, isProjectSchemaJSONV3_40_0, isProjectSchemaJSONV3_41_0, isProjectSchemaJSONV3_42_0, isProjectSchemaJSONV3_43_0, isProjectSchemaJSONV3_44_0, isProjectSchemaJSONV3_45_0, isProjectSchemaJSONV4_0_0, isLatestProjectSchemaJSON } from './index';
4
+ import { isProjectSchemaJSONV1_0_0, isProjectSchemaJSONV3_0_0, isProjectSchemaJSONV3_1_0, isProjectSchemaJSONV3_2_0, isProjectSchemaJSONV3_3_0, isProjectSchemaJSONV3_4_0, isProjectSchemaJSONV3_5_0, isProjectSchemaJSONV3_5_1, isProjectSchemaJSONV3_6_0, isProjectSchemaJSONV3_7_0, isProjectSchemaJSONV3_8_0, isProjectSchemaJSONV3_9_0, isProjectSchemaJSONV3_10_0, isProjectSchemaJSONV3_11_0, isProjectSchemaJSONV3_12_0, isProjectSchemaJSONV3_12_1, isProjectSchemaJSONV3_12_2, isProjectSchemaJSONV3_12_3, isProjectSchemaJSONV3_13_0, isProjectSchemaJSONV3_14_0, isProjectSchemaJSONV3_15_0, isProjectSchemaJSONV3_16_0, isProjectSchemaJSONV3_17_0, isProjectSchemaJSONV3_17_1, isProjectSchemaJSONV3_18_0, isProjectSchemaJSONV3_18_1, isProjectSchemaJSONV3_18_2, isProjectSchemaJSONV3_19_0, isProjectSchemaJSONV3_20_0, isProjectSchemaJSONV3_21_0, isProjectSchemaJSONV3_22_0, isProjectSchemaJSONV3_23_0, isProjectSchemaJSONV3_24_0, isProjectSchemaJSONV3_25_0, isProjectSchemaJSONV3_26_0, isProjectSchemaJSONV3_27_0, isProjectSchemaJSONV3_28_0, isProjectSchemaJSONV3_29_0, isProjectSchemaJSONV3_30_0, isProjectSchemaJSONV3_31_0, isProjectSchemaJSONV3_32_0, isProjectSchemaJSONV3_33_0, isProjectSchemaJSONV3_34_0, isProjectSchemaJSONV3_35_0, isProjectSchemaJSONV3_36_0, isProjectSchemaJSONV3_37_0, isProjectSchemaJSONV3_38_0, isProjectSchemaJSONV3_39_0, isProjectSchemaJSONV3_40_0, isProjectSchemaJSONV3_41_0, isProjectSchemaJSONV3_42_0, isProjectSchemaJSONV3_43_0, isProjectSchemaJSONV3_44_0, isProjectSchemaJSONV3_45_0, isProjectSchemaJSONV3_46_0, isProjectSchemaJSONV4_0_0, isLatestProjectSchemaJSON } from './index';
5
5
 
6
6
  // eslint-disable-next-line complexity
7
7
  export async function migrateToLatestProjectSchema(context, projectSchema) {
@@ -170,6 +170,9 @@ export async function migrateToLatestProjectSchema(context, projectSchema) {
170
170
  if (isProjectSchemaJSONV3_45_0(projectSchema)) {
171
171
  projectSchema = await migrateTo['v3.46.0'](context, projectSchema);
172
172
  }
173
+ if (isProjectSchemaJSONV3_46_0(projectSchema)) {
174
+ projectSchema = await migrateTo['v3.47.0'](context, projectSchema);
175
+ }
173
176
  if (isProjectSchemaJSONV4_0_0(projectSchema)) {
174
177
  throw new Error('You are using an unreleased schema version. Migration is not possible');
175
178
  }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,7 @@
1
1
  // This file is generated by "pnpm json2ts"
2
- export const CURRENT_SCHEMA_VERSION = '3.46.0';
2
+ export const CURRENT_SCHEMA_VERSION = '3.47.0';
3
3
  export { default as anyProjectSchema } from './project-schema.json';
4
- export { default as latestSchemaJson } from './project-schema/v3.46.0.json';
4
+ export { default as latestSchemaJson } from './project-schema/v3.47.0.json';
5
5
  import metaSchemaV1_0_0 from './project-schema/meta-schema-v1.0.0.json';
6
6
  import projectSchemaV1_0_0 from './project-schema/v1.0.0.json';
7
7
  import metaSchemaV3_0_0 from './project-schema/meta-schema-v3.0.0.json';
@@ -69,5 +69,6 @@ import projectSchemaV3_43_0 from './project-schema/v3.43.0.json';
69
69
  import projectSchemaV3_44_0 from './project-schema/v3.44.0.json';
70
70
  import projectSchemaV3_45_0 from './project-schema/v3.45.0.json';
71
71
  import projectSchemaV3_46_0 from './project-schema/v3.46.0.json';
72
+ import projectSchemaV3_47_0 from './project-schema/v3.47.0.json';
72
73
  import projectSchemaV4_0_0 from './project-schema/v4.0.0.json';
73
- export const allProjectSchemas = [metaSchemaV1_0_0, projectSchemaV1_0_0, metaSchemaV3_0_0, projectSchemaV3_0_0, metaSchemaV3_1_0, projectSchemaV3_1_0, metaSchemaV3_2_0, projectSchemaV3_2_0, metaSchemaV3_3_0, projectSchemaV3_3_0, metaSchemaV3_4_0, projectSchemaV3_4_0, metaSchemaV3_5_0, projectSchemaV3_5_0, metaSchemaV3_5_1, projectSchemaV3_5_1, metaSchemaV3_6_0, projectSchemaV3_6_0, metaSchemaV3_7_0, projectSchemaV3_7_0, metaSchemaV3_8_0, projectSchemaV3_8_0, metaSchemaV3_9_0, projectSchemaV3_9_0, projectSchemaV3_10_0, projectSchemaV3_11_0, projectSchemaV3_12_0, projectSchemaV3_12_1, projectSchemaV3_12_2, projectSchemaV3_12_3, projectSchemaV3_13_0, projectSchemaV3_14_0, projectSchemaV3_15_0, projectSchemaV3_16_0, projectSchemaV3_17_0, projectSchemaV3_17_1, projectSchemaV3_18_0, projectSchemaV3_18_1, projectSchemaV3_18_2, projectSchemaV3_19_0, projectSchemaV3_20_0, projectSchemaV3_21_0, projectSchemaV3_22_0, projectSchemaV3_23_0, projectSchemaV3_24_0, projectSchemaV3_25_0, projectSchemaV3_26_0, projectSchemaV3_27_0, projectSchemaV3_28_0, projectSchemaV3_29_0, projectSchemaV3_30_0, projectSchemaV3_31_0, projectSchemaV3_32_0, projectSchemaV3_33_0, projectSchemaV3_34_0, projectSchemaV3_35_0, projectSchemaV3_36_0, projectSchemaV3_37_0, projectSchemaV3_38_0, projectSchemaV3_39_0, projectSchemaV3_40_0, projectSchemaV3_41_0, projectSchemaV3_42_0, projectSchemaV3_43_0, projectSchemaV3_44_0, projectSchemaV3_45_0, projectSchemaV3_46_0, projectSchemaV4_0_0];
74
+ export const allProjectSchemas = [metaSchemaV1_0_0, projectSchemaV1_0_0, metaSchemaV3_0_0, projectSchemaV3_0_0, metaSchemaV3_1_0, projectSchemaV3_1_0, metaSchemaV3_2_0, projectSchemaV3_2_0, metaSchemaV3_3_0, projectSchemaV3_3_0, metaSchemaV3_4_0, projectSchemaV3_4_0, metaSchemaV3_5_0, projectSchemaV3_5_0, metaSchemaV3_5_1, projectSchemaV3_5_1, metaSchemaV3_6_0, projectSchemaV3_6_0, metaSchemaV3_7_0, projectSchemaV3_7_0, metaSchemaV3_8_0, projectSchemaV3_8_0, metaSchemaV3_9_0, projectSchemaV3_9_0, projectSchemaV3_10_0, projectSchemaV3_11_0, projectSchemaV3_12_0, projectSchemaV3_12_1, projectSchemaV3_12_2, projectSchemaV3_12_3, projectSchemaV3_13_0, projectSchemaV3_14_0, projectSchemaV3_15_0, projectSchemaV3_16_0, projectSchemaV3_17_0, projectSchemaV3_17_1, projectSchemaV3_18_0, projectSchemaV3_18_1, projectSchemaV3_18_2, projectSchemaV3_19_0, projectSchemaV3_20_0, projectSchemaV3_21_0, projectSchemaV3_22_0, projectSchemaV3_23_0, projectSchemaV3_24_0, projectSchemaV3_25_0, projectSchemaV3_26_0, projectSchemaV3_27_0, projectSchemaV3_28_0, projectSchemaV3_29_0, projectSchemaV3_30_0, projectSchemaV3_31_0, projectSchemaV3_32_0, projectSchemaV3_33_0, projectSchemaV3_34_0, projectSchemaV3_35_0, projectSchemaV3_36_0, projectSchemaV3_37_0, projectSchemaV3_38_0, projectSchemaV3_39_0, projectSchemaV3_40_0, projectSchemaV3_41_0, projectSchemaV3_42_0, projectSchemaV3_43_0, projectSchemaV3_44_0, projectSchemaV3_45_0, projectSchemaV3_46_0, projectSchemaV3_47_0, projectSchemaV4_0_0];
@@ -1,7 +1,7 @@
1
1
  // This file is generated by "pnpm json2ts"
2
- export const CURRENT_SCHEMA_VERSION = '3.46.0';
2
+ export const CURRENT_SCHEMA_VERSION = '3.47.0';
3
3
  export {default as anyProjectSchema} from './project-schema.json';
4
- export {default as latestSchemaJson} from './project-schema/v3.46.0.json';
4
+ export {default as latestSchemaJson} from './project-schema/v3.47.0.json';
5
5
  import metaSchemaV1_0_0 from './project-schema/meta-schema-v1.0.0.json';
6
6
  import projectSchemaV1_0_0 from './project-schema/v1.0.0.json';
7
7
  import metaSchemaV3_0_0 from './project-schema/meta-schema-v3.0.0.json';
@@ -69,6 +69,7 @@ import projectSchemaV3_43_0 from './project-schema/v3.43.0.json';
69
69
  import projectSchemaV3_44_0 from './project-schema/v3.44.0.json';
70
70
  import projectSchemaV3_45_0 from './project-schema/v3.45.0.json';
71
71
  import projectSchemaV3_46_0 from './project-schema/v3.46.0.json';
72
+ import projectSchemaV3_47_0 from './project-schema/v3.47.0.json';
72
73
  import projectSchemaV4_0_0 from './project-schema/v4.0.0.json';
73
74
  export const allProjectSchemas = [
74
75
  metaSchemaV1_0_0,
@@ -138,5 +139,6 @@ export const allProjectSchemas = [
138
139
  projectSchemaV3_44_0,
139
140
  projectSchemaV3_45_0,
140
141
  projectSchemaV3_46_0,
142
+ projectSchemaV3_47_0,
141
143
  projectSchemaV4_0_0
142
144
  ];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://schema.takeshape.io/project-schema/v3.46.0#",
3
+ "$id": "https://schema.takeshape.io/project-schema/v3.47.0#",
4
4
  "title": "Project Schema JSON",
5
5
  "definitions": {
6
6
  "schemaArray": {
@@ -1051,6 +1051,9 @@
1051
1051
  },
1052
1052
  {
1053
1053
  "$ref": "#/definitions/aiEmbeddingResolver"
1054
+ },
1055
+ {
1056
+ "$ref": "#/definitions/aiParseFileResolver"
1054
1057
  }
1055
1058
  ]
1056
1059
  },
@@ -1699,6 +1702,51 @@
1699
1702
  ],
1700
1703
  "additionalProperties": false
1701
1704
  },
1705
+ "aiParseFileResolverOptions": {
1706
+ "title": "AIParseFileResolverOptions",
1707
+ "type": "object"
1708
+ },
1709
+ "aiParseFileResolver": {
1710
+ "title": "AIParseFileResolver",
1711
+ "type": "object",
1712
+ "properties": {
1713
+ "if": {
1714
+ "type": "string"
1715
+ },
1716
+ "id": {
1717
+ "type": "string",
1718
+ "pattern": "^(?=[a-zA-Z])[-_a-zA-Z0-9]+$"
1719
+ },
1720
+ "name": {
1721
+ "title": "AI Resolver Name",
1722
+ "type": "string",
1723
+ "description": "Name of the resolver function.",
1724
+ "enum": [
1725
+ "ai:parseFile"
1726
+ ]
1727
+ },
1728
+ "service": {
1729
+ "type": "string",
1730
+ "description": "Configuration for a service to use with this resolver."
1731
+ },
1732
+ "options": {
1733
+ "$ref": "#/definitions/aiEmbeddingResolverOptions"
1734
+ },
1735
+ "args": {
1736
+ "description": "Mapping and serialization configuration for prompt context.",
1737
+ "$ref": "#/definitions/parameterConfigForJson"
1738
+ },
1739
+ "results": {
1740
+ "description": "Mapping configuration for the results of this resolver step.",
1741
+ "$ref": "#/definitions/parameterConfigForJson"
1742
+ }
1743
+ },
1744
+ "required": [
1745
+ "name",
1746
+ "service"
1747
+ ],
1748
+ "additionalProperties": false
1749
+ },
1702
1750
  "takeshapeResolver": {
1703
1751
  "title": "TakeshapeResolver",
1704
1752
  "type": "object",
@@ -3143,6 +3191,10 @@
3143
3191
  }
3144
3192
  ]
3145
3193
  },
3194
+ "serviceHealthCheckTrigger": {
3195
+ "title": "Service Health Check Trigger",
3196
+ "enum": ["manual", "schedule"]
3197
+ },
3146
3198
  "serviceHealthCheck": {
3147
3199
  "title": "Service Health Check",
3148
3200
  "description": "Configuration for ping health checks.",
@@ -3203,7 +3255,8 @@
3203
3255
  "enum": [
3204
3256
  "string",
3205
3257
  "form",
3206
- "json"
3258
+ "json",
3259
+ "form-data"
3207
3260
  ]
3208
3261
  },
3209
3262
  "requestTimeout": {
@@ -3219,6 +3272,12 @@
3219
3272
  "type": "number",
3220
3273
  "minimum": 200,
3221
3274
  "maximum": 399
3275
+ },
3276
+ "triggers": {
3277
+ "type": "array",
3278
+ "items": {
3279
+ "$ref": "#/definitions/serviceHealthCheckTrigger"
3280
+ }
3222
3281
  }
3223
3282
  },
3224
3283
  "required": [
@@ -3497,7 +3556,7 @@
3497
3556
  "schemaVersion": {
3498
3557
  "type": "string",
3499
3558
  "enum": [
3500
- "3.46.0"
3559
+ "3.47.0"
3501
3560
  ],
3502
3561
  "description": "The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format."
3503
3562
  },