{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "TODO /cc @jofomah",
    "properties": {
        "arrivedAt": {
            "_format": "date-time",
            "type": "string"
        },
        "deliveryPeriod": {
            "type": "string"
        },
        "departedAt": {
            "_format": "date-time",
            "type": "string"
        },
        "doc_type": {
            "pattern": "^facilityRound$",
            "type": "string"
        },
        "facility": {
            "type": "string"
        },
        "note": {
            "type": "string"
        },
        "orderID": {
            "type": "string"
        },
        "pickedProducts": {
            "type": "array"
        },
        "status": {
            "type": "string"
        },
        "survey": {
            "type": "array"
        },
        "version": {
            "_format": "semver",
            "type": "string"
        }
    },
    "required": [
        "doc_type",
        "version",
        "orderID",
        "departedAt",
        "arrivedAt",
        "pickedProducts"
    ],
    "title": "FacilityRound",
    "type": "object"
}