{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smartroutes-io/json-schema/smartroutes-io-plan-sequence-response-schema.json",
  "title": "PlanSequenceResponse",
  "description": "Returned by POST /plans/optimise/orders-for-ids when `settings.maintain_upload_sequence` is true. The route is built synchronously, so there is no optimisation job: `optimisation` is absent (not null) and there is nothing to poll. Read the routes with GET /plans/{id}.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smartroutes-io-openapi.json#/components/schemas/PlanSequenceResponse",
  "type": "object",
  "required": [
    "plan"
  ],
  "properties": {
    "plan": {
      "type": "object",
      "required": [
        "id",
        "dispatched"
      ],
      "properties": {
        "id": {
          "type": "integer"
        },
        "dispatched": {
          "type": "boolean"
        }
      }
    }
  }
}