DO.COM.07 Place

The spdci:Place object represents a structured entity encompassing the details and various components of a specific location.

Property KeyData Type (and Restrictions)CardinalityDescription

name

0...1

Name of the place, e.g. "King's Palace".

address_line

0...1

Full mailing address, formatted for display or use on a mailing label.

geo

0...1

Geo Location details.

contained_in_place

0...1

A relationship indicating a larger place that this place is part of.

contains_place

0...*

A relationship indicating a smaller place that is contained within this place.

Example of Use

{
    "@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": "Place_1",
    "@type": "spdci:Place",
    "name": "Koh Samui",
    "geo": {
        "@type": "spdci:GeoLocation",
        "latitude": 9.5604,
        "longitude": 100.0245
    },
    "address_line": "",
    "contained_in_place": "",
    "contains_place": [
        {
            "@id": "Place_3",
            "@type": "spdci:Place",
            "name": "Fisherman's Village",
            "address": "Bophut\nKoh Samui\nSurat Thani 84320\nThailand",
            "geo": {
                "@type": "spdci:GeoLocation",
                "latitude": 9.5617,
                "longitude": 100.0259
            }
        },
        {
            "@id": "Place_4",
            "@type": "spdci:Place",
            "name": "Big Buddha Beach",
            "address": "Big Buddha Beach\nKoh Samui\nSurat Thani 84320\nThailand",
            "geo": {
                "@type": "spdci:GeoLocation",
                "latitude": 9.5736,
                "longitude": 100.0587
            }
        }
    ]
}

Last updated