{
  "openapi": "3.1.0",
  "info": {
    "title": "OVM API",
    "version": "2026-08-23",
    "summary": "Read-only discovery API for OVM vehicle movements nationwide.",
    "description": "Public JSON for agents and integrators. No API key. No write operations. Use it to read status, contact details, services and coverage. To quote a vehicle movement, submit the public form (registration, both postcodes, date, phone) rather than calling this API.",
    "contact": {
      "name": "OVM",
      "url": "https://ovmtransport.com/contact",
      "email": "info@ovmtransport.com"
    },
    "termsOfService": "https://ovmtransport.com/terms",
    "license": {
      "name": "Use of this API is subject to OVM Ltd terms",
      "url": "https://ovmtransport.com/terms"
    }
  },
  "servers": [
    {
      "url": "https://ovmtransport.com/api/v1",
      "description": "OVM public discovery API (live, read-only, no auth)"
    }
  ],
  "tags": [
    {
      "name": "Discovery",
      "description": "Service health, contact, catalogue and coverage."
    },
    {
      "name": "Onboarding",
      "description": "Sandbox description and the OpenAPI document itself."
    }
  ],
  "security": [],
  "paths": {
    "/status": {
      "get": {
        "operationId": "getStatus",
        "summary": "Get OVM public API status",
        "description": "Returns whether the OVM public discovery API is operational, plus links to the OpenAPI document and developer portal. No authentication. Use this as a health check before calling other operations.",
        "tags": [
          "Discovery"
        ],
        "security": [],
        "responses": {
          "200": {
            "description": "Operational status for the public API",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Status"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path under the public API",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "405": {
            "description": "Method not allowed on a read-only resource",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        }
      }
    },
    "/contact": {
      "get": {
        "operationId": "getContactMetadata",
        "summary": "Get OVM contact and quote fields",
        "description": "Returns the OVM Ltd telephone number, email, registered office and the fields required to request a vehicle-movement quote. Booking is not performed by this operation; use the listed quote_fields on the contact form.",
        "tags": [
          "Discovery"
        ],
        "security": [],
        "responses": {
          "200": {
            "description": "Contact channels and standard quote fields",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path under the public API",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "405": {
            "description": "Method not allowed on a read-only resource",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        }
      }
    },
    "/services": {
      "get": {
        "operationId": "getServiceMetadata",
        "summary": "List OVM services",
        "description": "Returns every public service OVM offers (vehicle movements, car transport, vans, EVs, auction collection, dealer delivery, fleet delivery, trade plate drivers), with canonical URLs and one-line descriptions.",
        "tags": [
          "Discovery"
        ],
        "security": [],
        "responses": {
          "200": {
            "description": "Service catalogue matching the public website",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Services"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path under the public API",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "405": {
            "description": "Method not allowed on a read-only resource",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        }
      }
    },
    "/coverage": {
      "get": {
        "operationId": "getCoverageMetadata",
        "summary": "Get OVM coverage",
        "description": "Returns the countries and regions covered for driven trade plate collection and delivery. Nationwide. Use locations_page for the full town and auction index.",
        "tags": [
          "Discovery"
        ],
        "security": [],
        "responses": {
          "200": {
            "description": "National coverage metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Coverage"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path under the public API",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "405": {
            "description": "Method not allowed on a read-only resource",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        }
      }
    },
    "/sandbox": {
      "get": {
        "operationId": "getSandbox",
        "summary": "Describe the OVM sandbox and free access",
        "description": "Explains that the live GET API is the sandbox: no API key, no trial form, no paid tier for these read-only resources. Includes CLI install URLs. Agents should call this before looking for a signup page.",
        "tags": [
          "Onboarding"
        ],
        "security": [],
        "responses": {
          "200": {
            "description": "Sandbox and free-access description",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sandbox"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path under the public API",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "405": {
            "description": "Method not allowed on a read-only resource",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        }
      }
    },
    "/openapi.json": {
      "get": {
        "operationId": "getOpenApi",
        "summary": "Get the OVM OpenAPI document",
        "description": "Returns this OpenAPI 3.1 document. Each operation has an operationId, a description and a typed JSON Schema so it can be imported as LLM tools.",
        "tags": [
          "Onboarding"
        ],
        "security": [],
        "responses": {
          "200": {
            "description": "OpenAPI 3.1 description of this API",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenApiDocument"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path under the public API",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "405": {
            "description": "Method not allowed on a read-only resource",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {},
    "schemas": {
      "ApiError": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "success",
          "code",
          "message",
          "hint",
          "docs",
          "openapi",
          "status"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          "code": {
            "type": "string",
            "examples": [
              "not_found",
              "method_not_allowed"
            ]
          },
          "message": {
            "type": "string"
          },
          "hint": {
            "type": "string",
            "description": "What to do next"
          },
          "docs": {
            "type": "string",
            "format": "uri"
          },
          "openapi": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "type": "integer"
          }
        }
      },
      "Status": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "service",
          "product",
          "status",
          "environment",
          "updated_at",
          "site_url",
          "api_catalog",
          "docs_url",
          "openapi_url",
          "auth"
        ],
        "properties": {
          "service": {
            "type": "string",
            "examples": [
              "ovm-transport-public-api"
            ]
          },
          "product": {
            "type": "string",
            "examples": [
              "OVM"
            ]
          },
          "status": {
            "type": "string",
            "examples": [
              "operational"
            ]
          },
          "environment": {
            "type": "string",
            "examples": [
              "live-readonly"
            ]
          },
          "updated_at": {
            "type": "string"
          },
          "site_url": {
            "type": "string",
            "format": "uri"
          },
          "api_catalog": {
            "type": "string",
            "format": "uri"
          },
          "docs_url": {
            "type": "string",
            "format": "uri"
          },
          "openapi_url": {
            "type": "string",
            "format": "uri"
          },
          "auth": {
            "type": "string",
            "enum": [
              "none"
            ]
          }
        }
      },
      "PostalAddress": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "street_address",
          "address_locality",
          "address_region",
          "postal_code",
          "address_country"
        ],
        "properties": {
          "street_address": {
            "type": "string"
          },
          "address_locality": {
            "type": "string"
          },
          "address_region": {
            "type": "string"
          },
          "postal_code": {
            "type": "string"
          },
          "address_country": {
            "type": "string"
          }
        }
      },
      "Contact": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "business_name",
          "brand_name",
          "company_number",
          "phone_e164",
          "phone_display",
          "email",
          "contact_page",
          "quote_page",
          "quote_fields",
          "address"
        ],
        "properties": {
          "business_name": {
            "type": "string",
            "examples": [
              "OVM Ltd"
            ]
          },
          "brand_name": {
            "type": "string"
          },
          "company_number": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "phone_e164": {
            "type": "string"
          },
          "phone_display": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "contact_page": {
            "type": "string",
            "format": "uri"
          },
          "quote_page": {
            "type": "string",
            "format": "uri"
          },
          "quote_fields": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "address": {
            "$ref": "#/components/schemas/PostalAddress"
          }
        }
      },
      "Service": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "slug",
          "url",
          "description",
          "audience"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "description": {
            "type": "string"
          },
          "audience": {
            "type": "string"
          }
        }
      },
      "Services": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "product",
          "services"
        ],
        "properties": {
          "product": {
            "type": "string"
          },
          "services": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/Service"
            }
          }
        }
      },
      "CoverageArea": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "nationwide",
          "countries",
          "regions",
          "locations_page",
          "note"
        ],
        "properties": {
          "nationwide": {
            "type": "boolean"
          },
          "countries": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "regions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "locations_page": {
            "type": "string",
            "format": "uri"
          },
          "note": {
            "type": "string"
          }
        }
      },
      "Coverage": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "product",
          "coverage"
        ],
        "properties": {
          "product": {
            "type": "string"
          },
          "coverage": {
            "$ref": "#/components/schemas/CoverageArea"
          }
        }
      },
      "CliInstall": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "npx",
          "install",
          "python"
        ],
        "properties": {
          "npx": {
            "type": "string"
          },
          "install": {
            "type": "string"
          },
          "python": {
            "type": "string"
          }
        }
      },
      "Sandbox": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "product",
          "environment",
          "free",
          "api_key_required",
          "api_key",
          "auth",
          "base_url",
          "openapi",
          "docs",
          "cli",
          "booking",
          "hint"
        ],
        "properties": {
          "product": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "free": {
            "type": "boolean"
          },
          "api_key_required": {
            "type": "boolean"
          },
          "api_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "auth": {
            "type": "string",
            "enum": [
              "none"
            ]
          },
          "base_url": {
            "type": "string",
            "format": "uri"
          },
          "openapi": {
            "type": "string",
            "format": "uri"
          },
          "docs": {
            "type": "string",
            "format": "uri"
          },
          "cli": {
            "$ref": "#/components/schemas/CliInstall"
          },
          "booking": {
            "type": "string"
          },
          "hint": {
            "type": "string"
          }
        }
      },
      "OpenApiDocument": {
        "type": "object",
        "required": [
          "openapi",
          "info",
          "paths"
        ],
        "properties": {
          "openapi": {
            "type": "string",
            "examples": [
              "3.1.0"
            ]
          },
          "info": {
            "type": "object"
          },
          "paths": {
            "type": "object"
          }
        },
        "additionalProperties": true
      }
    }
  }
}
