mirror of
https://github.com/Prowlarr/Indexers.git
synced 2026-02-15 07:25:47 +00:00
update schema.json
schema: require size, one of category/categorydesc, any of download/infohash/magnet Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
@@ -666,8 +666,38 @@
|
|||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"seeders",
|
"seeders",
|
||||||
|
"size",
|
||||||
"title"
|
"title"
|
||||||
],
|
],
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"category"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"categorydesc"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"download"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"infohash"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"magnet"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"title": "FieldsBlock"
|
"title": "FieldsBlock"
|
||||||
},
|
},
|
||||||
"DownloadBlock": {
|
"DownloadBlock": {
|
||||||
|
|||||||
@@ -666,8 +666,38 @@
|
|||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"seeders",
|
"seeders",
|
||||||
|
"size",
|
||||||
"title"
|
"title"
|
||||||
],
|
],
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"category"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"categorydesc"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"download"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"infohash"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"magnet"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"title": "FieldsBlock"
|
"title": "FieldsBlock"
|
||||||
},
|
},
|
||||||
"DownloadBlock": {
|
"DownloadBlock": {
|
||||||
|
|||||||
@@ -707,8 +707,38 @@
|
|||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"seeders",
|
"seeders",
|
||||||
|
"size",
|
||||||
"title"
|
"title"
|
||||||
],
|
],
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"category"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"categorydesc"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"download"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"infohash"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"magnet"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"title": "FieldsBlock"
|
"title": "FieldsBlock"
|
||||||
},
|
},
|
||||||
"DownloadBlock": {
|
"DownloadBlock": {
|
||||||
|
|||||||
Reference in New Issue
Block a user