resourceObject (output)
Output data sent when one or more stops attached to a resource are modified. Spiral identifies the
resource by its id and sends only the attributes that changed — a subset of the input
resourceObject. The most commonly updated attributes:
-
idinteger - The resource being updated.
-
unprodstopObject - Updated unproductive stops.
-
atlocation - Updated current location.
-
stateREST | WORK | BRK | STBY - Updated operational state.
-
roster[dutyKey: time] - Updated planned roster.
-
stopOntimeInterval - Updated stop-on availability.
-
skillsskillObject - Updated skills.
Any other resourceObject attribute (e.g. base,
lastOn, lastBreak, currentWorkingLimit, lock, type) may also appear when it changes.