{
    "additionalProperties": false,
    "description": "Snowplow Redshift storage configuration",
    "properties": {
        "compRows": {
            "maximum": 1000000000,
            "minimum": 1000,
            "type": "integer"
        },
        "database": {
            "type": "string"
        },
        "host": {
            "type": "string"
        },
        "id": {
            "_format": "uuid",
            "type": "string"
        },
        "maxError": {
            "maximum": 10000,
            "minimum": 0,
            "type": "integer"
        },
        "name": {
            "type": "string"
        },
        "password": {
            "type": "string"
        },
        "port": {
            "maximum": 65535,
            "minimum": 1,
            "type": "integer"
        },
        "purpose": {
            "enum": [
                "ENRICHED_EVENTS"
            ],
            "type": "string"
        },
        "roleArn": {
            "minLength": 20,
            "type": "string"
        },
        "schema": {
            "type": "string"
        },
        "sslMode": {
            "enum": [
                "DISABLE",
                "REQUIRE",
                "VERIFY_CA",
                "VERIFY_FULL"
            ],
            "type": "string"
        },
        "username": {
            "type": "string"
        }
    },
    "required": [
        "name",
        "host",
        "database",
        "port",
        "sslMode",
        "schema",
        "username",
        "password",
        "maxError",
        "compRows",
        "roleArn",
        "purpose"
    ],
    "self": {
        "format": "jsonschema",
        "name": "redshift_config",
        "vendor": "com.snowplowanalytics.snowplow.storage",
        "version": "2-0-0"
    },
    "type": "object"
}