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. Sdk
  3. SDK
sdk

SDK

Use the @younndai/domains TypeScript package to fetch, validate, and introspect domain schemas.

The @younndai/domains package provides a typed, framework-agnostic SDK for working with YounndAI Domain schemas.

Install

npm install @younndai/domains

What You Get

  • 31 official domains bundled — zero network, instant access
  • Full registry client — 10 typed API methods + health check
  • Validation engine — 5 constraint checks with async, sync, and batch modes
  • JSON Schema export — convert any domain to JSON Schema draft-07
  • Schema introspection — explore domain structure programmatically
  • Taxonomy engine — classify domains by tier, conformance, trust, and freshness
  • Offline bundles — download and use the registry without network

Quick Start

import { resolveDomain, validateRecord } from "@younndai/domains";

// Resolve a domain (bundled → local → remote)
const health = await resolveDomain("yon.health");

// Validate data against a domain record
const result = await validateRecord("yon.fintech", "TXN", {
  id: "txn-001",
  amount: 1500.5,
  currency: "USD",
});

if (!result.valid) {
  result.errors.forEach((e) => console.error(`${e.field}: ${e.message}`));
}

Subpath Exports

ImportDescription
@younndai/domainsMain entry — everything
@younndai/domains/taxonomyClassification engine
@younndai/domains/json-schemaJSON Schema conversion

In This Section

Getting Started
Install, first fetch, first validation.
Validation
5 constraints, sync/async/batch.
JSON Schema
Export to JSON Schema draft-07.
Introspection
Explore domain structure.
Configuration
Custom cache, timeouts.
API Reference
Every exported function.
← Schema FormatGetting Started →

On This Page

Install
What You Get
Quick Start
Subpath Exports
In This Section
Registry
Schema
Pricing
API
GitHub
YounndAI
YounndAIYou and AI, unifiedBuilt withNollamaNollama
© — YounndAI™. You and AI, unified. (pronounced “yoon-dye”). All rights reserved.