{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/neruva-io/json-schema/neruva-io-read-roles-request-schema.json",
  "title": "ReadRolesRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/neruva-io-indexes-api-openapi.yml#/components/schemas/ReadRolesRequest",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "description": "Vector id of the row to introspect"
    },
    "queryVector": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "Queryvector",
      "description": "The original encoder vector for this row (D,) float32"
    },
    "roleDict": {
      "additionalProperties": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "type": "object",
      "title": "Roledict",
      "description": "Map of axis name -> candidate role names"
    },
    "known": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Known",
      "description": "Already-known bound roles to subtract before testing"
    },
    "namespace": {
      "type": "string",
      "title": "Namespace",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "id",
    "queryVector",
    "roleDict"
  ]
}