{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "destinationId": {
            "type": "string",
            "pattern": "^[A-Fa-f\\d]{24}$"
        },
        "destinationType": {
            "type": "string",
            "enum": [
                "user",
                "organization"
            ]
        },
        "applicationIds": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^[A-Fa-f\\d]{24}$"
            },
            "maxItems": 1000
        },
        "dashboardIds": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^[A-Fa-f\\d]{24}$"
            },
            "maxItems": 1000
        },
        "strict": {
            "type": "boolean"
        }
    },
    "additionalProperties": false,
    "required": [
        "destinationId",
        "destinationType"
    ]
}