{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/government-gazette-notification",
    "title": "Government Gazette / Notification / Regulation (non-EU)",
    "type": "object",
    "required": [
        "jurisdiction",
        "issuing_authority",
        "instrument_type",
        "official_number",
        "issue_date"
    ],
    "properties": {
        "jurisdiction": {
            "title": "Jurisdiction",
            "type": "string",
            "maxLength": 1000
        },
        "issuing_authority": {
            "title": "Issuing authority",
            "type": "string",
            "maxLength": 1000
        },
        "instrument_type": {
            "title": "Instrument type",
            "type": "string",
            "enum": [
                "gazette",
                "notification",
                "regulation",
                "order",
                "circular",
                "act"
            ]
        },
        "official_number": {
            "title": "Official number",
            "type": "string",
            "maxLength": 1000
        },
        "issue_date": {
            "title": "Issue date",
            "type": "string",
            "format": "date"
        },
        "language": {
            "title": "Language",
            "type": "string",
            "pattern": "^[a-z]{2,3}(-[A-Za-z0-9]+)*$"
        },
        "official_url": {
            "title": "Official URL",
            "type": "string",
            "format": "uri"
        }
    },
    "additionalProperties": true
}