JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/GeographicAddressContactMedium",
"title": "GeographicAddressContactMedium",
"allOf": [
{
"$ref": "#/components/schemas/ContactMedium"
},
{
"type": "object",
"description": "Describes a geographical address that could be used to contact a party (an individual or an organization)",
"properties": {
"city": {
"type": "string",
"description": "The city"
},
"country": {
"type": "string",
"description": "The country"
},
"postCode": {
"type": "string",
"description": "Postcode"
},
"stateOrProvince": {
"type": "string",
"description": "State or province"
},
"street1": {
"type": "string",
"description": "Describes the street"
},
"street2": {
"type": "string",
"description": "Complementary street description"
},
"geographicAddress": {
"$ref": "#/components/schemas/GeographicAddressRef"
}
}
}
]
}