{
    "properties": {
        "bodyexpr": {
            "type": "string"
        },
        "cacheforsecs": {
            "type": "integer"
        },
        "fullreqexpr": {
            "type": "string"
        },
        "headers": {
            "type": "object"
        },
        "hits": {
            "readonly": true,
            "type": "integer"
        },
        "hostexpr": {
            "type": "string"
        },
        "httpmethod": {
            "enum": [
                "GET",
                "POST"
            ],
            "type": "string"
        },
        "ipaddress": {
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "parameters": {
            "type": "object"
        },
        "port": {
            "type": "integer"
        },
        "recursivecallout": {
            "readonly": true,
            "type": "integer"
        },
        "resultexpr": {
            "type": "string"
        },
        "returntype": {
            "enum": [
                "BOOL",
                "NUM",
                "TEXT"
            ],
            "type": "string"
        },
        "scheme": {
            "enum": [
                "http",
                "https"
            ],
            "type": "string"
        },
        "svrstate": {
            "enum": [
                "UP",
                "DOWN",
                "UNKNOWN",
                "BUSY",
                "OUT OF SERVICE",
                "GOING OUT OF SERVICE",
                "DOWN WHEN GOING OUT OF SERVICE",
                "NS_EMPTY_STR",
                "Unknown",
                "DISABLED"
            ],
            "readonly": true,
            "type": "string"
        },
        "undefhits": {
            "readonly": true,
            "type": "integer"
        },
        "undefreason": {
            "enum": [
                "Failed to add service",
                "Vserver not found",
                "Not a HTTP or SSL vserver",
                "Generated callout request is invalid",
                "Content-Length header not found in callout request",
                "Not enough space to put Content-Length value",
                "Config incomplete",
                "Server is DOWN",
                "Creating callout connection failed",
                "No memory to generate callout request packets",
                "No memory to create callout task",
                "No memory to create callout async",
                "Callout request expression undef",
                "No callout response expression",
                "Skipped callout response eval",
                "Callout response pixl init undef",
                "Callout response expression undef"
            ],
            "readonly": true,
            "type": "string"
        },
        "urlstemexpr": {
            "type": "string"
        },
        "vserver": {
            "type": "string"
        }
    },
    "title": "policyhttpcallout",
    "type": "object"
}