Data Publisher Schemas
When data is changed in Global Production Overview (GPO), the changes are published to Data Publisher. The data is published in the form of JSON objects that adhere to the schemas defined in the Event API:
The schemas can also be downloaded in the DataPublisher UI.
Events Emitted by Global Production Overview
GPO will emit events for changes made to the internal dataset and all events sent should be processed in a sequential manner by the receiver. The changes are meant to be used to modify a dataset stored by the receiver so that this matches the GPO internal dataset.
When changes are made to the master data (business units, products, plants, and lines), we will emit an event describing the new state of the object along with the operation type.
When we replicate shift changes from a source system or receive a shift change via the third-party API, we will publish the new shift object.
Please note that when we publish a delete event, only the information essential for the modification of existing data will be published (usually just the tenant ID, object ID, change type and change time). This means that when a shift delete event is published, only the top level aggData object will be published and in that case, only the basic information required to delete the shift will be included in that object.