bootstrap-vz/base/manifest-schema.json
Anders Ingemann 0eb5eecfc2 Place everything in info.workspace
instead of spreading files all around the disk
2013-10-27 18:11:13 +01:00

61 lines
1.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Generic manifest",
"type": "object",
"properties": {
"provider": {
"type": "string"
},
"bootstrapper": {
"type": "object",
"properties": {
"workspace": { "type": "string" },
"mirror": { "type": "string" },
"tarball": { "type": "boolean" }
},
"required": ["workspace"]
},
"system": {
"type": "object",
"properties": {
"release": {
"type": "string",
"enum": ["wheezy"]
},
"architecture": {
"type": "string",
"enum": ["i386", "amd64"]
},
"timezone": { "type": "string" },
"locale": { "type": "string" },
"charmap": { "type": "string" }
},
"required": ["release", "architecture", "timezone", "locale", "charmap"]
},
"volume": {
"type": "object"
// "properties": {
// "backing": {
// "type": "string"
// }
// },
// "required": ["backing"]
},
"plugins": {
"type": "object",
"patternProperties": {
"^\\w+$": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
},
"required": ["enabled"]
}
},
"additionalProperties": false
}
},
"required": ["provider", "bootstrapper", "volume", "system"]
}