Docs / Schemas / embedding / 0.2.0
Embedding 0.2.0
Store a vector and (optionally) the algorithm or embedding model which generated it.
This is an older version of embedding.
The latest version is 0.8.0. Releases before 0.7.0 use the $id https:/ and are served by DorsalHub.
$idhttps:// dorsalhub.com/ schemas/ open/ embedding - Latest
https:// oatschema.org/ embedding - Versions
- Source
- v0.2.0 on GitHub
Schema
{ "x-license": { "id": "Apache-2.0", "notice": "Copyright 2025 Dorsal Hub LTD", "url": "https://github.com/dorsalhub/open-validation-schemas/blob/main/LICENSE" }, "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://dorsalhub.com/schemas/open/embedding", "title": "Embedding", "version": "0.2.0", "description": "Store a vector and (optionally) the algorithm or embedding model which generated it.", "type": "object", "properties": { "model": { "type": "string", "description": "The model, tool or algorithm used to create this embedding.", "maxLength": 1024 }, "target": { "type": "string", "description": "The name of the variable or feature being embedded (e.g., 'description_text', 'query').", "maxLength": 128 }, "vector": { "type": "array", "description": "Embedding vector. Its length represents its dimensionality.", "items": { "type": "number" }, "minItems": 1, "maxItems": 16384 }, "attributes": { "type": "object", "description": "Arbitrary metadata relevant to this embedding.", "maxProperties": 16, "additionalProperties": { "anyOf": [ { "type": "string", "maxLength": 1024 }, { "type": "number" }, { "type": "boolean" }, { "type": "null" } ] } } }, "required": [ "vector" ], "additionalProperties": false}
Fields
-
modelstringThe model, tool or algorithm used to create this embedding.
- at most 1024 characters
-
targetstringThe name of the variable or feature being embedded (e.g., 'description_text', 'query').
- at most 128 characters
-
vectorarray of number requiredEmbedding vector. Its length represents its dimensionality.
- 1 to 16384 items
-
attributesobjectArbitrary metadata relevant to this embedding.
- at most 16 properties
-
*string | number | boolean | nullAny other key.
- string: at most 1024 characters
Copyright 2025 Dorsal Hub LTD. Licensed under Apache-2.0.