{
  "$schema": "https://sous.pras.ai/schema/v0/domain.schema.json",
  "vocabulary": "units",
  "version": "0.7.0",
  "description": "Units, as data. The closed UCUM enumeration lives in common/quantity.schema.json and says which codes are legal; this says what each one MEANS -- the word a recipe writes, the dimension it measures, and what it converts to. Five hand-maintained tables in three tools previously carried fragments of this between them, and two of them disagreed about how many grams are in an ounce.",
  "units": {
    "g": {
      "label": "g",
      "dimension": "mass",
      "to_base": 1.0,
      "base": "g",
      "aliases": [
        "gr",
        "gram",
        "grams"
      ]
    },
    "kg": {
      "label": "kg",
      "dimension": "mass",
      "to_base": 1000.0,
      "base": "g",
      "aliases": [
        "kilogram",
        "kilograms"
      ]
    },
    "mg": {
      "label": "mg",
      "dimension": "mass",
      "to_base": 0.001,
      "base": "g",
      "aliases": [
        "milligram"
      ]
    },
    "[oz_av]": {
      "label": "oz",
      "dimension": "mass",
      "to_base": 28.349523,
      "base": "g",
      "aliases": [
        "ounce",
        "ounces"
      ]
    },
    "[lb_av]": {
      "label": "lb",
      "dimension": "mass",
      "to_base": 453.59237,
      "base": "g",
      "aliases": [
        "lbs",
        "pound",
        "pounds"
      ]
    },
    "mL": {
      "label": "mL",
      "dimension": "volume",
      "to_base": 1.0,
      "base": "mL",
      "aliases": [
        "milliliter",
        "milliliters",
        "millilitre",
        "ml"
      ]
    },
    "L": {
      "label": "L",
      "dimension": "volume",
      "to_base": 1000.0,
      "base": "mL",
      "aliases": [
        "l",
        "liter",
        "liters",
        "litre",
        "litres"
      ]
    },
    "dL": {
      "label": "dL",
      "dimension": "volume",
      "to_base": 100.0,
      "base": "mL",
      "aliases": [
        "deciliter",
        "dl"
      ]
    },
    "cL": {
      "label": "cL",
      "dimension": "volume",
      "to_base": 10.0,
      "base": "mL",
      "aliases": [
        "centiliter",
        "cl"
      ]
    },
    "[foz_us]": {
      "label": "fl oz",
      "dimension": "volume",
      "to_base": 29.5735,
      "base": "mL",
      "aliases": [
        "floz",
        "fluidounce",
        "fluidounces"
      ]
    },
    "[cup_us]": {
      "label": "cup",
      "plural": "cups",
      "dimension": "volume",
      "to_base": 236.588,
      "base": "mL",
      "aliases": [
        "c",
        "cups"
      ]
    },
    "[tbs_us]": {
      "label": "tbsp",
      "dimension": "volume",
      "to_base": 14.7868,
      "base": "mL",
      "aliases": [
        "T",
        "tablespoon",
        "tablespoons",
        "tbl",
        "tbs"
      ]
    },
    "[tsp_us]": {
      "label": "tsp",
      "dimension": "volume",
      "to_base": 4.92892,
      "base": "mL",
      "aliases": [
        "teaspoon",
        "teaspoons"
      ]
    },
    "[pt_us]": {
      "label": "pint",
      "plural": "pints",
      "dimension": "volume",
      "to_base": 473.176,
      "base": "mL",
      "aliases": [
        "pints",
        "pt"
      ]
    },
    "[qt_us]": {
      "label": "quart",
      "plural": "quarts",
      "dimension": "volume",
      "to_base": 946.353,
      "base": "mL",
      "aliases": [
        "qt",
        "quarts"
      ]
    },
    "[gal_us]": {
      "label": "gallon",
      "plural": "gallons",
      "dimension": "volume",
      "to_base": 3785.41,
      "base": "mL",
      "aliases": [
        "gallons"
      ]
    },
    "[cup_m]": {
      "label": "cup",
      "plural": "cups",
      "dimension": "volume",
      "to_base": 250.0,
      "base": "mL",
      "note": "Shares its word with [cup_us]. A recipe that writes the bare word has not said which, and an importer resolves it to the US unit -- the commoner reading in English-language sources, and a guess either way. Say the metric code explicitly when it matters: the difference is about 6%."
    },
    "[tbs_m]": {
      "label": "tbsp",
      "dimension": "volume",
      "to_base": 15.0,
      "base": "mL",
      "note": "Shares its word with [tbs_us]. A recipe that writes the bare word has not said which, and an importer resolves it to the US unit -- the commoner reading in English-language sources, and a guess either way. Say the metric code explicitly when it matters: the difference is about 6%."
    },
    "[tsp_m]": {
      "label": "tsp",
      "dimension": "volume",
      "to_base": 5.0,
      "base": "mL",
      "note": "Shares its word with [tsp_us]. A recipe that writes the bare word has not said which, and an importer resolves it to the US unit -- the commoner reading in English-language sources, and a guess either way. Say the metric code explicitly when it matters: the difference is about 6%."
    },
    "mm": {
      "label": "mm",
      "dimension": "length",
      "to_base": 1.0,
      "base": "mm",
      "aliases": [
        "millimeter"
      ]
    },
    "cm": {
      "label": "cm",
      "dimension": "length",
      "to_base": 10.0,
      "base": "mm",
      "aliases": [
        "centimeter"
      ]
    },
    "m": {
      "label": "m",
      "dimension": "length",
      "to_base": 1000.0,
      "base": "mm"
    },
    "[in_i]": {
      "label": "inch",
      "plural": "inches",
      "dimension": "length",
      "to_base": 25.4,
      "base": "mm",
      "aliases": [
        "in",
        "inches"
      ]
    },
    "Cel": {
      "label": "Cel",
      "dimension": "temperature"
    },
    "[degF]": {
      "label": "[degF]",
      "dimension": "temperature"
    },
    "K": {
      "label": "K",
      "dimension": "temperature"
    },
    "s": {
      "label": "s",
      "dimension": "time",
      "to_base": 1,
      "base": "s"
    },
    "min": {
      "label": "min",
      "dimension": "time",
      "to_base": 60,
      "base": "s"
    },
    "h": {
      "label": "h",
      "dimension": "time",
      "to_base": 3600,
      "base": "s"
    },
    "d": {
      "label": "d",
      "dimension": "time",
      "to_base": 86400,
      "base": "s"
    },
    "{each}": {
      "label": "",
      "dimension": "count",
      "note": "Deliberately empty: '3 onions' names no unit. A renderer writes the count and the substance with nothing between them."
    },
    "{clove}": {
      "label": "clove",
      "plural": "cloves",
      "dimension": "count",
      "aliases": [
        "cloves"
      ]
    },
    "{slice}": {
      "label": "slice",
      "plural": "slices",
      "dimension": "count",
      "aliases": [
        "slices"
      ]
    },
    "{sprig}": {
      "label": "sprig",
      "plural": "sprigs",
      "dimension": "count",
      "aliases": [
        "sprigs"
      ]
    },
    "{bunch}": {
      "label": "bunch",
      "plural": "bunches",
      "dimension": "count",
      "aliases": [
        "bunches"
      ]
    },
    "{head}": {
      "label": "head",
      "plural": "heads",
      "dimension": "count",
      "aliases": [
        "heads"
      ]
    },
    "{stalk}": {
      "label": "stalk",
      "plural": "stalks",
      "dimension": "count",
      "aliases": [
        "stalks"
      ]
    },
    "{ear}": {
      "label": "ear",
      "plural": "ears",
      "dimension": "count",
      "aliases": [
        "ears"
      ]
    },
    "{fillet}": {
      "label": "fillet",
      "plural": "fillets",
      "dimension": "count",
      "aliases": [
        "filet",
        "fillets"
      ]
    },
    "{rasher}": {
      "label": "rasher",
      "plural": "rashers",
      "dimension": "count",
      "aliases": [
        "rashers"
      ]
    },
    "{sheet}": {
      "label": "sheet",
      "plural": "sheets",
      "dimension": "count",
      "aliases": [
        "sheets"
      ]
    },
    "{stick}": {
      "label": "stick",
      "plural": "sticks",
      "dimension": "count",
      "aliases": [
        "sticks"
      ]
    },
    "{can}": {
      "label": "can",
      "plural": "cans",
      "dimension": "count",
      "aliases": [
        "cans"
      ]
    },
    "{package}": {
      "label": "package",
      "plural": "packages",
      "dimension": "count",
      "aliases": [
        "packages",
        "pkg"
      ]
    },
    "{envelope}": {
      "label": "envelope",
      "plural": "envelopes",
      "dimension": "count",
      "aliases": [
        "envelopes"
      ]
    },
    "{pinch}": {
      "label": "pinch",
      "plural": "pinches",
      "dimension": "count",
      "aliases": [
        "pinches"
      ]
    },
    "{dash}": {
      "label": "dash",
      "plural": "dashes",
      "dimension": "count",
      "aliases": [
        "dashes"
      ]
    }
  }
}
