Open Brewery DB · JSON-LD Context

Brewery Context

JSON-LD context defining the semantic vocabulary for Brewery from Open Brewery DB.

3 Classes 14 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
obdb: https://www.openbrewerydb.org/vocab#
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Brewery id name

Properties

Property Type Container
brewery_type string
address_1 string
address_2 string
address_3 string
city string
state_province string
postal_code string
country string
longitude float
latitude float
phone string
website_url reference
state string
street string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "obdb": "https://www.openbrewerydb.org/vocab#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Brewery": "schema:Brewery",

    "id": "@id",

    "name": "schema:name",

    "brewery_type": {
      "@id": "obdb:breweryType",
      "@type": "xsd:string"
    },

    "address_1": {
      "@id": "schema:streetAddress",
      "@type": "xsd:string"
    },
    "address_2": {
      "@id": "obdb:address2",
      "@type": "xsd:string"
    },
    "address_3": {
      "@id": "obdb:address3",
      "@type": "xsd:string"
    },

    "city": {
      "@id": "schema:addressLocality",
      "@type": "xsd:string"
    },
    "state_province": {
      "@id": "schema:addressRegion",
      "@type": "xsd:string"
    },
    "postal_code": {
      "@id": "schema:postalCode",
      "@type": "xsd:string"
    },
    "country": {
      "@id": "schema:addressCountry",
      "@type": "xsd:string"
    },

    "longitude": {
      "@id": "schema:longitude",
      "@type": "xsd:float"
    },
    "latitude": {
      "@id": "schema:latitude",
      "@type": "xsd:float"
    },

    "phone": {
      "@id": "schema:telephone",
      "@type": "xsd:string"
    },
    "website_url": {
      "@id": "schema:url",
      "@type": "@id"
    },

    "state": {
      "@id": "obdb:stateLegacy",
      "@type": "xsd:string",
      "owl:deprecated": true
    },
    "street": {
      "@id": "obdb:streetLegacy",
      "@type": "xsd:string",
      "owl:deprecated": true
    }
  }
}