Lab Result Keys¶
metadata.indexedLabResults gives every lab result one key, the same in every state however the lab spelled the test. Total THC and Total Delta-9 THC are both totalTHC. THCa, THC-A and Delta-9 THCA are all THCA.
In a label template:
As a report column:
In Python:
indexed = package["metadata"]["indexedLabResults"]
if "totalTHC" in indexed:
print(indexed["totalTHC"]["full"])
name and full keep the lab's own spelling. Only the key is shared.
Each entry also has byUnit, one result per unit the test was reported in, for tests reported both per serving and per package:
See Supercollection Includes for which result an entry holds when a test is reported more than once.
How keys are formed¶
A key is the test name in camelCase, with acronyms kept in capitals: Moisture Content is moistureContent, Total THC is totalTHC, and CBG stays CBG. Greek letters are spelled out: β-Myrcene is betaMyrcene. A key that would start with a digit starts with _: 1,2-Dichloroethane is _12Dichloroethane.
Spellings that differ only in case, spacing, punctuation or Greek letters always share a key, so the tables list only the names that differ in words. A test that is not listed is still indexed, under its name in lowercase with everything but letters and digits removed: Novel Analyte-X is novelanalytex.
In label templates and report columns, a key in the wrong case, or an older key such as totalDelta9THC or Total_THC, is corrected automatically. Code that reads the JSON must use the key exactly as listed.
topTerpene1, topTerpene2 and so on are not tests. They rank a package's individual terpenes; see Supercollection Includes.
Cannabinoids¶
| Key | Test | Also matches |
|---|---|---|
totalTHC | Total THC | Total Delta-9 THC |
totalCBD | Total CBD | |
totalCBG | Total CBG | |
totalCannabinoids | Total Cannabinoids | |
potency | Potency | |
THCA | THCA | Delta-9 THCA |
delta9THC | Delta-9 THC | THC, D9-THC, 9-THC |
delta8THC | Delta-8 THC | D8-THC, 8-THC |
delta10THC9R | Delta-10 THC (9R) | (6aR,9R)-d10-THC |
delta10THC9S | Delta-10 THC (9S) | (6aR,9S)-d10-THC |
exoTHC | Exo-THC | |
THCV | THCV | |
THCVA | THCVA | |
CBD | CBD | |
CBDA | CBDA | |
CBDV | CBDV | |
CBDVA | CBDVA | |
CBG | CBG | |
CBGA | CBGA | |
CBN | CBN | |
CBNA | CBNA | |
CBC | CBC | |
CBCA | CBCA | |
CBL | CBL | |
CBT | CBT |
Terpenes¶
| Key | Test | Also matches |
|---|---|---|
totalTerpenes | Total Terpenes | |
otherTerpenes | Other Terpenes | |
alphaBisabolol | Alpha-Bisabolol | |
alphaCedrene | Alpha-Cedrene | |
alphaHumulene | Alpha-Humulene | |
betaHumulene | Beta-Humulene | |
alphaMyrcene | Alpha-Myrcene | |
betaMyrcene | Beta-Myrcene | |
alphaOcimene | Alpha-Ocimene | |
betaOcimene | Beta-Ocimene | |
ocimene | Ocimene | |
cisBetaOcimene | cis-Beta-Ocimene | cis-Ocimene |
transBetaOcimene | trans-Beta-Ocimene | trans-Ocimene |
alphaPhellandrene | Alpha-Phellandrene | |
alphaPinene | Alpha-Pinene | |
betaPinene | Beta-Pinene | |
alphaTerpinene | Alpha-Terpinene | |
gammaTerpinene | Gamma-Terpinene | |
terpineol | Terpineol | |
alphaTerpineol | Alpha-Terpineol | |
gammaTerpineol | Gamma-Terpineol | |
terpinen4ol | Terpinen-4-ol | |
alphaThujone | Alpha-Thujone | |
betaCaryophyllene | Beta-Caryophyllene | Caryophyllene |
caryophylleneOxide | Caryophyllene Oxide | |
betaFarnesene | Beta-Farnesene | |
transBetaFarnesene | trans-Beta-Farnesene | |
borneol | Borneol | |
isoborneol | Isoborneol | |
camphene | Camphene | |
camphor | Camphor | |
delta3Carene | Delta-3-Carene | 3-Carene |
carvacrol | Carvacrol | |
carvone | Carvone | |
cedrol | Cedrol | |
citronellol | Citronellol | |
pCymene | p-Cymene | p-Isopropyltoluene, Cymene |
mCymene | m-Cymene | |
oCymene | o-Cymene | |
eucalyptol | Eucalyptol | |
fenchol | Fenchol | Fenchyl Alcohol, Endo-Fenchyl Alcohol |
fenchone | Fenchone | |
geraniol | Geraniol | |
geranylAcetate | Geranyl Acetate | |
guaiol | Guaiol | |
isobornylAcetate | Isobornyl Acetate | |
isopulegol | Isopulegol | |
limonene | Limonene | d-Limonene, δ-Limonene |
linalool | Linalool | |
menthol | Menthol | |
menthone | Menthone | |
nerol | Nerol | |
nerolidol | Nerolidol | |
cisNerolidol | cis-Nerolidol | |
transNerolidol | trans-Nerolidol | |
nootkatone | Nootkatone | |
octylAcetate | Octyl Acetate | |
phytane | Phytane | |
phytol | Phytol | |
cisPhytol | cis-Phytol | |
transPhytol | trans-Phytol | |
piperitone | Piperitone | |
pulegone | Pulegone | |
sabinene | Sabinene | |
sabineneHydrate | Sabinene Hydrate | |
terpinolene | Terpinolene | |
thymol | Thymol | |
valencene | Valencene | |
verbenone | Verbenone |
Residual Solvents¶
| Key | Test | Also matches |
|---|---|---|
solvents | Solvents | |
_12Dichloroethane | 1,2-Dichloroethane | |
_14Dioxane | 1,4-Dioxane | |
_2Butanol | 2-Butanol | |
_2Ethoxyethanol | 2-Ethoxyethanol | |
_22Dimethylbutane | 2,2-Dimethylbutane | |
_23Dimethylbutane | 2,3-Dimethylbutane | |
_2Methylbutane | 2-Methylbutane | |
_2Methylpentane | 2-Methylpentane | |
_3Methylpentane | 3-Methylpentane | |
acetone | Acetone | |
acetonitrile | Acetonitrile | |
benzene | Benzene | |
butane | Butane | |
butanes | Butanes | Butanes (all isomers), Butane & All Isomers |
isobutane | Isobutane | |
neopentane | Neopentane | |
pentane | Pentane | |
pentanes | Pentanes | Pentanes (all isomers), Pentane & All Isomers |
hexane | Hexane | |
hexanes | Hexanes | Hexanes (all isomers), Hexane & All Isomers |
heptane | Heptane | |
heptanes | Heptanes | Heptanes (all isomers), Heptane & All Isomers |
chloroform | Chloroform | |
cumene | Cumene | |
cyclohexane | Cyclohexane | |
ethanol | Ethanol | |
ethylAcetate | Ethyl Acetate | |
ethylEther | Ethyl Ether | |
ethyleneGlycol | Ethylene Glycol | |
ethyleneOxide | Ethylene Oxide | |
isopropylAcetate | Isopropyl Acetate | |
isopropylAlcohol | Isopropyl Alcohol | Isopropanol, 2-Propanol, 2-Propanol [IPA] |
methanol | Methanol | |
methyleneChloride | Methylene Chloride | Dichloromethane |
propane | Propane | |
tetrahydrofuran | Tetrahydrofuran | |
toluene | Toluene | |
trichloroethylene | Trichloroethylene | Total Trichloroethylene |
totalXylenes | Total Xylenes | Xylenes |
oXylene | o-Xylene | |
pAndMXylene | p- and m-Xylene |
Pesticides¶
| Key | Test | Also matches |
|---|---|---|
pesticides | Pesticides | |
abamectin | Abamectin | |
acephate | Acephate | |
acequinocyl | Acequinocyl | |
acetamiprid | Acetamiprid | |
aldicarb | Aldicarb | |
ancymidol | Ancymidol | |
azoxystrobin | Azoxystrobin | |
bifenazate | Bifenazate | Bifenzate |
bifenthrin | Bifenthrin | |
boscalid | Boscalid | |
carbaryl | Carbaryl | |
carbofuran | Carbofuran | |
chlorantraniliprole | Chlorantraniliprole | |
chlorfenapyr | Chlorfenapyr | |
chlormequatChloride | Chlormequat Chloride | Chlormequat Cl |
chlorpyrifos | Chlorpyrifos | |
clofentezine | Clofentezine | |
cyfluthrin | Cyfluthrin | |
cypermethrin | Cypermethrin | |
daminozide | Daminozide | |
diazinon | Diazinon | |
dichlorvos | Dichlorvos | DDVP, DDVP (Dichlorvos) |
dimethoate | Dimethoate | |
ethephon | Ethephon | |
ethoprophos | Ethoprophos | |
etofenprox | Etofenprox | |
etoxazole | Etoxazole | |
fenoxycarb | Fenoxycarb | |
fenpyroximate | Fenpyroximate | |
fipronil | Fipronil | |
flonicamid | Flonicamid | |
fludioxonil | Fludioxonil | Fludioxionil |
flurprimidol | Flurprimidol | |
hexythiazox | Hexythiazox | |
imazalil | Imazalil | |
imidacloprid | Imidacloprid | |
kresoximMethyl | Kresoxim-methyl | |
malathion | Malathion | |
metalaxyl | Metalaxyl | |
methiocarb | Methiocarb | |
methomyl | Methomyl | |
methylParathion | Methyl Parathion | |
MGK264 | MGK-264 | |
myclobutanil | Myclobutanil | |
naled | Naled | |
oxamyl | Oxamyl | |
paclobutrazol | Paclobutrazol | |
permethrin | Permethrin | Permethrins |
permethrinCis | Permethrin (cis) | |
permethrinTrans | Permethrin (trans) | |
phosmet | Phosmet | |
piperonylButoxide | Piperonyl Butoxide | |
prallethrin | Prallethrin | |
propiconazole | Propiconazole | |
propoxur | Propoxur | |
pyrethrins | Pyrethrins | |
cinerinI | Cinerin I | Pyrethrins Cinerin I |
jasmolinI | Jasmolin I | Pyrethrins Jasmolin I |
pyrethrinI | Pyrethrin I | Pyrethrins Pyrethrin I |
pyridaben | Pyridaben | Pyradiben |
spinosad | Spinosad | |
spinosadA | Spinosad A | |
spinosadD | Spinosad D | |
spiromesifen | Spiromesifen | |
spirotetramat | Spirotetramat | |
spiroxamine | Spiroxamine | |
tebuconazole | Tebuconazole | |
thiacloprid | Thiacloprid | |
thiamethoxam | Thiamethoxam | |
trifloxystrobin | Trifloxystrobin | Trioxystrobin |
Heavy Metals¶
| Key | Test | Also matches |
|---|---|---|
heavyMetals | Heavy Metals | |
antimony | Antimony | |
arsenic | Arsenic | Total Arsenic |
cadmium | Cadmium | |
chromium | Chromium | Total Chromium |
copper | Copper | |
iron | Iron | |
lead | Lead | |
manganese | Manganese | |
mercury | Mercury | |
nickel | Nickel | |
selenium | Selenium | |
zinc | Zinc |
Microbials¶
| Key | Test | Also matches |
|---|---|---|
microbiologicalContaminants | Microbiological Contaminants | |
aspergillus | Aspergillus | Aspergillus spp. |
aspergillusFlavus | Aspergillus flavus | |
aspergillusFumigatus | Aspergillus fumigatus | |
aspergillusNiger | Aspergillus niger | |
aspergillusTerreus | Aspergillus terreus | |
eColi | E. coli | |
enterobacteriaceae | Enterobacteriaceae | Enterobacteriacaea |
salmonella | Salmonella | Salmonella spp. |
STEC | STEC | Shiga toxin-producing E. coli, Shiga toxin-producing E. coli (STEC) |
totalAerobicMicrobialCount | Total Aerobic Microbial Count | Total Aerobic Count |
totalColiforms | Total Coliforms | Total Coliform, Coliforms |
totalYeastAndMold | Total Yeast and Mold | Total Yeast & Mold Count, Yeast & Mold |
Mycotoxins¶
| Key | Test | Also matches |
|---|---|---|
aflatoxinB1 | Aflatoxin B1 | |
aflatoxinB2 | Aflatoxin B2 | |
aflatoxinG1 | Aflatoxin G1 | |
aflatoxinG2 | Aflatoxin G2 | |
totalAflatoxins | Total Aflatoxins | Aflatoxins, Total Aflatoxins (B1, B2, G1, & G2), Total of Aflatoxin B1, B2, G1, and G2 |
ochratoxinA | Ochratoxin A | |
ochratoxins | Ochratoxins | |
totalMycotoxins | Total Mycotoxins | Mycotoxins, Total Mycotoxins (Aflatoxin B1, B2, G1, G2, & Ochratoxin A) |
Other Tests¶
| Key | Test | Also matches |
|---|---|---|
waterActivity | Water Activity | |
moistureContent | Moisture Content | Moisture |
foreignMatter | Foreign Matter | |
foreignMatterOther | Foreign Matter - Other | |
foreignMatterStems3mm | Foreign Matter - Stems >3 mm | |
filthForeignMaterials | Filth & Foreign Materials | |
homogeneity | Homogeneity | |
vitaminEAcetate | Vitamin E Acetate | |
MCTOil | MCT Oil | |
glycerolTricapronateC6 | Glycerol Tricapronate (C6) | Glycerol Tricapronate |
glycerolTricaprylateC8 | Glycerol Tricaprylate (C8) | Glycerol Tricaprylate |
glycerolTricaprateC10 | Glycerol Tricaprate (C10) | Glycerol Tricaprate |
glycerolTrilaurateC12 | Glycerol Trilaurate (C12) | Glycerol Trilaurate |
retest | Retest |