Validate schema script
A script to validate that your schema is free of errors and warnings
Go to Validate schema scriptBrowse ready-made Sanity.io schemas to structure your content quickly. Find useful code snippets for workflows, input components, migration scripts, and studio configurations.
A script to validate that your schema is free of errors and warnings
Go to Validate schema scriptSanity preview component cannot access the parent/document if its inside an array or object. Using Custom Preview component, we can solve the issue.
Go to Sanity Custom Preview Component to get Parent DocumentThis recipe is a UX affordance for Sanity Studio, which makes it easier for editors to manage heavily cross-referenced documents. It provides a list of backlinks to referring documents.
Go to List Referring Documents (Backlinks) in SanityQuickly and easily validate your slug without having to work out the regex syntax
Go to Easy peasy URL SlugA custom input component that conditionally shows fields in from the 'fields' array
Go to Conditional FieldsSet slug on publish document action
Go to Set slug on publish with referenced field valueMigration script for deleting documents based on a GROQ filter
Go to Delete documents by filterRecursive schema for nested navigations
Go to Nested navigation structure