{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "packages": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "currentVersion": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "framework": {
                        "type": "boolean"
                    },
                    "selected": {
                        "type": "boolean"
                    },
                    "images": {
                        "type": "object",
                        "properties": {
                            "icon-small": {
                                "type": "string"
                            },
                            "icon-medium": {
                                "type": "string"
                            },
                            "icon-large": {
                                "type": "string"
                            },
                            "screenshots": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            }
                        },
                        "additionalProperties": false
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "pattern": "^[^\\s]+$"
                        }
                    },
                    "versions": {
                        "type": "object",
                        "patternProperties": {
                            ".{1,}": {
                                "type": "string"
                            }
                        },
                        "additionalProperties": true
                    }
                },
                "required": [
                    "name",
                    "currentVersion",
                    "versions",
                    "description",
                    "framework",
                    "tags"
                ],
                "additionalProperties": false
            }
        }
    },
    "additionalProperties": false
}