{
    "additionalProperties": false,
    "description": "Schema for configuration of an event fingerprinting enrichment",
    "properties": {
        "enabled": {
            "type": "boolean"
        },
        "name": {
            "type": "string"
        },
        "parameters": {
            "additionalProperties": false,
            "properties": {
                "excludeParameters": {
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "hashAlgorithm": {
                    "enum": [
                        "MD5",
                        "SHA1",
                        "SHA256",
                        "SHA384",
                        "SHA512"
                    ]
                }
            },
            "required": [
                "hashAlgorithm",
                "excludeParameters"
            ],
            "type": "object"
        },
        "vendor": {
            "type": "string"
        }
    },
    "required": [
        "name",
        "vendor",
        "enabled",
        "parameters"
    ],
    "self": {
        "format": "jsonschema",
        "name": "event_fingerprint_config",
        "vendor": "com.snowplowanalytics.snowplow",
        "version": "1-0-1"
    },
    "type": "object"
}