Skip to content

Class: PostalAddressGeneralClass

An abstract class containing common elements of a postal address. Attributes have a close mapping to either or both Ordnance Survey AddressBase and schema.org. This class should not be used directly. Lower-level classes are used to generate schema for UK or international addresses.

JSON schema: di_vocab:PostalAddress

  • NOTE: this is an abstract class and should not be instantiated directly

URI: di_vocab:class/PostalAddressGeneralClass

classDiagram class PostalAddressGeneralClass click PostalAddressGeneralClass href "../../classes/PostalAddressGeneralClass/" ValidityClass <|-- PostalAddressGeneralClass click ValidityClass href "../../classes/ValidityClass/" PostalAddressGeneralClass <|-- PostalAddressUKClass click PostalAddressUKClass href "../../classes/PostalAddressUKClass/" PostalAddressGeneralClass <|-- PostalAddressInternationalClass click PostalAddressInternationalClass href "../../classes/PostalAddressInternationalClass/" PostalAddressGeneralClass : addressCountry PostalAddressGeneralClass : addressLocality PostalAddressGeneralClass : buildingName PostalAddressGeneralClass : buildingNumber PostalAddressGeneralClass : departmentName PostalAddressGeneralClass : organisationName PostalAddressGeneralClass : poBoxNumber PostalAddressGeneralClass : postalCode PostalAddressGeneralClass : streetName PostalAddressGeneralClass : subBuildingName PostalAddressGeneralClass : validFrom PostalAddressGeneralClass : validUntil

Inheritance

Slots

Name Cardinality and Range Description Inheritance
buildingNumber 0..1
String
The building number is a number given to a single building or a small group o... direct
buildingName 0..1
String
The building name is a description applied to a single building or a small gr... direct
poBoxNumber 0..1
String
Post Office Box (PO Box) number direct
organisationName 0..1
String
The organisation name is the business name given to a delivery point within a... direct
departmentName 0..1
String
For some organisations, department name is indicated because mail is received... direct
subBuildingName 0..1
String
The sub-building name and/or number are identifiers for subdivisions of prope... direct
streetName 0..1
String
A thoroughfare/street is fundamentally a road, track or named access route, f... direct
addressLocality 0..1
String
The town or city in which the address resides direct
postalCode 0..1
String
A UK postcode is an abbreviated form of address made up of combinations of be... direct
addressCountry 0..1
String
The country direct
validFrom 0..1
Date
ValidityClass
validUntil 0..1
Date
ValidityClass

See Also

Identifier and Mapping Information

Schema Source

  • from schema: https://vocab.account.gov.uk/linkml/credentials-schema

Mappings

Mapping Type Mapped Value
self di_vocab:PostalAddressGeneralClass
native di_vocab:PostalAddressGeneralClass
close schema:PostalAddress, adb:Address

LinkML Source

Direct

name: PostalAddressGeneralClass
description: An abstract class containing common elements of a postal address. Attributes
  have a close mapping to either or both Ordnance Survey AddressBase and schema.org.
  This class should not be used directly. Lower-level classes are used to generate
  schema for UK or international addresses. <p>JSON schema&#58; [di_vocab:PostalAddress](../json-schemas/PostalAddress.json)</p>
from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
see_also:
- ../json-schemas/PostalAddress.json
close_mappings:
- schema:PostalAddress
- adb:Address
abstract: true
mixins:
- ValidityClass
slots:
- buildingNumber
- buildingName
- poBoxNumber
- organisationName
- departmentName
- subBuildingName
- streetName
- addressLocality
- postalCode
- addressCountry

Induced

name: PostalAddressGeneralClass
description: An abstract class containing common elements of a postal address. Attributes
  have a close mapping to either or both Ordnance Survey AddressBase and schema.org.
  This class should not be used directly. Lower-level classes are used to generate
  schema for UK or international addresses. <p>JSON schema&#58; [di_vocab:PostalAddress](../json-schemas/PostalAddress.json)</p>
from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
see_also:
- ../json-schemas/PostalAddress.json
close_mappings:
- schema:PostalAddress
- adb:Address
abstract: true
mixins:
- ValidityClass
attributes:
  buildingNumber:
    name: buildingNumber
    description: The building number is a number given to a single building or a small
      group of buildings, thus identifying it from its neighbours, for example, 44.
      Building numbers that contain a range, decimals or non-numeric characters do
      not appear in this field but will be found in the buildingName or the sub-BuildingName
      fields.  <b>NOTE - This is a string representation of the building number.</b>
      <p>Close mapping&#58; [adb:buildingNumber](http://www.geoplace.co.uk/addressbase/schema/2.1/addressbase.xsd)</p>
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    close_mappings:
    - adb:buildingNumber
    rank: 1000
    alias: buildingNumber
    owner: PostalAddressGeneralClass
    domain_of:
    - PostalAddressGeneralClass
    range: string
  buildingName:
    name: buildingName
    description: The building name is a description applied to a single building or
      a small group of buildings, such as Highfield House. This also includes those
      building numbers that contain non-numeric characters, such as 44A. Some descriptive
      names, when included with the rest of the address, are sufficient to identify
      the property uniquely and unambiguously, for example, MAGISTRATES COURT. Sometimes
      the building name will be a blend of distinctive and descriptive naming, for
      example, RAILWAY TAVERN (PUBLIC HOUSE) or THE COURT ROYAL (HOTEL). <p>Close
      mapping&#58; [adb:buildingName](http://www.geoplace.co.uk/addressbase/schema/2.1/addressbase.xsd)</p>
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    close_mappings:
    - adb:buildingName
    rank: 1000
    alias: buildingName
    owner: PostalAddressGeneralClass
    domain_of:
    - PostalAddressGeneralClass
    range: string
  poBoxNumber:
    name: poBoxNumber
    description: Post Office Box (PO Box) number. <p>Exact mapping&#58; [adb:poBoxNumber](http://www.geoplace.co.uk/addressbase/schema/2.1/addressbase.xsd)</p>
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    exact_mappings:
    - adb:poBoxNumber
    rank: 1000
    alias: poBoxNumber
    owner: PostalAddressGeneralClass
    domain_of:
    - PostalAddressGeneralClass
    range: string
  organisationName:
    name: organisationName
    description: The organisation name is the business name given to a delivery point
      within a building or small group of buildings. E.g. TOURIST INFORMATION CENTRE
      This field could also include entries for churches, public houses and libraries.
      <p>Close mapping&#58; [adb:organisationName](http://www.geoplace.co.uk/addressbase/schema/2.1/addressbase.xsd)</p>
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    close_mappings:
    - adb:organisationName
    rank: 1000
    alias: organisationName
    owner: PostalAddressGeneralClass
    domain_of:
    - PostalAddressGeneralClass
    range: string
  departmentName:
    name: departmentName
    description: For some organisations, department name is indicated because mail
      is received by subdivisions of the main organisation at distinct delivery points.
      E.g. Organisation Name - ABC COMMUNICATIONS Department Name - MARKETING DEPARTMENT
      <p>Close mapping&#58; [adb:departmentName](http://www.geoplace.co.uk/addressbase/schema/2.1/addressbase.xsd)</p>
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    close_mappings:
    - adb:departmentName
    rank: 1000
    alias: departmentName
    owner: PostalAddressGeneralClass
    domain_of:
    - PostalAddressGeneralClass
    range: string
  subBuildingName:
    name: subBuildingName
    description: The sub-building name and/or number are identifiers for subdivisions
      of properties. E.g. Sub-building Name - FLAT 3 Building Name - POPLAR COURT
      Thoroughfare - LONDON ROAD NOTE - If the address is styled as 3 POPLAR COURT,
      all the text will be shown in the Building Name attribute and the Sub-building
      Name will be empty. The building number will be shown in this field when it
      contains a range, decimal or non-numeric character (see Building Number). <p>Close
      mapping&#58; [adb:subBuildingName](http://www.geoplace.co.uk/addressbase/schema/2.1/addressbase.xsd)</p>
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    close_mappings:
    - adb:subBuildingName
    rank: 1000
    alias: subBuildingName
    owner: PostalAddressGeneralClass
    domain_of:
    - PostalAddressGeneralClass
    range: string
  streetName:
    name: streetName
    description: A thoroughfare/street is fundamentally a road, track or named access
      route, for example, HIGH STREET. <p>Close mapping - [adb:thoroughfare](http://www.geoplace.co.uk/addressbase/schema/2.1/addressbase.xsd)</p>
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    close_mappings:
    - adb:thoroughfare
    rank: 1000
    alias: streetName
    owner: PostalAddressGeneralClass
    domain_of:
    - PostalAddressGeneralClass
    range: string
  addressLocality:
    name: addressLocality
    description: The town or city in which the address resides. <p>Close mapping&#58;
      [adb:postTown](http://www.geoplace.co.uk/addressbase/schema/2.1/addressbase.xsd)</p>
      <p>Exact mapping&#58; [schema:addressLocality](https://schema.org/addressLocality)</p>
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    close_mappings:
    - adb:postTown
    rank: 1000
    alias: addressLocality
    owner: PostalAddressGeneralClass
    domain_of:
    - PostalAddressGeneralClass
    range: string
  postalCode:
    name: postalCode
    description: A UK postcode is an abbreviated form of address made up of combinations
      of between five and seven alphanumeric characters.  International postal codes
      have different formats. <p>Exact mapping&#58; [schema:postalCode](https://schema.org/postalCode)</p>
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    exact_mappings:
    - schema:postalCode
    rank: 1000
    alias: postalCode
    owner: PostalAddressGeneralClass
    domain_of:
    - PostalAddressGeneralClass
    range: string
  addressCountry:
    name: addressCountry
    description: The country. Provided as the two-letter ISO 3166-1 alpha-2 country
      code, hence this only closely maps rather than exactly maps to schema.org which
      permits any text. <p>Close mapping&#58; [schema:addressCountry](https://schema.org/addressCountry)</p>
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    close_mappings:
    - schema:addressCountry
    rank: 1000
    alias: addressCountry
    owner: PostalAddressGeneralClass
    domain_of:
    - PostalAddressGeneralClass
    range: string
  validFrom:
    name: validFrom
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    rank: 1000
    slot_uri: schema:validFrom
    alias: validFrom
    owner: PostalAddressGeneralClass
    domain_of:
    - ValidityClass
    - MitigatingCredentialClass
    range: date
  validUntil:
    name: validUntil
    from_schema: https://vocab.account.gov.uk/linkml/credentials-schema
    rank: 1000
    slot_uri: schema:validUntil
    alias: validUntil
    owner: PostalAddressGeneralClass
    domain_of:
    - ValidityClass
    range: date