Punk API · JSON-LD Context
Punkapi Context
JSON-LD context defining the semantic vocabulary for Punkapi from Punk API.
8 Classes
34 Properties
5 Namespaces
Namespaces
punk:
https://punkapi.com/schema/
schema:
https://schema.org/
dcterms:
http://purl.org/dc/terms/
xsd:
http://www.w3.org/2001/XMLSchema#
qudt:
http://qudt.org/schema/qudt/
Classes
Beer
Measurement
Temperature
MashStep
Method
Ingredients
Malt
Hop
Properties
| Property | Type | Container |
|---|---|---|
| id | integer | |
| name | string | |
| tagline | string | |
| first_brewed | string | |
| description | string | |
| image_url | reference | |
| abv | float | |
| ibu | float | |
| target_fg | float | |
| target_og | float | |
| ebc | float | |
| srm | float | |
| ph | float | |
| attenuation_level | float | |
| volume | reference | |
| boil_volume | reference | |
| value | float | |
| unit | string | |
| method | reference | |
| mash_temp | list | |
| fermentation | reference | |
| temp | reference | |
| duration | integer | |
| twist | string | |
| ingredients | reference | |
| malt | list | |
| hops | list | |
| yeast | string | |
| amount | reference | |
| add | string | |
| attribute | string | |
| food_pairing | list | |
| brewers_tips | string | |
| contributed_by | string |
JSON-LD Document
{
"@context": {
"@version": 1.1,
"punk": "https://punkapi.com/schema/",
"schema": "https://schema.org/",
"dcterms": "http://purl.org/dc/terms/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"qudt": "http://qudt.org/schema/qudt/",
"Beer": "punk:Beer",
"Measurement": "punk:Measurement",
"Temperature": "punk:Temperature",
"MashStep": "punk:MashStep",
"Method": "punk:Method",
"Ingredients": "punk:Ingredients",
"Malt": "punk:Malt",
"Hop": "punk:Hop",
"id": { "@id": "dcterms:identifier", "@type": "xsd:integer" },
"name": { "@id": "schema:name", "@type": "xsd:string" },
"tagline": { "@id": "schema:slogan", "@type": "xsd:string" },
"first_brewed": { "@id": "punk:firstBrewed", "@type": "xsd:string" },
"description": { "@id": "schema:description", "@type": "xsd:string" },
"image_url": { "@id": "schema:image", "@type": "@id" },
"abv": { "@id": "punk:abv", "@type": "xsd:float" },
"ibu": { "@id": "punk:ibu", "@type": "xsd:float" },
"target_fg": { "@id": "punk:targetFinalGravity", "@type": "xsd:float" },
"target_og": { "@id": "punk:targetOriginalGravity", "@type": "xsd:float" },
"ebc": { "@id": "punk:ebc", "@type": "xsd:float" },
"srm": { "@id": "punk:srm", "@type": "xsd:float" },
"ph": { "@id": "punk:ph", "@type": "xsd:float" },
"attenuation_level": { "@id": "punk:attenuationLevel", "@type": "xsd:float" },
"volume": { "@id": "punk:volume", "@type": "@id" },
"boil_volume": { "@id": "punk:boilVolume", "@type": "@id" },
"value": { "@id": "qudt:numericValue", "@type": "xsd:float" },
"unit": { "@id": "qudt:unit", "@type": "xsd:string" },
"method": { "@id": "punk:method", "@type": "@id" },
"mash_temp": { "@id": "punk:mashTemp", "@container": "@list" },
"fermentation": { "@id": "punk:fermentation", "@type": "@id" },
"temp": { "@id": "punk:temperature", "@type": "@id" },
"duration": { "@id": "punk:durationMinutes", "@type": "xsd:integer" },
"twist": { "@id": "punk:twist", "@type": "xsd:string" },
"ingredients": { "@id": "punk:ingredients", "@type": "@id" },
"malt": { "@id": "punk:malt", "@container": "@list" },
"hops": { "@id": "punk:hops", "@container": "@list" },
"yeast": { "@id": "punk:yeast", "@type": "xsd:string" },
"amount": { "@id": "punk:amount", "@type": "@id" },
"add": { "@id": "punk:hopAdditionTiming", "@type": "xsd:string" },
"attribute": { "@id": "punk:hopRole", "@type": "xsd:string" },
"food_pairing": { "@id": "punk:foodPairing", "@container": "@list" },
"brewers_tips": { "@id": "punk:brewersTips", "@type": "xsd:string" },
"contributed_by": { "@id": "dcterms:contributor", "@type": "xsd:string" }
}
}