Git Product home page Git Product logo

place-types's Introduction

Place Types

Status: Draft | Please Provide Feedback via GitHub

Status

This list is in a draft state, however every effort will be made in subsequent revisions to maintain the IDs associated with the concepts enumerated here.

Documentation

This repository holds the JSON-LD definition of the OpenActive Place Types controlled vocabulary.

This controlled vocabulary MUST be referenced within a Concept via inScheme using the URL "https://openactive.io/place-types" (which will return the JSON-LD definition if the Accept header contains application/ld+json).

This controlled vocabulary SHOULD be retrieved frequently using an HTTP GET and cached within an application, to ensure that the most up-to-date version is displayed to the user, while also protecting against network failure when accessing the underlying resource. To access this controlled vocabulary the application MUST GET the URL "https://openactive.io/place-types/place-types.jsonld" (note there is no www in the URL) which does not require a specific Accept header, and is cached via CDN. The controlled vocabulary is also available via a GET of the URL "https://openactive.io/place-types" using an Accept header of application/ld+json, for completeness, however this shorter URL MUST NOT be used in production.

Please raise requests for content or issues related to this controlled vocabulary via GitHub.

Example use

The example below illustrates an "beta:placeType" property for an Place that describes a Leisure Centre.

"beta:placeType": [
  {
    "type": "Concept",
    "id": "https://openactive.io/place-types#89a263e2-3925-4add-81cf-a0fbdf9542ad",
    "prefLabel": "Leisure Centre",
    "inScheme": "https://openactive.io/place-types"
  }
]

Source data

Please see the spreadsheet used to generate the JSON-LD representation, comments welcome!

Licence

The documentation and data in this repository is published under the Creative Commons CC-BY 4.0 license.

place-types's People

Contributors

nickevansuk avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

place-types's Issues

Proposal: Controlled vocabulary of Place types

Proposer

Playwaze

Use Case

As an end-user, I would like to be able to filter my search results by the type of organisation putting on an event. For example, I would like to be able to filter to include only sports clubs, leisure centres or facilties.

Why is this not covered by existing properties?

There's nothing explicitly stated in the Opportunity specification itself. Conceivably the schema.org additionalType property could be used.

Please provide a link to example data

Check the 'I'm looking for ....' dropdown on https://activelincs.wpengine.com/find-activities/

Proposal

As noted above, schema:additionalType might be a candidate here in terms of the property used. We'd also ideally have a controlled vocabulary listing permissible values (e.g. 'Leisure Centre', 'Facilities', 'Sports Club', etc).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.