Finding documentation for Sanity Studio setup
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:
- String - Text fields
- Number - Numeric values
- Boolean - True/false values
- Date/Datetime - Date and time fields
- URL - URL fields with validation
- Text - Multi-line text
Complex Types:
- Image - Images with hotspot, crop, and metadata options
- File - PDFs and other file uploads
- Array - Lists of items
- Object - Nested structured data
- Reference - Links to other documents
- Slug - URL-friendly identifiers
- Block/Portable Text - Rich text content
- Geopoint - Geographic coordinates
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!
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.