Update config-schema.json to fix starting and ending

This commit is contained in:
bullmoose20 2024-01-22 21:07:16 -05:00 committed by GitHub
parent f829ecbedb
commit fcc4439664
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1491,13 +1491,13 @@
"starting": {
"oneOf": [
{ "type": "integer", "minimum": 0 },
{ "type": "string", "pattern": "^(current_year(-\\d+)?|first)$" }
{ "type": "string", "pattern": "^(current_year(\\s*-\\s*\\d+)?)$|^(first(\\s*\\+\\s*\\d+)?)$|^(latest(\\s*-\\s*\\d+)?)$" }
]
},
"ending": {
"oneOf": [
{ "type": "integer", "minimum": 1 },
{ "type": "string", "pattern": "^(current_year(-\\d+)?|first)$" }
{ "type": "string", "pattern": "^(current_year(\\s*-\\s*\\d+)?)$|^(first(\\s*\\+\\s*\\d+)?)$|^(latest(\\s*-\\s*\\d+)?)$" }
]
},
"increment": { "type": "integer", "minimum": 0 },