{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ydb-qdrant-tech/json-schema/ydb-qdrant-tech-upsert-points-request-schema.json",
  "title": "UpsertPointsRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ydb-qdrant-tech-openapi.json#/components/schemas/UpsertPointsRequest",
  "type": "object",
  "required": [
    "points"
  ],
  "properties": {
    "points": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PointStruct"
      },
      "minItems": 1
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Payload": {
      "type": "object",
      "additionalProperties": true
    },
    "PointId": {
      "description": "Point ids accepted by write and lookup requests. Numeric ids are normalized to strings in storage and response objects.",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ]
    },
    "PointStruct": {
      "type": "object",
      "required": [
        "id",
        "vector"
      ],
      "properties": {
        "id": {
          "$ref": "#/$defs/PointId"
        },
        "vector": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 1
        },
        "payload": {
          "$ref": "#/$defs/Payload"
        }
      },
      "additionalProperties": true
    }
  }
}