YounndAI Domains

YounndAI Domains

The Schema Registry

Typed schemas for
every industry

Structured tags with typed fields, validation rules, and trust signals. Open standard. Managed registry.

Explore RegistryLearn the Format
31 Official Domains//Open Standard//Schema as a Service
YounndAI Domains
DomainsSchemaPricingDocs
  1. Docs
  2. Reference
  3. Schema Format
reference

Schema Format

Anatomy of a domain schema — types, constraints, payloads, and trust signals.

Schema Structure

Every domain schema follows a consistent structure. Field types are limited to five primitives — there are no compound types like array or object.

{
  "domain": "yon.health",
  "version": "1.0",
  "status": "active",
  "description": "Healthcare domain covering patient data and clinical records",
  "records": {
    "VITALS": {
      "description": "Patient vital signs",
      "fields": {
        "bp": {
          "type": "string",
          "required": true,
          "pattern": "\\d+/\\d+"
        },
        "hr": {
          "type": "int",
          "required": false,
          "range": [30, 250]
        },
        "temp_c": {
          "type": "float",
          "required": false,
          "range": [30.0, 45.0]
        },
        "measured_at": {
          "type": "ts",
          "required": false
        }
      }
    }
  }
}

Top-Level Fields

Record Definition

Records are named groups of related fields — identified by uppercase tags (e.g., VITALS, TXN, SHIPMENT).

Field Constraints

Fields are the smallest unit — typed attributes with validation rules.

Type System

YounndAI Domains uses exactly 5 primitive types:

⚠️Warning

Previous documentation listed enum, date, datetime, array, and object as types. These are not valid YounndAI Domain types. The enum constraint is a property on string fields, not a type. Timestamps use the ts type.

Four Payloads

The API supports four response payloads via the ?include= parameter:

PayloadDescriptionUse Case
schemaRecords and field constraints only (default)Validation, code generation
metadataLinks, related domains, use cases, conformanceDocumentation, discovery
registryOwner, tier, verification, scoresTrust evaluation, governance
allAll three combinedFull domain detail pages

Trust Signals

Every domain includes trust signals in the list and detail endpoints:

Default YON Settings

Domains can specify default YON processing settings:

Next Steps

Registry API
All 10 endpoints with response shapes.
SDK
Use the @younndai/domains TypeScript package.
← Registry APISDK →

On This Page

Schema Structure
Top-Level Fields
Record Definition
Field Constraints
Type System
Four Payloads
Trust Signals
Default YON Settings
Next Steps
Registry
Schema
Pricing
API
GitHub
YounndAI
YounndAIYou and AI, unifiedBuilt withNollamaNollama
© — YounndAI™. You and AI, unified. (pronounced “yoon-dye”). All rights reserved.