Skip to content

What Is DPG?

Network-aware backend for federated trust networks

DPG is a network-aware backend model for publishing, validating, discovering, and interacting with items across many instances.

The core model is:

  • a network defines the shared contract
  • a domain defines a business role inside that network
  • an instance serves one or more domains
  • an item is a schema-typed record
  • an action is an interaction between items
  • an event is the structured result of that action

DPG is useful when:

  • one domain can have many independent instances
  • clients should not need to hardcode every peer instance
  • schemas need to be explicit and versioned
  • actions between domains must be validated consistently
  • networks need a portable onboarding path for new actors
  • apps/api: the Fastify runtime that serves items, actions, events, and network-aware fetches
  • apps/docs: this documentation site
  • examples/schemas: complete example network schemas such as yellow_dot and blue_dot
  • examples/api: example request payloads
  • packages/config: environment and runtime config helpers
  • packages/database: database schema helpers and partition utilities
  • packages/schemas: request schemas, network schema parsing, and schema registry helpers
  • packages/auth: auth integration
  1. Vocabulary
  2. Architecture
  3. Getting Started
  4. Environment
  5. Network Schema Authoring Guide
  6. API Overview
  7. the hosting guide that matches your deployment model

This documentation is meant to help:

  • network authors creating a new schema contract
  • instance operators deploying one or more DPG backends
  • product teams building UI and workflows on top of DPG

The structure is intentional:

  • concepts first
  • runnable setup second
  • schema design third
  • API behavior fourth
  • internals fifth
  • service integrations last