Typesense · Schema

SynonymItemSchema

Full-Text SearchOpen SourceSearch EngineTypo ToleranceVector Search

Properties

Name Type Description
synonyms array List of synonym terms that are interchangeable.
root string Root term for one-way synonyms. When set, the synonyms list maps to this root term.
View JSON Schema on GitHub

JSON Schema

typesense-synonymitemschema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SynonymItemSchema",
  "title": "SynonymItemSchema",
  "type": "object",
  "properties": {
    "synonyms": {
      "type": "array",
      "description": "List of synonym terms that are interchangeable.",
      "items": {
        "type": "string"
      }
    },
    "root": {
      "type": "string",
      "description": "Root term for one-way synonyms. When set, the synonyms list maps to this root term."
    }
  }
}