How SanityPress Structures Schema

  • #Features
Read time: 2 minutes
Mitchell Christ
Mitchell Christ
los angeles California clean green highway overpass sign with the text "SanityPress 16mi", broad daylight and blue skies, rush hour traffic, Hasselblad 4k

SanityPress is built with an emphasis on simplicity and speed, providing you with everything you need to launch a website or blog quickly. While the frontend comes with a minimal, opinionated design to get you started, the backend schema offers a thoughtfully organized structure to power your content management.

Let’s explore the default schema content types in SanityPress and how they help you manage global settings, pages, menus, and more.

The default SanityPress schema structure
The default SanityPress schema structure

Global data

The Site settings section centralizes global information about your website. Here, you can manage metadata like the site title, logo(s), any scheduled announcements, copyright information, etc. These settings ensure consistent branding across your site.

Page data (Routes)

Under Pages, you’ll define the routes that make up your website. Whether it's a homepage, an about page, or a contact us page, this schema gives you the flexibility to create pages with unique layouts and content.

For blog-specific content, Blog posts and Blog categories provide a straightforward way to organize your articles. Categorization allows for better content filtering and improves the user experience by grouping related posts together.

Website navigation is critical, and SanityPress simplifies it with the Navigation schema. It allows you to create and manage menus effortlessly, ensuring visitors can easily explore your site. You can define social media links (Facebook, LinkedIn, TikTok, etc) from here as well.

The Redirects schema provides a way to handle URL changes gracefully. If you restructure your site or migrate from another platform, you can set up redirects to avoid broken links and maintain SEO equity.

Miscellaneous

The Miscellaneous section is where flexibility shines. It’s intended for any additional data you might need, mainly for reusable content like announcements and testimonial entries. Feel free to use this area as a catch-all for custom data that may not fit into the other categories.

Final thoughts

You can dive deeper into the structure and purpose of these schema content types by visiting the documentation.

💡
As with anything and everything in SanityPress, the structure of all of the mentioned schema can be modified. This is only a starting point and we encourage developers to customize however it may fit your needs!

Ready to get started?

SanityPress offers a practical, opinionated starting point for structuring content in Sanity CMS and with Next.js 15. By organizing your schema into these clear categories, it balances flexibility with simplicity, making it easy to manage both small and large projects.

Explore the power of SanityPress and take control of your content!

"SANITYPRESS" as Hollywood sign on the hill of Los Angeles, blue skies, Hasselblad 4k