{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "properties": {
        "donate": {
            "description": "donate urls",
            "items": {
                "enum": [
                    "https://pledgie.com/campaigns/28037",
                    "https://gratipay.com/aminassian"
                ]
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array",
            "_uniqueItems": true
        },
        "licence": {
            "description": "licence code",
            "type": "string"
        },
        "patterns": {
            "items": {
                "additionalProperties": false,
                "properties": {
                    "flag": {
                        "enum": [
                            "+",
                            "-"
                        ],
                        "type": "string"
                    },
                    "pattern": {
                        "type": "string"
                    }
                },
                "required": [
                    "pattern",
                    "flag"
                ],
                "type": "object"
            },
            "type": "array"
        }
    },
    "required": [
        "licence",
        "donate",
        "patterns"
    ],
    "title": "select-object-path/selectToPattern/out",
    "type": "object"
}