Schema: Variety

Schema Definition

{
    "$schema": "http://json-schema.org/schema#",
    "description": "The Variety is sometimes called the Cultivar or Strain. Not all products have a Variety",
    "properties": {
        "id": {
            "description": "Global/Universal Unique Identifier",
            "type": "string"
        },
        "name": {
            "description": "Free-form name of Variety",
            "type": "string"
        },
        "type": {
            "enum": [
                "Hemp",
                "Hybrid",
                "Indica",
                "Sativa",
                "Ruderalis"
            ],
            "type": "string"
        }
    },
    "required": [
        "id",
        "name"
    ],
    "type": "object"
}

Schema Samples