Asset hierarchy
- Loading…
Canonical event schema
OperationalEvent ├── id string ├── timestamp ISO-8601 ├── plant / area / line / asset ├── shift / team ├── event_type downtime | quality | maintenance | safety | observation | production ├── category string ├── severity low | medium | high | critical ├── description / observation ├── reported_cause / verified_cause ├── action ├── status open | in_progress | resolved | under_review ├── source operator | supervisor | mes | scada | cmms | erp | api | import | ai ├── source_record_id string ├── evidence[] attachments, audio, photos, external records └── metadata free-form key/value
| GET | /api/public/events?shift_id=&line_id=&since= | Query canonical events |
| POST | /api/public/events | Ingest an event from an external system |
| GET | /api/public/shifts | Shift records with production and downtime |
| GET | /api/public/incidents/{id} | Incident with timeline and evidence |
| POST | /api/public/webhooks/subscribe | Subscribe to event.created / incident.updated |
| GET | /api/public/exports/events.csv | Scheduled CSV / JSON export |