mirror of
https://github.com/Prowlarr/Indexers.git
synced 2026-04-19 16:08:46 +01:00
add dateparse validation to schema
This commit is contained in:
@@ -839,6 +839,27 @@
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"const": "dateparse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
"args": {
|
||||
"type": "string",
|
||||
"not": {
|
||||
"pattern": "\\d"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"title": "FilterBlock"
|
||||
},
|
||||
"IndexerCategories": {
|
||||
|
||||
Reference in New Issue
Block a user