{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "definitions": {
        "enum": {
            "additionalProperties": false,
            "properties": {
                "enum": {
                    "items": {
                        "type": "string"
                    },
                    "minItems": 1,
                    "type": "array",
                    "_uniqueItems": true
                }
            },
            "required": [
                "enum"
            ],
            "type": "object"
        },
        "pattern": {
            "additionalProperties": false,
            "properties": {
                "pattern": {
                    "minLength": 1,
                    "type": "string"
                }
            },
            "required": [
                "pattern"
            ],
            "type": "object"
        }
    },
    "description": "Spider Metadata",
    "id": "http://api.cloudfeaster.com/v1.00/spider_metadata",
    "properties": {
        "authenticatingFactors": {
            "additionalProperties": false,
            "patternProperties": {
                "^[A-Za-z0-9_\\-]+$": {
                    "$ref": "#/definitions/pattern",
                    "type": "object"
                }
            },
            "type": "object"
        },
        "factorDisplayNames": {
            "additionalProperties": false,
            "patternProperties": {
                "^[A-Za-z0-9_\\-]+$": {
                    "additionalProperties": false,
                    "patternProperties": {
                        "^[A-Za-z]{0,2}$": {
                            "minLength": 1,
                            "type": "string"
                        }
                    },
                    "type": "object"
                }
            },
            "type": "object"
        },
        "factorDisplayOrder": {
            "items": {
                "minLength": 1,
                "type": "string"
            },
            "minItems": 1,
            "type": "array",
            "_uniqueItems": true
        },
        "identifyingFactors": {
            "additionalProperties": false,
            "patternProperties": {
                "^[A-Za-z0-9_\\-]+$": {
                    "oneOf": [
                        {
                            "$ref": "#/definitions/pattern"
                        },
                        {
                            "$ref": "#/definitions/enum"
                        }
                    ],
                    "type": "object"
                }
            },
            "type": "object"
        },
        "maxConcurrentCrawls": {
            "maximum": 25,
            "minimum": 1,
            "type": "integer"
        },
        "maxCrawlTimeInSeconds": {
            "maximum": 300,
            "minimum": 5,
            "type": "integer"
        },
        "paranoiaLevel": {
            "enum": [
                "low",
                "medium",
                "high"
            ],
            "type": "string"
        },
        "ttlInSeconds": {
            "maximum": 86400,
            "minimum": 60,
            "type": "integer"
        },
        "url": {
            "_format": "uri",
            "type": "string"
        }
    },
    "required": [
        "url"
    ],
    "title": "Spider Metadata",
    "type": "object"
}