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

@ -2,7 +2,7 @@
{
"id": "android.auto_generated_rro__",
"label": "android.auto_generated_rro__",
"description": "rro = Runtime Resources Overlay.\nChanges values of a package config, based in the overlay definitions. Overlays are heavily used by OEMs to customize the look and feel of Android.",
"description": "RRO = Runtime Resources Overlay. Changes values of a package config, based in the overlay definitions. Overlays are heavily used by OEMs to customize the look and feel of Android.",
"web": [
"https://source.android.com/devices/architecture/rros",
"https://code.tutsplus.com/tutorials/quick-tip-theme-android-with-the-runtime-resource-overlay-framework--cms-29708"

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
}