{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/GeographicSubAddressUnit", "title": "GeographicSubAddressUnit", "allOf": [ { "$ref": "#/components/schemas/Extensible" }, { "type": "object", "description": "Representation of a SubUnit. It is used for describing subunit within a subAddress e.g. BERTH, FLAT, PIER, SUITE, SHOP, TOWER, UNIT, WHARF.", "properties": { "subUnitNumber": { "type": "string", "description": "The discriminator used for the subunit, often just a simple number but may also be a range." }, "subUnitType": { "type": "string", "description": "The type of subunit e.g.BERTH, FLAT, PIER, SUITE, SHOP, TOWER, UNIT, WHARF, RACK" } } } ], "discriminator": { "propertyName": "@type", "mapping": { "GeographicSubAddressUnit": "#/components/schemas/GeographicSubAddressUnit" } } }