mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-19 20:29:15 +00:00
Schema: AutoUpdateMode and UpdateCheckMode must be None
... if there is NoSourceSince or ArchivePolicy: 0 versions
This commit is contained in:
parent
e85ab2671f
commit
55b6c63207
1 changed files with 29 additions and 0 deletions
|
|
@ -677,6 +677,35 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"if": {
|
||||
"anyOf": [
|
||||
{
|
||||
"properties": {
|
||||
"ArchivePolicy": {
|
||||
"const": "0 versions"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"ArchivePolicy"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"NoSourceSince"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
"AutoUpdateMode": {
|
||||
"const": "None"
|
||||
},
|
||||
"UpdateCheckMode": {
|
||||
"const": "None"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"definitions": {
|
||||
"anti_features": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue