{
  "sessionId": "session-fixture",
  "description": "Ordered event stream sample for one worker-backed session.",
  "events": [
    {
      "family": "MX_EVENT_FAMILY_ON_DATA_CHANGE",
      "sessionId": "session-fixture",
      "serverHandle": 12,
      "itemHandle": 34,
      "value": {
        "dataType": "MX_DATA_TYPE_INTEGER",
        "variantType": "VT_I4",
        "int32Value": 123
      },
      "quality": 192,
      "sourceTimestamp": "2026-01-01T00:00:00Z",
      "statuses": [
        {
          "success": 1,
          "category": "MX_STATUS_CATEGORY_OK",
          "detectedBy": "MX_STATUS_SOURCE_RESPONDING_LMX",
          "detail": 0,
          "rawCategory": 0,
          "rawDetectedBy": 0,
          "diagnosticText": "OK"
        }
      ],
      "workerSequence": "1",
      "workerTimestamp": "2026-01-01T00:00:00.010Z",
      "gatewayReceiveTimestamp": "2026-01-01T00:00:00.015Z",
      "onDataChange": {}
    },
    {
      "family": "MX_EVENT_FAMILY_ON_WRITE_COMPLETE",
      "sessionId": "session-fixture",
      "serverHandle": 12,
      "itemHandle": 34,
      "value": {
        "dataType": "MX_DATA_TYPE_DOUBLE",
        "variantType": "VT_R8",
        "doubleValue": 45.5
      },
      "quality": 192,
      "sourceTimestamp": "2026-01-01T00:00:01Z",
      "statuses": [
        {
          "success": 1,
          "category": "MX_STATUS_CATEGORY_OK",
          "detectedBy": "MX_STATUS_SOURCE_RESPONDING_LMX",
          "detail": 0,
          "rawCategory": 0,
          "rawDetectedBy": 0,
          "diagnosticText": "Write complete."
        }
      ],
      "workerSequence": "2",
      "workerTimestamp": "2026-01-01T00:00:01.010Z",
      "gatewayReceiveTimestamp": "2026-01-01T00:00:01.015Z",
      "hresult": 0,
      "onWriteComplete": {}
    },
    {
      "family": "MX_EVENT_FAMILY_OPERATION_COMPLETE",
      "sessionId": "session-fixture",
      "serverHandle": 12,
      "itemHandle": 34,
      "value": {
        "dataType": "MX_DATA_TYPE_STRING",
        "variantType": "VT_BSTR",
        "stringValue": "operation-complete"
      },
      "quality": 192,
      "sourceTimestamp": "2026-01-01T00:00:02Z",
      "statuses": [
        {
          "success": 1,
          "category": "MX_STATUS_CATEGORY_OK",
          "detectedBy": "MX_STATUS_SOURCE_RESPONDING_NMX",
          "detail": 0,
          "rawCategory": 0,
          "rawDetectedBy": 0,
          "diagnosticText": "Operation complete."
        }
      ],
      "workerSequence": "3",
      "workerTimestamp": "2026-01-01T00:00:02.010Z",
      "gatewayReceiveTimestamp": "2026-01-01T00:00:02.015Z",
      "operationComplete": {}
    },
    {
      "family": "MX_EVENT_FAMILY_ON_BUFFERED_DATA_CHANGE",
      "sessionId": "session-fixture",
      "serverHandle": 12,
      "itemHandle": 34,
      "value": {
        "dataType": "MX_DATA_TYPE_FLOAT",
        "arrayValue": {
          "elementDataType": "MX_DATA_TYPE_FLOAT",
          "variantType": "VT_ARRAY|VT_R4",
          "dimensions": [
            2
          ],
          "floatValues": {
            "values": [
              1.5,
              2.5
            ]
          }
        }
      },
      "quality": 192,
      "sourceTimestamp": "2026-01-01T00:00:03Z",
      "statuses": [
        {
          "success": 1,
          "category": "MX_STATUS_CATEGORY_OK",
          "detectedBy": "MX_STATUS_SOURCE_RESPONDING_LMX",
          "detail": 0,
          "rawCategory": 0,
          "rawDetectedBy": 0,
          "diagnosticText": "Buffered data delivered."
        }
      ],
      "workerSequence": "4",
      "workerTimestamp": "2026-01-01T00:00:03.010Z",
      "gatewayReceiveTimestamp": "2026-01-01T00:00:03.015Z",
      "onBufferedDataChange": {
        "dataType": "MX_DATA_TYPE_FLOAT",
        "qualityValues": {
          "elementDataType": "MX_DATA_TYPE_INTEGER",
          "variantType": "VT_ARRAY|VT_I4",
          "dimensions": [
            2
          ],
          "int32Values": {
            "values": [
              192,
              192
            ]
          }
        },
        "timestampValues": {
          "elementDataType": "MX_DATA_TYPE_TIME",
          "variantType": "VT_ARRAY|VT_DATE",
          "dimensions": [
            2
          ],
          "timestampValues": {
            "values": [
              "2026-01-01T00:00:02Z",
              "2026-01-01T00:00:03Z"
            ]
          }
        },
        "rawDataType": 5
      }
    }
  ]
}
