{
    "description": "Schema for IOx application descriptor - version 1.0",
    "additionalProperties": false,
    "definitions": {
        "descriptorschema_1_0.AppInfo": {
            "additionalProperties": false,
            "required": [
                "name",
                "version"
            ],
            "type": "object",
            "properties": {
                "author-name": {
                    "type": "string"
                },
                "version": {
                    "type": "string"
                },
                "author-link": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                }
            }
        }
    },
    "$schema": "http://json-schema.org/draft-04/schema#",
    "required": [
        "manifest-version",
        "info",
        "app"
    ],
    "type": "object",
    "properties": {
        "info": {
            "$ref": "#/definitions/descriptorschema_1_0.AppInfo"
        },
        "app": {
            "oneOf": [
                {
                    "required": [
                        "apptype"
                    ],
                    "type": "object",
                    "properties": {
                        "apptype": {
                            "enum": [
                                "vm"
                            ],
                            "type": "string"
                        }
                    }
                }
            ]
        },
        "manifest-version": {
            "oneOf": [
                {
                    "type": "string"
                },
                {
                    "type": "number"
                }
            ]
        }
    }
}