{
    "additionalProperties": false,
    "properties": {
        "createdAt": {
            "additionalProperties": false,
            "properties": {
                "since": {
                    "format": "date-time",
                    "type": "string"
                },
                "until": {
                    "format": "date-time",
                    "type": "string"
                }
            },
            "type": "object"
        },
        "level": {
            "additionalProperties": false,
            "properties": {
                "comparison": {
                    "default": "gte",
                    "enum": [
                        "eq",
                        "gt",
                        "lt",
                        "gte",
                        "lte"
                    ],
                    "type": "string"
                },
                "value": {
                    "default": "info",
                    "enum": [
                        "debug",
                        "info",
                        "warn",
                        "error",
                        "critical"
                    ],
                    "type": "string"
                }
            },
            "type": "object"
        },
        "source": {
            "additionalProperties": false,
            "properties": {
                "options": {
                    "type": "string"
                },
                "pattern": {
                    "type": "string"
                }
            },
            "required": [
                "pattern"
            ],
            "type": "object"
        },
        "tags": {
            "properties": {
                "match": {
                    "enum": [
                        "all",
                        "exact",
                        "any"
                    ],
                    "type": "string"
                },
                "value": {
                    "items": {
                        "not": {
                            "enum": [
                                "logs"
                            ]
                        },
                        "type": "string"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "time": {
            "additionalProperties": false,
            "properties": {
                "since": {
                    "format": "date-time",
                    "type": "string"
                },
                "until": {
                    "format": "date-time",
                    "type": "string"
                }
            },
            "type": "object"
        }
    },
    "title": "EventRequest",
    "type": "object"
}