{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "eventIds": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^[A-Fa-f\\d]{24}$"
            }
        },
        "updates": {
            "title": "Event Patch",
            "description": "Schema for the body of an Event modification request",
            "type": "object",
            "properties": {
                "state": {
                    "type": "string",
                    "enum": [
                        "new",
                        "acknowledged",
                        "resolved"
                    ]
                },
                "comment": {
                    "type": "string",
                    "maxLength": 32767
                },
                "data": {},
                "eventTags": {
                    "type": "object",
                    "patternProperties": {
                        "^[0-9a-zA-Z_-]{1,255}$": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 255
                        }
                    },
                    "additionalProperties": false
                }
            },
            "additionalProperties": false
        }
    },
    "additionalProperties": false
}