{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Address",
  "description": "A users invoice address",
  "type": "object",
  "properties": {
    "company": { "type": "string" },
    "first_name": { "type": "string" },
    "last_name": { "type": "string" },
    "care_of": { "type": "string" },
    "street": { "type": "string" },
    "street_no": { "type": "string" },
    "city": { "type": "string" },
    "zip_code": { "type": "string" },
    "state": { "type": "string" },
    "country": { "type": "string", "description": "Country as uppercase ISO 3166-1 alpha-2 code" },
    "phone": { "type": "string" }
  },
  "required": ["last_name", "street", "street_no", "city", "zip_code", "country"],
  "additionalProperties": false
}
download