■ Sanity CMS Development · Schema-First

    Sanity rewards careful schema design. And punishes hurried ones.

    schemas/product.ts

    Sanity v3

    import { defineField, defineType } from 'sanity'
    
    export default defineType({
      name: 'product',
      title: 'Product',
      type: 'document',
      fields: [
        defineField({ name: 'title', type: 'string', validation: r => r.required() }),
        defineField({ name: 'slug',  type: 'slug', options: { source: 'title' } }),
        defineField({ name: 'line',  type: 'reference', to: [{ type: 'productLine' }] }),
        defineField({ name: 'body',  type: 'array', of: [
          { type: 'block' },
          { type: 'animatedDiagram' },     // schema-connected component
          { type: 'projectReference' },    // referenced content
        ]}),
        defineField({ name: 'i18n', type: 'object', fields: [
          { name: 'de', type: 'localizedBody' },
          { name: 'en', type: 'localizedBody' },
        ]}),
      ],
    })
    Ritesh Agarwal, lead architect at Appycodes

    ■ Talk to the lead architect

    Multilingual corporate site, structured product lines, or a Contentful / Strapi migration? Bring it directly to Ritesh — no SDR, no qualification call.

    Ritesh Agarwal · Lead Architect, Appycodes · LinkedIn

    ■ What you get

    Six engagements.

    Each engagement starts with a week on the schema. Anyone who skips that step is selling you a content migration project they don't know they're selling.

    01

    Greenfield Sanity + Next.js

    Corporate, B2B, editorial sites. Visual editing via the Presentation tool, draft mode in App Router, typed schemas with custom validation.

    02

    Multilingual setups

    Schema-level i18n, language-aware routing, fallback chains. Shipped in production across German / English with two product lines.

    03

    Migration into Sanity

    From WordPress, Contentful, or Strapi. Content remap, URL preservation, redirect engineering at the edge. SEO equity preserved.

    04

    Custom schema design

    References vs portable text vs nested objects vs singletons. We argue about it at Week 1 because Week 12 is when bad calls hurt.

    05

    Sanity Studio extensions

    Custom input components, validation rules, preview panes that show how content will actually render. Editors don't have to guess.

    06

    Component-as-content patterns

    Schema-connected interactive components — animated diagrams, slideshows, click-to-play media — editor-configurable without redeploying the frontend.

    ▼ The Schema Cost Curve

    Why we spend Week 1 on the schema, not the components.

    Cost of a schema-touching change, plotted across the first 30 weeks of a Sanity build. Good schemas stay flat. Hurried ones go exponential as content accumulates.

    ■ Evidence

    Multi-level corporate Sanity build, two languages, two product lines.

    Greenfield Sanity + Next.js build in German and English for a corporate rail infrastructure firm. Original sitemap defined services up to three levels deep.

    Post-sign-off, a fourth level appeared across two product lines (Long Distance Freight Track and Urban Transit — Betonschwellen, Feste Fahrbahn, Schotteroberbau, Rheda variants), forcing a Sanity schema rebuild, new page- mapping logic, and manual content entry across roughly two dozen new pages.

    Plus a Project Reference table with 23 entries, each its own schema and content. Plus schema-connected interactive components: animated diagram, Sanity-connected slideshow on the Project Reference page, click-to-play video on Plants & Construction with muted preview and click-for-sound.

    The point: schema rework cascades through content already entered. Once content is in production against a schema, restructuring that schema is a content- migration project, not a code change. We learned to quote schema-changing scope changes separately because we've lived the cost of getting it wrong.

    Pair with headless WordPress (the WP alternative for buyers staying in WP), SaaS web app development, and technical SEO for the schema migration's URL-equity work.

    ■ Good fit if

    • Corporate / B2B sites with structured product lines, multilingual delivery, multi-level navigation
    • Editorial teams mature enough to live in Sanity Studio and benefit from a real content model
    • Multilingual builds where the content model needs to express language at the schema level
    • Operators migrating off WordPress / Contentful / Strapi who want structured content, not blob HTML

    ■ Probably not a fit

    • Marketing sites where a tuned WordPress theme is faster and cheaper
    • Small teams where the Studio overhead exceeds the editorial gain
    • Sites with no plan for who owns schema evolution six months from now

    ■ Stack we ship on

    Sanity Studio v3 paired with Next.js App Router.

    CMS
    Sanity v3 · Studio v3 · TypeScript schemas · GROQ queries
    Frontend
    Next.js (App Router) · React Server Components · draft mode · ISR
    Visual editing
    Sanity Presentation tool · live preview · click-to-edit overlays
    Media
    Sanity assets · image pipeline with hotspot/crop · Cloudflare edge cache
    Deploy
    Vercel / self-hosted on AWS · preview deployments per branch

    ■ If Sanity is the right call

    Bring the sitemap and the content model. We'll spend Week 1 making sure they fit.

    Plan the schema

    Other services

    We build a lot more than this.

    Explore the rest of what we build.

    SaaS Web App Development

    MVP to production builds, multi-tenant, billing, AI features.

    Learn more

    React Native App Development

    iOS + Android in one codebase. Push, offline, OTA updates.

    Learn more

    Web App to Native Mobile App

    Convert your Lovable / Claude / Bolt web app to React Native or Flutter — backend reused.

    Learn more

    Technical SEO for SaaS

    Prerender, schema, Core Web Vitals — engineering-led SEO.

    Learn more

    Custom WordPress Development

    B2B marketplaces, membership sites, headless WordPress.

    Learn more

    Shopify Development Services

    Custom themes, migration to Shopify, Shopify apps, supplier-feed automation.

    Learn more

    Custom WooCommerce Development

    B2B wholesale, high-SKU catalogues, WooCommerce Subscriptions, Shopify-to-Woo migrations.

    Learn more

    Maintenance & Support

    Post-launch stability, security, monthly improvements.

    Learn more

    AI App Completion

    Take an AI-built prototype to a production-ready product.

    Learn more

    AI Prototype to Native App

    Convert AI-built web prototypes into native mobile apps.

    Learn more

    App Store Launch

    Submit, configure and optimise for App Store + Play Store.

    Learn more

    Tech Stack Migration

    Modernise legacy systems with zero-downtime migrations.

    Learn more

    White Label Development

    Engineering capacity for agencies, under your brand.

    Learn more

    Startup Launch Support

    From idea to live product — design, build, launch, growth.

    Learn more

    API & Integration

    Custom REST/GraphQL APIs and third-party integrations.

    Learn more

    AI SaaS Product Development

    Multi-tenant AI SaaS with subscriptions and admin dashboards.

    Learn more

    B2B Marketplace Development

    Marketplaces with credit, KYC, and trust infrastructure baked in.

    Learn more

    Custom LMS Development

    Customised Moodle deployments and bespoke Moodle mobile apps.

    Learn more

    Membership & WooCommerce Subscriptions

    Subscription recovery, dunning, migrations, combinatorial billing matrices.

    Learn more

    Shopify Migration

    Magento, WordPress, BigCommerce → Shopify. Redirect-engineering first.

    Learn more

    WordPress Security & Malware Removal

    Forensic incident response — Magecart, backdoors, DDoS, GDPR Art. 33.

    Learn more

    Laravel Development & Modernisation

    Four production Laravel platforms. ERPs, contracts, tendering.

    Learn more

    Stripe Billing Engineering

    Webhooks, metering, proration, dunning, multi-currency, reconciliation.

    Learn more

    Cloudflare Edge Engineering

    Workers, R2, WAF, Bulk Redirects. The full surface, not just the orange cloud.

    Learn more

    Internal Tools & Admin Dashboards

    Tender automation, contract operations, compliance calendars, calculators.

    Learn more

    Supabase Development

    RLS, multi-role auth, production-hardening Lovable / Bolt / v0 prototypes.

    Learn more

    Headless WordPress & WooCommerce

    WP + Next.js with preview, ISR, auth handoff, media pipeline, search.

    Learn more

    Vue.js & Nuxt Development

    Four production Vue platforms. Vue + Laravel as the default pairing.

    Learn more

    WordPress Performance Optimisation

    nginx, PHP-FPM, slow-query analysis, plugin audit. Diagnostic engineering, not plugin installs.

    Learn more

    Custom WordPress Plugin Development

    Surgical plugin work — namespaced, idempotent, version-controlled. Not functions.php.

    Learn more

    Knowledge Base & Community Platforms

    KB + forum + adjacent surfaces. Search, version-aware routing, role-based visibility.

    Learn more

    Event Ticketing Platforms

    Multi-day festivals, white-label venue groups, offline-capable door-staff apps.

    Learn more

    AI Chatbot, RAG & Agent

    Production RAG with chunking, hybrid retrieval, reranking, grounding, eval.

    Learn more

    Workflow Automation

    Make.com, n8n, Zapier, and custom Node workers — chosen by volume.

    Learn more

    Programmatic SEO Engineering

    Calculator- and location-driven SEO surfaces with real data and SSR.

    Learn more