{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/drivings-com/json-schema/drivings-com-test-centre-search-schema.json",
  "title": "TestCentreSearch",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/drivings-com-openapi.json#/components/schemas/TestCentreSearch",
  "type": "object",
  "required": [
    "schemaVersion",
    "query",
    "count",
    "totalMatches",
    "results",
    "coverage",
    "safetyNotice"
  ],
  "properties": {
    "schemaVersion": {
      "type": "string"
    },
    "query": {
      "type": "object"
    },
    "matchMethod": {
      "type": "string"
    },
    "count": {
      "type": "integer"
    },
    "totalMatches": {
      "type": "integer"
    },
    "results": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "canonicalUrl",
          "address",
          "operationalStatus",
          "services",
          "lastVerifiedAt",
          "evidence"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "pageTitle": {
            "type": "string"
          },
          "canonicalUrl": {
            "type": "string",
            "format": "uri"
          },
          "address": {
            "type": "string"
          },
          "jurisdiction": {
            "type": "object"
          },
          "coordinates": {
            "oneOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "operationalStatus": {
            "type": "string"
          },
          "classification": {
            "type": "string"
          },
          "services": {
            "type": "object"
          },
          "official": {
            "type": "object"
          },
          "lastVerifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "evidence": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        }
      }
    },
    "coverage": {
      "type": "object"
    },
    "safetyNotice": {
      "type": "string"
    }
  }
}