https://ns.adobe.com/xdm/context/place
A place in the real world with a physical location.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | Yes | Forbidden | Permitted | context/place.schema.json |
- Place
https://ns.adobe.com/xdm/context/place
- Extensibility base schema
https://ns.adobe.com/xdm/common/extensible
- Address
https://ns.adobe.com/xdm/common/address
- Geo Shape
http://schema.org/GeoShape
- Geo Coordinates
http://schema.org/GeoCoordinates
- Extensibility base schema
{
"@id": "https://data.adobe.io/entities/places/locationid-123456",
"schema:description": "A nice place to work",
"xdm:address": {
"@id": "https://data.adobe.io/entities/address/123",
"xdm:primary": false,
"xdm:street1": "345 Park Ave",
"xdm:city": "San Jose",
"xdm:stateProvince": "US-CA",
"xdm:postalCode": "95110",
"xdm:country": "United States",
"xdm:countryCode": "US",
"schema:latitude": 37.3382,
"schema:longitude": 121.8863,
"xdm:status": "active",
"xdm:lastVerifiedDate": "2018-01-02"
},
"schema:telephone": "1-408-888-0000",
"xdm:containsPlaces": [
"https://data.adobe.io/entities/places/locationid-123457",
"https://data.adobe.io/entities/places/locationid-123458"
]
}
Property | Type | Required | Defined by |
---|---|---|---|
@id | string |
Optional | Place (this schema) |
schema:branchCode | string |
Optional | Place (this schema) |
schema:description | string |
Optional | Place (this schema) |
schema:telephone | string |
Optional | Place (this schema) |
xdm:address | Address | Optional | Place (this schema) |
xdm:containedInPlace | string |
Optional | Place (this schema) |
xdm:containsPlaces | string[] |
Optional | Place (this schema) |
xdm:pointOfInterest | Geo Coordinates | Optional | Place (this schema) |
xdm:shape | Geo Shape | Optional | Place (this schema) |
* |
any | Additional | this schema allows additional properties |
The unique identifier of the place.
@id
- is optional
- type:
string
- defined in this schema
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parent Organization and used in structured URLs.
For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047
the code "3047" is a branchCode
for a particular branch.
schema:branchCode
- is optional
- type:
string
- defined in this schema
string
The description of the physical location.
schema:description
- is optional
- type:
string
- defined in this schema
string
The phone number.
schema:telephone
- is optional
- type:
string
- defined in this schema
string
The physical address of the location.
xdm:address
- is optional
- type: Address
- defined in this schema
- Address –
https://ns.adobe.com/xdm/common/address
XDM URI of another Place
that this place is contained in.
This property is based on schema:containedInPlace
, but is using URI references instead of embedding the containing place.
xdm:containedInPlace
- is optional
- type:
string
- defined in this schema
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
An array of XDM URIs of other Place
instances that this place is containing.
This property is based on schema:containsPlace
, but is using URI references instead of embedding the containing place. In addition, it is an array, allowing one place to include multiple other places.
xdm:containsPlaces
-
is optional
-
type:
string[]
-
defined in this schema
Array type: string[]
All items must be of the type:
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
The XDM URI of another Place
that this place contains.
The coordinates of the point of interest for this location.
xdm:pointOfInterest
- is optional
- type: Geo Coordinates
- defined in this schema
- Geo Coordinates –
http://schema.org/GeoCoordinates
The geographic shape of the physical location.
xdm:shape
- is optional
- type: Geo Shape
- defined in this schema
- Geo Shape –
http://schema.org/GeoShape