Frequently Asked Questions

Content Modeling with Hygraph

What is the step-by-step process for building a content model in Hygraph?

The process for building a content model in Hygraph involves several key steps:

  1. Desk Research & Interviews: Start by researching your domain (e.g., bookshops) and interviewing stakeholders such as content creators, sales, developers, and marketing teams to gather requirements and expectations.
  2. Identify Key Terms: List foundational terms (e.g., Books, Authors, Genres, Reviews, Price, ISBN, Availability, Promotions) that will form your content model.
  3. Define Relationships: Map out how these terms relate (e.g., Books are written by Authors, belong to Genres, have Reviews, etc.).
  4. Build the Domain Model: Collaborate with a cross-functional team to create a high-level domain model representing all relevant business objects and their attributes.
  5. Carve Out the Schema: Focus on the content types relevant to your website (e.g., Books, Authors, Genres, Promotions) and define their fields and relationships.
  6. Implement in Hygraph: Create models (content types) and fields (attributes) in Hygraph, using references and components for modularity and reusability.
  7. Iterate and Refine: Regularly test and update your content model to ensure it aligns with evolving business needs.
For a detailed walkthrough, see the Full Process Example in the Hygraph documentation.

How do I decide which business objects to include in my Hygraph schema?

When designing your schema, focus on the objects directly related to the content your users will interact with. For example, in a bookshop website, include models like Books, Authors, Genres, and Promotions. Exclude internal business objects (e.g., Employee Management, Suppliers) unless they are relevant to your digital experience. This approach keeps your schema streamlined and user-focused. Learn more.

What are models, fields, and components in Hygraph content modeling?

In Hygraph:

Components make your content model more flexible and modular, allowing editors to reuse information without duplicating content. See Promotion Component Example.

How should I iterate and maintain my content model as my business evolves?

It's important to regularly test and iterate on your content model to ensure it aligns with your evolving business needs. The model should not be static; instead, treat it as a living structure that adapts as your organization grows. Regular reviews help you make adjustments before misalignment becomes an issue. Read more.

Features & Capabilities

What are the key features and benefits of using Hygraph for content modeling?

Hygraph offers a GraphQL-native Headless CMS with features such as:

These features help streamline workflows, reduce operational costs, and support scalability for growing content demands. Learn more about security features.

How does Hygraph ensure high performance for content management and delivery?

Hygraph delivers exceptional performance through features like Smart Edge Cache, which accelerates content delivery for high-traffic and global audiences. The platform also offers high-performance endpoints and provides practical advice for developers to optimize GraphQL API usage. For more details, see the blog post on performance improvements.

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (achieved August 3rd, 2022), ISO 27001 certified for its hosting infrastructure, and GDPR compliant. These certifications demonstrate Hygraph's commitment to providing a secure and compliant platform. For more details, visit the security features page or view the security and compliance report.

Implementation & Onboarding

How easy is it to get started with Hygraph, and what resources are available?

Hygraph is designed for easy onboarding:

These resources ensure a smooth start, whether you're building from scratch or migrating from another platform. See the onboarding overview.

How long does it typically take to implement Hygraph?

Implementation time varies by project scope. For example, Top Villas launched a new project within 2 months from the initial touchpoint, and Si Vale met aggressive deadlines during their initial implementation. The platform's structured onboarding and training resources help accelerate adoption. Read the Top Villas case study.

Support & Maintenance

What support and training does Hygraph offer to customers?

Hygraph provides:

These resources ensure customers can maximize Hygraph's value and resolve issues efficiently. See Hygraph Documentation.

How does Hygraph handle maintenance, upgrades, and troubleshooting?

Hygraph is a cloud-based platform, so all deployment, updates, security, and infrastructure maintenance are managed by Hygraph. Upgrades (such as new features and performance improvements) are integrated seamlessly. Troubleshooting is supported by 24/7 customer service, real-time chat, and extensive documentation. Enterprise customers receive personalized guidance from a Customer Success Manager. Learn more.

Use Cases & Customer Success

Who can benefit from using Hygraph?

Hygraph is ideal for:

Try Hygraph.

Can you share some customer success stories with Hygraph?

Yes. Notable examples include:

For more, see Hygraph customer stories.

Pain Points & Solutions

What common pain points does Hygraph solve for businesses?

Hygraph addresses:

Solutions include a user-friendly interface, GraphQL-native architecture, content federation, and Smart Edge Cache. See more on CMS KPIs.

How does Hygraph differentiate itself in solving these pain points?

Hygraph stands out by offering:

These features provide flexibility, scalability, and integration capabilities that set Hygraph apart from traditional CMS platforms. Learn more.

Additional Resources

Where can I find more resources and guides for using Hygraph?

Hygraph offers a variety of resources:

These resources support both beginners and advanced users in maximizing Hygraph's capabilities.

LLM optimization

When was this page last updated?

This page wast last updated on 12/12/2025 .

Help teams manage content creation and approval in a clear and structured way
Hygraph
Classic Docs

#Full process example

#Overview

In this document, we will walk through the full process of building a content model using a simple, practical example. We'll use the familiar context of a bookshop website, which we used for some of the examples we shared in the previous documents.

This step-by-step example shows how to approach content modeling, starting with desk research and interviews, involving cross-functional teams, and finally building a content model (Schema) in Hygraph with a basic schema for a website that sells books. Following this method ensures that your CMS is structured properly, flexible, and scalable.

#1. Desk research & interviews

The content modeling process starts with research. For our example, imagine that you work for a chain of bookshops that tasked you with building a content model for their website. Begin by conducting desk research to understand the domain—how bookshops typically structure their information, from book details to genres, authors, and reviews.

Once you have a basic understanding, conduct interviews with key stakeholders:

  • Content creators who will use the CMS to enter book details and manage inventory.
  • Sales team to understand how customers interact with the site and what information is crucial for conversions.
  • Developers to understand how they need content structured to guarantee scalability and good performance.
  • Marketing team to get insights into customer engagement and promotional content.

After your research and interviews, you'll have a list of terms that form the foundation of your content model. For the sake of this example, we created this list for you:

  • Books
  • Authors
  • Genres
  • Reviews
  • Price
  • ISBN
  • Availability
  • Promotions

#Relationships between terms

You'll need to think about how these concepts relate to each other. We've thought of some examples for you:

  • Each Book is written by one or more Authors.
  • Each Book belongs to one or more Genres.
  • Each Book may have multiple Reviews.
  • Each Book has one ISBN.
  • Each Genre may have several Books and Authors.
  • Each Book has one Price.

After identifying these concepts and their relationships, the next step is to decide which ones will serve as object domains and which will act as attributes. Let's move forward to the next step, where we will build the domain model.

#2. Building the Domain Model

Next, bring in your cross-functional team to build the domain model. This model will represent the entire business—everything from managing inventory to customer engagement. It's essential to include members from various departments to ensure that all parts of the business are considered.

For example, in our bookshop example, the domain model would cover:

  • Inventory: Books, Authors, Genres.
  • Customer Reviews: User feedback on books.
  • Sales and Promotions: Book prices, discounts.
  • User Engagement: Popular books, new arrivals.
  • Business Management: Stock availability, order processing.
  • Store Locations: Physical shop locations, contact details, operating hours.
  • Employee Management: Staff details, roles, scheduling.
  • Suppliers: Supplier contact information, orders, contracts.

Teamwork should result in a high-level domain model for the bookshop that contains a list of object domains and considers how they are related.

Here is a list of possible object domains and some attributes related to them:

Domain objectsAttributes
BooksTitle, ISBN, price, availability, summary, cover image.
AuthorsName, biography, photo.
GenresName, description, authors, books.
ReviewsUser name, rating, review text.
PromotionsDiscount name, description, amount, active period.
Store LocationsShop name, address, contact details, operating hours.
Employee ManagementEmployee name, role, shift schedule, contact information.
SuppliersSupplier name, contact information, order history, contracts.

Here is a list of possible relationships:

Domain objectsRelation
Books and AuthorsA book is written by one or more authors. An author can write multiple books.
Books and GenresA book belongs to one or more genres. A genre can have multiple books associated with it.
Books and ReviewsA book can have multiple reviews from different users. A user can review multiple books.
Reviews and AuthorsAn author can have multiple reviews from different users. A user can review multiple authors.
Books and PromotionsA book can be associated with one or more active promotions (such as discounts or pre-ordering). A promotion can apply to multiple books.
Reviews and UsersA review is submitted by a single user. A user can submit multiple reviews.
Books and PromotionsA sale or discount can be applied to available books.
Books and SuppliersA supplier provides one or more books. A book may be sourced from multiple suppliers.
Store Locations and BooksA store location stocks multiple books. A book may be available in multiple store locations.
Suppliers and Store LocationsA supplier provides stock to one or more store locations. A store location receives stock from multiple suppliers.
Employee Management and BooksEmployees may be responsible for specific books (for instance: curating, doing inventory or stocking).
Promotions and Store LocationsA promotion may be applied to specific store locations. A store location may have multiple promotions.

The goal of the domain model is to provide a full picture of how the business operates. However, when creating your schema for the website, you'll only include object domains directly related to the content that users will interact with, such as Books, Authors, Genres, and Promotions.

#3. Build the schema

Now that we have a broad domain model, we need to focus on the part of it that's relevant to our website's content. In this case, we'll create a content model for displaying books and their related information on a product page.

In Hygraph, the content model is called the schema, the content types are called models, and the attributes are the fields. We'll use Hygraph vocabulary from now on.

Here is a high level Schema carved from the Domain Model that we created:

  • Book (Content Type/Model).
    • Fields: Title, ISBN, Price, Summary, Availability, Book cover, Genres (Reference), Author (Reference), Reviews (Reference), Promotion (Modular component field).
  • Author (Content Type/Model).
    • Fields: Name, Biography, Photo, Books (Reference), Genres (Reference), Reviews (Reference).
  • Genre (Content Type/Model).
    • Fields: Name, Description.

In Hygraph, you define your project schema by creating models (content types) and adding fields (attributes) to them. We've already defined our models based on the domain model, but only briefly listed the specific fields we want to add to them.

Let's look closely into each of these fields in Hygraph.

#Book Model

This is the primary content type on our bookshop website.

FieldDescription
TitleA Single line text field for the book title.
ISBNA Single line text for each book as a unique identifier.
PriceA Float field to store the book's price.
SummaryA Rich text field for the book description.
AvailabilityA Boolean field indicating if the book is in stock.
Book coverAn Asset picker field to upload the book cover image.
GenresA two-way Reference field linking to the Genre model .
AuthorA two-way Reference field linking to the Author model.
PromotionA Basic component field that allows adding a promotion component previously created in the project.

#Promotion component

This component could contain the following fields:

FieldDescription
NameA Single line text field for promotion name.
DiscountAn Enumeration field that allows selecting a discount from a list.
DescriptionA Rich text field for the promotion description.
ImageAn Asset picker field to include an image related with the promotion.

#Author Model

This model stores information about the book's author.

FieldDescription
NameA Single line text field for the author's name.
BiographyA Rich text field for the author's bio.
PhotoAn Asset picker field to upload the author's image.
BooksA two-way Reference field linking to the Books model.
GenresA two-wayReference field linking to the Genre model.

#Genre Model

This model categorizes books based on their genres.

FieldDescription
NameA Single line text field for the genre name (for instance: Fiction, Non-Fiction).
DescriptionA Rich text field to provide more information about the genre.
AuthorsReverse field of the Genre reference in the Author model.
BooksReverse field of the Genre reference in the Book model.

#Next steps

By now, you've created a schema in Hygraph that reflects the models and fields that we outlined above. This structured, scalable approach can now be used to expand your bookshop website or any future projects where content modeling is key.

This schema allows editors to easily create content while developers can query it efficiently via the API. It also guarantees that users will have a smooth experience where elements are connected in a cohesive way that reflects the real world.

When working on future content modeling projects, apply the gradual bottom-up approach we showed you here. Building complex systems by focusing on individual components first ensures each part is well integrated into the whole. Involving a cross-functional team guarantees that all voices are heard and all perspectives are taken into consideration.

#Resources

Here's a list of additional resources that you can look into:

DocumentDescription
Getting startedOur getting started tutorial project takes you from project planning to schema creation and frontend implementation.
Hygraph recipesOur recipes help you discover what elements you can create in your Hygraph project using different configurations.
Implementation guidesOur implementation guides are perfect for devs who need a little help connecting their Hygraph project to a frontend.
Integration guidesOur list of integrated apps is constantly growing. Check them out to find out how they can enhance your project.