{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "EC2 manifest for instance store AMIs",
    "type": "object",
    "properties": {
        "credentials": {
            "type": "object",
            "properties": {
                "certificate": {
                    "type": "string"
                },
                "private-key": {
                    "type": "string"
                },
                "user-id": {
                    "type": "string"
                }
            }
        },
        "image": {
            "type": "object",
            "properties": {
                "bucket": {
                    "type": "string"
                }
            },
            "required": [
                "bucket"
            ]
        },
        "volume": {
            "type": "object",
            "properties": {
                "partitions": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "none"
                            ]
                        }
                    }
                }
            }
        }
    },
    "required": [
        "image"
    ]
}