deb-glance/etc/schema-image.json
Dan Prince 88f802027c Correct format of schema-image.json.
Correct the JSON format of schema-image.json. Fixes issues where
glance-api won't start due to invalid JSON in this file.

Fixes LP Bug #1003470.

Change-Id: Ibacc49f2c45e233bd6ad25b3334e013acaae8339
2012-05-23 10:48:43 -04:00

15 lines
378 B
JSON

{
"type": {
"type": "string",
"description": "The type code for the image",
"required": true,
"enum": ["kernel", "ramdisk", "filesystem", "iso9660", "disk"]
},
"format": {
"type": "string",
"description": "The format code for the image",
"required": true,
"enum": ["raw", "vhd", "vmdk", "vdi", "qcow2", "qed"]
}
}