{
    "additionalProperties": false,
    "description": "Schema for IAB Spiders & Robots enrichment config",
    "properties": {
        "enabled": {
            "type": "boolean"
        },
        "name": {
            "type": "string"
        },
        "parameters": {
            "additionalProperties": false,
            "properties": {
                "excludeUseragentFile": {
                    "description": "Path to user agent exclude file",
                    "properties": {
                        "database": {
                            "enum": [
                                "exclude_current.txt"
                            ]
                        },
                        "uri": {
                            "_format": "uri",
                            "type": "string"
                        }
                    },
                    "required": [
                        "database",
                        "uri"
                    ],
                    "type": "object"
                },
                "includeUseragentFile": {
                    "description": "Path to user agent include file",
                    "properties": {
                        "database": {
                            "enum": [
                                "include_current.txt"
                            ]
                        },
                        "uri": {
                            "_format": "uri",
                            "type": "string"
                        }
                    },
                    "required": [
                        "database",
                        "uri"
                    ],
                    "type": "object"
                },
                "ipFile": {
                    "description": "Path to IP address exclude file",
                    "properties": {
                        "database": {
                            "enum": [
                                "ip_exclude_current_cidr.txt"
                            ]
                        },
                        "uri": {
                            "_format": "uri",
                            "type": "string"
                        }
                    },
                    "required": [
                        "database",
                        "uri"
                    ],
                    "type": "object"
                }
            },
            "required": [
                "ipFile",
                "excludeUseragentFile",
                "includeUseragentFile"
            ],
            "type": "object"
        },
        "vendor": {
            "type": "string"
        }
    },
    "required": [
        "vendor",
        "name",
        "enabled",
        "parameters"
    ],
    "self": {
        "format": "jsonschema",
        "name": "iab_spiders_and_robots_enrichment",
        "vendor": "com.snowplowanalytics.snowplow.enrichments",
        "version": "1-0-0"
    },
    "type": "object"
}