From bc3227e1e8957e2be322e17d95856341187bf5ff Mon Sep 17 00:00:00 2001 From: Vinicius Goulart Date: Wed, 23 Oct 2024 13:08:43 +0200 Subject: [PATCH] chore: bump JSON schema maximum schemaVersion --- packages/form-json-schema/src/index.json | 2 +- .../test/fixtures/schemaVersion-not-supported.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/form-json-schema/src/index.json b/packages/form-json-schema/src/index.json index d2eacf81d..a403e0e11 100644 --- a/packages/form-json-schema/src/index.json +++ b/packages/form-json-schema/src/index.json @@ -25,7 +25,7 @@ "description": "The schema version of a form", "type": "integer", "minimum": 1, - "maximum": 15 + "maximum": 17 }, "executionPlatform": { "$id": "#/executionPlatform", diff --git a/packages/form-json-schema/test/fixtures/schemaVersion-not-supported.js b/packages/form-json-schema/test/fixtures/schemaVersion-not-supported.js index e464c79eb..7aa023edd 100644 --- a/packages/form-json-schema/test/fixtures/schemaVersion-not-supported.js +++ b/packages/form-json-schema/test/fixtures/schemaVersion-not-supported.js @@ -1,7 +1,7 @@ export const form = { type: 'default', components: [], - schemaVersion: 16, + schemaVersion: 18, }; export const errors = [ @@ -9,7 +9,7 @@ export const errors = [ instancePath: '/schemaVersion', schemaPath: '#/properties/schemaVersion/maximum', keyword: 'maximum', - params: { comparison: '<=', limit: 15 }, - message: 'must be <= 15', + params: { comparison: '<=', limit: 17 }, + message: 'must be <= 17', }, ];