{
    "additionalProperties": false,
    "description": "Schema for MaxMind IP-based lookups enrichment",
    "properties": {
        "enabled": {
            "type": "boolean"
        },
        "name": {
            "type": "string"
        },
        "parameters": {
            "additionalProperties": false,
            "properties": {
                "domain": {
                    "properties": {
                        "database": {
                            "enum": [
                                "GeoIPDomain.dat"
                            ]
                        },
                        "uri": {
                            "type": "string"
                        }
                    },
                    "required": [
                        "database",
                        "uri"
                    ],
                    "type": "object"
                },
                "geo": {
                    "properties": {
                        "database": {
                            "enum": [
                                "GeoLiteCity.dat",
                                "GeoIPCity.dat"
                            ]
                        },
                        "uri": {
                            "type": "string"
                        }
                    },
                    "required": [
                        "database",
                        "uri"
                    ],
                    "type": "object"
                },
                "isp": {
                    "properties": {
                        "database": {
                            "enum": [
                                "GeoIPISP.dat"
                            ]
                        },
                        "uri": {
                            "type": "string"
                        }
                    },
                    "required": [
                        "database",
                        "uri"
                    ],
                    "type": "object"
                },
                "netspeed": {
                    "properties": {
                        "database": {
                            "enum": [
                                "GeoIPNetSpeed.dat",
                                "GeoIPNetSpeedCell.dat"
                            ]
                        },
                        "uri": {
                            "type": "string"
                        }
                    },
                    "required": [
                        "database",
                        "uri"
                    ],
                    "type": "object"
                },
                "organization": {
                    "properties": {
                        "database": {
                            "enum": [
                                "GeoIPOrg.dat"
                            ]
                        },
                        "uri": {
                            "type": "string"
                        }
                    },
                    "required": [
                        "database",
                        "uri"
                    ],
                    "type": "object"
                }
            },
            "type": "object"
        },
        "vendor": {
            "type": "string"
        }
    },
    "required": [
        "name",
        "vendor",
        "enabled",
        "parameters"
    ],
    "self": {
        "format": "jsonschema",
        "name": "ip_lookups",
        "vendor": "com.snowplowanalytics.snowplow",
        "version": "1-0-0"
    },
    "type": "object"
}