Features / Content Modeling
20+ field types, relationships, inheritance, composition, and polymorphic references. Define schemas that reflect your real-world data structures with full validation and localization support.
Field Types
Every field type includes validation, localization, and API exposure controls. Plus arrays, objects, markdown, tags, SEO fields, and computed fields.
Full WYSIWYG editor with markdown support and embedded media
Images, videos, and files with auto-optimization and CDN delivery
One-to-one, one-to-many, and many-to-many content relationships
Structured data with JSON Schema validation
Geolocation fields with map preview and geocoding
Timezone-aware fields with range and recurrence support
Toggle fields for feature flags and conditional logic
Integer, decimal, and currency with range validation
Predefined option sets with single or multi-select
Auto-generated URL-safe identifiers from source fields
Color picker with hex, RGB, and HSL output formats
Reusable nested content blocks with their own schemas
Advanced Modeling
Build complex information architectures without workarounds. CuberIQ's content modeling supports the patterns enterprise teams need.
Create base content types and extend them. A 'Page' base type can produce 'Landing Page', 'Blog Post', and 'Product Page' variants that share common fields while adding their own.
Build complex structures by composing smaller content blocks. A 'Page' can contain an array of 'Section' components, each with its own fields and validation rules.
Reference fields can accept multiple content types. A 'Featured Item' field can link to a blog post, product, or event — your frontend handles each type appropriately.
Define per-field validations: required, unique, regex patterns, min/max ranges, and custom validators. Conditional visibility rules show or hide fields based on other field values.
Schema as Code
Use the admin UI for quick iterations or define schemas in code for version control and CI/CD workflows.
export const blogPost = defineContentType({
name: 'blog_post',
extends: 'page', // inherits title, slug, seo fields
fields: {
author: { type: 'reference', to: 'author', required: true },
category: { type: 'reference', to: 'category', many: true },
body: { type: 'richtext', localized: true },
excerpt: { type: 'text', maxLength: 300, localized: true },
featuredImage: { type: 'media', accepts: ['image/*'] },
publishedAt: { type: 'datetime', required: true },
tags: { type: 'tags', suggestions: true },
},
validations: [
{ rule: 'unique', fields: ['slug'] },
{ rule: 'requiredIf', field: 'excerpt', condition: 'published' },
],
});See how CuberIQ's flexible content modeling handles any information architecture.