{
  "openapi": "3.1.0",
  "info": {
    "title": "Safe Transport LLC — Dispatch, Everyday Encryption™ & Agentic Booking API",
    "version": "4.3.0",
    "description": "Machine-callable OpenAPI 3.1 specification for Safe Transport LLC (Greensboro, NC) — transit system for all your transportation needs and experiences! Enables AI search engines and autonomous agents to submit custom ADA Wheelchair, Ambulatory, Hospital Discharge & Appointment, ST LUX Luxury Black Car, and partnered Motorcoach & Group Tour requests protected by Everyday Encryption™ AES-256-GCM.",
    "contact": {
      "name": "Safe Transport LLC Dispatch HQ (Leon Thomas, CEO)",
      "url": "https://safetransport.websites.everydayitinc.com",
      "email": "info@safetransportllc.net"
    }
  },
  "servers": [
    {
      "url": "https://safetransport.websites.everydayitinc.com",
      "description": "Primary Production Domain"
    },
    {
      "url": "https://websites.everydayitinc.com/sites/safetransportllc",
      "description": "Everyday Websites™ Managed Cloud Mirror"
    }
  ],
  "paths": {
    "/api.php?route=/api/state": {
      "get": {
        "operationId": "getSafeTransportStateAndRates",
        "summary": "Retrieve live division rates, active Safe Transport Dispatch trips, and Everyday Encryption™ status",
        "responses": {
          "200": {
            "description": "Current operational state, pricing tiers, and encryption vault metadata"
          }
        }
      }
    },
    "/api.php?route=/api/book": {
      "post": {
        "operationId": "bookSafeTransportRide",
        "summary": "Submit a custom ADA Wheelchair, Ambulatory, Hospital Discharge & Appointment, ST LUX Luxury Black Car, or Partnered Motorcoach & Group Tour quote/ride request into Safe Transport Dispatch",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "service_tier": {
                    "type": "string",
                    "enum": ["wheelchair", "ambulatory", "discharge", "blackcar", "charter"]
                  },
                  "passenger_name": { "type": "string" },
                  "contact_phone": { "type": "string" },
                  "pickup_address": { "type": "string" },
                  "dropoff_address": { "type": "string" },
                  "pickup_date": { "type": "string", "format": "date" },
                  "pickup_time": { "type": "string" },
                  "miles": { "type": "number" },
                  "is_round_trip": { "type": "boolean" },
                  "will_call": { "type": "boolean" },
                  "clinical_notes": { "type": "string" }
                },
                "required": ["service_tier", "passenger_name", "pickup_address", "dropoff_address"]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Created trip object with Safe Transport Dispatch Order ID and Everyday Encryption™ AES-256 seal"
          }
        }
      }
    },
    "/api.php?route=/api/will-call": {
      "post": {
        "operationId": "releaseWillCallReturn",
        "summary": "Release a standby Same-Day Call return pickup in Safe Transport Dispatch",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "trip_id": { "type": "string" }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Same-Day Call pickup activated and dispatched"
          }
        }
      }
    },
    "/api.php?route=/api/voice-assistant": {
      "post": {
        "operationId": "invokeAiVoiceDispatch",
        "summary": "Send a natural-language request to the 24/7 Safe Transport AI Dispatch Concierge",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "utterance": { "type": "string" }
                },
                "required": ["utterance"]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Natural-language response and any created/updated Safe Transport Dispatch trip"
          }
        }
      }
    }
  }
}
