{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/midax402-com/json-schema/midax402-com-discovery-response-schema.json",
  "title": "DiscoveryResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/midax402-com-openapi.json#/components/schemas/DiscoveryResponse",
  "type": "object",
  "properties": {
    "endpoint": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "feature": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "corpus_version": {
      "type": "string"
    },
    "freemium": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "matches": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "entry_id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "preview": {
            "type": "string"
          },
          "score": {
            "type": "number"
          },
          "source_url": {
            "type": "string"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}