Finding documentation for Sanity Studio setup

4 replies
Last updated: May 11, 2020
I have been setting up Sanity Studio and was wondering where you can find the documentation for things like image type options, etc in the documentation? Or even a list of all data types (text, slug, etc)?
AI Update

Great question! The documentation for schema types in Sanity is organized under the Schema Types section of the docs. Here's where to find everything:

Main Schema Types Documentation

The complete list of all available schema types lives at sanity.io/docs/studio/schema-types. This is your go-to reference for all the built-in types you can use when defining your content structure.

Common Schema Types You'll Use

Here are the most frequently used types and where to find their documentation:

Primitive Types:

Complex Types:

Image Type Options Example

Since you specifically asked about image type options, the image type documentation covers options like:

{
  name: 'coverImage',
  type: 'image',
  options: {
    hotspot: true,  // Enable focal point selection
    metadata: ['blurhash', 'lqip', 'palette', 'exif']  // Extract metadata
  },
  fields: [
    {name: 'alt', type: 'string', title: 'Alt text'},
    {name: 'caption', type: 'string', title: 'Caption'}
  ]
}

Finding All Properties

Each schema type documentation page includes:

  • All available options for that type
  • Common properties like name, title, description, hidden, readOnly, validation
  • Examples showing how to configure the type
  • Type-specific features and customization options

The main Schema configuration page also lists all common properties that work across all types, including validation methods, deprecation options, and more.

Just navigate to the specific type you're working with to see all the configuration possibilities!

Ahh that is where it is hiding! Thanks so much
user P
πŸ™‚
Ahh that is where it is hiding! Thanks so much
user P
πŸ™‚

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Was this answer helpful?