{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ilang-ai/json-schema/ilang-ai-lookup-result-schema.json",
  "title": "LookupResult",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ilang-ai-openapi.yml#/components/schemas/LookupResult",
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    },
    "not_found": {
      "type": "boolean"
    },
    "matches": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Entry"
      }
    },
    "dictionary_version": {
      "type": "string"
    },
    "source": {
      "type": "string"
    }
  },
  "required": [
    "query",
    "not_found",
    "matches"
  ],
  "$defs": {
    "Entry": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "alias": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "meaning": {
          "type": "string"
        },
        "values": {
          "type": "string"
        },
        "source_url": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "name"
      ]
    }
  }
}