{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/neruva-io/json-schema/neruva-io-analogy-request-schema.json",
  "title": "AnalogyRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/neruva-io-hd-native-api-openapi.yml#/components/schemas/AnalogyRequest",
  "properties": {
    "n_feat": {
      "type": "integer",
      "maximum": 20.0,
      "minimum": 1.0,
      "title": "N Feat",
      "description": "Number of binary attribute axes. Item space = 2^n_feat. Up to 20 (1M-item space). Encode-on-demand engine has constant memory; per-call latency ~3 ms regardless of n_feat."
    },
    "a": {
      "type": "integer",
      "minimum": 0.0,
      "title": "A",
      "description": "Item index for A in A:B::C:?"
    },
    "b": {
      "type": "integer",
      "minimum": 0.0,
      "title": "B",
      "description": "Item index for B in A:B::C:?"
    },
    "c": {
      "type": "integer",
      "minimum": 0.0,
      "title": "C",
      "description": "Item index for C in A:B::C:?"
    },
    "seed": {
      "type": "integer",
      "title": "Seed",
      "description": "Determinism seed for the codebook.",
      "default": 4301
    }
  },
  "type": "object",
  "required": [
    "n_feat",
    "a",
    "b",
    "c"
  ]
}