{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "HTTPWatcherOptions",
    "type": "object",
    "properties": {
        "uri": {
            "type": "string",
            "ui:title": "URI"
        },
        "httpMethod": {
            "type": "string",
            "ui:title": "HTTP Method",
            "default": "get",
            "enum": ["get", "post", "put", "delete"],
            "tsEnumNames": ["GET", "POST", "PUT", "DELETE"]
        },
        "expectedHttpResponse": {
            "type": "integer",
            "ui:title": "Expected HTTP Response",
            "default": 200
        },
        "keyword": {
            "type": "string",
            "ui:title": "Keyword"
        },
        "interval": {
            "type": "integer",
            "ui:title": "Interval"
        },
        "headers": {
            "type": "object",
            "additionalProperties": { "type": "string" }
        }
    },
    "required": ["uri"],
    "additionalProperties": false
}
