{
  "tenant": "Retailer A",
  "site": "Pune Distribution Centre",
  "siteCode": "WH01",
  "sandbox": true,
  "workflow": {
    "id": "wf_ret-a_inward",
    "version": "1.0",
    "name": "Inward Movement with Bulk Encoding and User Acceptance"
  },
  "po": "PO-RET-A-260720-001",
  "roles": [
    {
      "role": "dc_operator",
      "roleName": "DC Operator",
      "scope": "WH01",
      "dashboardVariant": "warehouse",
      "navigation": [
        {
          "key": "dashboard",
          "label": "Dashboard"
        },
        {
          "key": "operations",
          "label": "Operations"
        },
        {
          "key": "exceptions",
          "label": "Exceptions"
        },
        {
          "key": "traceability",
          "label": "Tag / Object Traceability"
        },
        {
          "key": "devices",
          "label": "Devices"
        }
      ],
      "canOperate": true,
      "canApprove": false,
      "readOnly": false,
      "permissions": [
        "operate",
        "scan",
        "encode",
        "hold",
        "rescan"
      ]
    },
    {
      "role": "dc_manager",
      "roleName": "DC Manager",
      "scope": "WH01",
      "dashboardVariant": "warehouse",
      "navigation": [
        {
          "key": "dashboard",
          "label": "Dashboard"
        },
        {
          "key": "operations",
          "label": "Operations"
        },
        {
          "key": "exceptions",
          "label": "Exceptions"
        },
        {
          "key": "traceability",
          "label": "Tag / Object Traceability"
        },
        {
          "key": "reports",
          "label": "Reports"
        },
        {
          "key": "devices",
          "label": "Devices"
        }
      ],
      "canOperate": true,
      "canApprove": true,
      "readOnly": false,
      "permissions": [
        "operate",
        "approveException",
        "reject",
        "retryPosting",
        "viewReports"
      ]
    },
    {
      "role": "zonal_manager",
      "roleName": "Customer Zonal Manager",
      "scope": "WZ",
      "dashboardVariant": "zonal",
      "navigation": [
        {
          "key": "dashboard",
          "label": "Dashboard"
        },
        {
          "key": "reports",
          "label": "Reports"
        },
        {
          "key": "devices",
          "label": "Devices"
        }
      ],
      "canOperate": false,
      "canApprove": false,
      "readOnly": true,
      "permissions": [
        "viewConsolidated",
        "viewReports"
      ]
    },
    {
      "role": "auditor",
      "roleName": "Customer Auditor",
      "scope": "assigned",
      "dashboardVariant": "audit",
      "navigation": [
        {
          "key": "dashboard",
          "label": "Dashboard"
        },
        {
          "key": "exceptions",
          "label": "Exceptions"
        },
        {
          "key": "traceability",
          "label": "Tag / Object Traceability"
        },
        {
          "key": "reports",
          "label": "Reports"
        }
      ],
      "canOperate": false,
      "canApprove": false,
      "readOnly": true,
      "permissions": [
        "read",
        "trace"
      ]
    },
    {
      "role": "customer_admin",
      "roleName": "Customer Admin",
      "scope": "RET-A",
      "dashboardVariant": "warehouse",
      "navigation": [
        {
          "key": "dashboard",
          "label": "Dashboard"
        },
        {
          "key": "administration",
          "label": "Administration"
        }
      ],
      "canOperate": false,
      "canApprove": false,
      "readOnly": false,
      "permissions": [
        "manageUsers",
        "manageAssignments",
        "customerSettings"
      ]
    }
  ],
  "summary": {
    "received": 6,
    "accepted": 4,
    "onHold": 2,
    "items": 200
  },
  "operations": {
    "queue": [
      {
        "hu": "HU-260720-001",
        "asn": "ASN-RET-A-260720-001",
        "product": "Polo T-Shirt / Navy / M",
        "ean": "8901234567890",
        "expected": 50,
        "detected": 50,
        "encoded": 50,
        "verified": 50,
        "status": "Accepted",
        "reason": null,
        "deviceStates": [
          "Idle",
          "Preparing",
          "Ready",
          "Scanning",
          "Encoding",
          "Verifying",
          "Complete"
        ]
      },
      {
        "hu": "HU-260720-002",
        "asn": "ASN-RET-A-260720-001",
        "product": "Polo T-Shirt / Navy / L",
        "ean": "8901234567807",
        "expected": 50,
        "detected": 50,
        "encoded": 50,
        "verified": 50,
        "status": "Accepted",
        "reason": null,
        "deviceStates": [
          "Idle",
          "Preparing",
          "Ready",
          "Scanning",
          "Encoding",
          "Verifying",
          "Complete"
        ]
      },
      {
        "hu": "HU-260720-003",
        "asn": "ASN-RET-A-260720-001",
        "product": "Casual Top / White / M",
        "ean": "8901234567814",
        "expected": 50,
        "detected": 50,
        "encoded": 50,
        "verified": 50,
        "status": "Accepted",
        "reason": null,
        "deviceStates": [
          "Idle",
          "Preparing",
          "Ready",
          "Scanning",
          "Encoding",
          "Verifying",
          "Complete"
        ]
      },
      {
        "hu": "HU-260720-004",
        "asn": "ASN-RET-A-260720-002",
        "product": "Casual Top / Blue / L",
        "ean": "8901234567821",
        "expected": 50,
        "detected": 49,
        "encoded": 0,
        "verified": 0,
        "status": "On Hold",
        "reason": "Count mismatch — expected 50, found 49",
        "deviceStates": [
          "Idle",
          "Preparing",
          "Ready",
          "Scanning"
        ]
      },
      {
        "hu": "HU-260720-005",
        "asn": "ASN-RET-A-260720-002",
        "product": "Running Shoe / Black / 8",
        "ean": "8901234567838",
        "expected": 50,
        "detected": 50,
        "encoded": 0,
        "verified": 0,
        "status": "On Hold",
        "reason": "Unrecognised tag (not in product master)",
        "deviceStates": [
          "Idle",
          "Preparing",
          "Ready",
          "Scanning"
        ]
      },
      {
        "hu": "HU-260720-006",
        "asn": "ASN-RET-A-260720-002",
        "product": "Running Shoe / Black / 9",
        "ean": "8901234567845",
        "expected": 50,
        "detected": 50,
        "encoded": 50,
        "verified": 50,
        "status": "Accepted",
        "reason": null,
        "deviceStates": [
          "Idle",
          "Preparing",
          "Ready",
          "Scanning",
          "Encoding",
          "Verifying",
          "Complete"
        ]
      }
    ],
    "active": {
      "hu": "HU-260720-001",
      "asn": "ASN-RET-A-260720-001",
      "product": "Polo T-Shirt / Navy / M",
      "ean": "8901234567890",
      "expected": 50,
      "detected": 50,
      "encoded": 50,
      "verified": 50,
      "status": "Accepted",
      "reason": null,
      "deviceStates": [
        "Idle",
        "Preparing",
        "Ready",
        "Scanning",
        "Encoding",
        "Verifying",
        "Complete"
      ],
      "session": "DS-BX-TN-WH01-01-sim",
      "device": "BX-TN-WH01-01",
      "deviceClass": "tunnel",
      "stages": [
        {
          "stage": "TID count verification",
          "done": true
        },
        {
          "stage": "EPC generation",
          "done": true
        },
        {
          "stage": "Bulk encode",
          "done": true
        },
        {
          "stage": "Read-back verification",
          "done": true
        }
      ],
      "health": [
        "Idle",
        "Preparing",
        "Ready",
        "Scanning",
        "Encoding",
        "Verifying",
        "Complete"
      ],
      "currentHealth": "Complete"
    }
  },
  "exceptions": [
    {
      "hu": "HU-260720-004",
      "product": "Casual Top / Blue / L",
      "issue": "Count mismatch — expected 50, found 49",
      "action": "Awaiting operator review"
    },
    {
      "hu": "HU-260720-005",
      "product": "Running Shoe / Black / 8",
      "issue": "Unrecognised tag (not in product master)",
      "action": "Awaiting operator review"
    }
  ]
}