Digital Karma Web Standards & Architecture

Technical specifications and standards for building AI-native, machine-readable websites.

Current Version: Digital Karma Web Federation v7.0 | Updated: 2026-04 | Status: Stable | Authority: specs/federation-spec-v7.md

⚑ Quick Reference

Required Endpoints

  • /ai/manifest.json
  • /ai/health.json
  • /ai/catalog.json
  • /ai/karma.json
  • /ai/federation.json
  • /llm.txt

Recommended Optional

  • /ai/diagnostics.json
  • /llm.json
  • /ai/sitemap.json
  • /entities/index.json
  • /datasets/index.json
  • /ai/journal/YYYY-MM-DD.json

Content-Type

  • All JSON: application/json
  • Structured data: application/ld+json
  • CORS: enabled
  • Encoding: UTF-8

Timestamps

  • Format: ISO 8601
  • Timezone: UTC
  • Example: 2026-01-15T10:30:00Z
  • Minimum refresh: weekly

🌐 Federation Protocol v7.0

The Digital Karma Web Federation is an open standard enabling any AI-ready website to join a decentralized network of machine-readable sites. Sites discover, understand, and trust each other through standardized endpoints and transparent reputation scoring. DigitalKarmaWeb.com is the specification authority β€” any site can implement the standard independently.

Core Principles

  1. Discoverability β€” Sites expose predictable endpoints at /ai/*
  2. Interoperability β€” All endpoints use standard JSON formats
  3. Transparency β€” Quality scores are calculated openly and verifiably
  4. Decentralization β€” No central authority required; peer-to-peer discovery works without the registry
  5. Self-Sovereignty β€” Each site controls its own data and trust signals
  6. Versioning β€” Protocol versioning for backward compatibility

What Changed in v7.0

Areav6.1v7.0
Required endpoints4 (manifest, health, catalog, karma)6 (+ federation.json + llm.txt)
Entry badge nameKarma BronzeKarma Certified βœ…
Network topologyUndocumented4-Stage Federation Mapping (official)
Self-maintaining patternMentioned onlyDocumented reference pattern
Diagnostics endpointNot specifiedOptional recommended endpoint
Entity filesNot specifiedRequired for Elite compliance
Compliance tiersInformal4 formal tiers: Starter, Certified, Pro, Elite

Compliance Levels

LevelRequirementsBadge
StarterAll 6 required endpoints present, valid JSON, federation_version: "7.0"🌐 Federation Member
CertifiedStarter + Score β‰₯ 0.70 + Schema.org markup on primary pagesβœ… Karma Certified
ProCertified + Score β‰₯ 0.85 + datasets published + bidirectional peer links⭐ Karma Pro
ElitePro + Score β‰₯ 0.95 + automation + diagnostics.json + /entities/ files + /federation/ mappingπŸ† Karma Elite

Read Full Federation Spec β†’

πŸ“‹ Manifest Specification (/ai/manifest.json)

The primary discovery file. A crawler or agent should be able to start here and understand what the site is, what version it runs, and where the other endpoints live.

Required Fields

{
  "name": "string",               // Site name
  "url": "string",                // Canonical URL
  "federation_version": "7.0",   // Must be "7.0"
  "updated_utc": "ISO8601",       // UTC timestamp
  "endpoints": {                  // Map of key endpoint URLs
    "health": "/ai/health.json",
    "catalog": "/ai/catalog.json",
    "karma": "/ai/karma.json",
    "federation": "/ai/federation.json"
  },
  "related_sites": ["https://www.aiwebsitesystems.com"]
}

Recommended Fields

πŸ’“ Health Endpoint (/ai/health.json)

Reports operational readiness and content freshness. Keep timestamps current β€” weekly refresh is the minimum baseline.

Required Fields

{
  "site": "https://example.com",
  "status": "ok|ready|degraded|offline|down",
  "updated_utc": "ISO8601",
  "metrics": {
    "pageCount": number,
    "datasetCount": number,
    "entityCount": number
  }
}

Recommended Fields

πŸ“š Catalog Endpoint (/ai/catalog.json)

The site's machine-readable catalog of datasets, endpoints, and AI-facing resources. Must use Schema.org DataCatalog format.

Required Fields

{
  "@context": "https://schema.org",
  "@type": "DataCatalog",
  "name": "string",
  "url": "string",
  "dataset": [
    {
      "@type": "Dataset",
      "name": "string",
      "url": "string"
    }
  ]
}

Recommended Per-Dataset Fields

⭐ Karma Endpoint (/ai/karma.json)

The site's Digital Karma trust document. For strict v7.0 compliance this is a score-driven payload. A conceptual definition file is acceptable as a transitional state, but a scored payload is required for Certified, Pro, and Elite tier claims.

Scored Payload Fields

{
  "site": "string",
  "federation_version": "7.0",
  "digital_karma_score": 0.00-1.00,
  "badge": "Karma Certified|Karma Pro|Karma Elite",
  "signals": { ... },
  "updated_utc": "ISO8601"
}

πŸ”— Federation Endpoint (/ai/federation.json)

The formal federation relationship document, required in v7.0. Communicates your site's role in the network and its peer relationships.

Required Fields

Peer Relationship Fields

πŸ“„ LLM Text File (/llm.txt)

Root-level plain-text summary of the site for language models. Lives at the site root, not in /ai/.

Should Include

Best Practices

⭐ Digital Karma Scoring

Transparent, automated quality and trust scoring for AI websites. Score range: 0.00 to 1.00.

Scoring Formula

Total Score = (Schema Coverage Γ— 0.20) + (Content Freshness Γ— 0.15) + (AI Endpoints Γ— 0.25) + (Federation Presence Γ— 0.15) + (External Links Γ— 0.10) + (Technical Quality Γ— 0.10) + (Dataset Quality Γ— 0.05)

Signal Breakdown

SignalWeightMeasurement
Schema Coverage20%Presence and quality of Schema.org markup
Content Freshness15%Last update timestamp, update frequency
AI Endpoints25%Required endpoint presence and completeness
Federation Presence15%Network participation, bidirectional links
External Links10%Quality and relevance of outbound links
Technical Quality10%Performance, security, accessibility scores
Dataset Quality5%Structured dataset availability and validity

Badge Thresholds

Naming rule: Do not use Karma Bronze on v7.0 sites β€” it was renamed to Karma Certified in this version.

Read Full Scoring Spec β†’

πŸ—ΊοΈ 4-Stage Federation Mapping New in v7.0

Advanced sites publish structured federation topology in a /federation/ folder. Recommended for Pro, required for Elite.

StageFileWhat It CapturesRequired At
v01 β€” Listings/federation/v01_listings.jsonRaw inventory of all sites in the networkPro+
v02 β€” Clusters/federation/v02_clusters.jsonSites grouped by functionPro+
v03 β€” Relationships/federation/v03_relationships.jsonDirected edges between sites with relationship typePro+
v04 β€” Propagation/federation/v04_propagation.jsonTrust flow model across the network graphElite

πŸ“¦ Recommended Optional Files

Not required for minimum v7.0, but should be used whenever possible as the site matures.

FilePathWhy It Matters
Diagnostics/ai/diagnostics.jsonMachine-readable compliance and health report. Required for Elite.
LLM JSON/llm.jsonStructured companion to llm.txt
Sitemap JSON/ai/sitemap.jsonAI-readable content inventory
Entity Index/entities/index.jsonFormal index of entity JSON-LD files. Required for Elite.
Dataset Index/datasets/index.jsonFull inventory of published datasets
Journal/ai/journal/YYYY-MM-DD.jsonMaintenance history and rebuild trace

Entity Files (/entities/)

Use /entities/ for explicit JSON-LD entity declarations. Required for Elite compliance.

βœ… Implementation Checklist

Level 1: Starter β€” 🌐 Federation Member

Level 2: Certified β€” βœ… Karma Certified (Score β‰₯ 0.70)

Level 3: Pro β€” ⭐ Karma Pro (Score β‰₯ 0.85)

Level 4: Elite β€” πŸ† Karma Elite (Score β‰₯ 0.95)

πŸ“ Directory Blueprint

Minimum v7.0 Shape

/
β”œβ”€β”€ ai/
β”‚   β”œβ”€β”€ manifest.json
β”‚   β”œβ”€β”€ health.json
β”‚   β”œβ”€β”€ catalog.json
β”‚   β”œβ”€β”€ karma.json
β”‚   └── federation.json
β”œβ”€β”€ llm.txt
β”œβ”€β”€ robots.txt
└── datasets/           (optional but recommended)

Pro / Elite Shape

/
β”œβ”€β”€ ai/
β”‚   β”œβ”€β”€ manifest.json
β”‚   β”œβ”€β”€ health.json
β”‚   β”œβ”€β”€ catalog.json
β”‚   β”œβ”€β”€ karma.json
β”‚   β”œβ”€β”€ federation.json
β”‚   β”œβ”€β”€ diagnostics.json
β”‚   β”œβ”€β”€ sitemap.json
β”‚   └── journal/
β”œβ”€β”€ entities/
β”‚   β”œβ”€β”€ index.json
β”‚   β”œβ”€β”€ organization.jsonld
β”‚   β”œβ”€β”€ brand.jsonld
β”‚   β”œβ”€β”€ website.jsonld
β”‚   └── service.*.jsonld
β”œβ”€β”€ federation/
β”‚   β”œβ”€β”€ index.json
β”‚   β”œβ”€β”€ v01_listings.json
β”‚   β”œβ”€β”€ v02_clusters.json
β”‚   β”œβ”€β”€ v03_relationships.json
β”‚   └── v04_propagation.json
β”œβ”€β”€ datasets/
β”‚   └── index.json
β”œβ”€β”€ llm.txt
└── robots.txt

πŸ” Validation Checklist

Before marking a site as v7.0 complete, verify all of the following:

πŸ—‚οΈ Legacy-Compatible Files

These files may still exist across portfolio sites and are allowed, but they do not replace the 6 required v7.0 artifacts. When modernizing a site, prioritize the required set first.

FileStatusNotes
/ai/compatibility.jsonAllowedRetained for backward compatibility only
/ai/llm.jsonAllowedLegacy optional endpoint retained on some older sites
/ai/entities.jsonAllowedSuperseded by /entities/ folder pattern
/ai/datasets/index.jsonAllowedSuperseded by /datasets/index.json
/ai/journal/index.jsonAllowedKeep if in active use

Have Feedback on These Standards?

The Digital Karma Web Federation standards are community-driven. Suggest improvements, report issues, or submit your site for federation membership.