{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://tridenttaxis.online/mcp-schemas/get_service_info.schema.json",
  "title": "get_service_info",
  "description": "Return an overview of the taxi service: coverage area, vehicle fleet with passenger capacity, tariff and surcharge summary, and booking channels.",
  "type": "object",
  "$defs": {
    "input": {
      "type": "object",
      "additionalProperties": false,
      "properties": {}
    },
    "output": {
      "type": "object",
      "required": ["brand", "area", "vehicles", "surcharges", "tariffs", "bookingUrl"],
      "properties": {
        "brand": { "type": "string" },
        "area": { "type": "string" },
        "vehicles": {
          "type": "array",
          "items": {
            "type": "object",
            "required": ["id", "maxPassengers"],
            "properties": {
              "id": {
                "type": "string",
                "enum": ["saloon", "estate", "executive", "6seater", "mpv", "wav"]
              },
              "maxPassengers": { "type": "integer", "minimum": 1 },
              "note": { "type": "string" }
            }
          }
        },
        "surcharges": {
          "type": "object",
          "required": [
            "preBookingGBP",
            "airportPickupOrDropGBP",
            "airportMeetAndGreetGBP",
            "eightSeaterLocalMultiplier"
          ],
          "properties": {
            "preBookingGBP": { "type": "number" },
            "airportPickupOrDropGBP": { "type": "number" },
            "airportMeetAndGreetGBP": { "type": "number" },
            "eightSeaterLocalMultiplier": { "type": "number" }
          }
        },
        "tariffs": {
          "type": "array",
          "items": { "type": "string" }
        },
        "bookingUrl": { "type": "string", "format": "uri" }
      }
    }
  },
  "properties": {
    "input": { "$ref": "#/$defs/input" },
    "output": { "$ref": "#/$defs/output" }
  }
}
