{
    "$schema": "http://json-schema.org/draft-07/schema",
    "$id": "https://github.com/YunoHost/apps/blob/master/schemas/wishlist.toml.schema.json",
    "title": "Yunohost's wishlist.toml schema",
    "version": "0",

    "type": "object",
    "required": [],
    "additionalProperties": false,
    "patternProperties": {
        "^[a-z0-9_-]*$": {
            "type": "object",
            "required": ["name", "upstream"],
            "additionalProperties": false,
            "properties": {
                "name": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "upstream": {
                    "type": "string",
                    "format": "url"
                },
                "website": {
                    "type": "string",
                    "format": "url"
                }
            }
        }
    }

}
