{ "$schema": "https://datapackage.org/profiles/2.0/datapackage.json", "name": "spiritfacts", "title": "SpiritFacts: Alcohol Chemistry & Hangover Index Dataset", "description": "Open chemistry and health profile of spirits, wine, and beer (congeners, histamines, polyphenols, sulfites, tannins, sugar, additives) plus a 1-10 Hangover Index across categories and brands. Maintained by spiritfacts.com.", "homepage": "https://spiritfacts.com", "version": "1.0.0", "keywords": [ "alcohol", "spirits", "wine", "beer", "chemistry", "congeners", "histamines", "sulfites", "hangover", "health", "nutrition" ], "licenses": [ { "name": "CC-BY-4.0", "title": "Creative Commons Attribution 4.0 International", "path": "https://creativecommons.org/licenses/by/4.0/" } ], "sources": [ { "title": "Spirit Facts", "path": "https://spiritfacts.com" } ], "resources": [ { "name": "categories", "title": "Categories (13)", "path": "data/categories.csv", "format": "csv", "mediatype": "text/csv", "encoding": "utf-8", "schema": { "primaryKey": "slug", "fields": [ { "name": "slug", "type": "string" }, { "name": "name", "type": "string" }, { "name": "family", "type": "string" }, { "name": "tagline", "type": "string" }, { "name": "typical_abv_min", "type": "number", "description": "Alcohol by volume (%)." }, { "name": "typical_abv_max", "type": "number", "description": "Alcohol by volume (%)." }, { "name": "hangover_index", "type": "integer", "constraints": { "minimum": 1, "maximum": 10 } }, { "name": "congeners", "title": "Congeners", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "histamines", "title": "Histamines", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "polyphenols", "title": "Polyphenols", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "sulfites", "title": "Sulfites", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "tannins", "title": "Tannins", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "sugar", "title": "Sugar", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "additives", "title": "Additives", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "congeners_score", "title": "Congeners (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "histamines_score", "title": "Histamines (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "polyphenols_score", "title": "Polyphenols (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "sulfites_score", "title": "Sulfites (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "tannins_score", "title": "Tannins (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "sugar_score", "title": "Sugar (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "additives_score", "title": "Additives (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "common_allergens", "type": "string" } ] } }, { "name": "brands", "title": "Brands (52)", "path": "data/brands.csv", "format": "csv", "mediatype": "text/csv", "encoding": "utf-8", "schema": { "primaryKey": "slug", "foreignKeys": [ { "fields": "category", "reference": { "resource": "categories", "fields": "slug" } } ], "fields": [ { "name": "slug", "type": "string" }, { "name": "name", "type": "string" }, { "name": "category", "type": "string" }, { "name": "subtype", "type": "string" }, { "name": "origin", "type": "string" }, { "name": "abv", "type": "number", "description": "Alcohol by volume (%)." }, { "name": "former_abv", "type": "number", "description": "Alcohol by volume (%)." }, { "name": "hangover_index", "type": "integer", "constraints": { "minimum": 1, "maximum": 10 } }, { "name": "congeners", "title": "Congeners", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "histamines", "title": "Histamines", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "polyphenols", "title": "Polyphenols", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "sulfites", "title": "Sulfites", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "tannins", "title": "Tannins", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "sugar", "title": "Sugar", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "additives", "title": "Additives", "type": "string", "constraints": { "enum": [ "very-low", "low", "moderate", "high", "very-high" ] } }, { "name": "congeners_score", "title": "Congeners (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "histamines_score", "title": "Histamines (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "polyphenols_score", "title": "Polyphenols (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "sulfites_score", "title": "Sulfites (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "tannins_score", "title": "Tannins (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "sugar_score", "title": "Sugar (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "additives_score", "title": "Additives (score)", "type": "integer", "constraints": { "minimum": 1, "maximum": 5 }, "description": "Ordinal 1 (very-low) to 5 (very-high)." }, { "name": "gluten_free", "type": "boolean" }, { "name": "vegan", "type": "boolean" }, { "name": "allergens", "type": "string" }, { "name": "notes", "type": "string" } ] } }, { "name": "spiritfacts-full", "title": "Full dataset (nested JSON)", "path": "data/spiritfacts.json", "format": "json", "mediatype": "application/json", "encoding": "utf-8" } ] }