2013-06-23 12:00:17 +02:00
|
|
|
{
|
2013-06-23 23:37:21 +02:00
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
2013-06-23 12:00:17 +02:00
|
|
|
"title": "EC2 manifest",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2013-12-01 23:50:32 +01:00
|
|
|
"virtualization": { "enum": ["pvm", "hvm"] },
|
2013-10-29 22:41:29 +01:00
|
|
|
"image": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2013-07-14 23:16:37 +02:00
|
|
|
"credentials": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"access-key": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"secret-key": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2014-01-19 15:57:54 +01:00
|
|
|
"system": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"bootloader": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["pvgrub", "extlinux"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2013-06-23 12:00:17 +02:00
|
|
|
"volume": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2013-11-06 22:33:18 +01:00
|
|
|
"backing": { "enum": ["ebs", "s3"] },
|
|
|
|
"partitions": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2014-01-18 21:23:54 +00:00
|
|
|
"type": { "enum": ["none", "msdos"] }
|
2013-11-06 22:33:18 +01:00
|
|
|
}
|
|
|
|
}
|
2013-06-23 12:00:17 +02:00
|
|
|
},
|
2013-10-09 00:09:34 +02:00
|
|
|
"required": ["backing"]
|
2013-06-23 12:00:17 +02:00
|
|
|
}
|
|
|
|
},
|
2013-10-29 22:41:29 +01:00
|
|
|
"required": ["image"]
|
2013-06-23 12:00:17 +02:00
|
|
|
}
|