docs(version schema): require version or fall back to latest
{
"properties": {
"version": {
- "const": "v0.6.0-alpha.1"
+ "const": "v0.8.0-alpha.2"
}
+ },
+ "required": ["version"]
+ },
+ {
+ "$ref": "https://raw.githubusercontent.com/ory/keto/v0.8.0-alpha.2/.schema/config.schema.json"
+ }
+ ]
+ },
+ {
+ "allOf": [
+ {
+ "properties": {
+ "version": {
+ "const": "v0.6.0-alpha.1"
}
},
+ "required": ["version"]
+ },
{
"$ref": "https://raw.githubusercontent.com/ory/keto/v0.6.0-alpha.1/internal/driver/config/config.schema.json"
}
"version": {
"const": "v0.6.0-alpha.3"
}
- }
+ },
+ "required": ["version"]
},
{
"$ref": "https://raw.githubusercontent.com/ory/keto/v0.6.0-alpha.3/internal/driver/config/config.schema.json"
"version": {
"const": "v0.7.0-alpha.0"
}
- }
+ },
+ "required": ["version"]
},
{
"$ref": "https://raw.githubusercontent.com/ory/keto/v0.7.0-alpha.0/.schema/config.schema.json"
"version": {
"const": "v0.7.0-alpha.1"
}
- }
+ },
+ "required": ["version"]
},
{
"$ref": "https://raw.githubusercontent.com/ory/keto/v0.7.0-alpha.1/.schema/config.schema.json"
"version": {
"const": "v0.8.0-alpha.1"
}
- }
+ },
+ "required": ["version"]
},
{
"$ref": "https://raw.githubusercontent.com/ory/keto/v0.8.0-alpha.1/.schema/config.schema.json"
]
},
{
+ "description": "This is the fallback to the latest version (the first one in this schema) in case no version is specified.",
"allOf": [
+ {
+ "oneOf": [
{
"properties": {
"version": {
- "const": "v0.8.0-alpha.2"
+ "type": "string",
+ "maxLength": 0
+ }
+ },
+ "required": ["version"]
+ },
+ {
+ "not": {
+ "properties": {
+ "version": {}
+ },
+ "required": ["version"]
}
}
+ ]
},
{
- "$ref": "https://raw.githubusercontent.com/ory/keto/v0.8.0-alpha.2/.schema/config.schema.json"
+ "$ref": "#/oneOf/0/allOf/1"
}
]
}
