{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Request001",
    "description": "Comment describing your JSON Schema",
    "type": "object",
    "properties": {
        "correlationGuid": {
            "type": "string",
            "example": "59bc5c88-15f7-49a7-9687-73b05d2c50a4",
            "pattern": "^[a-f\\d]{8}-[a-f\\d]{4}-4[a-f\\d]{3}-[89ab][a-f\\d]{3}-[a-f\\d]{12}$"
        },
        "requestorGLN": {
            "type": "string",
            "minLength": 13,
            "maxLength": 13,
            "example": 9071404000003
        },
        "data": {
            "type": "object",
            "required": [
                "lotNum",
                "expiry"
            ],
            "properties": {
                "lotNum": {
                    "type": "string",
                    "description": "Lot number for the asset to be verified",
                    "example": "LZ109B15"
                },
                "expiry": {
                    "type": "string",
                    "description": "Date of expiry for the item to be looked up in format YYMMDD",
                    "minLength": 6,
                    "maxLength": 6,
                    "example": 221203
                }
            }
        }
    },
    "Request001": {
        "required": [
            "correlationGuid",
            "requestorGLN",
            "data"
        ]
    }
}