Weaviate · Schema
Class
Weaviate Class schema
Vector DatabaseArtificial IntelligenceMachine-LearningSemantic SearchOpen-SourceGraphQLKubernetes
Properties
| Name | Type | Description |
|---|---|---|
| class | string | Name of the collection (formerly 'class') (required). Multiple words should be concatenated in CamelCase, e.g. `ArticleAuthor`. |
| vectorConfig | object | Configure named vectors. Either use this field or `vectorizer`, `vectorIndexType`, and `vectorIndexConfig` fields. Available from `v1.24.0`. |
| vectorIndexType | string | Name of the vector index type to use for the collection (e.g. `hnsw` or `flat`). |
| vectorIndexConfig | object | Vector-index config, that is specific to the type of index selected in vectorIndexType |
| shardingConfig | object | Manage how the index should be sharded and distributed in the cluster |
| replicationConfig | object | |
| invertedIndexConfig | object | |
| multiTenancyConfig | object | |
| objectTtlConfig | object | |
| vectorizer | string | Specify how the vectors for this collection should be determined. The options are either `none` - this means you have to import a vector with each object yourself - or the name of a module that provid |
| moduleConfig | object | Configuration specific to modules in a collection context. |
| description | string | Description of the collection for metadata purposes. |
| properties | array | Define properties of the collection. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/weaviate/json-schema/weaviate-class-schema.json",
"title": "Class",
"description": "Weaviate Class schema",
"type": "object",
"properties": {
"class": {
"type": "string",
"description": "Name of the collection (formerly 'class') (required). Multiple words should be concatenated in CamelCase, e.g. `ArticleAuthor`."
},
"vectorConfig": {
"type": "object",
"description": "Configure named vectors. Either use this field or `vectorizer`, `vectorIndexType`, and `vectorIndexConfig` fields. Available from `v1.24.0`.",
"additionalProperties": {
"$ref": "#/components/schemas/VectorConfig"
}
},
"vectorIndexType": {
"type": "string",
"description": "Name of the vector index type to use for the collection (e.g. `hnsw` or `flat`)."
},
"vectorIndexConfig": {
"type": "object",
"description": "Vector-index config, that is specific to the type of index selected in vectorIndexType"
},
"shardingConfig": {
"type": "object",
"description": "Manage how the index should be sharded and distributed in the cluster"
},
"replicationConfig": {
"$ref": "#/components/schemas/ReplicationConfig"
},
"invertedIndexConfig": {
"$ref": "#/components/schemas/InvertedIndexConfig"
},
"multiTenancyConfig": {
"$ref": "#/components/schemas/MultiTenancyConfig"
},
"objectTtlConfig": {
"$ref": "#/components/schemas/ObjectTtlConfig"
},
"vectorizer": {
"type": "string",
"description": "Specify how the vectors for this collection should be determined. The options are either `none` - this means you have to import a vector with each object yourself - or the name of a module that provides vectorization capabilities, such as `text2vec-weaviate`. If left empty, it will use the globally configured default ([`DEFAULT_VECTORIZER_MODULE`](https://docs.weaviate.io/deploy/configuration/env-vars)) which can itself either be `none` or a specific module."
},
"moduleConfig": {
"type": "object",
"description": "Configuration specific to modules in a collection context."
},
"description": {
"type": "string",
"description": "Description of the collection for metadata purposes."
},
"properties": {
"type": "array",
"description": "Define properties of the collection.",
"items": {
"$ref": "#/components/schemas/Property"
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/weaviate-class"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.