addedInput schema / $defs
Added value: +{
+ "RepoShape1": {
+ "additionalProperties": false,
+ "description": "Expands each matching point in point_layer into one contractor whose start is that point.",
+ "properties": {
+ "end": {
+ "$ref": "#/$defs/RepoShape3"
+ },
+ "filter": {
+ "minProperties": 1,
+ "type": "object"
+ },
+ "label_field": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "point_ids": {
+ "items": {
+ "type": [
+ "string",
+ "integer"
+ ]
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "point_layer": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "pre_service_stops": {
+ "$ref": "#/$defs/RepoShape2"
+ },
+ "route_type": {
+ "default": "circuit",
+ "enum": [
+ "circuit",
+ "tour",
+ "open_tour"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "point_layer"
+ ],
+ "type": "object"
+ },
+ "RepoShape2": {
+ "items": {
+ "$ref": "#/$defs/RepoShape3"
+ },
+ "type": "array"
+ },
+ "RepoShape3": {
+ "description": "Stop location resolved from a point layer in the TS or inline WGS84 coordinates (T-214).",
+ "oneOf": [
+ {
+ "$ref": "#/$defs/RepoShape5"
+ },
+ {
+ "$ref": "#/$defs/RepoShape4"
+ }
+ ]
+ },
+ "RepoShape4": {
+ "additionalProperties": false,
+ "properties": {
+ "contractor_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "dwell_minutes": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "stop_id": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "latitude",
+ "longitude"
+ ],
+ "type": "object"
+ },
+ "RepoShape5": {
+ "additionalProperties": false,
+ "properties": {
+ "dwell_minutes": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "filter": {
+ "minProperties": 1,
+ "type": "object"
+ },
+ "label_field": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "point_ids": {
+ "items": {
+ "type": [
+ "string",
+ "integer"
+ ]
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "point_layer": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "point_layer"
+ ],
+ "type": "object"
+ }
+}
addedInput schema / properties / cadence_flexibility_pct / description
Added value: +"Percent of an account's own cadence a single visit may drift so the number of work clusters stays comparable day to day. At the default 15 a 14-day account may slide two days and a 7-day account one; a 3-day account does not move. Set to 0 for strict cadence. A drift past this tolerance happens only to staff a day that would otherwise be short of work — an idle technician costs more than a visit arriving a day early — and every relaxed visit is reported in distribution_summary.cadence_relaxation and the visits layer's cadence_drift_days column."
changedInput schema / properties / contractors / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "items": {
- "additionalProperties": true,
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "oneOf": [
+ {
+ "$ref": "#/$defs/RepoShape1"
+ },
+ {
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/$defs/RepoShape1"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contractor_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "end": {
+ "$ref": "#/$defs/RepoShape3"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "pre_service_stops": {
+ "$ref": "#/$defs/RepoShape2"
+ },
+ "route_type": {
+ "default": "circuit",
+ "enum": [
+ "circuit",
+ "tour",
+ "open_tour"
+ ],
+ "type": "string"
+ },
+ "start": {
+ "$ref": "#/$defs/RepoShape3"
+ }
+ },
+ "required": [
+ "start"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contractor_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "end": {
+ "$ref": "#/$defs/RepoShape3"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ "pre_service_stops": {
+ "$ref": "#/$defs/RepoShape2"
+ },
+ "route_type": {
+ "default": "circuit",
+ "enum": [
+ "circuit",
+ "tour",
+ "open_tour"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "latitude",
+ "longitude"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / contractors / description
Added value: +"Optional contractor anchoring (T-214). Takes a point-layer source (e.g. {point_layer: 'contractors'}) or a list of contractor entries with start, optional pre_service_stops (e.g. a depot with dwell_minutes), route_type (circuit|tour|open_tour), and optional end."
removedInput schema / properties / contractors / title
Removed value: -"Contractors"
changedInput schema / properties / daily_capacity / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "hours": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "mode": {
+ "const": "not_to_exceed"
+ }
+ },
+ "required": [
+ "mode",
+ "hours"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "hours": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "mode": {
+ "const": "target_band"
+ },
+ "tolerance_pct": {
+ "default": 10,
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "mode",
+ "hours"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / daily_capacity / description
Added value: +"Workload limit for one bucket (one technician-day). not_to_exceed is a hard ceiling the scheduler never breaches; target_band aims for the target and accepts anything inside the tolerance."
removedInput schema / properties / daily_capacity / title
Removed value: -"Daily Capacity"
addedInput schema / properties / emit_visit_layer / description
Added value: +"Materialize one point per scheduled visit so color-by-day and the calculate_route handoff are single calls."
addedInput schema / properties / estimate_only / description
Added value: +"When true, runs a fast capacity-planning preflight without mutating the Territory Solution or emitting a visits layer, returning capacity_plan (open_service_days, closed_days, required_daily_hours_avg, peak_day_floor_hours, min_resources_per_day, recommended_resources_per_day, and remedies)."
addedInput schema / properties / frequency_unit / description
Added value: +"interval_days: the value is the maximum days between visits. visits_per_horizon: the value is how many visits the account gets across the whole horizon."
changedInput schema / properties / horizon / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "mode": {
+ "const": "derived"
+ }
+ },
+ "required": [
+ "mode"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "days": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "mode": {
+ "const": "explicit"
+ }
+ },
+ "required": [
+ "mode",
+ "days"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / horizon / description
Added value: +"Planning horizon. derived takes the longest interval among scheduled accounts; explicit is how a 28- or 42-day rolling cycle is requested when intervals leave a remainder on a shorter horizon."
removedInput schema / properties / horizon / title
Removed value: -"Horizon"
addedInput schema / properties / horizon_start_date / description
Added value: +"Calendar date of horizon day 1. Required when visit_constraints is non-empty; without it dated constraints return CLARIFICATION_REQUIRED (needs_horizon_start_date). There is no default of today."
addedInput schema / properties / map_session_id / description
Added value: +"Open map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set."
addedInput schema / properties / max_buckets_per_day / description
Added value: +"Cap on concurrent buckets in one day, normally the technician/contractor count (cannot exceed len(contractors) when contractors are supplied). Omitted with no contractors: one bucket per day; when that does not fit, CLARIFICATION_REQUIRED (blocked_by needs_technician_count) returns capacity_plan and asks how many technicians."
addedInput schema / properties / never_visit_values / description
Added value: +"Frequency values that mean the account is left off the schedule. Matching accounts are excluded and reported in excluded_accounts, never silently dropped."
changedInput schema / properties / objective / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "balance_bias": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "compactness_bias": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / objective / description
Added value: +"Biases must sum to 100. Raising balance_bias to 100 lengthens otherwise efficient days to equalize hours, which is rarely what the customer wants."
removedInput schema / properties / objective / title
Removed value: -"Objective"
changedInput schema / properties / point_filter / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "type": [
+ "string",
+ "number",
+ "boolean"
+ ]
+ },
+ {
+ "items": {
+ "type": [
+ "string",
+ "number",
+ "boolean"
+ ]
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "minProperties": 1,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / point_filter / description
Added value: +"Optional attribute filter (property -> value or list of values) to schedule a subset of point_layer."
removedInput schema / properties / point_filter / title
Removed value: -"Point Filter"
addedInput schema / properties / point_ids / description
Added value: +"Optional list of account/point IDs to schedule."
addedInput schema / properties / tal_id / description
Added value: +"Optional TAL id when filtering scheduled accounts by territory_id or territory_ids."
addedInput schema / properties / territory_id / description
Added value: +"Optional leaf territory id or unique display label to schedule only accounts inside that territory polygon."
addedInput schema / properties / territory_ids / description
Added value: +"Optional list of leaf territory ids or display labels to schedule only accounts inside those territory polygons."
removedInput schema / properties / ts
Removed value: -{
- "anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Ts"
-}
addedInput schema / properties / ts_handle / description
Added value: +"Territory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline."
changedInput schema / properties / visit_constraints / anyOf
Previous value: -[
- {
- "items": {
- "additionalProperties": true,
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "items": {
+ "additionalProperties": false,
+ "description": "One date constraint for an account, account_ids, or all accounts ('*'), resolved against horizon_start_date (T-213). blackout/no_service_window: forbidden dates (date, dates, a range, annual or weekly recurrence), always hard. fixed: a hard appointment that consumes a cadence visit. due: a deadline (optional earliest_date); hardness penalized (reported in constraint_summary.sla_violations) or hard. anchor: a date or weekday fixing the pattern phase. allowed_weekdays: visits land on those weekdays.",
+ "properties": {
+ "account_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "account_ids": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "date": {
+ "format": "date",
+ "type": "string"
+ },
+ "dates": {
+ "items": {
+ "format": "date",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "earliest_date": {
+ "format": "date",
+ "type": "string"
+ },
+ "end_date": {
+ "format": "date",
+ "type": "string"
+ },
+ "hardness": {
+ "enum": [
+ "hard",
+ "penalized"
+ ],
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "blackout",
+ "no_service_window",
+ "fixed",
+ "due",
+ "anchor",
+ "allowed_weekdays"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "recurrence": {
+ "default": "none",
+ "enum": [
+ "none",
+ "annual",
+ "weekly"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "start_date": {
+ "format": "date",
+ "type": "string"
+ },
+ "weekday": {
+ "enum": [
+ "mon",
+ "tue",
+ "wed",
+ "thu",
+ "fri",
+ "sat",
+ "sun"
+ ],
+ "type": "string"
+ },
+ "weekdays": {
+ "items": {
+ "enum": [
+ "mon",
+ "tue",
+ "wed",
+ "thu",
+ "fri",
+ "sat",
+ "sun"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / visit_constraints / description
Added value: +"Separate account-keyed date-constraint dataset: blackouts/no-service windows, fixed dates, SLA due dates, anchor days, allowed weekdays. See visitConstraint."
removedInput schema / properties / visit_constraints / title
Removed value: -"Visit Constraints"
addedInput schema / properties / visit_frequency_field / description
Added value: +"Numeric point column declared at ingest. Undeclared columns fail with UNDECLARED_FIELD."
addedInput schema / properties / visit_layer_name / description
Added value: +"Defaults to <point_layer>_visits. This name is the schedule's identity: re-running with the same name replaces the layer in place, a different name adds a second schedule for comparison."
removedOutput schema / additionalProperties
Removed value: -true
addedOutput schema / properties
Added value: +{
+ "error": {
+ "description": "Present when ok is false.",
+ "properties": {
+ "ask_user": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "code": {
+ "type": "string"
+ },
+ "details": {
+ "type": "object"
+ },
+ "do_this_next": {
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "result": {
+ "description": "Present when ok is true.",
+ "properties": {
+ "account_count": {
+ "type": "integer"
+ },
+ "buckets": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "capacity_plan": {
+ "type": "object"
+ },
+ "constraint_summary": {
+ "type": "object"
+ },
+ "contractors": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "creates_tal": {
+ "type": "boolean"
+ },
+ "days": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "distribution_summary": {
+ "type": "object"
+ },
+ "do_this_next": {
+ "type": "string"
+ },
+ "download_url": {
+ "type": "string"
+ },
+ "estimate_only": {
+ "type": "boolean"
+ },
+ "excluded_accounts": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "expires_at": {
+ "type": "string"
+ },
+ "horizon_days": {
+ "type": "integer"
+ },
+ "horizon_end_date": {
+ "type": "string"
+ },
+ "horizon_fit": {
+ "type": "object"
+ },
+ "horizon_mode": {
+ "type": "string"
+ },
+ "horizon_start_date": {
+ "type": "string"
+ },
+ "map_refresh": {
+ "type": "object"
+ },
+ "next_tool": {
+ "type": "string"
+ },
+ "point_layer": {
+ "type": "string"
+ },
+ "schedule_artifact": {
+ "type": "object"
+ },
+ "schedule_id": {
+ "type": "string"
+ },
+ "schedule_label": {
+ "type": "string"
+ },
+ "ts_handle": {
+ "type": "string"
+ },
+ "ts_identity": {
+ "type": "object"
+ },
+ "ts_omitted": {
+ "type": "object"
+ },
+ "visit_count": {
+ "type": "integer"
+ },
+ "visit_layer": {
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "workload_model": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "warnings": {
+ "items": {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+}
addedOutput schema / required
Added value: +[
+ "ok"
+]
removedOutput schema / title
Removed value: -"schedule_visitsDictOutput"