Join Slack
Powered by
What's the language used to declare the schema? JS...
# community-help
s
sparkle
04/01/2022, 5:48 PM
What's the language used to declare the schema? JSON Schema? Does it support object types? Thanks!
j
Jason Bosco
04/01/2022, 5:56 PM
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
Jason Bosco
04/01/2022, 5:57 PM
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
Open in Slack
Previous
Next