{ "type": "object", "properties": { "street": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "zipCode": { "type": "string", "pattern": "^[0-9]{5}(-[0-9]{4})?$" }, "country": { "type": "string", "minLength": 2, "maxLength": 2 } } }