{
    "additionalProperties": false,
    "description": "Snowplow Elasticsearch storage configuration",
    "properties": {
        "host": {
            "type": "string"
        },
        "index": {
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "nodesWanOnly": {
            "type": "boolean"
        },
        "port": {
            "maximum": 65535,
            "minimum": 1,
            "type": "integer"
        },
        "purpose": {
            "enum": [
                "FAILED_EVENTS"
            ],
            "type": "string"
        },
        "type": {
            "type": "string"
        }
    },
    "required": [
        "name",
        "host",
        "index",
        "port",
        "type",
        "nodesWanOnly",
        "purpose"
    ],
    "self": {
        "format": "jsonschema",
        "name": "elastic_config",
        "vendor": "com.snowplowanalytics.snowplow.storage",
        "version": "1-0-0"
    },
    "type": "object"
}