Raw schema
{
"type": "object",
"properties": {
"post_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Route date, yyyy-mm-dd."
},
"input_route_ids": {
"minItems": 1,
"maxItems": 500,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"description": "Route ids to take stops from."
},
"output_route_ids": {
"minItems": 1,
"maxItems": 500,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"description": "Route ids to assign stops to."
},
"start_time": {
"type": "string",
"description": "Local date-time without timezone, e.g. 2026-10-01T08:00:00."
},
"end_time": {
"type": "string",
"description": "Local date-time without timezone, e.g. 2026-10-01T08:00:00."
},
"num_placeholders": {
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"max_stops_per_route": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 10000
},
"excluded_stop_ids": {
"description": "Stop ids to leave out of planning.",
"maxItems": 5000,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"service_time_per_stop": {
"description": "Service time per stop, minutes.",
"type": "integer",
"minimum": 0,
"maximum": 1440
},
"grace_period_per_stop": {
"description": "Grace period per stop, minutes.",
"type": "integer",
"minimum": 0,
"maximum": 1440
},
"goal": {
"description": "Optimization goal (default QUICKEST_ROUTE).",
"type": "string",
"enum": [
"QUICKEST_ROUTE",
"SHORTEST_DISTANCE"
]
},
"enhanced_routing": {
"description": "Enhanced routing (default OFF).",
"type": "string",
"enum": [
"OFF",
"ON"
]
}
},
"required": [
"post_date",
"input_route_ids",
"output_route_ids",
"start_time",
"end_time"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}