{
    "additionalProperties": false,
    "description": "Schema for an IP anonymization enrichment",
    "properties": {
        "enabled": {
            "type": "boolean"
        },
        "name": {
            "type": "string"
        },
        "parameters": {
            "additionalProperties": false,
            "properties": {
                "anonOctets": {
                    "maximum": 4,
                    "minimum": 1,
                    "type": "number"
                }
            },
            "required": [
                "anonOctets"
            ],
            "type": "object"
        },
        "vendor": {
            "type": "string"
        }
    },
    "required": [
        "name",
        "vendor",
        "enabled",
        "parameters"
    ],
    "self": {
        "format": "jsonschema",
        "name": "anon_ip",
        "vendor": "com.snowplowanalytics.snowplow",
        "version": "1-0-0"
    },
    "type": "object"
}