{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/extralingo-com/json-schema/extralingo-com-school-search-response-schema.json",
  "title": "SchoolSearchResponse",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/extralingo-com-openapi.json#/components/schemas/SchoolSearchResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "properties": {
        "hits": {
          "type": "array",
          "description": "Ranked schools. Each hit includes school_id, title, location, Extralingo URL, and indicative pricing. Prices are not a booking quote.",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "totalHits": {
          "type": "integer"
        },
        "query": {
          "type": "string"
        },
        "facetDistribution": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  }
}