{
  "title": "Address",
  "description": "address of a worker",
  "type": "object",
  "properties": {
    "Startdate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "Enddate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "Street": {
      "type": "string",
      "maxLength": 100
    },
    "HouseNumber": {
      "type": "string",
      "maxLength": 10
    },
    "PostBox": {
      "type": "string",
      "maxLength": 5
    },
    "ZIPCode": {
      "type": "string",
      "maxLength": 12
    },
    "City": {
      "type": "string",
      "maxLength": 30
    },
    "Country": {
      "type": "string",
      "default": "00150",
      "minLength": 5,
      "maxLength": 5,
      "pattern": "^[0-9]*$"
    },
    "Distance": {
      "type": "number",
      "minimum": 0.0,
      "maximum": 99999.9
    }
  },
  "required": [
    "Startdate",
    "Street",
    "HouseNumber",
    "ZIPCode",
    "City",
    "Country"
  ]
}