Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

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
Deleting a schema in Sanity does not delete related documents, but they can be deleted in batch using the CLI. The discussion...10Jul 10, 2023
Error when trying to publish a document of a "settings" schema in Sanity.io.16Jul 6, 2023
Issue with slug auto-generation in Sanity.io schema5Jun 20, 2023
Best practices for backfilling content in Sanity when adding new fields to schema.7Jun 19, 2023
Migrating schema file to v3 and updating slugify example.5Jun 13, 2023
Issues with array field and reference type in navMenu schema9Jun 11, 2023
How to apply different schema based on type in a GROQ query for nested references4Jun 9, 2023
Troubleshooting adding a schema to Sanity project24Jun 3, 2023
Querying image URLs in Sanity.io schema and data23May 26, 2023
Making fields required in Sanity schema using a validation rule2May 23, 2023
Querying for documents by reference in a post and tag schema4May 22, 2023
Adding images to the blockContent schema in Sanity.io35Apr 4, 2023
Schema structure for Sanity and creating specific fields for each page in a mini-site.10Mar 11, 2023
How to show thumbnail/title from deeply nested objects in a schema4Feb 27, 2023
Using locally scoped variables for objects and documents in Sanity schema files.45Feb 18, 2023
Using an external JSON file to define options for a list in a Sanity schema file24Feb 12, 2023
How to get schema types into a TypeScript project with a React.js app and Sanity.io12Feb 3, 2023
Recovering lost schema files in Sanity.io project7Feb 1, 2023