What's the language used to declare the schema? JS...
# community-help
s
What's the language used to declare the schema? JSON Schema? Does it support object types? Thanks!
j
It's not JSON Schema, it's a much simpler structure defined by the parameters here: https://typesense.org/docs/0.22.2/api/collections.html#schema-parameters
Nested fields support is on our near term plans to add, but in the meantime, you would have to flatten the object like this: https://typesense.org/docs/0.22.2/api/collections.html#indexing-nested-fields