Answers from the community about Schema

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Discord to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
Sanity datetime schema type displaying incorrect day of week5Jan 22, 2024
Sanity AI Assist not working despite troubleshooting and updates18Nov 9, 2023
Should Sanity schema documents use .jsx/.tsx or only for dynamic schemas?3Oct 18, 2023
Sanity Navigation Empty on Vercel Deploy but Works in Dev - Network Error9Oct 10, 2023
Query images used in document regardless of schema structure5Oct 8, 2023
How to reuse schema sections across multiple schemas in Sanity?7Oct 6, 2023
How to create a multi-select field with predefined string options in Sanity schema?3Oct 4, 2023
Image in portable text array returns reference instead of CDN URL3Sep 28, 2023
How to limit array items to one instance each in Sanity schema?7Sep 21, 2023
Create array with title and value fields without document reference4Sep 15, 2023
Empty array returned from Sanity query despite items existing in studio4Aug 22, 2023
How to delete all data for specific schema documents in Sanity?11Aug 11, 2023
TypeScript types for Sanity desk structure builder `S` parameter17Aug 9, 2023
Adding bold/italics to string field without full block editor4Jul 21, 2023
List multiple document types in same Structure pane with custom items3Jul 17, 2023
How to declare custom types in Sanity schema?12Jul 13, 2023
Does removing a schema delete its related documents in Sanity?10Jul 10, 2023
Singleton settings document "_type" immutable error on publish16Jul 6, 2023