diff --git a/.schema/version.schema.json b/.schema/version.schema.json index 627df2410ec7..71f8520ef49c 100644 --- a/.schema/version.schema.json +++ b/.schema/version.schema.json @@ -1,9 +1,26 @@ { "$id": "https://github.com/ory/kratos/.schema/versions.config.schema.json", - "$schema": "https://raw.githubusercontent.com/ory/cli/v0.0.21/.schema/version_meta.schema.json#", + "$schema": "http://json-schema.org/draft-07/schema#", "title": "All Versions for Ory Kratos Configuration", "type": "object", "oneOf": [ + { + "allOf": [ + { + "properties": { + "version": { + "const": "v0.9.0-alpha.2" + } + }, + "required": [ + "version" + ] + }, + { + "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.9.0-alpha.2/embedx/config.schema.json" + } + ] + }, { "allOf": [ { @@ -11,7 +28,10 @@ "version": { "const": "v0.4.6-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.4.6-alpha.1/.schema/config.schema.json" @@ -25,7 +45,10 @@ "version": { "const": "v0.5.0-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.5.0-alpha.1/.schema/config.schema.json" @@ -39,7 +62,10 @@ "version": { "const": "v0.5.1-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.5.1-alpha.1/.schema/config.schema.json" @@ -53,7 +79,10 @@ "version": { "const": "v0.5.2-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.5.2-alpha.1/.schema/config.schema.json" @@ -67,7 +96,10 @@ "version": { "const": "v0.5.3-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.5.3-alpha.1/.schema/config.schema.json" @@ -81,7 +113,10 @@ "version": { "const": "v0.5.4-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.5.4-alpha.1/.schema/config.schema.json" @@ -95,7 +130,10 @@ "version": { "const": "v0.5.5-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.5.5-alpha.1/.schema/config.schema.json" @@ -109,7 +147,10 @@ "version": { "const": "v0.6.0-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.0-alpha.1/driver/config/.schema/config.schema.json" @@ -123,7 +164,10 @@ "version": { "const": "v0.6.0-alpha.2" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.0-alpha.2/driver/config/.schema/config.schema.json" @@ -137,7 +181,10 @@ "version": { "const": "v0.6.1-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.1-alpha.1/driver/config/.schema/config.schema.json" @@ -151,7 +198,10 @@ "version": { "const": "v0.6.2-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.2-alpha.1/driver/config/.schema/config.schema.json" @@ -165,7 +215,10 @@ "version": { "const": "v0.6.3-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.3-alpha.1/driver/config/.schema/config.schema.json" @@ -179,7 +232,10 @@ "version": { "const": "v0.7.0-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.7.0-alpha.1/driver/config/.schema/config.schema.json" @@ -193,7 +249,10 @@ "version": { "const": "v0.7.1-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.7.1-alpha.1/driver/config/.schema/config.schema.json" @@ -207,7 +266,10 @@ "version": { "const": "v0.7.3-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.7.3-alpha.1/driver/config/.schema/config.schema.json" @@ -221,7 +283,10 @@ "version": { "const": "v0.7.4-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.7.4-alpha.1/driver/config/.schema/config.schema.json" @@ -235,7 +300,10 @@ "version": { "const": "v0.7.5-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.7.5-alpha.1/driver/config/.schema/config.schema.json" @@ -249,7 +317,10 @@ "version": { "const": "v0.7.6-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.7.6-alpha.1/driver/config/.schema/config.schema.json" @@ -263,7 +334,10 @@ "version": { "const": "v0.8.0-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.8.0-alpha.1/embedx/config.schema.json" @@ -277,7 +351,10 @@ "version": { "const": "v0.8.0-alpha.2" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.8.0-alpha.2/embedx/config.schema.json" @@ -291,7 +368,10 @@ "version": { "const": "v0.8.0-alpha.3" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.8.0-alpha.3/embedx/config.schema.json" @@ -305,7 +385,10 @@ "version": { "const": "v0.8.2-alpha.1" } - } + }, + "required": [ + "version" + ] }, { "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.8.2-alpha.1/embedx/config.schema.json" @@ -315,14 +398,32 @@ { "allOf": [ { - "properties": { - "version": { - "const": "v0.9.0-alpha.2" + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "maxLength": 0 + } + }, + "required": [ + "version" + ] + }, + { + "not": { + "properties": { + "version": {} + }, + "required": [ + "version" + ] + } } - } + ] }, { - "$ref": "https://raw.githubusercontent.com/ory/kratos/v0.9.0-alpha.2/embedx/config.schema.json" + "$ref": "#/oneOf/0/allOf/1" } ] }