Update config-schema.json to fix starting and ending

pull/1839/head
bullmoose20 10 months ago committed by GitHub
parent f829ecbedb
commit fcc4439664
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 },
@ -1557,7 +1557,7 @@
"rating1": { "type": "string", "enum": ["critic", "audience", "user"] },
"rating1_image": { "type": "string", "enum": ["anidb", "imdb", "letterboxd", "tmdb", "metacritic", "rt_popcorn", "rt_tomato", "trakt", "mal", "mdb", "star"] },
"rating1_font": { "type": "string" },
"rating1_font_size": { "type": "integer", "minimum": 1 },
"rating1_font_size": { "type": "integer", "minimum": 1 },
"rating2": { "type": "string", "enum": ["critic", "audience", "user"] },
"rating2_image": { "type": "string", "enum": ["anidb", "imdb", "letterboxd", "tmdb", "metacritic", "rt_popcorn", "rt_tomato", "trakt", "mal", "mdb", "star"] },
"rating2_font": { "type": "string" },

Loading…
Cancel
Save