glance/etc/schema-image.json
Brian Waldon eee5fecdf6 Support custom properties in schemas for v2 API
* Add glance schema API (glance.schema:API)
* Disallow custom properties that conflict with base properties
* Implements bp api-v2-schemas

Change-Id: Ibfa617cb5edf16627627debc30149669213d4b2d
2012-05-14 08:35:23 -07:00

15 lines
377 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"]
},
}