LineConfig (v1.0.0)

Production line configuration with shift periods

Production line configuration including factory metadata, shift schedule, target production, break periods, and named shift periods (startup, production, break, shutdown). Stored in a compacted Kafka topic and materialized as a KTable for stream enrichment joins.

Key Fields

FieldTypeDescription
factoryIdstringFactory identifier
operationAreastringOperation area within the factory
processLinestringHuman-readable line name
scheduleShiftScheduleShift start/end times and name
shiftTargetPiecesintTarget production count per shift
breaksarrayLegacy scheduled break periods (superseded by periods)
periodsarray<ShiftPeriodDef>Named shift periods with type (STARTUP, PRODUCTION, BREAK, SHUTDOWN)

Example

{
"factoryId": "FACTORY-01",
"operationArea": "CNC-MACHINING",
"operationOrg": "PLANT-NORTH",
"processLine": "CNC-LATHE-01",
"schedule": { "shiftStart": "06:00", "shiftEnd": "14:00", "shiftName": "Morning" },
"shiftTargetPieces": 500,
"breaks": [
{ "start": "09:00", "end": "09:15" },
{ "start": "12:00", "end": "12:30" }
],
"periods": [
{ "name": "Startup", "type": "STARTUP", "start": "06:00", "end": "06:30" },
{ "name": "Morning Break", "type": "BREAK", "start": "09:00", "end": "09:15" },
{ "name": "Lunch Break", "type": "BREAK", "start": "12:00", "end": "12:30" },
{ "name": "Shutdown", "type": "SHUTDOWN", "start": "13:45", "end": "14:00" }
]
}