Bored API · JSON-LD Context

Bored Api Context

JSON-LD context defining the semantic vocabulary for Bored Api from Bored API.

1 Classes 10 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
bored: https://bored-api.appbrewery.com/vocab#
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Activity

Properties

Property Type Container
activity string
availability decimal
type string
participants integer
price decimal
accessibility string
duration string
kidFriendly boolean
link reference
key string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "bored": "https://bored-api.appbrewery.com/vocab#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Activity": "bored:Activity",

    "activity": {
      "@id": "schema:name",
      "@type": "xsd:string"
    },
    "availability": {
      "@id": "bored:availability",
      "@type": "xsd:decimal"
    },
    "type": {
      "@id": "schema:category",
      "@type": "xsd:string"
    },
    "participants": {
      "@id": "schema:maximumAttendeeCapacity",
      "@type": "xsd:integer"
    },
    "price": {
      "@id": "bored:relativePrice",
      "@type": "xsd:decimal"
    },
    "accessibility": {
      "@id": "schema:accessibilityFeature",
      "@type": "xsd:string"
    },
    "duration": {
      "@id": "schema:timeRequired",
      "@type": "xsd:string"
    },
    "kidFriendly": {
      "@id": "schema:isFamilyFriendly",
      "@type": "xsd:boolean"
    },
    "link": {
      "@id": "schema:url",
      "@type": "@id"
    },
    "key": {
      "@id": "schema:identifier",
      "@type": "xsd:string"
    }
  }
}