2023-08-02 18:04:16 +00:00
|
|
|
|
{
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"name": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": "John Doe",
|
|
|
|
|
"description": "The name of the user"
|
|
|
|
|
},
|
|
|
|
|
"age": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"default": 42,
|
|
|
|
|
"description": "The age of the user"
|
|
|
|
|
},
|
|
|
|
|
"isAdmin": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
|
|
|
|
"description": "Is the user an admin?"
|
|
|
|
|
},
|
|
|
|
|
"kernelModules": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
2023-08-24 12:12:17 +00:00
|
|
|
|
"default": ["nvme", "xhci_pci", "ahci"],
|
2023-08-02 18:04:16 +00:00
|
|
|
|
"description": "A list of enabled kernel modules"
|
|
|
|
|
},
|
|
|
|
|
"userIds": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"default": {
|
|
|
|
|
"horst": 1,
|
|
|
|
|
"peter": 2,
|
|
|
|
|
"albrecht": 3
|
|
|
|
|
},
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"type": "integer"
|
|
|
|
|
},
|
|
|
|
|
"description": "Some attributes"
|
|
|
|
|
},
|
|
|
|
|
"services": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"opt": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": "foo",
|
|
|
|
|
"description": "A submodule option"
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-05-03 16:22:20 +00:00
|
|
|
|
},
|
|
|
|
|
"destinations": {
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"name": {
|
|
|
|
|
"default": "‹name›",
|
|
|
|
|
"description": "the name of the backup job",
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"repo": {
|
|
|
|
|
"description": "the borgbackup repository to backup to",
|
|
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": [
|
|
|
|
|
"repo"
|
|
|
|
|
],
|
|
|
|
|
"type": "object"
|
|
|
|
|
},
|
|
|
|
|
"default": {},
|
|
|
|
|
"type": "object"
|
2023-08-02 18:04:16 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|