{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/commusoft/json-schema/address.json",
  "title": "Address",
  "description": "Postal address used across Commusoft customer, supplier, and location records",
  "type": "object",
  "properties": {
    "addressLine1": {
      "type": "string",
      "description": "First line of the address"
    },
    "addressLine2": {
      "type": "string",
      "description": "Second line of the address"
    },
    "town": {
      "type": "string",
      "description": "Town or city"
    },
    "county": {
      "type": "string",
      "description": "County or region"
    },
    "postcode": {
      "type": "string",
      "description": "Postcode or zip code"
    },
    "country": {
      "type": "string",
      "description": "Country"
    }
  }
}
