2013-06-23 23:37:21 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
|
"title": "Generic manifest",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"provider": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2013-06-27 23:26:29 +02:00
|
|
|
"bootstrapper": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"mount_dir": { "type": "string" },
|
2013-07-10 14:42:03 +02:00
|
|
|
"image_file": { "type": "string" },
|
2013-06-27 23:26:29 +02:00
|
|
|
"tarball": { "type": "boolean" },
|
2013-07-10 14:42:03 +02:00
|
|
|
"tarball_dir": { "type": "string" },
|
2013-08-13 09:52:03 +02:00
|
|
|
"device" : { "type" : "string" },
|
|
|
|
"mirror": { "type": "string" }
|
2013-06-27 23:26:29 +02:00
|
|
|
},
|
2013-08-13 10:43:29 +02:00
|
|
|
"required": ["mount_dir", "mirror"]
|
2013-06-27 23:26:29 +02:00
|
|
|
},
|
|
|
|
"system": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"release": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["wheezy"]
|
|
|
|
},
|
|
|
|
"architecture": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["i386", "amd64"]
|
|
|
|
},
|
|
|
|
"timezone": { "type": "string" },
|
|
|
|
"locale": { "type": "string" },
|
2013-08-13 09:52:03 +02:00
|
|
|
"charmap": { "type": "string" }
|
2013-06-27 23:26:29 +02:00
|
|
|
},
|
|
|
|
"required": ["release", "architecture", "timezone", "locale", "charmap"]
|
2013-06-27 21:31:52 +02:00
|
|
|
},
|
2013-06-24 19:05:46 +02:00
|
|
|
"volume": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"size": {
|
2013-07-09 21:31:10 +02:00
|
|
|
"type": "integer",
|
|
|
|
"minimum": 1
|
2013-06-24 19:05:46 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["size"]
|
|
|
|
},
|
2013-06-23 23:37:21 +02:00
|
|
|
"plugins": {
|
|
|
|
"type": "object",
|
|
|
|
"patternProperties": {
|
|
|
|
"^\\w+$": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"enabled": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["enabled"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2013-06-27 23:26:29 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["provider", "bootstrapper", "volume", "system"]
|
2013-06-23 23:37:21 +02:00
|
|
|
}
|