{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "PickedProduct",
    "description": "A specific product within a packing list",
    "type": "object",
    "properties": {
        "doc_type": {
            "type": "string",
            "pattern": "^pickedProduct$"
        },
        "version": {
            "type": "string",
            "format": "semver"
        },
        "expectedQty": {
            "type": "integer"
        },
        "actualQty": {
            "type": "integer"
        },
        "productType": {
            "type": "string"
        }
    },
    "required": [
        "doc_type",
        "version",
        "expectedQty",
        "actualQty",
        "productType"
    ]
}