{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Registered Office Address",
  "description": "This will only appear if there are ROA details in the company record",
  "properties": {
    "address_line_1": {
      "type": "string",
      "description": "The first line of the address e.g Crown Way"
    },
    "address_line_2": {
      "type": "string",
      "description": "The second line of the address"
    },
    "locality": {
      "type": "string",
      "description": "The town associated to the ROA e.g Cardiff"
    },
    "postal_code": {
      "type": "string",
      "description": "The postal code e.g CF14 3UZ"
    },
    "region": {
      "description": "The region e.g Surrey.",
      "type": "string"
    },
    "country": {
      "description": "The country.",
      "enum": [
        "Wales",
        "England",
        "Scotland",
        "Great Britain",
        "Not specified",
        "United Kingdom",
        "Northern Ireland"
      ],
      "type": "string"
    }
  }
}