diff --git a/src/api/form-flow-page/content-types/form-flow-page/schema.json b/src/api/form-flow-page/content-types/form-flow-page/schema.json index 8567c64..1aaf968 100644 --- a/src/api/form-flow-page/content-types/form-flow-page/schema.json +++ b/src/api/form-flow-page/content-types/form-flow-page/schema.json @@ -124,7 +124,7 @@ } }, "type": "string", - "required": true + "required": false }, "backButtonLabel": { "pluginOptions": { diff --git a/src/api/result-page/content-types/result-page/schema.json b/src/api/result-page/content-types/result-page/schema.json index fee6180..5d02b91 100644 --- a/src/api/result-page/content-types/result-page/schema.json +++ b/src/api/result-page/content-types/result-page/schema.json @@ -76,7 +76,12 @@ } }, "type": "enumeration", - "enum": ["error", "success", "warning", "info"], + "enum": [ + "error", + "success", + "warning", + "info" + ], "required": true, "default": "error" }, @@ -112,8 +117,7 @@ } }, "type": "string", - "unique": false, - "required": true + "unique": false } } } diff --git a/src/api/vorab-check-page/content-types/vorab-check-page/schema.json b/src/api/vorab-check-page/content-types/vorab-check-page/schema.json index 9818ca9..7d30054 100644 --- a/src/api/vorab-check-page/content-types/vorab-check-page/schema.json +++ b/src/api/vorab-check-page/content-types/vorab-check-page/schema.json @@ -80,8 +80,7 @@ "localized": false } }, - "type": "string", - "required": true + "type": "string" } } } diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index 5eb627a..7dcd1c4 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -725,7 +725,6 @@ export interface ApiFormFlowPageFormFlowPage }>; publishedAt: Schema.Attribute.DateTime; stepId: Schema.Attribute.String & - Schema.Attribute.Required & Schema.Attribute.SetPluginOptions<{ i18n: { localized: false; @@ -935,7 +934,6 @@ export interface ApiResultPageResultPage extends Struct.CollectionTypeSchema { Schema.Attribute.DefaultTo<'error'>; publishedAt: Schema.Attribute.DateTime; stepId: Schema.Attribute.String & - Schema.Attribute.Required & Schema.Attribute.SetPluginOptions<{ i18n: { localized: false; @@ -1066,7 +1064,6 @@ export interface ApiVorabCheckPageVorabCheckPage }>; publishedAt: Schema.Attribute.DateTime; stepId: Schema.Attribute.String & - Schema.Attribute.Required & Schema.Attribute.SetPluginOptions<{ i18n: { localized: false;