stopObject
A stop represents an activity to be serviced by a resource or outsourced. Stops are the core of Spiral’s scheduling model; their costs are determined by resource deployment and service-quality metrics. Attribute names and types are links.
The fields below are grouped into the input attributes (supplied to Spiral) and the
output / runtime attributes Spiral reports back for each stop — including its identity (id) and
its position within the resource’s schedule as a doubly-linked list (after → this stop → next).
Attributes
Section titled “Attributes”{
"delayFactor": <real>,
"noSolnFactor": <real>,
"state": INIT | PLAN | DPLY | HEAD | CMTD | ARVD | DONE,
"lock": <bool>,
"hold": <bool>,
"areaExempt": <bool>,
}
-
typestopParamsKey - Defines stop properties and behaviour.
-
customercontractCustomerKeydefaultnull - Customer identifier; inherited from the parent if null.
-
delayFactorrealdefault1.0 - Local multiplier for calculated delay costs.
-
noSolnFactorrealdefault1.0 - Consult Honeywick for details.
-
stateINIT | PLAN | DPLY | HEAD | CMTD | ARVD | DONE - Current stop state (settable input states). OSRC is an output-only state.
-
diddeskId - Desk assignment; 0 triggers recalculation.
-
ridresourceId - Resource assignment; 0 triggers recalculation; null assigns no resource.
-
deptime - Deployment time; triggers resequencing if conflicts exist.
-
arvtime - Arrival time; triggers resequencing if conflicts exist.
-
fintime - Finish time.
-
atlocation - Stop location.
-
earliesttime - Earliest possible start (respects parent constraints).
-
latesttime - Latest acceptable start.
-
lockbooldefaultfalse - Prevents Spiral from rescheduling.
-
holdbooldefaultfalse - Prevents deployment; planning continues; the host can update state.
-
areaExemptbooldefaultfalse - Exempts from working-area restrictions.
-
minLeaveIntimeInterval - Minimum time from now until stop completion.
-
optionskillOption - The service options (required skills) for this stop; null means any capable resource qualifies.
-
excluderesourceId - Resources prohibited from assignment.
-
onlyresourceId - Resources exclusively eligible for assignment.
-
tostopObject - Sequential delivery stop; null options reverse the parent action.
-
andstopObject - Unrelated concurrent activity.
-
withstopObject - Concurrent activity at the same time.
-
thenstopObject - Sequential follow-up activity.
-
assetstopObject - Collects resource skills; releases them at the delivery stop.
Schedule / output fields
Section titled “Schedule / output fields”Reported by Spiral on each stop in the output stream (and read back from a resource’s schedule). The
id, after and next fields define the stop’s identity and its order within the resource’s plan.
{
"id": <integer>,
"after": <integer> | null,
"next": <integer> | null,
"rndvz": <integer> | null,
"solnTier": <string> | null,
"voluntary": <bool> | null,
"surgeZone": <integer> | null,
"info": <string> | null,
}
-
idinteger - Unique identifier for the stop, assigned by Spiral.
-
afterinteger - The id of the preceding stop in the resource’s schedule; null at the start.
-
nextinteger - The id of the following stop in the resource’s schedule; null at the end.
-
tvltimeInterval - Travel time to reach this stop.
-
dstdistance - Travel distance to reach this stop.
-
fullTvltimeInterval - Total travel time including any reverse / return legs.
-
fullDstdistance - Total travel distance including any reverse / return legs.
-
cbttime - Commit-by time — the latest time the stop can remain uncommitted.
-
rndvzinteger - The rid of a resource that will arrive at the same location and time to facilitate this stop’s delivery (a rendezvous); null when none is planned.
-
solnTierstring - The solution tier attached to this stop’s current solution.
-
voluntarybool - True when the stop is currently in a voluntary solution for its allocated resource (output-only; indicates a contractual refusal option).
-
surgeZoneinteger - The id of the surge zone affecting this stop, or null.
-
infostring - Informational message about the stop; content controlled by the debug setting.