DO.COM.03 Address

The spdci:Address object represents an Address

An address is a structured entity that represents the details and components of an address.

Property KeyData Type (and Restrictions)CardinalityDescription

address_line_1

0...1

First line of a mailing address (Person-agnostic)

address_line_2

0...1

Second line of a mailing address (Person-agnostic)

locality

0...1

City or locality component.

sub_region_code

0...1

District or sub-regional code

region_code

0...1

State, province, prefecture, or region component.

postal_code

0...1

Zip code or postal code component.

country_code

0...1

country part of an address

geo_location

0...1

Location information

Example

{
  "@context": {
    "spdci": "https://schema.spdci.org/common/v1/",
    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
    "xsd": "http://www.w3.org/2001/XMLSchema#"
  },
  "@id": "Address_1",
  "@type": "Address",
  "address_line1": "Bophut Koh Samui",
  "address_line2": "Surat, Near Big Buddha Beach",
  "locality": "Thani",
  "sub_region_code": "SH",
  "region_code": "A205",
  "postal_code": "84320",
  "country_code": "TH",
  "geo_location": {
    "@id": "GeoLocation_1",
    "@type": "GeoLocation",
    "plus_code": {
      "global_code": "8FW4V900+",
      "geometry": {
        "@id": "geometry",
        "@type": "GeoLocation",
        "bounds": {
          "@id": "bounds",
          "@type": "geometry",
          "northeast": {
            "@id": "northeast",
            "@type": "GeoCoordinates",
            "latitude": 48.900000000000006,
            "longitude": 2.4000000000000057
          },
          "southwest": {
            "@id": "southwest",
            "@type": "GeoCoordinates",
            "latitude": 48.849999999999994,
            "longitude": 2.3499999999999943
          }
        },
        "location": {
          "@id": "location",
          "@type": "GeoCoordinates",
          "latitude": 48.875,
          "longitude": 2.375
        }
      }
    }
  }
}

JSON-LD File on GitHub

Last updated