✨Discover storytelling in the AI age with Pixar's Matthew Luhn at Sanity Connect, May 8th—register now

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
Querying images used in a document in a schema-agnostic way in Slack thread.5Oct 8, 2023
How to reuse schema sections in Sanity.io7Oct 6, 2023
Adding a field to select multiple strings from a fixed list in Sanity.io schema.3Oct 4, 2023
Issue with displaying images in a website using Sanity.io schema and backend response.3Sep 28, 2023
How to allow unique values in an array in Sanity.io schema.7Sep 21, 2023
How to create an array of objects for ticket prices in an event schema.4Sep 15, 2023
Querying a schema returns an empty array after breaking website into multiple pages.4Aug 22, 2023
Issue with setting `initialValue` containing `/` in a schema field.4Aug 21, 2023
Issue with schema changes causing data to disappear and difficulty in deleting specific schema documents.11Aug 11, 2023
Types for custom desk structure and generating schema types in Sanity.io17Aug 9, 2023
Improving schema setup for adding bold and italics to a title/string field in Slack thread.4Jul 21, 2023
Listing documents of a specific schema type in a pane while also listing other document type list items in Slack.3Jul 17, 2023
How to declare a custom type in Sanity.io schema and resolve the issue12Jul 13, 2023
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