{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chejefe-com/json-schema/chejefe-com-nl-web-response-schema.json",
  "title": "NlWebResponse",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chejefe-com-openapi.yml#/components/schemas/NlWebResponse",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "_meta",
    "query_id",
    "query",
    "results"
  ],
  "properties": {
    "_meta": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "version",
        "response_type",
        "mode",
        "site"
      ],
      "properties": {
        "version": {
          "type": "string",
          "const": "0.55"
        },
        "response_type": {
          "type": "string",
          "const": "answer"
        },
        "mode": {
          "type": "string",
          "const": "list"
        },
        "site": {
          "type": "string",
          "const": "chejefe.com"
        }
      }
    },
    "query_id": {
      "type": "string",
      "format": "uuid"
    },
    "query": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NlWebResult"
      }
    }
  },
  "$defs": {
    "NlWebResult": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "url",
        "name",
        "site",
        "score",
        "description",
        "schema_object"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "name": {
          "type": "string"
        },
        "site": {
          "type": "string",
          "const": "chejefe.com"
        },
        "score": {
          "type": "number",
          "minimum": 0
        },
        "description": {
          "type": "string"
        },
        "schema_object": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  }
}