{
    "$schema": "http://json-schema.org/draft-04/schema",
    "properties": {
        "agency": {
            "type": "string"
        },
        "conformsTo": {
            "_format": "uri",
            "type": "string"
        },
        "date_effective": {
            "_format": "date-time",
            "type": "string"
        },
        "date_expires": {
            "_format": "date-time",
            "type": "string"
        },
        "documentation": {
            "_format": "uri",
            "type": "string"
        },
        "schema_version": {
            "type": "string"
        },
        "seasons": {
            "properties": {
                "season": {
                    "properties": {
                        "comment": {
                            "type": "string"
                        },
                        "method": {
                            "type": [
                                "string",
                                "array"
                            ]
                        },
                        "method_rules": {
                            "items": {
                                "type": "string"
                            },
                            "required": [
                                "items"
                            ],
                            "type": [
                                "string",
                                "array"
                            ]
                        },
                        "name": {
                            "type": "string"
                        },
                        "range": {
                            "properties": {
                                "1": {
                                    "properties": {
                                        "places": {
                                            "type": "object"
                                        },
                                        "season": {
                                            "properties": {
                                                "date": {
                                                    "properties": {
                                                        "ends": {
                                                            "type": "string"
                                                        },
                                                        "starts": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "type": "object"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            },
                            "type": "array"
                        }
                    },
                    "required": [
                        "method"
                    ],
                    "type": "object"
                }
            },
            "required": [
                "season"
            ],
            "type": "object"
        },
        "species": {
            "properties": {
                "aliases": {
                    "type": "array"
                },
                "bova_id": {
                    "type": "string"
                },
                "members": {
                    "properties": {
                        "aliases": {
                            "type": "array"
                        },
                        "bova_id": {
                            "type": "string"
                        },
                        "name": {
                            "type": "string"
                        },
                        "taxonomy": {
                            "type": "string"
                        },
                        "url": {
                            "_format": "uri",
                            "type": "string"
                        }
                    },
                    "required": [
                        "name"
                    ],
                    "type": "array"
                },
                "name": {
                    "type": "string"
                },
                "taxonomy": {
                    "type": "string"
                },
                "url": {
                    "_format": "uri",
                    "type": "string"
                }
            },
            "required": [
                "name"
            ],
            "type": "object"
        },
        "state": {
            "maxLength": 2,
            "minLength": 2,
            "pattern": "([A-Z]{2})",
            "type": "string"
        }
    },
    "required": [
        "agency",
        "date_effective",
        "date_expires",
        "documentation",
        "schema_version",
        "conformsTo",
        "state",
        "seasons"
    ],
    "title": "hunting",
    "type": "object"
}