Place

This page describes the Place type.

This type is derived from https://schema.org/Place, which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.

Properties

Required properties

Property

Expected Type

Description

@type

Text

Must always be present and set to "@type": "Place"

name

Text

The name of the Place

Example

"name": "Raynes Park High School"

Required options

While these properties are marked as recommended in the specification, a data publisher must provide as much detail in both address and geo for an event as possible.

Property

Expected Type

Description

address

PostalAddress - or - Text

A structured PostalAddress object for the Place.

Ideally the address should be provided using the PostalAddress structured format. Google Reserve requires https://schema.org/PostalAddress and will not accept plain text addresses.

Example

"address": { "@type": "PostalAddress", "streetAddress": "Raynes Park High School, 46A West Barnes Lane", "addressLocality": "New Malden", "addressRegion": "London", "postalCode": "NW5 3DU", "addressCountry": "GB" }

geo

GeoCoordinates

The geo coordinates of the Place.

Example

"geo": { "latitude": 51.4034423828125, "longitude": -0.2369088977575302, "@type": "GeoCoordinates" }

Property

Expected Type

Description

@id

URL

A unique url based identifier for the record

Example

"@id": "https://example.com/place/12345"

amenityFeature

Array of LocationFeatureSpecification

An array listing the Ammenities of the Place.

Example

"amenityFeature": [ { "name": "Changing Facilities", "value": true, "@type": "ChangingFacilities" }, { "name": "Showers", "value": false, "@type": "Showers" }, { "name": "Lockers", "value": true, "@type": "Lockers" }, { "name": "Towels", "value": false, "@type": "Towels" }, { "name": "Creche", "value": false, "@type": "Creche" }, { "name": "Parking", "value": true, "@type": "Parking" } ]

description

Text

A plain text description of the Place, which must not include HTML or other markup.

Example

"description": "Raynes Park High School in London"

image

Array of ImageObject

An image or photo that depicts the place, e.g. a photo taken at a previous event.

Example

"image": [ { "thumbnail": "http://example.com/static/image/speedball_thumbnail.jpg", "@type": "ImageObject", "url": "http://example.com/static/image/speedball_large.jpg" } ]

openingHoursSpecification

Array of OpeningHoursSpecification

The times the Place is open

telephone

Text

The telephone number for the Place

Example

"telephone": "01253 473934"

url

URL

The website for the Place

Example

"url": "http://www.rphs.org.uk/"

Optional properties

Property

Expected Type

Description

address

PostalAddress - or - Text

A structured PostalAddress object for the Place.

Ideally the address should be provided using the PostalAddress structured format. Google Reserve requires https://schema.org/PostalAddress and will not accept plain text addresses.

Example

"address": { "@type": "PostalAddress", "streetAddress": "Raynes Park High School, 46A West Barnes Lane", "addressLocality": "New Malden", "addressRegion": "London", "postalCode": "NW5 3DU", "addressCountry": "GB" }

containedInPlace

Place

The place within which this Place exists

Example

"containedInPlace": { "@type": "Place", "url": "https://www.everyoneactive.com/centres/Middlesbrough-Sports-Village", "name": "Middlesbrough Sports Village" }

containsPlace

Array of Place

Places that exist within this place

Example

"containsPlace": { "@type": "Place", "url": "https://www.everyoneactive.com/centres/Center-Parcs-Sports-Plaza", "name": "Center Parcs Sports Plaza" }

geo

GeoCoordinates

The geo coordinates of the Place.

Example

"geo": { "latitude": 51.4034423828125, "longitude": -0.2369088977575302, "@type": "GeoCoordinates" }

identifier

Text - or - PropertyValue - or - Array of PropertyValue - or - Integer

A local non-URI identifier for the resource

Example

"identifier": "SB1234"

Beta Extension properties

These properties are defined in the OpenActive Beta Extension. The OpenActive Beta Extension is defined as a convenience to help document properties that are in active testing and review by the community. Publishers should not assume that properties in the beta namespace will either be added to the core specification or be included in the namespace over the long term.

Property

Expected Type

Description

beta:formattedDescription

Text

Proposal #2

Sometimes a description is stored with formatting (e.g. href, bold, italics, embedded YouTube videos). This formatting can be useful for data consumers.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution License (CC-BY V4.0), and code samples are licensed under the MIT License, for anyone to access, use and share; using attribution "OpenActive".