## Data Model
### Describing Organisations
Schema.org’s Organization, SportsClub and SportsOrganization types support a common set of properties to describe the information required:
| Key | Property | Status | Format | Notes |
| :---- | :---- | :---- | :---- | :---- |
| name | [schema:name](https://schema.org/name) | REQUIRED | String | The name of the organisation. |
| description | [schema:description](https://schema.org/description) | Recommended | String | A free text description containing a brief summary of the organisation. |
| url | [schema:url](https://schema.org/url) | Recommended | String | A URL to the organisation’s website homepage or other page about the organisation.1|
| sameAs | [schema:sameAs](https://schema.org/sameAs) | Recommended | String or array of String | Lists the URL(s) of the official social media profile pages associated with the organisation.1|
| activity | [oa:activity](https://openactive.io/activity) | REQUIRED | Array of [skos:Concept](https://www.w3.org/2009/08/skos-reference/skos.html#Concept) | Specifies one or more physical activities that are provided by the organisation. |
| location | [schema:location](https://schema.org/location) | REQUIRED | [schema:Place](https://schema.org/Place) or array of [schema:Place](https://schema.org/Place), [schema: address](https://schema.org/address), String | The main address of the organisation or key locations of the activities provided by the organisation. |
| email | [schema:email](https://schema.org/email) | Recommended | String | A contact email address for the organisation.1 |
| telephone | [schema:telephone](https://schema.org/telephone) | Recommended | String | A contact telephone number for the organisation.1 |
| logo | [schema:logo](https://schema.org/logo) | Optional | [schema:ImageObject](https://schema.org/ImageObject) | A URL to an image associated with the organisation which can be presented alongside its name. |
| alternateName | [schema:alternativeName](https://schema.org/alternateName) | Optional | String or array of String | Aliases, common acronyms or alternative names for the organisation. |
| genderRestriction | [oa:genderRestriction](https://openactive.io/genderRestriction) | Optional | [oa:GenderRestrictionType](https://openactive.io/GenderRestrictionType) | Indicates that an organisation provides activities that are restricted to Male or Female participants, or that there are no restrictions. 3 values are defined as URIs however see [related discussion](https://github.com/openactive/modelling-opportunity-data/issues/69%20). |
| ageRange | [oa:ageRange](https://openactive.io/ageRange) | Optional | [schema:QuantitativeValue](https://schema.org/QuantitativeValue) | Indicates that an organisation provides activities suitable for a specific age range. Specified as a [QuantitativeValue](https://schema.org/QuantitativeValue) with [minValue](https://schema.org/minValue) and [maxValue](https://schema.org/maxValue) properties |
| memberOf | [schema:memberOf](https://schema.org/memberOf) | Optional | String | The Organisation Id for an organisation that this club is affiliated to. For example, a club can link to its National Governing Body. |
| member | [schema:member](https://schema.org/member) | Optional | String or array of String | The organisation IDs for organisations affiliated to this organisation. For example, a National Governing Body can list its current affiliated clubs. |
1 At least one form of contact information (url, sameAs, email, or telephone) MUST be provided for each organisation.
### Describing Activities
The [OpenActive Activity List](https://activity-list.openactive.io/en/hierarchical_concepts.html) provides an openly licensed standard activity list that can be used by organisations. It is a controlled vocabulary published using the types and properties defined by the [SKOS](https://www.w3.org/TR/skos-primer/) standard. That standard allows:
* activities to be organised into hierarchies to capture broader-narrow relationships, e.g. "Martial Arts" and "Judo"
* sharing of alternative labels to support search and indexing
* the sharing of standard codes to support data integration
If you would like to propose additions or improvements to the list please use this [form](https://docs.google.com/forms/d/e/1FAIpQLSfaKgMC-dySy8G7Lvv_9Uh-o48Db37B3BwHSHANyPlEpiEmFA/viewform).
The following properties from the [SKOS](https://openactive.io/modelling-opportunity-data/#bib-SKOS) specification can be used to describe physical activities.
| Key | Property | Status | Format | Notes |
| :---- | :---- | :---- | :---- | :---- |
| prefLabel | [skos:prefLabel](https://www.w3.org/2009/08/skos-reference/skos.html#prefLabel) | REQUIRED | String | Preferred label for the physical activity. |
| inScheme | [skos:inScheme](https://www.w3.org/2009/08/skos-reference/skos.html#inScheme) | Recommended | URI | Link to the Activity List in which this physical activity is defined e.g. “[https://openactive.io/activity-list](https://openactive.io/activity-list)” |
| altLabel | [skos:altLabel](https://www.w3.org/2009/08/skos-reference/skos.html#altLabel) | Optional | Array of String | Alternative labels for the physical activity |
| broader | [skos:broader](https://www.w3.org/2009/08/skos-reference/skos.html#broader) | Optional | Array of URI | Where an Activity List is organised as a hierarchy of activities, this property can be used to refer to a parent or broader term. E.g. "Martial Arts" is broader than "Tai Chi". |
| narrower | [skos:narrower](https://www.w3.org/2009/08/skos-reference/skos.html#narrower) | Optional | Array of URI | Where an Activity List is organised as a hierarchy of activities, this property can be used to refer to a child or narrower term. E.g. "Tai Chi" is a narrower term of "Martial Arts" |
| notation | [skos:notation](https://www.w3.org/2009/08/skos-reference/skos.html#notation) | Optional | String | Provides a unique code or identifier for an activity |
### Describing Place
The following table lists a number of properties that can be used to describe a place. This includes a number of optional properties from the full OpenActive opportunity data model.
| Key | Property | Status | Format | Notes |
| :---- | :---- | :---- | :---- | :---- |
| name | [schema:name](https://schema.org/name) | REQUIRED | String | The name of the Place |
| address | [schema:address](https://schema.org/address) | Recommended | [schema:PostalAddress](https://schema.org/PostalAddress) or String | The street address of the location, expressed as a [schema:PostalAddress](https://schema.org/PostalAddress). Where possible publishers should specify an address as an object. |
| geo | [schema:geo](https://schema.org/geo) | Recommended | [schema:GeoCoordinates](https://schema.org/GeoCoordinates) | The geographic co-ordinates, specified as a latitude and longitude of a Place |
| description | [schema:description](https://schema.org/description) | Optional | String | A free text description of the Place |
| image | [schema:image](https://schema.org/image) | Optional | Array of [schema:ImageObject](https://schema.org/ImageObject) | One or more images or photos that depicts the Place |
| URI | [schema:url](https://schema.org/url) | Optional | URI | A URL to a web page (or section of a page) that describes the Place |
| identifier | [schema:identifier](https://schema.org/identifier) | Optional | Number, String, [schema:PropertyValue](https://schema.org/PropertyValue) | A local identifier for the resource. |
| containInPlace | [schema:containedInPlace](https://schema.org/containedInPlace) | Optional | [schema:Place](https://schema.org/Place) | Indicates that this Place is part of a larger location. Can be used to allow, e.g. a pitch or other facility to be related to a parent location such as a Leisure Centre |
| containsPlace | [schema:containsPlace](https://schema.org/containsPlace) | Optional | Array of [schema:Place](https://schema.org/Place) | Relates a Place to one or more other locations and facilities that it contains. |
| telephone | [schema:telephone](https://schema.org/telephone) | Optional | String | A contact telephone number for the location, e.g. for enquiries |
| openingHoursSpecification | [schema:openingHoursSpecification](https://schema.org/openingHoursSpecification) | Optional | Array of [schema:OpeningHoursSpecification](https://schema.org/OpeningHoursSpecification) | Specifies the opening hours of a location. |
| amenityFeature | [schema:amenityFeature](https://schema.org/amenityFeature) | Optional | Array of [schema:LocationFeatureSpecification](https://schema.org/LocationFeatureSpecification) | Used to indicate whether specific amenities are available at a location, through an array of [schema:LocationFeatureSpecification](https://schema.org/LocationFeatureSpecification) objects. |
Schema.org provides the following properties for publishing address data using the [schema:PostalAddress](https://schema.org/PostalAddress) type.
| Key | Property | Status | Format | Notes |
| :---- | :---- | :---- | :---- | :---- |
| streetAddress | [schema:streetAddress](https://schema.org/streetAddress) | REQUIRED | String | Street address |
| addressLocality | [schema:addressLocality](https://schema.org/addressLocality) | REQUIRED | String | Town or other area |
| addressRegion | [schema:addressRegion](https://schema.org/addressRegion) | REQUIRED | String | Region |
| postalCode | [schema:postalCode](https://schema.org/postalCode) | REQUIRED | String | Postcode |
| addressCountry | [schema:addressCountry](https://schema.org/addressCountry) | REQUIRED | String | ISO 3166-1 alpha-2 country code |
A more precise geographical location can be provided for a [schema:Place](https://schema.org/Place) by adding a [schema:geo](https://schema.org/geo) property. The value of this property is a [schema:GeoCoordinates](https://schema.org/GeoCoordinates) object, with the following properties.
| Key | Property | Status | Format | Notes |
| :---- | :---- | :---- | :---- | :---- |
| latitude | [schema:latitude](https://schema.org/latitude) | REQUIRED | Number | Latitude |
| longitude | [schema:longitude](https://schema.org/longitude) | REQUIRED | Number | Longitude |
Latitude and longitude values should be provided to a precision of at least two decimal places in order to be useful to consumers.