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
Slug validation error: name.includes is not a function in custom rule7Aug 18, 2023
TypeError: Cannot read properties of null (reading 'jsonType') in Sanity schema5Sep 28, 2022
Handling dynamic meta titles and descriptions in Sanity9Feb 25, 2021
Rendering nested block content3Jan 18, 2021
Conditional field schema settings based on user role in Sanity4Aug 15, 2024
Skip reference modal and open pane directly in custom preview component7Jun 24, 2024
Dropdown field not showing in Sanity schema9Jun 19, 2024
Filtering array of references in GROQ for Sanity schema design8Jun 18, 2024
sanity schema extract" command not found in Sanity CLI v3.45.07Jun 11, 2024
Where to fix deprecated structure syntax after Sanity upgrade?9Apr 24, 2024
How to filter internationalized document references by language in Sanity?3Apr 17, 2024
Sanity schema extraction ignoring required validation field12Apr 2, 2024
How to implement singleton document type without deprecated deskTool?6Mar 26, 2024
Applying a filter to the desk structure to directly edit an active schema remotely.12Mar 11, 2024
Where to find type definitions for Sanity schema types like image objects?6Feb 27, 2024
Removing schema field - handling existing document data14Feb 8, 2024
How to create self-referencing schemas in Sanity without circular references?3Feb 3, 2024
Performance impact of storing unstructured data as queryable object in Sanity3Jan 24, 2024