Typesense · Schema

CollectionSchema

Full-Text SearchOpen-SourceSearch EnginesTypo ToleranceVector Search

Properties

Name Type Description
name string Name of the collection.
fields array Array of field definitions for the collection schema.
default_sorting_field string Name of the field to sort by when no sort_by parameter is specified.
token_separators array Characters to use as token separators in addition to whitespace.
symbols_to_index array Characters that should be indexed as part of tokens.
enable_nested_fields boolean Whether to enable indexing of nested object fields.
synonym_sets array List of synonym set names to attach to this collection.
voice_query_model object
metadata object Arbitrary metadata to store with the collection.
View JSON Schema on GitHub

JSON Schema

typesense-collectionschema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CollectionSchema",
  "title": "CollectionSchema",
  "type": "object",
  "required": [
    "name",
    "fields"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the collection."
    },
    "fields": {
      "type": "array",
      "description": "Array of field definitions for the collection schema.",
      "items": {
        "$ref": "#/components/schemas/Field"
      }
    },
    "default_sorting_field": {
      "type": "string",
      "description": "Name of the field to sort by when no sort_by parameter is specified."
    },
    "token_separators": {
      "type": "array",
      "description": "Characters to use as token separators in addition to whitespace.",
      "items": {
        "type": "string"
      }
    },
    "symbols_to_index": {
      "type": "array",
      "description": "Characters that should be indexed as part of tokens.",
      "items": {
        "type": "string"
      }
    },
    "enable_nested_fields": {
      "type": "boolean",
      "description": "Whether to enable indexing of nested object fields."
    },
    "synonym_sets": {
      "type": "array",
      "description": "List of synonym set names to attach to this collection.",
      "items": {
        "type": "string"
      }
    },
    "voice_query_model": {
      "$ref": "#/components/schemas/VoiceQueryModelConfig"
    },
    "metadata": {
      "type": "object",
      "description": "Arbitrary metadata to store with the collection."
    }
  }
}

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.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/typesense-collectionschema"
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 email required.

A second provider on the same verified email joins the account you already have.