Clarification on configuring the calendar integration in Sanity.io.
In the config/content-calendar.json configuration file:
"type" refers to your document type (schema name), not the word "document" itself. So if you have a document schema called post, article, or event, that's what goes in the type field.
"titleField" specifies which field from your document should be displayed as the title/name of the event in the calendar view. This helps you identify documents at a glance when looking at the calendar.
For example, in your configuration:
{
"type": "post",
"field": "publishedAt",
"titleField": "title"
}"type": "post"- This targets documents with the schema typepost"field": "publishedAt"- This is the date/datetime field used for scheduling"titleField": "title"- This tells the calendar to display the value from thetitlefield as the event name
The titleField also supports nested properties using dot notation, like "title.en" if you have localized fields.
Important note: This plugin is now deprecated. The Sanity team recommends using sanity-plugin-scheduled-publishing instead, which is the modern, actively maintained solution for scheduling content in Sanity Studio.
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.