{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geoarmtaxi-com/json-schema/geoarmtaxi-com-booking-accepted-schema.json",
  "title": "BookingAccepted",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/geoarmtaxi-com-openapi.json#/components/schemas/BookingAccepted",
  "type": "object",
  "properties": {
    "number": {
      "type": "integer",
      "description": "The booking number"
    },
    "status": {
      "type": "string",
      "enum": [
        "received"
      ]
    },
    "confirmed": {
      "type": "boolean",
      "description": "Always false here: a dispatcher confirms later"
    },
    "message": {
      "type": "string",
      "description": "A sentence for the passenger, in `lang`"
    },
    "booking": {
      "type": "object",
      "description": "What was booked, as the server understood it",
      "properties": {
        "dir": {
          "type": "string"
        },
        "date": {
          "type": "string"
        },
        "time": {
          "type": "string"
        },
        "point": {
          "type": "string",
          "description": "The departure point's name in `lang`"
        },
        "car": {
          "type": "string"
        },
        "pax": {
          "type": "integer"
        },
        "total": {
          "type": "number"
        },
        "currency": {
          "type": "string"
        },
        "price_confirmed_by_dispatcher": {
          "type": "boolean",
          "description": "True when the final price is set by the dispatcher (address pick-up or a time outside the timetable)"
        },
        "whole": {
          "type": "boolean",
          "description": "True when the whole vehicle was booked"
        }
      }
    },
    "status_token": {
      "type": "string"
    },
    "status_url": {
      "type": "string",
      "format": "uri"
    },
    "telegram": {
      "type": "string",
      "format": "uri",
      "description": "A link the passenger can open to get the confirmation in Telegram"
    },
    "feedback": {
      "type": "string",
      "format": "uri",
      "description": "Optional, after you finish: where you may tell us in a few lines how this went (POST, see /api/agent-feedback). Never include the passenger's personal data."
    }
  }
}