{
    "$schema": "http://json-schema.org/draft-04/schema",
    "properties": {
        "agency": {
            "type": "string"
        },
        "best_fishing": {
            "properties": {
                "description": {
                    "type": "string"
                },
                "lakes": {
                    "additionalProperties": {
                        "properties": {
                            "comment": {
                                "type": "string"
                            },
                            "gnis_id": {
                                "type": "number"
                            },
                            "latitude": {
                                "type": "number"
                            },
                            "longitude": {
                                "type": "number"
                            }
                        },
                        "type": "object"
                    },
                    "type": "object"
                },
                "rivers": {
                    "type": "object"
                }
            },
            "type": "object"
        },
        "conformsTo": {
            "_format": "uri",
            "type": "string"
        },
        "date_effective": {
            "_format": "date-time",
            "type": "string"
        },
        "date_expires": {
            "_format": "date-time",
            "type": "string"
        },
        "documentation": {
            "_format": "uri",
            "type": "string"
        },
        "fishing_techniques": {
            "type": "string"
        },
        "limits": {
            "properties": {
                "description": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "schema_version": {
            "type": "string"
        },
        "species": {
            "properties": {
                "aliases": {
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "bova_id": {
                    "type": "number"
                },
                "identification": {
                    "type": "string"
                },
                "images": {
                    "items": {
                        "properties": {
                            "credit": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            },
                            "url": {
                                "_format": "uri",
                                "type": "string"
                            }
                        },
                        "required": [
                            "url"
                        ],
                        "type": "object"
                    },
                    "type": "array"
                },
                "name": {
                    "type": "string"
                },
                "taxonomy": {
                    "type": "string"
                }
            },
            "required": [
                "bova_id",
                "name",
                "taxonomy"
            ],
            "type": "object"
        },
        "state": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "([A-Z]{2})",
            "type": "string"
        }
    },
    "required": [
        "agency",
        "date_effective",
        "date_expires",
        "documentation",
        "schema_version",
        "conformsTo",
        "state",
        "species"
    ],
    "title": "fishing",
    "type": "object"
}