Skip to content

defineObject

The define instruction introduces blocks of reference data used within the optimisation. A single define can set up many objects of various types, and they should be submitted before the schedule objects that reference them.

{
"stopParams": ["stopParamsObject"],
"customerParams": ["customerParamsObject"],
"resourceParams": ["resourceParamsObject"],
"contractParams": ["contractParamsObject"],
"projectParams": ["projectParamsObject"],
"topography": ["topographyObject"]
}
  • stopParamsstopParamsObject: properties of a stop type, referenced from a stop.
  • customerParamscustomerParamsObject: properties of a customer, referenced from a stop.
  • resourceParamsresourceParamsObject: properties of a resource type, referenced from a resource.
  • contractParamscontractParamsObject: properties of a contract type, referenced from a resource.
  • projectParamsprojectParamsObject: the lead stop type and lifecycle hooks of a project type, referenced from a project’s type.
  • topographytopographyObject: how resources move around the geography.