The system and its services
Concept
Updated 28/10/2026
DataZen is made of independent services. Each service owns its data; the Console is the shared place to administer them.
Components
| Component | Role |
|---|---|
| Hub | Identity and entitlements: issues tokens, holds organizations, subscriptions and roles. Does not hold other services’ business data. |
| Console | The admin UI. Shows each service through a pack: a manifest describing pages, tables, forms and permissions. |
| Services | CMS, Commerce, Payments, Stay, Notify, Chat, Drive. Each has its own API and data. |
| Service Kit | Shared library for services: Hub token checks, the /_dz/v1 frame, SSRF guard, webhooks, access control. |
| Contracts (meta) | Schemas and conformance suites that both the producer and the consumer must pass. |
Sign-in and tokens
People sign in at the Hub. The Hub issues audience-scoped tokens: each token works for one service only. The service verifies the signature (ES256, public keys via JWKS) and the permissions in the token before handling a request. The effective permission is the intersection of what the Hub grants and the role inside the service.
The shared /_dz/v1 frame
Every service serves the same admin routes, provided by the Service Kit:
/.well-known/dz-service,/healthz,/readyz: service description and liveness./_dz/v1/*: the service admin frame (service-admin/v1), includingGET /_dz/v1/setup-status.
Because of this frame, a new service needs no Console screens: the service declares a pack and the Console renders it. The connection (address, token source) is still declared in the Console configuration; see Connect a service to the Console.
Setup checklist
A pack declares the tasks needed before the service is usable (create a site, connect a payment gateway, and so on). Each item’s status is computed by the service from real data at setup-status; the Console only displays it and never ticks anything itself. “Not enabled” differs from “not configured”: the first needs someone with permission to enable it, the second needs setup to be finished.