Product storage conditions metadata

generic.storageConditions is an object, describing product storage conditions. Can contain the following keys:

  • shelfLife — product shelf life, a Measurement object. Valid units: hourdayweekmonthyear.
  • temperature — recommended product storage temperature, a Measurement object. Valid unit: degree_celsius. Often contains ranges (lessThan and greaterThan).
  • humidity — recommended product storage humidity, a Measurement object. Valid unit: percent. Often contains ranges (lessThan and greaterThan).
  • recommendations — other recommendations, an array of strings. Possible values: 
    • cool_place — store in a cool place,
    • dark_place — store in a dark place, 
    • dry_place — store in a dry place,
    • room_temperature — store at a room temperature,
    • avoid_direct_sunlight, refrigerate_after_openingdo_not_freeze.
{
    "product": {
        "metadata": {
            "generic": {
                "storageConditions" : {
                    "shelfLife" : {
                        "equals" : {
                            "value" : "6",
                            "unit" : "month"  // supported values: ["hour", "day", "week", "month", "year"]
                        }
                    },
                    "temperature" : {
                        "greaterThan" : {
                              "value" : "5",
                              "unit" : "degree_celsius"
                        },
                        "lessThan" : {
                            "value" : "22",
                            "unit" : "degree_celsius"
                        }
                    },
                    "humidity" : {
                        "lessThan" : {
                            "value" : "75",
                            "unit" : "percent"
                        }
                    },
                    "recommendations": ["avoid_direct_sunlight", "refrigerate_after_opening"]
                }
            }
        }
    }
}