Update config-schema.json

fix the "first" keyword to work with "current_year" validation
This commit is contained in:
bullmoose20 2024-01-19 12:22:51 -05:00 committed by GitHub
parent cd3432f4f8
commit d74f8e2ef5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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