Receive Case

A webhook/push API that will receive an HTTP Post of the contents of a case in JSON format. This data represents comprehensive details about the product items contained within a case of product received by a retailer, including:

  • Brands

  • Products

  • Batches

  • Contained Cases (sub-cases)

  • Regulatory IDs

  • LucidIDs for all contained items

When specifying a Brand, Product, or Batch, LucidRetail will also provide the Lucid Green UUID for that entity, which can be used to uniquely identify and match data already contained in the 3PP.

Processing information contained in the JSON document

The JSON document will contain the most recent information about the brand, product, and batch, and should be used to update records of those particular entities in the 3PP. Additionally, if any of the specific Brand, Product, or Batch information is not currently maintained in the 3PP, the data provided in the JSON document should be used to create a catalog entry for that particular entity.

For example, if a retailer receives a case of product from a Brand, and that brand record in the 3PP is incomplete or the information provided by the JSON document is different (i.e. a Brand logo image or Brand description), the 3PP should use the information provided by the JSON document to update the record for that Brand in the 3PP’s system.

Similarly, if a retailer receives a case of product from a known Brand but doesn’t have a catalog entry for the Product itself, the 3PP should take the information contained in the JSON document and create a new catalog entry for that product in the 3PP’s system and associate it with the specified Brand.

Handling LucidIDs

The JSON document will specify items as a list of UUIDs. These items are the LucidIDs for each individual item contained in the case. To enable usage of the LucidID for POS checkout scanning, the LucidIDs specified in the list of items should be stored by the 3PP and used to match against a LucidID scanned at checkout.

Note

A scanned LucidID will contain a URL format LucidID identifier. See LucidIDs, CaseIDs, and Collections above for information about how to interpret the URL structure and extract the LucidID in UUID format for matching against the LucidIDs specified in the list of items.

Example Case JSON Document

{
    "uuid": "<uuid>",
    "identifier": "case-identifier",
    "name": "test",
    "added_on": "2021-02-15T17:04:17.372277Z",
    "brands":  [{
        "uuid": "<uuid>",
        "name": "Lucid Green Demo Brand",
        "images": {
            "thumbnail": {
                "name": "SUw1Co5tSy6mFH9ecIRx_lucid_green_logomark_4_5.png",
                "url": "https://ucarecdn.com/db3dd9d3-8b71-4d37-bc4c-af8b04f4ee53/SUw1Co5tSy6mFH9ecIRx_lucid_green_logomark_4_5.png",
                "mime_type": "image/png",
                "size_bytes": 22949.0,
                "updated_on": "2020-06-18T07:58:12.984689Z"
            },
            "primary": {
                "name": "SUw1Co5tSy6mFH9ecIRx_lucid_green_logomark_4_5.png",
                "url": "https://ucarecdn.com/db3dd9d3-8b71-4d37-bc4c-af8b04f4ee53/SUw1Co5tSy6mFH9ecIRx_lucid_green_logomark_4_5.png",
                "mime_type": "image/png",
                "size_bytes": 22949.0,
                "updated_on": "2020-06-18T07:58:12.984689Z"
            },
            "banner": {
                "name": "SUw1Co5tSy6mFH9ecIRx_lucid_green_logomark_4_5.png",
                "url": "https://ucarecdn.com/db3dd9d3-8b71-4d37-bc4c-af8b04f4ee53/SUw1Co5tSy6mFH9ecIRx_lucid_green_logomark_4_5.png",
                "mime_type": "image/png",
                "size_bytes": 22949.0,
                "updated_on": "2020-06-18T07:58:12.984689Z"
            }
        },
        "videos": [{
            "name": "SUw1Co5tSy6mFH9ecIRx_lucid_green_logomark_4_5.mp4",
            "url": "https://ucarecdn.com/db3dd9d3-8b71-4d37-bc4c-af8b04f4ee53/SUw1Co5tSy6mFH9ecIRx_lucid_green_logomark_4_5.mp4",
            "mime_type": "video/mp4",
            "description": "foo bar",
            "length_in_minutes": 3,
            "video_source_link": "",
            "size_bytes": 22949.0,
            "updated_on": "2020-06-18T07:58:12.984689Z"
        }]
    }],
    "products": [{
        "uuid": "<uuid>",
        "sku": "ABC123456789",
        "description": "<p>These high flavor bears ...</p>",
        "name": "LG Sour Gummy Bears",
        "published_on": "11/19/2018",
        "available_on": "06/11/2020",
        "discontinued_on": null,
        "product_type": "Chocolate",
        "usage": "",
        "variety": "Sativa",
        "strain": "Sativa",
        "product_line": "",
        "package_size": {
            "name": "Package Size",
            "value": "40.0000",
            "unit": "g"
        },
        "upc": "",
        "servings": "8.0000000",
        "serving_size": "5.0000000g",
        "total_cannabinoids": 2.0,
        "total_cbd": {
            "name": "Total CBD",
            "value": "1.0000",
            "unit": "mg"
        },
        "total_thc": {
            "name": "Total THC",
            "value": "1.0000",
            "unit": "mg"
        },
        "tests_description": "",
        "updated_on": "2021-01-28T20:34:42.675497Z",
        "about_ingredients": "",
        "special_diet": [],
        "allergen": [],
        "testing_methodology": "",
        "usage_recommendation": "<p>Start low and go slow.</p>",
        "ingredients": [],
        "documents": [],
        "videos": [],
        "images": {
            "thumbnail": {
                "name": "pLu2LT9QuFn0DHbocjVA_5363284736_6cbc238cdf_o.jpg",
                "url": "https://ucarecdn.com/9420961f-cfb2-4a9c-ae02-90d5bff70ee9/pLu2LT9QuFn0DHbocjVA_5363284736_6cbc238cdf_o.jpg",
                "mime_type": "image/jpeg",
                "size_bytes": 8919.0,
                "updated_on": "2020-06-18T07:59:08.886941Z"
            },
            "primary": {
                "name": "pLu2LT9QuFn0DHbocjVA_5363284736_6cbc238cdf_o.jpg",
                "url": "https://ucarecdn.com/4dd56ac1-2fce-4568-9f9c-fb59a946bab3/pLu2LT9QuFn0DHbocjVA_5363284736_6cbc238cdf_o.jpg",
                "mime_type": "image/jpeg",
                "size_bytes": 8919.0,
                "updated_on": "2020-06-18T07:59:08.821675Z"
            },
            "banner": {
                "name": "PhyKIXBhTkSjFgqfioxy_5363284736_6cbc238cdf_o.jpg",
                "url": "https://ucarecdn.com/bcd645b2-b56d-4b39-8053-ad09711432e1/PhyKIXBhTkSjFgqfioxy_5363284736_6cbc238cdf_o.jpg",
                "mime_type": "image/jpeg",
                "size_bytes": 13867.0,
                "updated_on": "2020-06-18T07:59:08.932368Z"
            },
            "supplemental": [{
                "name": "PhyKIXBhTkSjFgqfioxy_5363284736_6cbc238cdf_o.jpg",
                "url": "https://ucarecdn.com/bcd645b2-b56d-4b39-8053-ad09711432e1/PhyKIXBhTkSjFgqfioxy_5363284736_6cbc238cdf_o.jpg",
                "mime_type": "image/jpeg",
                "size_bytes": 13867.0,
                "updated_on": "2020-06-18T07:59:08.932368Z"
            }]
        },
        "barcode": "",
        "thc_cbd_ratio": ""
    }],
    "batches": [{
        "uuid": "<uuid>",
        "name": "WAJ416334.INSZ7OL",
        "regulatory_id": "WAJ416334.INSZ7OL",
        "produced_on": "2021-01-14T12:27:47-08:00",
        "digital_coas": [
            {
                "uuid": "<uuid>",
                "testing_laboratory": {
                    "name": "Testing Technologies",
                    "street_address_1": "",
                    "street_address_2": "",
                    "city": "",
                    "state": "WA",
                    "postal_code": "",
                    "license": "",
                    "license_issued_on": null,
                    "license_expires_on": null,
                    "license_heavy_metal_testing": "",
                    "license_heavy_metal_testing_issued_on": null,
                    "license_heavy_metal_testing_expires_on": null,
                    "license_microbial_contaminate_testing": "",
                    "license_microbial_contaminate_testing_issued_on": null,
                    "license_microbial_contaminate_testing_expires_on": null,
                    "license_mycotoxin_contaminate_testing": "",
                    "license_mycotoxin_contaminate_testing_issued_on": null,
                    "license_mycotoxin_contaminate_testing_expires_on": null,
                    "license_pesticide_testing": "",
                    "license_pesticide_testing_issued_on": null,
                    "license_pesticide_testing_expires_on": null,
                    "license_potency_homogeneity_testing": "",
                    "license_potency_homogeneity_testing_issued_on": null,
                    "license_potency_homogeneity_testing_expires_on": null,
                    "license_residual_solvents_contaminate_testing": "",
                    "license_residual_solvents_contaminate_testing_issued_on": null,
                    "license_residual_solvents_contaminate_testing_expires_on": null
                },
                "sample_received_on": null,
                "report_created_on": "2021-01-15",
                "report_expires_on": null,
                "certificate_url": "https://ucarecdn.com/655bcf09-9414-4eec-8b4f-1b1404a061b5/",
                "totals": {
                    "total_active_cannabinoids": {
                        "name": "Total active cannabinoids",
                        "value": "23.0000",
                        "unit": "mg/g"
                    },
                    "total_potential_thc": {
                        "name": "Total potential THC",
                        "value": null,
                        "unit": ""
                    },
                    "total_thc": {
                        "name": "Total THC",
                        "value": "18.1000",
                        "unit": "%"
                    },
                    "total_potential_cbd": {
                        "name": "Total potential CBD",
                        "value": null,
                        "unit": ""
                    },
                    "total_cbd": {
                        "name": "Total CBD",
                        "value": "2.8000",
                        "unit": "%"
                    },
                    "total_terpenes": {
                        "name": "Total terpenes",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_performed": {
                    "cannabinoid_potency_tests": "pass",
                    "filth_and_foreign_material_tests": "not_tested",
                    "heavy_metals_tests": "not_tested",
                    "homogeneity_tests": "not_tested",
                    "microbials_tests": "not_tested",
                    "moisture_content_tests": "not_tested",
                    "mycotoxins_tests": "not_tested",
                    "pesticides_tests": "not_tested",
                    "residual_solvents_tests": "not_tested",
                    "terpene_profiling_tests": "not_tested",
                    "water_activity_tests": "not_tested",
                    "ph_tests": "not_tested",
                    "chemical_residue_tests": "pass"
                },
                "tests_cannabinoids": {
                    "d8thc": {
                        "name": "d8-THC",
                        "value": null,
                        "unit": ""
                    },
                    "d9thc": {
                        "name": "d9-THC",
                        "value": "3.2000",
                        "unit": "mg/g"
                    },
                    "thca": {
                        "name": "THCa",
                        "value": "17.0000",
                        "unit": "mg/g"
                    },
                    "thcv": {
                        "name": "THCV",
                        "value": "0.2000",
                        "unit": "%"
                    },
                    "thcva": {
                        "name": "THCVa",
                        "value": null,
                        "unit": ""
                    },
                    "cbc": {
                        "name": "CBC",
                        "value": "0.1000",
                        "unit": "%"
                    },
                    "cbca": {
                        "name": "CBCa",
                        "value": null,
                        "unit": ""
                    },
                    "cbd": {
                        "name": "CBD",
                        "value": "2.8000",
                        "unit": "mg/g"
                    },
                    "cbda": {
                        "name": "CBDa",
                        "value": "0.0000",
                        "unit": "mg/g"
                    },
                    "cbdn": {
                        "name": "CBDN",
                        "value": null,
                        "unit": ""
                    },
                    "cbdna": {
                        "name": "CBDNa",
                        "value": null,
                        "unit": ""
                    },
                    "cbdv": {
                        "name": "CBDV",
                        "value": null,
                        "unit": ""
                    },
                    "cbdva": {
                        "name": "CBDVa",
                        "value": null,
                        "unit": ""
                    },
                    "cbg": {
                        "name": "CBG",
                        "value": "0.2000",
                        "unit": "%"
                    },
                    "cbga": {
                        "name": "CBGa",
                        "value": "1.0000",
                        "unit": "%"
                    },
                    "cbgv": {
                        "name": "CBGv",
                        "value": null,
                        "unit": ""
                    },
                    "cbl": {
                        "name": "CBL",
                        "value": null,
                        "unit": ""
                    },
                    "cbt": {
                        "name": "CBT",
                        "value": null,
                        "unit": ""
                    },
                    "cbn": {
                        "name": "CBN",
                        "value": null,
                        "unit": ""
                    },
                    "vitamin_e": {
                        "name": "Vitamin E",
                        "value": null,
                        "unit": ""
                    },
                    "vitamin_e_acetate": {
                        "name": "Vitamin E Acetate",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_terpenes": {
                    "acetate": {
                        "name": "Acetate",
                        "value": null,
                        "unit": ""
                    },
                    "geranyl_acetate": {
                        "name": "Geranyl Acetate",
                        "value": null,
                        "unit": ""
                    },
                    "alpha_caryophyllene": {
                        "name": "Alpha Caryophyllene",
                        "value": null,
                        "unit": ""
                    },
                    "alpha_pinene": {
                        "name": "Alpha Pinene",
                        "value": null,
                        "unit": ""
                    },
                    "beta_pinene": {
                        "name": "Beta Pinene",
                        "value": null,
                        "unit": ""
                    },
                    "alpha_bisabolol": {
                        "name": "Alpha Bisabolol (Bisabolol)",
                        "value": null,
                        "unit": ""
                    },
                    "borneol": {
                        "name": "Borneol",
                        "value": null,
                        "unit": ""
                    },
                    "camphene": {
                        "name": "Camphene",
                        "value": null,
                        "unit": ""
                    },
                    "camphor": {
                        "name": "Camphor",
                        "value": null,
                        "unit": ""
                    },
                    "carene": {
                        "name": "Carene",
                        "value": null,
                        "unit": ""
                    },
                    "beta_caryophyllene": {
                        "name": "Beta Caryophyllene (Caryophyllene)",
                        "value": null,
                        "unit": ""
                    },
                    "alpha_cedrene": {
                        "name": "Alpha Cedrene",
                        "value": null,
                        "unit": ""
                    },
                    "beta_cedrene": {
                        "name": "Beta Cedrene",
                        "value": null,
                        "unit": ""
                    },
                    "cedrol": {
                        "name": "Cedrol",
                        "value": null,
                        "unit": ""
                    },
                    "p_cymene": {
                        "name": "P-Cymene",
                        "value": null,
                        "unit": ""
                    },
                    "o_cymene": {
                        "name": "O-Cymene",
                        "value": null,
                        "unit": ""
                    },
                    "m_cymene": {
                        "name": "M-Cymene",
                        "value": null,
                        "unit": ""
                    },
                    "eucalyptol": {
                        "name": "Eucalyptol",
                        "value": null,
                        "unit": ""
                    },
                    "fenchol": {
                        "name": "Fenchol",
                        "value": null,
                        "unit": ""
                    },
                    "fenchone": {
                        "name": "Fenchone",
                        "value": null,
                        "unit": ""
                    },
                    "gamma_terpinene": {
                        "name": "Gamma Terpinene",
                        "value": null,
                        "unit": ""
                    },
                    "geraniol": {
                        "name": "Geraniol",
                        "value": null,
                        "unit": ""
                    },
                    "geranyl": {
                        "name": "Geranyl",
                        "value": null,
                        "unit": ""
                    },
                    "guaiol": {
                        "name": "Guaiol",
                        "value": null,
                        "unit": ""
                    },
                    "alpha_humulene": {
                        "name": "Alpha Humulene",
                        "value": null,
                        "unit": ""
                    },
                    "sabinene_hydrate": {
                        "name": "Sabinene Hydrate",
                        "value": null,
                        "unit": ""
                    },
                    "isoborneol": {
                        "name": "Isoborneol",
                        "value": null,
                        "unit": ""
                    },
                    "isopulegol": {
                        "name": "Isopulegol",
                        "value": null,
                        "unit": ""
                    },
                    "limonene": {
                        "name": "Limonene",
                        "value": null,
                        "unit": ""
                    },
                    "d_limonene": {
                        "name": "Delta Limonene",
                        "value": null,
                        "unit": ""
                    },
                    "linalool": {
                        "name": "Linalool",
                        "value": null,
                        "unit": ""
                    },
                    "menthol": {
                        "name": "Menthol",
                        "value": null,
                        "unit": ""
                    },
                    "beta_myrcene": {
                        "name": "Beta Myrcene (Myrcene)",
                        "value": null,
                        "unit": ""
                    },
                    "nerol": {
                        "name": "Nerol",
                        "value": null,
                        "unit": ""
                    },
                    "cis_nerolidol": {
                        "name": "Cis Nerolidol",
                        "value": null,
                        "unit": ""
                    },
                    "trans_nerolidol": {
                        "name": "Trans Nerolidol",
                        "value": null,
                        "unit": ""
                    },
                    "alpha_ocimene": {
                        "name": "Alpha Ocimene",
                        "value": null,
                        "unit": ""
                    },
                    "beta_ocimene": {
                        "name": "Beta Ocimene",
                        "value": null,
                        "unit": ""
                    },
                    "oxide": {
                        "name": "Oxide",
                        "value": null,
                        "unit": ""
                    },
                    "phellandrene": {
                        "name": "Phellandrene",
                        "value": null,
                        "unit": ""
                    },
                    "pulegone": {
                        "name": "Pulegone",
                        "value": null,
                        "unit": ""
                    },
                    "sabinene": {
                        "name": "Sabinene",
                        "value": null,
                        "unit": ""
                    },
                    "alpha_terpinene": {
                        "name": "Alpha Terpinene",
                        "value": null,
                        "unit": ""
                    },
                    "terpinolene": {
                        "name": "Terpinolene",
                        "value": null,
                        "unit": ""
                    },
                    "valencene": {
                        "name": "Valencene",
                        "value": null,
                        "unit": ""
                    },
                    "caryophyllene_oxide": {
                        "name": "Caryophyllene Oxide",
                        "value": null,
                        "unit": ""
                    },
                    "alpha_terpineol": {
                        "name": "Alpha Terpineol (Terpineol)",
                        "value": null,
                        "unit": ""
                    },
                    "gamma_terpineol": {
                        "name": "Gamma Terpineol",
                        "value": null,
                        "unit": ""
                    },
                    "paren_dash_paren_beta_pinene": {
                        "name": "(-)-Beta Pinene",
                        "value": null,
                        "unit": ""
                    },
                    "paren_dash_paren_guaiol": {
                        "name": "(-)-Guaiol",
                        "value": null,
                        "unit": ""
                    },
                    "citral": {
                        "name": "Citral",
                        "value": null,
                        "unit": ""
                    },
                    "citronellol": {
                        "name": "Citronellol",
                        "value": null,
                        "unit": ""
                    },
                    "dihydrocarveol": {
                        "name": "Dihydrocarveol",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_residual_solvents": {
                    "solvent_acetone": {
                        "name": "Acetone",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_acetonitrile": {
                        "name": "Acetonitrile",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_benzene": {
                        "name": "Benzene",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_butane": {
                        "name": "Butane",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_chloroform": {
                        "name": "Chloroform",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_dichloro_ethane": {
                        "name": "1,2-Dichloro-Ethane",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_ethanol": {
                        "name": "Ethanol",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_ethylene_oxide": {
                        "name": "Ethylene Oxide",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_ethyl_acetate": {
                        "name": "Ethyl-Acetate",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_ethyl_ether": {
                        "name": "Ethyl-Ether",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_heptane": {
                        "name": "Heptane",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_propan_2_ol": {
                        "name": "Propan-2-ol (Isopropanol)",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_p_mentha_1_5_diene": {
                        "name": "P-Mentha-1,5-Diene",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_methanol": {
                        "name": "Methanol",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_methylene_chloride": {
                        "name": "Methylene-Chloride",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_m_p_xylene": {
                        "name": "m,p-Xylene",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_n_hexane": {
                        "name": "n-Hexane",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_o_xylene": {
                        "name": "o-Xylene",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_pentane": {
                        "name": "Pentane",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_propane": {
                        "name": "Propane",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_toluene": {
                        "name": "Toluene",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_trichloroethene": {
                        "name": "Trichloroethene",
                        "value": null,
                        "unit": ""
                    },
                    "solvent_xylenes": {
                        "name": "Xylenes",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_pesticides": {
                    "pesticide_abamectin": {
                        "name": "Abamectin",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_acephate": {
                        "name": "Acephate",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_acequinocyl": {
                        "name": "Acequinocyl",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_acetamiprid": {
                        "name": "Acetamiprid",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_aldicarb": {
                        "name": "Aldicarb",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_avermectin_b1a": {
                        "name": "Avermectin B1a",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_avermectin_b1b": {
                        "name": "Avermectin B1b",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_azoxystrobin": {
                        "name": "Azoxystrobin",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_bifenazate": {
                        "name": "Bifenazate",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_bifenthrin": {
                        "name": "Bifenthrin",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_boscalid": {
                        "name": "Boscalid",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_captan": {
                        "name": "Captan",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_carbaryl": {
                        "name": "Carbaryl",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_carbofuran": {
                        "name": "Carbofuran",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_chlorantraniliprole": {
                        "name": "Chlorantraniliprole",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_chlordane": {
                        "name": "Chlordane",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_chlorfenapyr": {
                        "name": "Chlorfenapyr",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_chlorpyrifos": {
                        "name": "Chlorpyrifos",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_clofentezine": {
                        "name": "Clofentezine",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_coumaphos": {
                        "name": "Coumaphos",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_cyfluthrin": {
                        "name": "Cyfluthrin",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_beta_cyfluthrin": {
                        "name": "Beta Cyfluthrin",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_cypermethrin": {
                        "name": "Cypermethrin",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_daminozide": {
                        "name": "Daminozide",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_ddvp": {
                        "name": "DDVP",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_diazinon": {
                        "name": "Diazinon",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_dimethoate": {
                        "name": "Dimethoate",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_dimethomorph": {
                        "name": "Dimethomorph",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_dimethomorph_i": {
                        "name": "Dimethomorph I",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_dimethomorph_ii": {
                        "name": "Dimethomorph II",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_ethoprophos": {
                        "name": "Ethoprophos",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_etofenprox": {
                        "name": "Etofenprox",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_etoxazole": {
                        "name": "Etoxazole",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_fenhexamid": {
                        "name": "Fenhexamid",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_fenoxycarb": {
                        "name": "Fenoxycarb",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_fenpyroximate": {
                        "name": "Fenpyroximate",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_fipronil": {
                        "name": "Fipronil",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_flonicamid": {
                        "name": "Flonicamid",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_fludioxonil": {
                        "name": "Fludioxonil",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_hexythiazox": {
                        "name": "Hexythiazox",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_imazalil": {
                        "name": "Imazalil",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_imidacloprid": {
                        "name": "Imidacloprid",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_kresoxim_methyl": {
                        "name": "Kresoxim Methyl",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_malathion": {
                        "name": "Malathion",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_metalaxyl": {
                        "name": "Metalaxyl",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_methiocarb": {
                        "name": "Methiocarb",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_methomyl": {
                        "name": "Methomyl",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_methyl_parathion": {
                        "name": "Methyl Parathion",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_mevinphos": {
                        "name": "Mevinphos",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_myclobutanil": {
                        "name": "Myclobutanil",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_naled": {
                        "name": "Naled",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_oxamyl": {
                        "name": "Oxamyl",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_paclobutrazol": {
                        "name": "Paclobutrazol",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_pentachloronitrobenzene": {
                        "name": "Pentachloronitrobenzene",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_permethrin": {
                        "name": "Permethrin",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_phosmet": {
                        "name": "Phosmet",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_piperonyl_butoxide": {
                        "name": "Piperonyl Butoxide",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_prallethrin": {
                        "name": "Prallethrin",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_propiconazole": {
                        "name": "Propiconazole",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_propoxur": {
                        "name": "Propoxur",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_pyrethrin_i": {
                        "name": "Pyrethrin I",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_pyrethrin_ii": {
                        "name": "Pyrethrin II (Pyrethrin)",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_pyridaben": {
                        "name": "Pyridaben",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_spinetoram": {
                        "name": "Spinetoram",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_spinetoram_j": {
                        "name": "Spinetoram J",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_spinetoram_l": {
                        "name": "Spinetoram L",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_spinosad": {
                        "name": "Spinosad",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_spinosyn_a": {
                        "name": "Spinosyn A",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_spinosyn_d": {
                        "name": "Spinosyn D",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_spiromesifen": {
                        "name": "Spiromesifen",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_spirotetramat": {
                        "name": "Spirotetramat",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_spiroxamine": {
                        "name": "Spiroxamine",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_tebuconazole": {
                        "name": "Tebuconazole",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_thiacloprid": {
                        "name": "Thiacloprid",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_thiamethoxam": {
                        "name": "Thiamethoxam",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_trifloxystrobin": {
                        "name": "Trifloxystrobin",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_dichlorvos": {
                        "name": "Dichlorvos",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_pcnb": {
                        "name": "PCNB",
                        "value": null,
                        "unit": ""
                    },
                    "pesticide_quintozene": {
                        "name": "Quintozene",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_heavy_metals": {
                    "heavy_metal_arsenic": {
                        "name": "Arsenic",
                        "value": null,
                        "unit": ""
                    },
                    "heavy_metal_cadmium": {
                        "name": "Cadmium",
                        "value": null,
                        "unit": ""
                    },
                    "heavy_metal_mercury": {
                        "name": "Mercury",
                        "value": null,
                        "unit": ""
                    },
                    "heavy_metal_lead": {
                        "name": "Lead",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_mycotoxins": {
                    "mycotoxins_ochratoxin_a": {
                        "name": "Ochratoxin A",
                        "value": null,
                        "unit": ""
                    },
                    "mycotoxins_aflatoxins_b1_2_g1_2": {
                        "name": "Aflatoxins-B1-2-G1-2",
                        "value": null,
                        "unit": ""
                    },
                    "mycotoxins_aflatoxins_total": {
                        "name": "Total Aflatoxins",
                        "value": null,
                        "unit": ""
                    },
                    "mycotoxins_aflatoxins_b1": {
                        "name": "Aflatoxins B1",
                        "value": null,
                        "unit": ""
                    },
                    "mycotoxins_aflatoxins_b2": {
                        "name": "Aflatoxins B2",
                        "value": null,
                        "unit": ""
                    },
                    "mycotoxins_aflatoxins_g1": {
                        "name": "Aflatoxins G1",
                        "value": null,
                        "unit": ""
                    },
                    "mycotoxins_aflatoxins_g2": {
                        "name": "Aflatoxins G2",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_microbials": {
                    "microbial_a_fumigatus": {
                        "name": "A.fumigatus",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_a_flavus": {
                        "name": "A. flavus",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_a_niger": {
                        "name": "A. niger",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_a_terreus": {
                        "name": "A. terreus",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_stec": {
                        "name": "STEC",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_salmonella_spp": {
                        "name": "Salmonella spp",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_staphylococcus_aureus": {
                        "name": "Staphylococcus Aureus",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_ecoli": {
                        "name": "Ecoli",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_coliforms": {
                        "name": "Coliforms",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_btgn_bacteria": {
                        "name": "BTGN Bacteria",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_yeast_and_mold": {
                        "name": "Yeast and Mold",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_aerobic_bacteria": {
                        "name": "Aerobic Bacteria",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_aspergillus_niger": {
                        "name": "Aspergillus Niger",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_aspergillus_flavus": {
                        "name": "Aspergillus Flavus",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_aspergillus_terreus": {
                        "name": "Aspergillus Terreus",
                        "value": null,
                        "unit": ""
                    },
                    "microbial_aspergillus_fumigatus": {
                        "name": "Aspergillus Fumigatus",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_filth_and_foreign_material": {
                    "fnf_material_sscd": {
                        "name": "SSCD",
                        "value": null,
                        "unit": ""
                    },
                    "fnf_material_mol": {
                        "name": "Mold",
                        "value": null,
                        "unit": ""
                    },
                    "fnf_material_if_rh_me": {
                        "name": "IF RH ME",
                        "value": null,
                        "unit": ""
                    },
                    "fnf_material_ifm": {
                        "name": "IFM",
                        "value": null,
                        "unit": ""
                    },
                    "fnf_material_other": {
                        "name": "Other Foreign Matter",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_moisture_content": {
                    "moisture_content": {
                        "name": "Moisture Content",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_water_activity": {
                    "aw": {
                        "name": "aW",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_ph": {
                    "ph": {
                        "name": "pH",
                        "value": null,
                        "unit": ""
                    }
                },
                "tests_homogeneity": {
                    "homogeneity": {
                        "name": "Homogeneity",
                        "value": null,
                        "unit": ""
                    }
                }
            }
        ],
        "updated_on": "2021-01-20T08:17:00.597205-08:00"
    }],
    "cases": [{
       "uuid": "<uuid>",
       "identifier": "identifier-123",
       "name": "test",
       "collection_type": "case",
       "added_on": "2021-02-10T05:35:04.607692Z",
       "items": [{
            "lucid_id": "<uuid>",
            "added_on": "2021-02-10T05:35:04.614987Z"
        }, {
            "lucid_id": "<uuid>",
            "added_on": "2021-02-10T05:35:04.614987Z"
        }, {
            "lucid_id": "<uuid>",
            "added_on": "2021-02-10T05:35:04.614987Z"
        }]
    }, {
       "uuid": "<uuid>",
       "identifier": "identifier-124",
       "name": "test2",
       "collection_type": "case",
       "added_on": "2021-02-10T05:35:04.607692Z",
       "items": [{
            "lucid_id": "<uuid>",
            "added_on": "2021-02-10T05:35:04.614987Z"
        }]
    }],
    "regulator_ids": [{
        "uuid": "<uuid>",
        "name": "METRC Child ID",
        "identifier": "1Aru39diwjeiopw2",
        "added_on": "2021-02-10T05:35:04.607692Z"
    }, {
        "uuid": "<uuid>",
        "name": "METRC Child ID",
        "identifier": "1Af32i0jf320jf932",
        "added_on": "2021-02-08T05:35:04.607692Z"
    }],
    "items": [{
        "lucid_id": "<uuid>", 
        "brand_uuid": "<uuid>", 
        "product_uuid": "<uuid>", 
        "batch_uuid": "<uuid>",
        "regulator_id_uuids": ["<uuid>"],
        "cases": ["<uuid>"]
    }, {
        "lucid_id": "<uuid>", 
        "brand_uuid": "<uuid>", 
        "product_uuid": "<uuid>", 
        "batch_uuid": "<uuid>",
        "regulator_id_uuids": ["<uuid>"],
        "cases": ["<uuid>", "<uuid>"]
    }, {
        "lucid_id": "<uuid>", 
        "brand_uuid": "<uuid>", 
        "product_uuid": "<uuid>", 
        "batch_uuid": "<uuid>",
        "regulator_id_uuids": ["<uuid>"],
        "cases": ["<uuid>"]
    }]
}