fix: Improve validation errors

This commit is contained in:
Gerald Pinder 2024-12-11 19:40:12 -05:00
parent 6424bf3573
commit 3d0ae32734
99 changed files with 3773 additions and 425 deletions

View file

@ -0,0 +1,54 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "/modules/bling.json",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "bling",
"description": "The bling module can be used to pull in small \"bling\" into your image. \nhttps://blue-build.org/reference/modules/bling/"
},
"no-cache": {
"type": "boolean",
"default": false,
"description": "Whether to disabling caching for this layer.\nhttps://blue-build.org/reference/module/#no-cache-optional"
},
"install": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"const": "rpmfusion"
},
{
"type": "string",
"const": "negativo17"
},
{
"type": "string",
"const": "ublue-update"
},
{
"type": "string",
"const": "1password"
},
{
"type": "string",
"const": "dconf-update-service"
},
{
"type": "string",
"const": "gnome-vrr"
}
]
},
"description": "List of bling submodules to run / things to install onto your system."
}
},
"required": [
"type",
"install"
],
"additionalProperties": false
}