{
    "properties": {
        "packages": {
            "items": {
                "properties": {
                    "currentVersion": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "framework": {
                        "default": false,
                        "description": "True if this package installs a new Mesos framework.",
                        "type": "boolean"
                    },
                    "name": {
                        "type": "string"
                    },
                    "selected": {
                        "default": false,
                        "description": "Flag indicating if the package is selected in search results",
                        "type": "boolean"
                    },
                    "tags": {
                        "items": {
                            "pattern": "^[^\\s]+$",
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "versions": {
                        "additionalProperties": {
                            "type": "string"
                        },
                        "description": "Maps software versions to their latest package.",
                        "type": "object"
                    }
                },
                "required": [
                    "name",
                    "currentVersion",
                    "versions",
                    "description",
                    "tags"
                ],
                "type": "object"
            },
            "type": "array"
        },
        "version": {
            "type": "string"
        }
    },
    "required": [
        "version",
        "packages"
    ],
    "type": "object"
}