Update config-schema.json

fix the "first" keyword to work with "current_year" validation
pull/1839/head
bullmoose20 10 months ago committed by GitHub
parent cd3432f4f8
commit d74f8e2ef5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1455,36 +1455,36 @@
"template-variables-collections": { "template-variables-collections": {
"type": "object", "type": "object",
"properties": { "properties": {
"data": { "data": {
"type": "object", "type": "object",
"properties": { "properties": {
"starting": { "starting": {
"oneOf": [ "oneOf": [
{ "type": "integer", "minimum": 0 }, { "type": "integer", "minimum": 0 },
{ "type": "string", "pattern": "^current_year(-\\d+)?$" } { "type": "string", "pattern": "^(current_year(-\\d+)?|first)$" }
] ]
}, },
"ending": { "ending": {
"oneOf": [ "oneOf": [
{ "type": "integer", "minimum": 1 }, { "type": "integer", "minimum": 1 },
{ "type": "string", "pattern": "^current_year(-\\d+)?$" } { "type": "string", "pattern": "^(current_year(-\\d+)?|first)$" }
] ]
}, },
"increment": { "type": "integer", "minimum": 0 }, "increment": { "type": "integer", "minimum": 0 },
"depth": { "type": "integer", "minimum": 1 }, "depth": { "type": "integer", "minimum": 1 },
"limit": { "type": "integer", "minimum": 1 } "limit": { "type": "integer", "minimum": 1 }
}, },
"additionalProperties": false "additionalProperties": false
}, },
"style": { "style": {
"type": "string", "type": "string",
"enum": ["color", "white", "bw", "diiivoy", "diiivoycolor", "rainier", "signature", "orig", "transparent", "default", "standards"] "enum": ["color", "white", "bw", "diiivoy", "diiivoycolor", "rainier", "signature", "orig", "transparent", "default", "standards"]
} }
}, },
"required": [], "required": [],
"dependentRequired": {}, "dependentRequired": {},
"title": "template_variables" "title": "template_variables"
}, },
"template-variables-overlays": { "template-variables-overlays": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

Loading…
Cancel
Save