Concepts & naming patterns

Concepts & naming patterns

  • Document: a stand-alone entity in Sanity's dataset
    • Can have routes (such as landingPage, blog.article, caseStudy, etc.) or not (a teamMember, blog.tag, caseStudy.category, etc.)
  • Singletons: special types of documents that are unique
    • Editors can't delete, unpublish or duplicate them
    • Examples: the homepage, settings, header navigation, etc.
  • Collections: groups of documents, of one or more types
    • Collections of blog articles, case studies, FAQs, concepts, etc.
  • Collection indexes: the routes that list documents in a collection
    • They usually have singletons associated with them, like the blogIndex or caseStudiesIndex documents
  • Sanity studio: the CMS interface we use to edit content in the /manage route
💡
This list is pending, feel free to suggest new concepts