From a451c07afb45608102805737b8dfdf00fc348ab4 Mon Sep 17 00:00:00 2001 From: Pedro Ferreira <10789765+apedroferreira@users.noreply.github.com> Date: Mon, 12 Jun 2023 19:17:50 +0100 Subject: [PATCH] Update schema again --- docs/schemas/v1/definitions.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/schemas/v1/definitions.json b/docs/schemas/v1/definitions.json index f13e816110d..80185b082c2 100644 --- a/docs/schemas/v1/definitions.json +++ b/docs/schemas/v1/definitions.json @@ -6,7 +6,10 @@ "properties": { "apiVersion": { "type": "string", - "const": "v1", + "enum": [ + "v1", + "v2" + ], "description": "Defines the version of this object. Used in determining compatibility between Toolpad \"page\" objects." }, "kind": { @@ -365,7 +368,10 @@ "properties": { "apiVersion": { "type": "string", - "const": "v1", + "enum": [ + "v1", + "v2" + ], "description": "Defines the version of this object. Used in determining compatibility between Toolpad \"theme\" objects." }, "kind": {