Sanity Schemas
This document describes the Sanity content schemas used in Infowebplus.
Schema Location
Schemas are defined in studio/schemas/ directory.
Content Types
Hero
Hero section content per language.
Fields:
- Title
- Subtitle
- CTA button
- Background image
- Localization
Service
Service listings with features and technologies.
Fields:
- Title
- Description
- Features
- Technologies
- Icon
- Localization
Testimonial
Client testimonials.
Fields:
- Client name
- Company
- Testimonial text
- Rating
- Avatar image
Site Settings
Global site settings.
Fields:
- Logo
- Social links
- Contact information (legacy
contactPhonefield - see Contact Information for newcontactPhonesarray) Footer content(moved to Footer document - see Footer Configuration)
Note: The footerText field has been moved to the Footer document. See Migration Guide for details.
Quote Settings
Quote calculator configuration.
Fields:
- Project types
- Features
- Complexity levels
- Timeline options
- Pricing settings
- Country multipliers
Contact Information
Contact information supports multiple phone numbers with location-based display.
Fields:
contactPhones(array): Multiple phone numbersnumber(string, required): Phone numberlabel(localized object, optional): Label (e.g., "Main", "Sales", "Support")- Supports:
en,es,ro
- Supports:
displayLocation(array, required): Where to display- Options:
"contact","footer", or both
- Options:
contactPhone(string, legacy): Single phone number (fallback)
See Contact Information for detailed documentation.
Footer
Footer configuration document.
Fields:
footerText(localized text): Main footer description textmenus(array): Navigation menus for footercopyright(object): Copyright informationreferral(object, optional): Referral program section
Note: footerText was moved from siteSettings to this document. See Migration Guide for details.
See Footer Configuration for detailed documentation.
Legal Pages
Legal pages (Privacy Policy, Terms of Service, etc.).
Fields:
title(localized object): Page titleslug(slug): URL slugcontent(array of blocks): Page contentpublishedAt(datetime): Publication date (displays as "Last updated" on frontend)
See Legal Pages for detailed documentation.
Adding New Schemas
- Create schema file in
studio/schemas/ - Export schema definition
- Import in
studio/schemas/index.ts - Restart Sanity Studio