MesEvent (v1.0.0)

ISA-95 shop-floor transaction event

An ISA-95 Part 2/4 shop-floor event covering production, quality, inventory, maintenance, and personnel activity. Each event records a single action on the factory floor — part produced, scrapped, reworked, machine status changes, operator activity, and more.

Key Fields

FieldTypeDescription
eventIdstringUnique event identifier (UUID)
eventCategoryenumPRODUCTION, QUALITY, INVENTORY, MAINTENANCE, PERSONNEL
eventTypeenumPRODUCED, SCRAPPED, REWORKED, INSPECTION_PASS, INSPECTION_FAIL, HOLD, RELEASE, MATERIAL_LOADED, MATERIAL_CONSUMED, WIP_TRANSFER, MACHINE_DOWN, MACHINE_UP, CHANGEOVER_START, CHANGEOVER_END, SETUP_COMPLETE, OPERATOR_CHECK_IN, OPERATOR_CHECK_OUT, OPERATOR_BREAK
lineIdstringISA-95 Work Unit identifier (production line, Kafka key)
equipmentIdstring (nullable)Machine or workcenter within the work unit
workOrderIdstring (nullable)Job / Work Order identifier
materialDefinitionIdstring (nullable)Product / part number definition
partIdstringPhysical part instance identifier
quantityintNumber of units (default: 1)
uomstringUnit of measure (default: EA)
operatorIdstring (nullable)Operator who performed the activity
reasonCodestring (nullable)Reason code for SCRAPPED, REWORKED, INSPECTION_FAIL, MACHINE_DOWN, HOLD events
timestamplongEvent timestamp (epoch ms, UTC)
customFieldsmap<string, string>Extension attributes for site-specific data

Example

{
"eventId": "evt-20260403-084512-a1b2",
"eventCategory": "PRODUCTION",
"eventType": "SCRAPPED",
"lineId": "LINE-A",
"equipmentId": "CNC-LATHE-01",
"workOrderId": "WO-2026-0403-001",
"materialDefinitionId": "SHAFT-ASSY-100",
"partId": "PART-20260403-084512-0042",
"quantity": 1,
"uom": "EA",
"operatorId": "OP-042",
"reasonCode": "DIM_OUT_OF_SPEC",
"timestamp": 1743667512000,
"customFields": {}
}