{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Vector", "title": "Vector", "type": "object", "properties": { "id": { "example": "example-vector-1", "description": "This is the vector's unique id.", "type": "string", "required": [ "id" ], "minLength": 1, "maxLength": 512 }, "values": { "example": [ 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 ], "description": "This is the vector data included in the request.", "type": "array", "required": [ "values" ], "items": { "type": "number", "format": "float" }, "minLength": 1, "maxLength": 20000 }, "sparseValues": { "$ref": "#/components/schemas/SparseValues" }, "metadata": { "example": { "genre": "documentary", "year": 2019 }, "description": "This is the metadata included in the request.", "type": "object" } }, "required": [ "id" ] }