generated: '2026-07-18' method: derived source: openapi/circuit-v1-openapi-original.json docs: https://developer.dispatch.spoke.com/docs/category/models id_format: Every resource id serializes as `collectionName/resourceId`; nested resources as `plans/{planId}/stops/{stopId}`. entities: - entity: plan id_prefix: plans schema: openapi/circuit-v1-openapi-original.json#/components/schemas/planSchema - entity: stop id_prefix: plans/{planId}/stops schema: openapi/circuit-v1-openapi-original.json#/components/schemas/stopSchema - entity: unassignedStop id_prefix: unassignedStops schema: openapi/circuit-v1-openapi-original.json#/components/schemas/unassignedStopSchema - entity: driver id_prefix: drivers schema: openapi/circuit-v1-openapi-original.json#/components/schemas/driverSchema - entity: depot id_prefix: depots schema: openapi/circuit-v1-openapi-original.json#/components/schemas/depotSchema - entity: route id_prefix: routes schema: openapi/circuit-v1-openapi-original.json#/components/schemas/routeSchema - entity: member id_prefix: members schema: openapi/circuit-v1-openapi-original.json#/components/schemas/memberSchema - entity: operation id_prefix: operations schema: openapi/circuit-v1-openapi-original.json#/components/schemas/operationSchema - entity: customStopProperty id_prefix: team/customStopProperties schema: openapi/circuit-v1-openapi-original.json#/components/schemas/customStopPropertySchema - entity: description id_prefix: null schema: openapi/circuit-v1-openapi-original.json#/components/schemas/descriptionSchema - entity: date id_prefix: null schema: openapi/circuit-v1-openapi-original.json#/components/schemas/dateSchema - entity: timeOfDay id_prefix: null schema: openapi/circuit-v1-openapi-original.json#/components/schemas/timeOfDaySchema - entity: role id_prefix: null schema: openapi/circuit-v1-openapi-original.json#/components/schemas/roleSchema relationships: - from: plan to: depot type: belongs_to via: depot - from: plan to: driver type: has_many via: drivers - from: plan to: route type: has_many via: routes - from: stop to: plan type: belongs_to via: plan - from: stop to: route type: belongs_to via: route - from: stop to: driver type: has_many via: allowedDrivers - from: unassignedStop to: depot type: belongs_to via: depot - from: unassignedStop to: driver type: has_many via: allowedDrivers - from: driver to: depot type: has_many via: depots - from: route to: driver type: belongs_to via: driver - from: route to: plan type: belongs_to via: plan - from: route to: stop type: has_many via: stops - from: member to: driver type: has_one via: linkedDriverId - from: member to: depot type: has_many via: depots