{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-database/json-schema/oracle-database-vector-embed-request-schema.json",
  "title": "VectorEmbedRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-database-vector-database-inference-operations-api-openapi.yml#/components/schemas/VectorEmbedRequest",
  "type": "object",
  "required": [
    "modelName",
    "inputs"
  ],
  "properties": {
    "modelName": {
      "type": "string",
      "description": "The name of the text embedding model hosted in the database."
    },
    "inputs": {
      "type": "array",
      "description": "Array of input items to embed.",
      "minItems": 1,
      "items": {
        "$ref": "#/$defs/VectorEmbedInputItem"
      }
    },
    "debugFlags": {
      "$ref": "#/$defs/VectorDebugFlags"
    }
  },
  "$defs": {
    "VectorDebugFlags": {
      "type": "object",
      "description": "Debug flags to be used to trace vector modules",
      "properties": {
        "VECTOR_INDEX": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECTOR_INDEX_NEIGHBOR_GRAPH": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECTOR_INDEX_NEIGHBOR_GRAPH_BUILD": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECTOR_INDEX_NEIGHBOR_GRAPH_MEM": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECTOR_INDEX_NEIGHBOR_GRAPH_SEARCH": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECTOR_INDEX_NEIGHBOR_GRAPH_APPCHNG": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECTOR_INDEX_NEIGHBOR_GRAPH_STATS": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECTOR_INDEX_NEIGHBOR_PARTITIONS": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECTOR_INDEX_FIXED_VIEW": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECIDX_TRANS": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECIDX_TRANS_COM": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECIDX_TRANS_PJ": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECIDX_TRANS_PJ_DWNGRD": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECIDX_TRANS_PJ_GROW": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECIDX_TRANS_SJ": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECIDX_TRANS_SJ_BG": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VEC_INDEX_CALIBRATION": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "VECTOR_TRACE": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        }
      }
    },
    "VectorEmbedInputItem": {
      "type": "object",
      "required": [
        "text"
      ],
      "properties": {
        "text": {
          "type": "string",
          "description": "Input text to embed."
        }
      }
    }
  }
}