The schema defines the following types:
A volume, as a magnitude and its unit.
VolumeType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | VolumeUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
A mass, as a magnitude and its unit.
MassType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | MassUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
Diastatic power is a measurement of malted grains enzymatic content. A value of 35 Lintner is needed to self convert, while a value of 100 or more is desirable for base malts.
DiastaticPowerType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | DiastaticPowerUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
A temperature, as a magnitude and its unit.
TemperatureType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | TemperatureUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
A pressure, as a magnitude and its unit.
PressureType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | PressureUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
An acidity, as a magnitude and its unit.
AcidityType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | AcidityUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
A duration, as a magnitude and its unit. The magnitude may be fractional, such as 3.5 min.
TimeType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | TimeUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
ColorType supports both grain color properties, such as Lovibond, and wort color properties such as SRM and EBC.
ColorType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | ColorUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
A carbonation level, as a magnitude and its unit.
CarbonationType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | CarbonationUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
A bitterness, as a magnitude and its unit.
BitternessType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | BitternessUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
Gravity refers to the both the measurements of percent of sugar content, ie plato and brix, as well as relative density ie specific gravity.
GravityType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | GravityUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
The heat required to raise a given mass by one degree, per unit mass.
SpecificHeatType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | SpecificHeatUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
Examples for concentration include ppm, ppb, and mg/l.
ConcentrationType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | ConcentrationUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
Specific volume is the inverse of density, with units of volume over mass, ie qt/lb or L/kg. Commonly used for mash thickness.
SpecificVolumeType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | SpecificVolumeUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
An energy content per volume of beer, as a magnitude and its unit.
EnergyPerVolumeType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | EnergyPerVolumeUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
UnitType is used where unitless amounts are required, such as 1 apple, or 1 yeast packet.
UnitType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | UnitUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
Viscosity of fluids
ViscosityType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | ViscosityUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
A range of carbonation levels, as a minimum and a maximum.
CarbonationRangeType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| minimum | ✅ | CarbonationType | The lower end of the range. |
| maximum | ✅ | CarbonationType | The upper end of the range. |
A range of bitterness values, as a minimum and a maximum.
BitternessRangeType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| minimum | ✅ | BitternessType | The lower end of the range. |
| maximum | ✅ | BitternessType | The upper end of the range. |
A range of temperatures, as a minimum and a maximum.
TemperatureRangeType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| minimum | ✅ | TemperatureType | The lower end of the range. |
| maximum | ✅ | TemperatureType | The upper end of the range. |
A range of colors, as a minimum and a maximum.
ColorRangeType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| minimum | ✅ | ColorType | The lower end of the range. |
| maximum | ✅ | ColorType | The upper end of the range. |
A range of gravities, as a minimum and a maximum.
GravityRangeType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| minimum | ✅ | GravityType | The lower end of the range. |
| maximum | ✅ | GravityType | The upper end of the range. |
A range of percentages, as a minimum and a maximum.
PercentRangeType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| minimum | ✅ | PercentType | The lower end of the range. |
| maximum | ✅ | PercentType | The upper end of the range. |
Units in which a volume may be expressed.
"ml""l""tsp""tbsp""floz""cup""pt""qt""gal""bbl""ifloz""ipt""iqt""igal""ibbl"
Units in which a mass may be expressed.
"mg""g""kg""lb""oz"
Units in which diastatic power may be expressed.
"Lintner""WK"
Units in which a temperature may be expressed.
"C""F"
Units in which acidity may be expressed.
"pH"
Units in which a pressure may be expressed.
"kPa""psi""bar"
Units in which a duration may be expressed.
"sec""min""hr""day""week"
Units in which a color may be expressed.
"EBC""Lovi""SRM"
Units in which carbonation may be expressed.
"vols""g/l"
Units in which bitterness may be expressed.
"IBUs"
Units in which a gravity may be expressed.
"sg""plato""brix"
Units in which a concentration may be expressed.
"ppm""ppb""mg/l"
Units in which specific heat may be expressed. Despite its capital C, Cal/(g C) means calories, not kilocalories, per gram per degree Celsius, so water is 1.0 and stainless steel about 0.12. It is numerically equal to BTU/(lb F).
"Cal/(g C)""J/(kg K)""BTU/(lb F)"
Units in which a specific volume may be expressed.
"qt/lb""gal/lb""gal/oz""l/g""l/kg""floz/oz""m^3/kg""ft^3/lb"
Units in which an energy content per volume may be expressed. kcal is the kilocalorie (dietary Calorie). pt is the US pint of 16 US fluid ounces, ipt the imperial pint, and floz the US fluid ounce. kcal/100ml and kJ/100ml are the units of EU nutritional labelling.
"kcal/l""kcal/50cl""kcal/33cl""kcal/25cl""kcal/100ml""kcal/pt""kcal/12floz""kcal/ipt""kJ/100ml"
Units in which a count of items may be expressed. Write each, which counts whatever the ingredient is: apples, cinnamon sticks, yeast packets. The values 1, unit, dimensionless and pkg are deprecated synonyms of each, kept so existing documents stay valid; readers should treat all five alike.
"1""unit""each""dimensionless""pkg"
A date, as ISO 8601 YYYY-MM-DD, optionally with a time as YYYY-MM-DDThh:mm:ss. The time may have fractional seconds and may end in Z or a UTC offset such as +01:00; without either it is a local time. The pattern checks that the month, day and time are in range, but not that the day exists in that month.
RegExp pattern: ^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])(T([01]\d|2[0-3]):[0-5]\d:([0-5]\d|60)(\.\d+)?(Z|[+-]([01]\d|2[0-3]):[0-5]\d)?)?$
A percentage that is a share of a whole, so cannot be below 0 or above 100, as a magnitude and its unit.
BoundedPercentType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | PercentUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
A percentage, as a magnitude and its unit, for a quantity that can legitimately fall outside 0 to 100, such as apparent attenuation, which exceeds 100 when the final gravity is below 1.000. Use BoundedPercentType for a share of a whole.
PercentType is an object with these properties:
| Name | Required | Type | Description |
|---|---|---|---|
| unit | ✅ | PercentUnitType | The unit the value is expressed in. |
| value | ✅ | number | The magnitude of the measurement. Its unit is given by the sibling unit property. |
Units in which a percentage may be expressed.
"%"
A qualitative scale, for a property that is judged rather than measured.
"very low""low""medium low""medium""medium high""high""very high"
The version of the BeerJSON format this document is written against, as MAJOR.MINOR. A schema accepts its own version and the earlier ones it can still validate. Note that JSON has no decimal type, so 3.0 is written as the number 3.
2.012.063
Units in which a viscosity may be expressed.
"cP""mPa-s"