{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "required": [
        "base_path",
        "details",
        "document_type",
        "publishing_app",
        "rendering_app",
        "routes",
        "schema_name",
        "title"
    ],
    "additionalProperties": false,
    "properties": {
        "access_limited": {
            "$ref": "#/definitions/access_limited"
        },
        "analytics_identifier": {
            "$ref": "#/definitions/analytics_identifier"
        },
        "auth_bypass_ids": {
            "description": "A list of ids that will allow access to this item for non-authenticated users",
            "$ref": "#/definitions/guid_list"
        },
        "base_path": {
            "$ref": "#/definitions/absolute_path"
        },
        "bulk_publishing": {
            "type": "boolean"
        },
        "change_note": {
            "type": [
                "null",
                "string"
            ]
        },
        "description": {
            "$ref": "#/definitions/description_optional"
        },
        "details": {
            "$ref": "#/definitions/details"
        },
        "document_type": {
            "type": "string",
            "enum": [
                "aaib_report",
                "asylum_support_decision",
                "business_finance_support_scheme",
                "cma_case",
                "uk_market_conformity_assessment_body",
                "countryside_stewardship_grant",
                "dfid_research_output",
                "drug_safety_update",
                "employment_appeal_tribunal_decision",
                "employment_tribunal_decision",
                "esi_fund",
                "export_health_certificate",
                "international_development_fund",
                "maib_report",
                "marine_notice",
                "medical_safety_alert",
                "raib_report",
                "residential_property_tribunal_decision",
                "service_standard_report",
                "statutory_instrument",
                "tax_tribunal_decision",
                "traffic_commissioner_regulatory_decision",
                "utaac_decision"
            ]
        },
        "first_published_at": {
            "$ref": "#/definitions/first_published_at"
        },
        "last_edited_at": {
            "description": "Last time when the content received a major or minor update.",
            "type": "string",
            "format": "date-time"
        },
        "links": {
            "type": "object",
            "required": [
                "finder"
            ],
            "additionalProperties": false,
            "properties": {
                "finder": {
                    "description": "The finder for this specialist document.",
                    "$ref": "#/definitions/guid_list",
                    "maxItems": 1,
                    "minItems": 1
                },
                "organisations": {
                    "description": "Associated organisations for this document",
                    "$ref": "#/definitions/guid_list"
                },
                "primary_publishing_organisation": {
                    "description": "The primary organisation for this document",
                    "$ref": "#/definitions/guid_list"
                }
            }
        },
        "locale": {
            "$ref": "#/definitions/locale"
        },
        "need_ids": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "phase": {
            "description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
            "type": "string",
            "enum": [
                "alpha",
                "beta",
                "live"
            ]
        },
        "previous_version": {
            "type": "string"
        },
        "public_updated_at": {
            "$ref": "#/definitions/public_updated_at"
        },
        "publishing_app": {
            "$ref": "#/definitions/publishing_app_name"
        },
        "redirects": {
            "type": "array",
            "additionalItems": false,
            "items": {}
        },
        "rendering_app": {
            "$ref": "#/definitions/rendering_app"
        },
        "routes": {
            "$ref": "#/definitions/routes"
        },
        "schema_name": {
            "type": "string",
            "enum": [
                "specialist_document"
            ]
        },
        "title": {
            "$ref": "#/definitions/title"
        },
        "update_type": {
            "$ref": "#/definitions/update_type"
        }
    },
    "definitions": {
        "description": {
            "type": "string"
        },
        "aaib_report_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "aircraft_category": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "commercial-fixed-wing",
                            "commercial-rotorcraft",
                            "general-aviation-fixed-wing",
                            "general-aviation-rotorcraft",
                            "sport-aviation-and-balloons",
                            "unmanned-aircraft-systems"
                        ]
                    }
                },
                "aircraft_type": {
                    "type": "string"
                },
                "bulk_published": {
                    "type": "boolean"
                },
                "date_of_occurrence": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "location": {
                    "type": "string"
                },
                "registration": {
                    "type": "string"
                },
                "report_type": {
                    "type": "string",
                    "enum": [
                        "annual-safety-report",
                        "correspondence-investigation",
                        "field-investigation",
                        "pre-1997-monthly-report",
                        "foreign-report",
                        "formal-report",
                        "special-bulletin",
                        "safety-study"
                    ]
                }
            }
        },
        "absolute_path": {
            "description": "A path only. Query string and/or fragment are not allowed.",
            "type": "string",
            "pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$"
        },
        "access_limited": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "auth_bypass_ids": {
                    "description": "Deprecated: auth_bypass_ids should be sent as a separate field",
                    "$ref": "#/definitions/guid_list"
                },
                "organisations": {
                    "description": "A list of organisation content ids permitted access to this item",
                    "$ref": "#/definitions/guid_list"
                },
                "users": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
        "analytics_identifier": {
            "description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations.",
            "anyOf": [
                {
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ]
        },
        "any_metadata": {
            "type": "object",
            "anyOf": [
                {
                    "$ref": "#/definitions/aaib_report_metadata"
                },
                {
                    "$ref": "#/definitions/asylum_support_decision_metadata"
                },
                {
                    "$ref": "#/definitions/business_finance_support_scheme_metadata"
                },
                {
                    "$ref": "#/definitions/cma_case_metadata"
                },
                {
                    "$ref": "#/definitions/uk_market_conformity_assessment_body_metadata"
                },
                {
                    "$ref": "#/definitions/countryside_stewardship_grant_metadata"
                },
                {
                    "$ref": "#/definitions/dfid_research_output_metadata"
                },
                {
                    "$ref": "#/definitions/drug_safety_update_metadata"
                },
                {
                    "$ref": "#/definitions/employment_appeal_tribunal_decision_metadata"
                },
                {
                    "$ref": "#/definitions/employment_tribunal_decision_metadata"
                },
                {
                    "$ref": "#/definitions/european_structural_investment_fund_metadata"
                },
                {
                    "$ref": "#/definitions/export_health_certificate_metadata"
                },
                {
                    "$ref": "#/definitions/international_development_fund_metadata"
                },
                {
                    "$ref": "#/definitions/maib_report_metadata"
                },
                {
                    "$ref": "#/definitions/marine_notice_metadata"
                },
                {
                    "$ref": "#/definitions/medical_safety_alert_metadata"
                },
                {
                    "$ref": "#/definitions/raib_report_metadata"
                },
                {
                    "$ref": "#/definitions/residential_property_tribunal_decision_metadata"
                },
                {
                    "$ref": "#/definitions/service_standard_report_metadata"
                },
                {
                    "$ref": "#/definitions/statutory_instrument_metadata"
                },
                {
                    "$ref": "#/definitions/tax_tribunal_decision_metadata"
                },
                {
                    "$ref": "#/definitions/traffic_commissioner_regulatory_decision_metadata"
                },
                {
                    "$ref": "#/definitions/utaac_decision_metadata"
                }
            ]
        },
        "asylum_support_decision_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "hidden_indexable_content": {
                    "type": "string"
                },
                "tribunal_decision_categories": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "section-4-1-support-for-persons-who-are-neither-an-asylum-seeker-nor-a-failed-asylum-seeker",
                            "section-4-2-support-for-failed-asylum-seekers",
                            "section-95-support-for-asylum-seekers"
                        ]
                    }
                },
                "tribunal_decision_category": {
                    "type": "string",
                    "enum": [
                        "section-4-1-support-for-persons-who-are-neither-an-asylum-seeker-nor-a-failed-asylum-seeker",
                        "section-4-2-support-for-failed-asylum-seekers",
                        "section-95-support-for-asylum-seekers"
                    ]
                },
                "tribunal_decision_decision_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "tribunal_decision_judges": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "tribunal_decision_landmark": {
                    "type": "string",
                    "enum": [
                        "not-landmark",
                        "landmark"
                    ]
                },
                "tribunal_decision_reference_number": {
                    "type": "string"
                },
                "tribunal_decision_sub_categories": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "tribunal_decision_sub_category": {
                    "type": "string"
                }
            }
        },
        "body_html_and_govspeak": {
            "description": "The main content provided as HTML with the govspeak markdown it's rendered from",
            "anyOf": [
                {
                    "$ref": "#/definitions/multiple_content_types"
                }
            ]
        },
        "business_finance_support_scheme_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "business_sizes": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "between-10-and-249",
                            "between-250-and-500",
                            "over-500",
                            "under-10"
                        ]
                    }
                },
                "business_stages": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "established",
                            "not-yet-trading",
                            "start-up"
                        ]
                    }
                },
                "continuation_link": {
                    "type": "string"
                },
                "industries": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "agriculture-and-food",
                            "business-and-finance",
                            "construction",
                            "education",
                            "health",
                            "hospitality-and-catering",
                            "information-technology-digital-and-creative",
                            "life-sciences",
                            "manufacturing",
                            "mining",
                            "real-estate-and-property",
                            "science-and-technology",
                            "service-industries",
                            "transport-and-distribution",
                            "travel-and-leisure",
                            "utilities-providers",
                            "wholesale-and-retail"
                        ]
                    }
                },
                "regions": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "east-midlands",
                            "eastern",
                            "london",
                            "north-east",
                            "north-west",
                            "northern-ireland",
                            "scotland",
                            "south-east",
                            "south-west",
                            "wales",
                            "west-midlands",
                            "yorkshire-and-the-humber"
                        ]
                    }
                },
                "types_of_support": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "equity",
                            "expertise-and-advice",
                            "finance",
                            "grant",
                            "loan",
                            "recognition-award"
                        ]
                    }
                },
                "will_continue_on": {
                    "oneOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "null"
                        }
                    ]
                }
            }
        },
        "change_history": {
            "type": "array",
            "items": {
                "type": "object",
                "required": [
                    "public_timestamp",
                    "note"
                ],
                "additionalProperties": false,
                "properties": {
                    "note": {
                        "description": "A summary of the change",
                        "type": "string"
                    },
                    "public_timestamp": {
                        "type": "string",
                        "format": "date-time"
                    }
                }
            }
        },
        "cma_case_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "case_state": {
                    "type": "string",
                    "enum": [
                        "open",
                        "closed"
                    ]
                },
                "case_type": {
                    "type": "string",
                    "enum": [
                        "ca98-and-civil-cartels",
                        "competition-disqualification",
                        "criminal-cartels",
                        "markets",
                        "mergers",
                        "consumer-enforcement",
                        "regulatory-references-and-appeals",
                        "review-of-orders-and-undertakings",
                        "state-aid"
                    ]
                },
                "closed_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "market_sector": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "aerospace",
                            "agriculture-environment-and-natural-resources",
                            "building-and-construction",
                            "chemicals",
                            "clothing-footwear-and-fashion",
                            "communications",
                            "defence",
                            "distribution-and-service-industries",
                            "electronics-industry",
                            "energy",
                            "engineering",
                            "financial-services",
                            "fire-police-and-security",
                            "food-manufacturing",
                            "giftware-jewellery-and-tableware",
                            "healthcare-and-medical-equipment",
                            "household-goods-furniture-and-furnishings",
                            "mineral-extraction-mining-and-quarrying",
                            "motor-industry",
                            "oil-and-gas-refining-and-petrochemicals",
                            "paper-printing-and-packaging",
                            "pharmaceuticals",
                            "public-markets",
                            "recreation-and-leisure",
                            "retail-and-wholesale",
                            "telecommunications",
                            "textiles",
                            "transport",
                            "utilities"
                        ]
                    }
                },
                "opened_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "outcome_type": {
                    "type": "string",
                    "enum": [
                        "ca98-no-grounds-for-action-non-infringement",
                        "ca98-infringement-chapter-i",
                        "ca98-infringement-chapter-ii",
                        "ca98-administrative-priorities",
                        "ca98-commitment",
                        "competition-disqualification-order-granted",
                        "competition-disqualification-undertaking-given",
                        "competition-disqualification-no-order-granted-or-undertaking-given",
                        "criminal-cartels-verdict",
                        "markets-phase-1-no-enforcement-action",
                        "markets-phase-1-undertakings-in-lieu-of-reference",
                        "markets-phase-1-referral",
                        "mergers-phase-1-clearance",
                        "mergers-phase-1-clearance-with-undertakings-in-lieu",
                        "mergers-phase-1-referral",
                        "mergers-phase-1-found-not-to-qualify",
                        "mergers-phase-1-public-interest-interventions",
                        "markets-phase-2-clearance-no-adverse-effect-on-competition",
                        "markets-phase-2-adverse-effect-on-competition-leading-to-remedies",
                        "markets-phase-2-decision-to-dispense-with-procedural-obligations",
                        "mergers-phase-2-clearance",
                        "mergers-phase-2-clearance-with-remedies",
                        "mergers-phase-2-prohibition",
                        "mergers-phase-2-cancellation",
                        "consumer-enforcement-no-action",
                        "consumer-enforcement-court-order",
                        "consumer-enforcement-undertakings",
                        "consumer-enforcement-changes-to-business-practices-agreed",
                        "regulatory-references-and-appeals-final-determination",
                        "state-aid-no-aid",
                        "state-aid-aid-approved",
                        "state-aid-conditional-decision",
                        "state-aid-aid-not-approved",
                        "state-aid-investigation",
                        "state-aid-recommendation-accepted",
                        "state-aid-recommendation-implemented",
                        "state-aid-aid-not-misused"
                    ]
                }
            }
        },
        "countryside_stewardship_grant_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "funding_amount": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "up-to-100",
                            "101-to-200",
                            "201-to-300",
                            "301-to-400",
                            "401-to-500",
                            "more-than-500",
                            "up-to-50-actual-costs",
                            "more-than-50-actual-costs"
                        ]
                    }
                },
                "grant_type": {
                    "type": "string",
                    "enum": [
                        "option",
                        "capital-item",
                        "supplement"
                    ]
                },
                "land_use": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "arable-land",
                            "boundaries",
                            "coast",
                            "educational-access",
                            "flood-risk",
                            "grassland",
                            "historic-environment",
                            "livestock-management",
                            "organic-land",
                            "priority-habitats",
                            "trees-non-woodland",
                            "uplands",
                            "vegetation-control",
                            "water-quality",
                            "wildlife-package",
                            "woodland"
                        ]
                    }
                },
                "tiers_or_standalone_items": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "higher-tier",
                            "mid-tier",
                            "offer-lowland-grazing",
                            "offer-mixed-farming",
                            "offer-arable",
                            "offer-upland",
                            "standalone-capital-items"
                        ]
                    }
                }
            }
        },
        "description_optional": {
            "anyOf": [
                {
                    "$ref": "#/definitions/description"
                },
                {
                    "type": "null"
                }
            ]
        },
        "details": {
            "type": "object",
            "required": [
                "body",
                "metadata"
            ],
            "additionalProperties": false,
            "properties": {
                "attachments": {
                    "description": "An ordered list of asset links",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/specialist_publisher_attachment_asset"
                    }
                },
                "body": {
                    "$ref": "#/definitions/body_html_and_govspeak"
                },
                "change_history": {
                    "$ref": "#/definitions/change_history"
                },
                "headers": {
                    "$ref": "#/definitions/nested_headers"
                },
                "max_cache_time": {
                    "$ref": "#/definitions/max_cache_time"
                },
                "metadata": {
                    "$ref": "#/definitions/any_metadata"
                },
                "temporary_update_type": {
                    "description": "Indicates that the user should choose a new update type on the next save.",
                    "type": "boolean"
                }
            }
        },
        "dfid_research_output_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "country": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "AF",
                            "AL",
                            "DZ",
                            "AD",
                            "AO",
                            "AG",
                            "AR",
                            "AM",
                            "AU",
                            "AT",
                            "AZ",
                            "BS",
                            "BH",
                            "BD",
                            "BB",
                            "BY",
                            "BE",
                            "BZ",
                            "BJ",
                            "BT",
                            "BO",
                            "BA",
                            "BW",
                            "BR",
                            "BN",
                            "BG",
                            "BF",
                            "MM",
                            "BI",
                            "KH",
                            "CM",
                            "CA",
                            "CV",
                            "CF",
                            "TD",
                            "CL",
                            "CN",
                            "CO",
                            "KM",
                            "CG",
                            "CD",
                            "CK",
                            "CR",
                            "HR",
                            "CU",
                            "CY",
                            "CZ",
                            "DK",
                            "DJ",
                            "DM",
                            "DO",
                            "TL",
                            "EC",
                            "EG",
                            "SV",
                            "GQ",
                            "ER",
                            "EE",
                            "ET",
                            "FJ",
                            "FI",
                            "FR",
                            "GA",
                            "GM",
                            "GE",
                            "DE",
                            "GH",
                            "GR",
                            "GD",
                            "GT",
                            "GN",
                            "GW",
                            "GY",
                            "HT",
                            "HN",
                            "HU",
                            "IS",
                            "IN",
                            "ID",
                            "IR",
                            "IQ",
                            "IE",
                            "IL",
                            "IT",
                            "CI",
                            "JM",
                            "JP",
                            "JO",
                            "KZ",
                            "KE",
                            "KI",
                            "XK",
                            "KW",
                            "KG",
                            "LA",
                            "LV",
                            "LB",
                            "LS",
                            "LR",
                            "LY",
                            "LI",
                            "LT",
                            "LU",
                            "MK",
                            "MG",
                            "MW",
                            "MY",
                            "MV",
                            "ML",
                            "MT",
                            "MH",
                            "MR",
                            "MU",
                            "MX",
                            "FM",
                            "MD",
                            "MC",
                            "MN",
                            "ME",
                            "MA",
                            "MZ",
                            "NA",
                            "NR",
                            "NP",
                            "NL",
                            "NZ",
                            "NI",
                            "NE",
                            "NG",
                            "KP",
                            "NO",
                            "OM",
                            "PK",
                            "PW",
                            "PA",
                            "PG",
                            "PY",
                            "PE",
                            "PH",
                            "PL",
                            "PT",
                            "QA",
                            "RO",
                            "RU",
                            "RW",
                            "WS",
                            "SM",
                            "ST",
                            "SA",
                            "SN",
                            "RS",
                            "SC",
                            "SL",
                            "SG",
                            "SK",
                            "SI",
                            "SB",
                            "SO",
                            "ZA",
                            "KR",
                            "SS",
                            "ES",
                            "LK",
                            "KN",
                            "LC",
                            "VC",
                            "SD",
                            "SR",
                            "SZ",
                            "SE",
                            "CH",
                            "SY",
                            "TJ",
                            "TZ",
                            "TH",
                            "TG",
                            "TO",
                            "TT",
                            "TN",
                            "TR",
                            "TM",
                            "TV",
                            "UG",
                            "UA",
                            "AE",
                            "GB",
                            "US",
                            "UY",
                            "UZ",
                            "VU",
                            "VA",
                            "VE",
                            "VN",
                            "YE",
                            "ZM",
                            "ZW"
                        ]
                    }
                },
                "dfid_authors": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "dfid_document_type": {
                    "type": "string",
                    "items": {
                        "type": "string",
                        "enum": [
                            "book",
                            "book_chapter",
                            "briefing",
                            "case_study",
                            "conference_paper",
                            "country_report",
                            "dataset",
                            "discussion_paper",
                            "evaluation_report",
                            "journal_article",
                            "journal_issue",
                            "lessons_learned",
                            "literature_review",
                            "manual",
                            "protocol",
                            "research_paper",
                            "systematic_review",
                            "technical_report",
                            "thematic_summary",
                            "tool_kit",
                            "training_materials",
                            "working_paper"
                        ]
                    }
                },
                "dfid_review_status": {
                    "type": "string",
                    "enum": [
                        "unreviewed",
                        "peer_reviewed"
                    ]
                },
                "dfid_theme": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "agriculture",
                            "climate_and_environment",
                            "economic_growth",
                            "education",
                            "food_and_nutrition",
                            "governance_and_conflict",
                            "health",
                            "humanitarian_disasters_and_emergencies",
                            "infrastructure",
                            "research_communication_and_uptake",
                            "social_change",
                            "water_and_sanitation"
                        ]
                    }
                },
                "first_published_at": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}[-/](0[1-9]|1[0-2])[-/](0[1-9]|[12][0-9]|3[0-1])$"
                }
            }
        },
        "drug_safety_update_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "first_published_at": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "therapeutic_area": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "anaesthesia-intensive-care",
                            "breastfeeding",
                            "cancer",
                            "cardiovascular-disease-lipidology",
                            "dentistry",
                            "dermatology",
                            "ear-nose-throat",
                            "endocrinology-diabetology-metabolism",
                            "gi-hepatology-pancreatic-disorders",
                            "haematology",
                            "immunology-vaccination",
                            "immunosuppression-transplantation",
                            "infectious-disease",
                            "neurology",
                            "nutrition-dietetics",
                            "obstetrics-gynaecology-fertility",
                            "ophthalmology",
                            "paediatrics-neonatology",
                            "pain-management-palliation",
                            "pregnancy",
                            "psychiatry",
                            "radiology-imaging",
                            "respiratory-disease-allergy",
                            "rheumatology",
                            "urology-nephrology"
                        ]
                    }
                }
            }
        },
        "employment_appeal_tribunal_decision_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "hidden_indexable_content": {
                    "type": "string"
                },
                "tribunal_decision_categories": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "tribunal_decision_decision_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "tribunal_decision_landmark": {
                    "type": "string",
                    "enum": [
                        "landmark",
                        "not-landmark"
                    ]
                },
                "tribunal_decision_sub_categories": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
        "employment_tribunal_decision_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "hidden_indexable_content": {
                    "type": "string"
                },
                "tribunal_decision_categories": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "tribunal_decision_country": {
                    "type": "string",
                    "enum": [
                        "england-and-wales",
                        "scotland"
                    ]
                },
                "tribunal_decision_decision_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                }
            }
        },
        "european_structural_investment_fund_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "closing_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "fund_state": {
                    "type": "string",
                    "enum": [
                        "open",
                        "closed"
                    ]
                },
                "fund_type": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "access-to-work",
                            "business-support",
                            "climate-change",
                            "environment",
                            "it-and-broadband",
                            "learning-and-skills",
                            "low-carbon",
                            "renewable-energy",
                            "research-and-innovation",
                            "social-inclusion",
                            "transport",
                            "techincal-assistance",
                            "tourism"
                        ]
                    }
                },
                "funding_source": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "european-social-fund",
                            "european-regional-development-fund",
                            "european-agricoltural-fund-for-rural"
                        ]
                    }
                },
                "location": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "north-east",
                            "north-west",
                            "yorkshire-and-humber",
                            "east-midlands",
                            "west-midlands",
                            "east-of-england",
                            "south-east",
                            "south-west",
                            "london"
                        ]
                    }
                }
            }
        },
        "export_health_certificate_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "certificate_status": {
                    "type": "string",
                    "enum": [
                        "active",
                        "on-hold"
                    ]
                },
                "commodity_type": {
                    "type": "string",
                    "enum": [
                        "animal-products-including-food",
                        "equine",
                        "fish",
                        "germplasm",
                        "live-animals",
                        "livestock",
                        "pets"
                    ]
                },
                "destination_country": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "afghanistan",
                            "albania",
                            "algeria",
                            "andean-community-of-peru-bolivia-colombia-ecuador",
                            "angola",
                            "anguilla",
                            "antigua",
                            "argentina",
                            "armenia",
                            "ascension-island",
                            "australia",
                            "austria",
                            "azerbaijan",
                            "bahamas",
                            "bahrain",
                            "bangladesh",
                            "barbados",
                            "belarus",
                            "belgium",
                            "belize",
                            "benin",
                            "bermuda",
                            "bhutan",
                            "bolivia",
                            "bosnia-and-herzegovina",
                            "botswana",
                            "brazil",
                            "british-virgin-islands",
                            "brunei",
                            "bulgaria",
                            "burkina-faso",
                            "burundi",
                            "cambodia",
                            "cameroon",
                            "canada",
                            "cape-verde",
                            "cayman-islands",
                            "central-african-republic",
                            "chad",
                            "chile",
                            "china",
                            "colombia",
                            "comoros",
                            "congo-democratic-republic-of",
                            "congo-republic-of",
                            "costa-rica",
                            "cote-d-ivoire",
                            "croatia",
                            "cuba",
                            "cyprus",
                            "czech-republic",
                            "denmark",
                            "djibouti",
                            "dominica",
                            "dominican-republic",
                            "east-timor",
                            "ecuador",
                            "egypt",
                            "el-salvador",
                            "equatorial-guinea",
                            "eritrea",
                            "estonia",
                            "eswatini-previously-swaziland",
                            "ethiopia",
                            "eu",
                            "eurasian-customs-union",
                            "falkland-islands",
                            "faroe-islands",
                            "fiji",
                            "finland",
                            "france",
                            "french-polynesia",
                            "gabon",
                            "gambia",
                            "georgia",
                            "germany",
                            "ghana",
                            "gibraltar",
                            "great-britain",
                            "greece",
                            "grenada",
                            "guam",
                            "guatemala",
                            "guernsey",
                            "guinea",
                            "guinea-bissau",
                            "guyana",
                            "haiti",
                            "hawaii",
                            "honduras",
                            "hong-kong",
                            "hungary",
                            "iceland",
                            "india",
                            "indonesia",
                            "iran",
                            "iraq",
                            "isle-of-man",
                            "israel",
                            "italy",
                            "jamaica",
                            "japan",
                            "jersey",
                            "jordan",
                            "kazakhstan",
                            "kenya",
                            "kiribati",
                            "kosovo",
                            "kuwait",
                            "kyrgyzstan",
                            "laos",
                            "latvia",
                            "lebanon",
                            "lesotho",
                            "liberia",
                            "libya",
                            "liechtenstein",
                            "lithuania",
                            "luxembourg",
                            "macao",
                            "macedonia",
                            "madagascar",
                            "malawi",
                            "malaysia",
                            "maldives",
                            "mali",
                            "malta",
                            "marshall-islands",
                            "mauritania",
                            "mauritius",
                            "mexico",
                            "micronesia",
                            "moldova",
                            "mongolia",
                            "montenegro",
                            "montserrat",
                            "morocco",
                            "mozambique",
                            "myanmar",
                            "namibia",
                            "nauru",
                            "nepal",
                            "netherlands",
                            "new-caledonia",
                            "new-zealand",
                            "nicaragua",
                            "niger",
                            "nigeria",
                            "north-korea",
                            "north-sudan",
                            "northern-cyprus",
                            "northern-ireland",
                            "norway",
                            "oman",
                            "pakistan",
                            "palau",
                            "palestine",
                            "panama",
                            "papua-new-guinea",
                            "paraguay",
                            "peru",
                            "philippines",
                            "poland",
                            "portugal",
                            "qatar",
                            "republic-of-ireland",
                            "romania",
                            "russia",
                            "rwanda",
                            "samoa",
                            "san-marino",
                            "sao-tome-and-principe",
                            "saudi-arabia",
                            "senegal",
                            "serbia",
                            "seychelles",
                            "sierra-leone",
                            "singapore",
                            "slovakia",
                            "slovenia",
                            "solomon-islands",
                            "somalia",
                            "south-africa",
                            "south-korea",
                            "south-sudan",
                            "spain",
                            "sri-lanka",
                            "st-helena",
                            "st-kitts-and-nevis",
                            "st-lucia",
                            "st-vincent-and-the-grenadines",
                            "sudan",
                            "suriname",
                            "swaziland-now-eswatini",
                            "sweden",
                            "switzerland",
                            "syria",
                            "taiwan",
                            "tajikistan",
                            "tanzania",
                            "thailand",
                            "togo",
                            "tonga",
                            "trinidad-and-tobago",
                            "tristan-da-cunha",
                            "tunisia",
                            "turkey",
                            "turkmenistan",
                            "turks-and-caicos-islands",
                            "tuvalu",
                            "uganda",
                            "ukraine",
                            "united-arab-emirates",
                            "uruguay",
                            "usa",
                            "uzbekistan",
                            "vanuatu",
                            "venezuela",
                            "vietnam",
                            "wallis-and-futuna-islands",
                            "yemen",
                            "zambia",
                            "zimbabwe"
                        ]
                    }
                }
            }
        },
        "first_published_at": {
            "description": "The date the content was first published.  Automatically determined by the publishing-api, unless overridden by the publishing application.",
            "type": "string",
            "format": "date-time"
        },
        "guid": {
            "type": "string",
            "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
        },
        "guid_list": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/guid"
            },
            "_uniqueItems": true
        },
        "international_development_fund_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "development_sector": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "agriculture",
                            "climate-change",
                            "disabilities",
                            "education",
                            "empowerment-and-accountability",
                            "environment",
                            "girls-and-women",
                            "health",
                            "humanitarian-emergencies-disasters",
                            "livelihoods",
                            "peace-and-access-to-justice",
                            "private-sector-business",
                            "technology",
                            "trade",
                            "water-and-sanitation"
                        ]
                    }
                },
                "eligible_entities": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "non-governmental-organisations",
                            "uk-based-non-profit-organisations",
                            "uk-based-small-and-diaspora-organisations",
                            "companies",
                            "local-government",
                            "educational-institutions",
                            "individuals",
                            "humanitarian-relief-organisations"
                        ]
                    }
                },
                "fund_state": {
                    "type": "string",
                    "enum": [
                        "open",
                        "closed"
                    ]
                },
                "location": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "afghanistan",
                            "albania",
                            "algeria",
                            "andorra",
                            "angola",
                            "antigua-and-barbuda",
                            "argentina",
                            "armenia",
                            "australia",
                            "austria",
                            "azerbaijan",
                            "bahamas",
                            "bahrain",
                            "bangladesh",
                            "barbados",
                            "belarus",
                            "belgium",
                            "belize",
                            "benin",
                            "bhutan",
                            "bolivia",
                            "bosnia-and-herzegovina",
                            "botswana",
                            "brazil",
                            "brunei",
                            "bulgaria",
                            "burkina-faso",
                            "burundi",
                            "cambodia",
                            "cameroon",
                            "canada",
                            "cape-verde",
                            "central-african-republic",
                            "chad",
                            "chile",
                            "china",
                            "colombia",
                            "comoros",
                            "congo",
                            "democratic-republic-of-congo",
                            "cook-islands",
                            "costa-rica",
                            "croatia",
                            "cuba",
                            "cyprus",
                            "czech-republic",
                            "denmark",
                            "djibouti",
                            "dominica",
                            "dominican-republic",
                            "east-timor",
                            "ecuador",
                            "egypt",
                            "el-salvador",
                            "equatorial-guinea",
                            "eritrea",
                            "estonia",
                            "ethiopia",
                            "fiji",
                            "finland",
                            "france",
                            "gabon",
                            "gambia",
                            "georgia",
                            "germany",
                            "ghana",
                            "greece",
                            "grenada",
                            "guatemala",
                            "guinea",
                            "guinea-bissau",
                            "guyana",
                            "haiti",
                            "honduras",
                            "hungary",
                            "iceland",
                            "india",
                            "indonesia",
                            "iran",
                            "iraq",
                            "ireland",
                            "israel",
                            "italy",
                            "cote-d-ivoire",
                            "jamaica",
                            "japan",
                            "jordan",
                            "kazakhstan",
                            "kenya",
                            "kiribati",
                            "kosovo",
                            "kuwait",
                            "kyrgyzstan",
                            "laos",
                            "latvia",
                            "lebanon",
                            "lesotho",
                            "liberia",
                            "libya",
                            "liechtenstein",
                            "lithuania",
                            "luxembourg",
                            "macedonia",
                            "madagascar",
                            "malawi",
                            "malaysia",
                            "maldives",
                            "mali",
                            "malta",
                            "marshall-islands",
                            "mauritania",
                            "mauritius",
                            "mexico",
                            "micronesia",
                            "moldova",
                            "monaco",
                            "mongolia",
                            "montenegro",
                            "morocco",
                            "mozambique",
                            "myanmar",
                            "namibia",
                            "nauru",
                            "nepal",
                            "netherlands",
                            "new-zealand",
                            "nicaragua",
                            "niger",
                            "nigeria",
                            "north-korea",
                            "norway",
                            "oman",
                            "pakistan",
                            "palau",
                            "the-occupied-palestinian-territories",
                            "panama",
                            "papua-new-guinea",
                            "paraguay",
                            "peru",
                            "philippines",
                            "poland",
                            "portugal",
                            "qatar",
                            "romania",
                            "russia",
                            "rwanda",
                            "samoa",
                            "san-marino",
                            "sao-tome-and-principe",
                            "saudi-arabia",
                            "senegal",
                            "serbia",
                            "seychelles",
                            "sierra-leone",
                            "singapore",
                            "slovakia",
                            "slovenia",
                            "solomon-islands",
                            "somalia",
                            "south-africa",
                            "south-korea",
                            "south-sudan",
                            "spain",
                            "sri-lanka",
                            "st-kitts-and-nevis",
                            "st-lucia",
                            "st-vincent",
                            "sudan",
                            "suriname",
                            "swaziland",
                            "sweden",
                            "switzerland",
                            "syria",
                            "tajikistan",
                            "tanzania",
                            "thailand",
                            "togo",
                            "tonga",
                            "trinidad-and-tobago",
                            "tunisia",
                            "turkey",
                            "turkmenistan",
                            "tuvalu",
                            "uganda",
                            "ukraine",
                            "united-arab-emirates",
                            "united-kingdom",
                            "united-states",
                            "uruguay",
                            "uzbekistan",
                            "vanuatu",
                            "vatican-city",
                            "venezuela",
                            "vietnam",
                            "yemen",
                            "zambia",
                            "zimbabwe"
                        ]
                    }
                },
                "value_of_funding": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "up-to-100000",
                            "100001-500000",
                            "500001-to-1000000",
                            "more-than-1000000"
                        ]
                    }
                }
            }
        },
        "locale": {
            "type": "string",
            "enum": [
                "ar",
                "az",
                "be",
                "bg",
                "bn",
                "cs",
                "cy",
                "da",
                "de",
                "dr",
                "el",
                "en",
                "es",
                "es-419",
                "et",
                "fa",
                "fi",
                "fr",
                "gd",
                "he",
                "hi",
                "hr",
                "hu",
                "hy",
                "id",
                "is",
                "it",
                "ja",
                "ka",
                "kk",
                "ko",
                "lt",
                "lv",
                "ms",
                "mt",
                "nl",
                "no",
                "pl",
                "ps",
                "pt",
                "ro",
                "ru",
                "si",
                "sk",
                "sl",
                "so",
                "sq",
                "sr",
                "sv",
                "sw",
                "ta",
                "th",
                "tk",
                "tr",
                "uk",
                "ur",
                "uz",
                "vi",
                "zh",
                "zh-hk",
                "zh-tw"
            ]
        },
        "maib_report_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "date_of_occurrence": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "report_type": {
                    "type": "string",
                    "enum": [
                        "investigation-report",
                        "safety-bulletin",
                        "completed-preliminary-examination",
                        "overseas-report",
                        "discontinued-investigation"
                    ]
                },
                "vessel_type": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "merchant-vessel-100-gross-tons-or-over",
                            "merchant-vessel-under-100-gross-tons",
                            "fishing-vessel",
                            "recreational-craft-sail",
                            "recreational-craft-power"
                        ]
                    }
                }
            }
        },
        "marine_notice_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "issued_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "marine_notice_topic": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "construction-and-equipment",
                            "crew-and-training",
                            "health-and-safety",
                            "environmental",
                            "navigation",
                            "radio-communications",
                            "registration",
                            "security-isps",
                            "survey-and-inspection"
                        ]
                    }
                },
                "marine_notice_type": {
                    "type": "string",
                    "enum": [
                        "marine-guidance-note",
                        "merchant-shipping-notice",
                        "marine-information-note",
                        "form",
                        "instructions-to-surveyors",
                        "codes-of-practice",
                        "safety-bulletin",
                        "other"
                    ]
                },
                "marine_notice_vessel_type": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "pleasure-vessels",
                            "small-commercial-vessels",
                            "cargo-vessels-over-24-metres",
                            "fishing-vessels-under-15-metres",
                            "fishing-vessels-15-24-metres",
                            "fishing-vessels-over-24-metres",
                            "high-speed-craft",
                            "large-yachts",
                            "passenger-vessels"
                        ]
                    }
                }
            }
        },
        "max_cache_time": {
            "description": "The maximum length of time the content should be cached, in seconds",
            "type": "integer"
        },
        "medical_safety_alert_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "alert_type": {
                    "type": "string",
                    "enum": [
                        "drugs",
                        "devices",
                        "field-safety-notices",
                        "company-led-drugs"
                    ]
                },
                "bulk_published": {
                    "type": "boolean"
                },
                "issued_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "medical_specialism": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "anaesthetics",
                            "cardiology",
                            "care-home-staff",
                            "cosmetic-surgery",
                            "critical-care",
                            "dentistry",
                            "general-practice",
                            "general-surgery",
                            "haematology-oncology",
                            "infection-prevention",
                            "obstetrics-gynaecology",
                            "ophthalmology",
                            "orthopaedics",
                            "paediatrics",
                            "pathology",
                            "pharmacy",
                            "physiotherapy-occupational-therapy",
                            "radiology",
                            "renal-medicine",
                            "theatre-practitioners",
                            "urology",
                            "vascular-cardiac-surgery"
                        ]
                    }
                }
            }
        },
        "multiple_content_types": {
            "type": "array",
            "items": {
                "type": "object",
                "required": [
                    "content_type",
                    "content"
                ],
                "additionalProperties": false,
                "properties": {
                    "content": {
                        "type": "string"
                    },
                    "content_type": {
                        "type": "string"
                    }
                }
            }
        },
        "nested_headers": {
            "type": "array",
            "items": {
                "type": "object",
                "required": [
                    "text",
                    "level",
                    "id"
                ],
                "additionalProperties": false,
                "properties": {
                    "headers": {
                        "$ref": "#/definitions/nested_headers"
                    },
                    "id": {
                        "type": "string"
                    },
                    "level": {
                        "type": "integer"
                    },
                    "text": {
                        "type": "string"
                    }
                }
            },
            "minItems": 1
        },
        "public_updated_at": {
            "description": "When the content was last significantly changed (a major update). Shown to users.  Automatically determined by the publishing-api, unless overridden by the publishing application.",
            "type": "string",
            "format": "date-time"
        },
        "publishing_app_name": {
            "description": "The application that published this item.",
            "type": "string",
            "enum": [
                "calculators",
                "calendars",
                "collections-publisher",
                "contacts",
                "content-publisher",
                "content-tagger",
                "email-alert-frontend",
                "external-link-tracker",
                "feedback",
                "frontend",
                "government-frontend",
                "hmrc-manuals-api",
                "info-frontend",
                "licencefinder",
                "local-links-manager",
                "manuals-frontend",
                "manuals-publisher",
                "maslow",
                "performanceplatform-big-screen-view",
                "publisher",
                "rummager",
                "search-admin",
                "search-api",
                "service-manual-publisher",
                "share-sale-publisher",
                "short-url-manager",
                "smartanswers",
                "special-route-publisher",
                "specialist-publisher",
                "static",
                "tariff",
                "travel-advice-publisher",
                "whitehall"
            ]
        },
        "raib_report_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "date_of_occurrence": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "railway_type": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "heavy-rail",
                            "light-rail",
                            "metros",
                            "heritage-railways"
                        ]
                    }
                },
                "report_type": {
                    "type": "string",
                    "enum": [
                        "investigation-report",
                        "bulletin",
                        "interim-report",
                        "discontinuation-report",
                        "safety-digest"
                    ]
                }
            }
        },
        "rendering_app": {
            "description": "The application that renders this item.",
            "type": "string",
            "enum": [
                "calculators",
                "calendars",
                "collections",
                "content-store",
                "email-alert-frontend",
                "email-campaign-frontend",
                "feedback",
                "finder-frontend",
                "frontend",
                "government-frontend",
                "info-frontend",
                "licencefinder",
                "manuals-frontend",
                "performanceplatform-big-screen-view",
                "rummager",
                "search-api",
                "service-manual-frontend",
                "smartanswers",
                "spotlight",
                "static",
                "tariff",
                "whitehall-admin",
                "whitehall-frontend"
            ]
        },
        "residential_property_tribunal_decision_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "hidden_indexable_content": {
                    "type": "string"
                },
                "tribunal_decision_category": {
                    "type": "string",
                    "enum": [
                        "housing-act-2004-and-housing-and-planning-act-2016",
                        "leasehold-disputes-management",
                        "leasehold-enfranchisement-and-extension",
                        "park-homes",
                        "rents",
                        "right-to-buy",
                        "tenant-associations",
                        "tenant-fees-act"
                    ]
                },
                "tribunal_decision_decision_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "tribunal_decision_sub_category": {
                    "type": "string",
                    "enum": [
                        "housing-act-2004-and-housing-and-planning-act-2016---rent-repayment-orders",
                        "housing-act-2004-and-housing-and-planning-act-2016---improvement-notices",
                        "housing-act-2004-and-housing-and-planning-act-2016---prohibition-orders",
                        "housing-act-2004-and-housing-and-planning-act-2016---demolition-and-closing-orders",
                        "housing-act-2004-and-housing-and-planning-act-2016---emergency-notices-and-orders",
                        "housing-act-2004-and-housing-and-planning-act-2016---empty-dwelling-management-orders",
                        "housing-act-2004-and-housing-and-planning-act-2016---houses-in-multiple-occupation-licensing",
                        "housing-act-2004-and-housing-and-planning-act-2016---selective-licensing",
                        "housing-act-2004-and-housing-and-planning-act-2016---banning-orders",
                        "housing-act-2004-and-housing-and-planning-act-2016---civil-financial-penalties",
                        "housing-act-2004-and-housing-and-planning-act-2016---management-orders",
                        "housing-act-2004-and-housing-and-planning-act-2016---overcrowding-notices",
                        "leasehold-disputes-management---service-charges",
                        "leasehold-disputes-management---administration-charges",
                        "leasehold-disputes-management---appointment-of-manager",
                        "leasehold-disputes-management---right-to-manage",
                        "leasehold-disputes-management---variation-of-leases",
                        "leasehold-disputes-management---breach-of-lease-forfeiture",
                        "leasehold-disputes-management---estate-charges-estate-management-schemes",
                        "leasehold-enfranchisement-and-extension---flats-lease-extension",
                        "leasehold-enfranchisement-and-extension---houses-enfranchisement",
                        "leasehold-enfranchisement-and-extension---flats-collective-enfranchisement",
                        "leasehold-enfranchisement-and-extension---right-of-first-refusal",
                        "park-homes---pitch-fee",
                        "park-homes---section-4-any-question-under-act-or-agreement",
                        "park-homes---local-authority-compliance-notice",
                        "park-homes---appeal-against-alteration-of-a-site-licence-condition",
                        "park-homes---local-authority-decision-emergency-action",
                        "park-homes---local-authority-site-licence-refusal-refusal-to-transfer",
                        "park-homes---site-owners-failure-to-deposit-site-rules-with-local-authority",
                        "park-homes---site-rule-change-consultation-response",
                        "park-homes---park-home-having-a-detrimental-effect",
                        "park-homes---order-relating-to-implied-and-express-terms",
                        "park-homes---recognition-of-residents-association",
                        "park-homes---refusal-orders-against-giving-assigning-home",
                        "park-homes---site-licence-payment-of-annual-fee",
                        "park-homes---order-requiring-written-statement-of-terms",
                        "park-homes---temporary-re-siting-return-of-resited-park-home",
                        "park-homes---entitlement-to-terminate-an-agreement-for-occupation",
                        "rents---market-rent-assured-shorthold-tenancy",
                        "rents---fair-rent",
                        "right-to-buy---right-to-buy-appeals-elderly-persons",
                        "tenant-associations---recognition-of-tenants-association",
                        "tenant-associations---request-for-information",
                        "tenant-fees-act---recovery-of-a-prohibited-payment",
                        "tenant-fees-act---financial-penalties"
                    ]
                }
            }
        },
        "route": {
            "type": "object",
            "required": [
                "path",
                "type"
            ],
            "additionalProperties": false,
            "properties": {
                "path": {
                    "type": "string"
                },
                "type": {
                    "enum": [
                        "prefix",
                        "exact"
                    ]
                }
            }
        },
        "routes": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/route"
            },
            "minItems": 1
        },
        "service_standard_report_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "assessment_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "bulk_published": {
                    "type": "boolean"
                },
                "result": {
                    "type": "string",
                    "enum": [
                        "met",
                        "not-met"
                    ]
                },
                "service_provider": {
                    "$ref": "#/definitions/guid"
                },
                "stage": {
                    "type": "string",
                    "enum": [
                        "alpha",
                        "alpha-reassessment",
                        "beta",
                        "beta-reassessment",
                        "live",
                        "live-reassessment",
                        "live-review"
                    ]
                }
            }
        },
        "specialist_publisher_attachment_asset": {
            "type": "object",
            "required": [
                "attachment_type",
                "content_id",
                "content_type",
                "id",
                "url"
            ],
            "additionalProperties": false,
            "properties": {
                "accessible": {
                    "type": "boolean"
                },
                "alternative_format_contact_email": {
                    "type": "string"
                },
                "attachment_type": {
                    "type": "string",
                    "enum": [
                        "file"
                    ]
                },
                "content_id": {
                    "$ref": "#/definitions/guid"
                },
                "content_type": {
                    "type": "string"
                },
                "created_at": {
                    "format": "date-time"
                },
                "file_size": {
                    "type": "integer"
                },
                "filename": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "locale": {
                    "$ref": "#/definitions/locale"
                },
                "number_of_pages": {
                    "type": "integer"
                },
                "preview_url": {
                    "type": "string",
                    "format": "uri"
                },
                "title": {
                    "type": "string"
                },
                "updated_at": {
                    "format": "date-time"
                },
                "url": {
                    "type": "string",
                    "format": "uri"
                }
            }
        },
        "statutory_instrument_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "laid_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "sift_end_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "sifting_status": {
                    "type": "string",
                    "enum": [
                        "open",
                        "closed",
                        "withdrawn"
                    ]
                },
                "subject": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "business",
                            "crime-justice-and-law",
                            "defence",
                            "education-training-and-skills",
                            "entering-and-staying-in-the-uk",
                            "environment",
                            "going-and-being-abroad",
                            "government",
                            "health-and-social-care",
                            "housing-local-and-community",
                            "international",
                            "life-circumstances",
                            "money",
                            "parenting-childcare-and-childrens-services",
                            "regional-and-local-government",
                            "society-and-culture",
                            "transport",
                            "welfare",
                            "work"
                        ]
                    }
                },
                "withdrawn_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                }
            }
        },
        "tax_tribunal_decision_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "hidden_indexable_content": {
                    "type": "string"
                },
                "tribunal_decision_category": {
                    "type": "string",
                    "enum": [
                        "banking",
                        "charity",
                        "financial-services",
                        "land-registration",
                        "pensions",
                        "tax"
                    ]
                },
                "tribunal_decision_decision_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                }
            }
        },
        "title": {
            "type": "string"
        },
        "traffic_commissioner_regulatory_decision_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "case_type": {
                    "type": "string",
                    "enum": [
                        "application",
                        "regulatory",
                        "impounding",
                        "environmental"
                    ]
                },
                "decision_subject": {
                    "type": "string",
                    "enum": [
                        "hgv-operator",
                        "psv-operator",
                        "transport-manager"
                    ]
                },
                "first_published_at": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}[-/](0[1-9]|1[0-2])[-/](0[1-9]|[12][0-9]|3[0-1])$"
                },
                "outcome_type": {
                    "type": "string",
                    "enum": [
                        "no-action",
                        "curtailment",
                        "formal-warning",
                        "loss-of-repute",
                        "revocation"
                    ]
                },
                "regions": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "eastern",
                            "london-and-southeast",
                            "north-west",
                            "north-east",
                            "scotland",
                            "wales",
                            "west-midlands",
                            "western"
                        ]
                    }
                }
            }
        },
        "uk_market_conformity_assessment_body_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "uk_market_conformity_assessment_body_email": {
                    "type": "string"
                },
                "uk_market_conformity_assessment_body_legislative_area": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "cableway-installations",
                            "construction-products",
                            "ecodesign",
                            "electromagnetic-compatibility",
                            "equipment-and-protective-systems-intended-for-use-in-potentially-explosive-atmospheres",
                            "explosives",
                            "gas-appliances-and-related",
                            "lifts",
                            "machinery",
                            "marine-equipment",
                            "measuring-instruments",
                            "noise-emissions-in-the-environment-by-equipment-for-use-outdoors",
                            "non-automatic-weighing-instruments",
                            "personal-protective-equipment",
                            "pressure-equipment",
                            "pyrotechnics",
                            "radio-equipment",
                            "railway-interoperability",
                            "recreational-craft",
                            "simple-pressure-vessels",
                            "toys",
                            "transportable-pressure-equipment"
                        ]
                    }
                },
                "uk_market_conformity_assessment_body_name": {
                    "type": "string"
                },
                "uk_market_conformity_assessment_body_number": {
                    "type": "string"
                },
                "uk_market_conformity_assessment_body_phone": {
                    "type": "string"
                },
                "uk_market_conformity_assessment_body_registered_office_location": {
                    "type": "string",
                    "enum": [
                        "australia",
                        "canada",
                        "israel",
                        "japan",
                        "new-zealand",
                        "switzerland",
                        "united-kingdom",
                        "united-states-of-america"
                    ]
                },
                "uk_market_conformity_assessment_body_testing_locations": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "united-kingdom",
                            "afghanistan",
                            "albania",
                            "algeria",
                            "andorra",
                            "angola",
                            "antigua-and-barbuda",
                            "argentina",
                            "armenia",
                            "australia",
                            "austria",
                            "azerbaijan",
                            "bahrain",
                            "bangladesh",
                            "barbados",
                            "belarus",
                            "belgium",
                            "belize",
                            "benin",
                            "bhutan",
                            "bolivia",
                            "bosnia-and-herzegovina",
                            "botswana",
                            "brazil",
                            "brunei",
                            "bulgaria",
                            "burkina-faso",
                            "burundi",
                            "cambodia",
                            "cameroon",
                            "canada",
                            "cape-verde",
                            "central-african-republic",
                            "chad",
                            "chile",
                            "china",
                            "colombia",
                            "comoros",
                            "congo",
                            "congo-democratic-republic",
                            "costa-rica",
                            "croatia",
                            "cuba",
                            "cyprus",
                            "czechia",
                            "denmark",
                            "djibouti",
                            "dominica",
                            "dominican-republic",
                            "east-timor",
                            "ecuador",
                            "egypt",
                            "el-salvador",
                            "equatorial-guinea",
                            "eritrea",
                            "estonia",
                            "eswatini",
                            "ethiopia",
                            "fiji",
                            "finland",
                            "france",
                            "gabon",
                            "georgia",
                            "germany",
                            "ghana",
                            "greece",
                            "grenada",
                            "guatemala",
                            "guinea",
                            "guinea-bissau",
                            "guyana",
                            "haiti",
                            "honduras",
                            "hungary",
                            "iceland",
                            "india",
                            "indonesia",
                            "iran",
                            "iraq",
                            "ireland",
                            "israel",
                            "italy",
                            "ivory-coast",
                            "jamaica",
                            "japan",
                            "jordan",
                            "kazakhstan",
                            "kenya",
                            "kiribati",
                            "north-korea",
                            "south-korea",
                            "kosovo",
                            "kuwait",
                            "kyrgyzstan",
                            "laos",
                            "latvia",
                            "lebanon",
                            "lesotho",
                            "liberia",
                            "libya",
                            "liechtenstein",
                            "lithuania",
                            "luxembourg",
                            "madagascar",
                            "malawi",
                            "malaysia",
                            "maldives",
                            "mali",
                            "malta",
                            "marshall-islands",
                            "mauritania",
                            "mauritius",
                            "mexico",
                            "micronesia",
                            "moldova",
                            "monaco",
                            "mongolia",
                            "montenegro",
                            "morocco",
                            "mozambique",
                            "myanmar",
                            "namibia",
                            "nauru",
                            "nepal",
                            "netherlands",
                            "new-zealand",
                            "nicaragua",
                            "niger",
                            "nigeria",
                            "north-macedonia",
                            "norway",
                            "oman",
                            "pakistan",
                            "palau",
                            "panama",
                            "papua-new-guinea",
                            "paraguay",
                            "peru",
                            "philippines",
                            "poland",
                            "portugal",
                            "qatar",
                            "romania",
                            "russia",
                            "rwanda",
                            "st-kitts-and-nevis",
                            "st-lucia",
                            "st-vincent",
                            "samoa",
                            "san-marino",
                            "sao-tome-and-principe",
                            "saudi-arabia",
                            "senegal",
                            "serbia",
                            "seychelles",
                            "sierra-leone",
                            "singapore",
                            "slovakia",
                            "slovenia",
                            "solomon-islands",
                            "somalia",
                            "south-africa",
                            "south-sudan",
                            "spain",
                            "sri-lanka",
                            "sudan",
                            "suriname",
                            "sweden",
                            "switzerland",
                            "syria",
                            "tajikistan",
                            "tanzania",
                            "thailand",
                            "the-bahamas",
                            "the-gambia",
                            "togo",
                            "tonga",
                            "trinidad-and-tobago",
                            "tunisia",
                            "turkey",
                            "turkmenistan",
                            "tuvalu",
                            "uganda",
                            "ukraine",
                            "united-arab-emirates",
                            "united-states",
                            "uruguay",
                            "uzbekistan",
                            "vanuatu",
                            "vatican-city",
                            "venezuela",
                            "vietnam",
                            "yemen",
                            "zambia",
                            "zimbabwe"
                        ]
                    }
                },
                "uk_market_conformity_assessment_body_type": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "approved-body",
                            "recognised-third-party-organisation",
                            "technical-assessment-body",
                            "user-inspectorate",
                            "third-country-body"
                        ]
                    }
                },
                "uk_market_conformity_assessment_body_website": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
        "update_type": {
            "enum": [
                "major",
                "minor",
                "republish"
            ]
        },
        "utaac_decision_metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "bulk_published": {
                    "type": "boolean"
                },
                "hidden_indexable_content": {
                    "type": "string"
                },
                "tribunal_decision_categories": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "tribunal_decision_decision_date": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$"
                },
                "tribunal_decision_judges": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "tribunal_decision_sub_categories": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        }
    }
}