bootstrap-vz/providers/ec2/manifest-schema.json
Anders Ingemann 71adb3d04e Manifest schema now validates partition definition
S3 partitioning is disallowed for now
2013-10-29 22:41:29 +01:00

37 lines
601 B
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "EC2 manifest",
"type": "object",
"properties": {
"image": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"credentials": {
"type": "object",
"properties": {
"access-key": {
"type": "string"
},
"secret-key": {
"type": "string"
}
}
},
"volume": {
"type": "object",
"properties": {
"backing": { "enum": ["ebs", "s3"] }
},
"required": ["backing"]
}
},
"required": ["image"]
}