Update config-schema.json

fix the "first" keyword to work with "current_year" validation
pull/1839/head
bullmoose20 11 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": {
"type": "object",
"properties": {
"data": {
"data": {
"type": "object",
"properties": {
"starting": {
"starting": {
"oneOf": [
{ "type": "integer", "minimum": 0 },
{ "type": "string", "pattern": "^current_year(-\\d+)?$" }
{ "type": "integer", "minimum": 0 },
{ "type": "string", "pattern": "^(current_year(-\\d+)?|first)$" }
]
},
"ending": {
},
"ending": {
"oneOf": [
{ "type": "integer", "minimum": 1 },
{ "type": "string", "pattern": "^current_year(-\\d+)?$" }
{ "type": "integer", "minimum": 1 },
{ "type": "string", "pattern": "^(current_year(-\\d+)?|first)$" }
]
},
"increment": { "type": "integer", "minimum": 0 },
"depth": { "type": "integer", "minimum": 1 },
"limit": { "type": "integer", "minimum": 1 }
},
"increment": { "type": "integer", "minimum": 0 },
"depth": { "type": "integer", "minimum": 1 },
"limit": { "type": "integer", "minimum": 1 }
},
"additionalProperties": false
},
"style": {
},
"style": {
"type": "string",
"enum": ["color", "white", "bw", "diiivoy", "diiivoycolor", "rainier", "signature", "orig", "transparent", "default", "standards"]
}
}
},
"required": [],
"dependentRequired": {},
"title": "template_variables"
},
},
"template-variables-overlays": {
"type": "object",
"additionalProperties": false,

Loading…
Cancel
Save