{
    "additionalProperties": false,
    "description": "Snowplow Elasticsearch storage configuration",
    "properties": {
        "host": {
            "type": "string"
        },
        "id": {
            "_format": "uuid",
            "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-1"
    },
    "type": "object"
}