{
    "additionalProperties": false,
    "description": "Snowplow PostgreSQL storage configuration",
    "properties": {
        "database": {
            "type": "string"
        },
        "host": {
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "password": {
            "type": "string"
        },
        "port": {
            "maximum": 65535,
            "minimum": 1,
            "type": "integer"
        },
        "purpose": {
            "enum": [
                "ENRICHED_EVENTS"
            ],
            "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",
        "purpose"
    ],
    "self": {
        "format": "jsonschema",
        "name": "postgresql_config",
        "vendor": "com.snowplowanalytics.snowplow.storage",
        "version": "1-0-0"
    },
    "type": "object"
}