Update JSON schema for Bloatware List

This commit is contained in:
Muntashir Al-Islam
2023-07-19 23:44:26 +06:00
parent 63bc777ced
commit 1f9df9d23f
2 changed files with 14 additions and 3 deletions

View File

@@ -57,7 +57,13 @@
},
"removal": {
"description": "Bloatware removal type (delete, replace, caution, unsafe)",
"type": "string"
"type": "string",
"enum": [
"delete",
"replace",
"caution",
"unsafe"
]
},
"warning": {
"description": "Possible consequences of removing the bloatware (for caution and unsafe), for others, useful information",
@@ -68,7 +74,12 @@
"type": "string"
}
},
"required": [ "id", "label", "description", "removal" ]
"required": [
"id",
"label",
"description",
"removal"
]
},
"uniqueItems": true
}