{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/colourmemory-com/json-schema/colourmemory-com-hex-query-schema.json",
  "title": "HexQuery",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/colourmemory-com-query-api-openapi.yml#/components/schemas/HexQuery",
  "properties": {
    "hex": {
      "type": "string",
      "title": "Hex"
    },
    "n_results": {
      "type": "integer",
      "title": "N Results",
      "default": 5
    },
    "archive": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Archive"
    },
    "archives": {
      "items": {},
      "type": "array",
      "title": "Archives",
      "default": []
    },
    "include_narrative": {
      "type": "boolean",
      "title": "Include Narrative",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "hex"
  ]
}