{
  "openapi": "3.1.0",
  "info": {
    "title": "Yayi’s Towing public API",
    "version": "1.0.0",
    "description": "Read-only facts about Yayi’s Towing, a 24/7 towing and roadside assistance company in Auburndale, FL. To request a tow, call (863) 330-0462; there is no booking endpoint.",
    "contact": {
      "name": "Yayi’s Towing",
      "url": "https://yayistowing.services/contact/"
    }
  },
  "externalDocs": {
    "url": "https://yayistowing.services/api/"
  },
  "servers": [
    {
      "url": "https://yayistowing.services/api/v1/"
    }
  ],
  "paths": {
    "/business.json": {
      "get": {
        "operationId": "getBusiness",
        "summary": "Business facts: phone, hours, location, service area, languages",
        "responses": {
          "200": {
            "description": "Business facts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "name",
                    "phone",
                    "hours",
                    "serviceArea"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "legalName": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "phone": {
                      "type": "string"
                    },
                    "phoneDisplay": {
                      "type": "string"
                    },
                    "whatsapp": {
                      "type": "string"
                    },
                    "hours": {
                      "type": "object",
                      "properties": {
                        "open24x7": {
                          "type": "boolean"
                        },
                        "note": {
                          "type": "string"
                        }
                      }
                    },
                    "location": {
                      "type": "object",
                      "properties": {
                        "city": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "country": {
                          "type": "string"
                        }
                      }
                    },
                    "serviceArea": {
                      "type": "object",
                      "properties": {
                        "cities": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "county": {
                          "type": "string"
                        },
                        "statewide": {
                          "type": "string"
                        }
                      }
                    },
                    "languages": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "pricing": {
                      "type": "string"
                    },
                    "usdot": {
                      "type": "string"
                    },
                    "profiles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/services.json": {
      "get": {
        "operationId": "listServices",
        "summary": "All towing, roadside and hauling services",
        "responses": {
          "200": {
            "description": "Service list",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "services": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "name",
                          "url"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "category": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/health": {
      "get": {
        "operationId": "getHealth",
        "summary": "API status",
        "responses": {
          "200": {
            "description": "API is up",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "ok"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}