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
This commit is contained in:
Dan Prince 2012-05-23 10:48:43 -04:00
parent 9462474c14
commit 88f802027c

View File

@ -1,14 +1,14 @@
{
"type": {
"type": "string",
"description": "The type code for the image"
"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"
"description": "The format code for the image",
"required": true,
"enum": ["raw", "vhd", "vmdk", "vdi", "qcow2", "qed"]
},
}
}