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
Explaining self-referencing category array without category name field14Aug 8, 2020
URL field validation error in block: "Validator for flag 'uri' not found7Aug 6, 2020
Do I need `sanity deploy` when hosting studio on Netlify after schema changes?2Aug 4, 2020
Sanity GraphQL: Duplicate type name error with reference and inline types3Jul 30, 2020
Add Generate Button to String Field for ShortID Generation3Jul 29, 2020
Sanity Studio "mainImage is not defined" error despite schema definition6Jul 24, 2020
How to wrap nested arrays in objects in Sanity schemas?5Jul 16, 2020
Best Tools to Use for Content Modelling3Jul 13, 2020
Schema Specification for a Document - Is There a Way to Specify That Field To Be Unique?7Jul 13, 2020
Generate schema.json from production Sanity Studio deployment4Jun 29, 2020
How to add an HR component to blockContent schema in Sanity?3Jun 22, 2020
How to get unique values in a GROQ query?17Jun 9, 2020
Is the 'Slug' Schema Type Auto Set to be Always Unique?3Jun 4, 2020
Adding text to a document without a user field in Sanity.io6May 30, 2020
Setting Initial Values for Array with Image and Video Object Types12May 28, 2020
Updated Schema Field Name - How to Delete Property with the Old Name3May 17, 2020
Where to define schema for deskStructure siteSettings document type?7May 17, 2020
How to define schema for deskStructure in Sanity.io6May 17, 2020