Answers from the community about Schema

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

TopicCategoriesFeaturedRepliesLast Updated
Rendering nested block content3Jan 18, 2021
List Arrays - Is it Possible to Fill a List Array Within a Schema Asynchronously?3Mar 16, 2021
TypeError: Cannot Read Properties of Null (Reading 'jsonType')5Sep 28, 2022
Error in custom validation rule for schema in Slack thread7Aug 18, 2023
How to populate a list of values in a Sanity schema using a separate file6Sep 6, 2021
Deleting a type A document caused an error when trying to remove type B from the schema.11May 1, 2020
Error when adding color-input plugin to schema2Apr 6, 2020
Issue editing objects in CMS due to missing schema property3Dec 2, 2020
Hi, I need help with Iframe preview, I have a `route` schema with unique `slug` (`/lb/123`) and also I have `page` schema...10Dec 21, 2020
I can't find the edit button to edit the image... can someone help?6Dec 31, 2020
Hi! How to add a doc via sanity client that has a *weak* reference? If I do this, it throws an error `key "weak" not allowed...2Feb 2, 2021
Troubleshooting warning for documents not declared in GraphQL schema during Gatsby build10Apr 28, 2020
Managing order of displayed items in Sanity.io using defaultOrdering and individual schema ordering.7Dec 16, 2020
Checking if a schema preview is a draft in Sanity.io4Apr 23, 2020
Setting up schema with references to filter categories by project in Sanity.io5Jul 6, 2020
what is the difference between objects and plugs?6Sep 17, 2020
Understanding how to query categories in Sanity schema using Groq14Aug 8, 2020
Request for "generate" button for string type and suggestion to use slug schema type instead.3Jul 29, 2020