Skip to main content
Tie Wang Tie Wang Tie Wang Tie Wang
Search
Tie Wang · 22 Menu Pages
Sitemap
00 · Tie Wang

How does a national programme hold up under the lender, the auditor and time?

Technology · Layer: transport

Registry interoperability

How does one signed sovereign exchange gateway connect existing public registries without duplicating databases or creating a single point of surveillance?

05 · Applications & officer portals
04 · Reconciliation & rules engines
03 · Append-only evidence ledger
02 · Sovereign transport & exchange Active layer
01 · Field metrology & edge capture

01 · Layer 02 · Sovereign transport & exchange · Heat 3 · Time test

Engineering conclusion and public-record context

Registry interoperability connects existing ministries and agencies through one signed, schema-governed exchange gateway so each registry remains the sole authority for its own records while every cross-agency query is logged, hash-chained and revocable.

HTTP interface specification Sourced
Sourced std-oas · 2021 OpenAPI Specification for describing HTTP interfaces OpenAPI Specification 3.1.0 Open public record ↗

OpenAPI 3.1 contracts publish machine-readable schemas and versioned deprecation windows for every registry adapter.

Financial message standard Sourced
Sourced std-20022 · 2023 Universal financial industry message scheme ISO 20022 Open public record ↗

ISO 20022 provides structured payment and settlement messaging between Treasury, banks and benefit platforms.

Data minimisation principle Sourced
Sourced std-gdpr · 2016 GDPR Article 5(1)(c) requires that personal data be adequate, relevant, and limited to what is necessary for the stated processing purposes, known as data minimisation, as published in the GDPR text. Intersoft Consulting (reproducing EU Regulation 2016/679), Article 5 GDPR: Principles relating to processing of personal data (2016-04-27) Open public record ↗

GDPR Article 5(1)(c) benchmark for limiting cross-registry exchanges to strictly necessary attributes.

Unregistered identity gap Sourced
Sourced id-1 · 2021 People worldwide estimated to lack an official proof of identity World Bank, Identification for Development (ID4D) Global Dataset 2021 Open public record ↗

World Bank ID4D global benchmark showing why linking civil, identity and payment registries matters.

Why this layer exists and how it holds

Most public digital reforms stall because they attempt to merge ten agency databases into one monolithic super-registry. Ministries rightly resist surrendering custody of civil registration, tax rolls, company registries or customs declarations, and multi-year data migrations routinely overrun both budget and political cycles. Public-sector IT studies confirm how severe that duration risk is: across a 1,355-project public IT sample, every extra year of project duration adds measurable cost risk and pushes tail-risk projects into severe overruns.

Tie Wang follows the inverse architecture: connect, never duplicate. Each statutory agency keeps its own database, legal custodian and schema ownership. A sovereign exchange gateway sits between them as a documented transport layer, translating published interface contracts over mutual TLS, enforcing purpose-limited access scopes, and sealing every request and response digest into a hash-chained exchange log.

This federated design allows a customs office to verify a company tax status, a social-security fund to confirm a civil birth or death record, or a payment gateway to validate a beneficiary entitlement in seconds without copying bulk tables across agencies. Every certificate issued through the gateway carries a compact cryptographic signature that any field officer, bank or citizen can verify offline by code.

Crucially, every bilateral link operates under its own signed electronic instrument specifying which fields may cross, for what statutory purpose, and which public officer can suspend the link instantly. Interoperability becomes an auditable legal contract enforced in software rather than an informal file transfer.

IT duration cost risk Sourced

+4.2 pp/yr

In 1,355 public-sector IT projects, each extra year of duration adds 4.2 percentage points to average cost overrun risk.

Source: Saïd Business School (arXiv:1304.4525, 2013) Open record ↗

Data minimisation Sourced

Article 5(1)(c)

Exchange profiles return only yes/no assertions or strictly required statutory attributes instead of full personal dossiers.

Source: EU Regulation 2016/679 (GDPR) Open record ↗

Single-window guidance Sourced

Rec. 33

International trade single-window principles emphasise submitting standardised data once and routing across agencies.

Source: UN/CEFACT Recommendation 33 (2020) Open record ↗

Standards designed against

Published standards shaping Registry interoperability within Sovereign transport & exchange (design basis only, never a certification claim):

  • Sourced std-oas · 2021 OpenAPI Specification for describing HTTP interfaces OpenAPI Specification 3.1.0 Open public record ↗
  • Sourced std-20022 · 2023 Universal financial industry message scheme ISO 20022 Open public record ↗
  • Sourced std-rec33 · 2020 Recommendation and guidelines on establishing a single window UN/CEFACT Recommendation 33 Open public record ↗
  • Sourced std-gdpr · 2016 Data protection principles covering lawfulness, purpose limitation, data minimisation, storage limitation and controller accountability European Union, Regulation (EU) 2016/679 (GDPR), Article 5 Open public record ↗
  • Sourced std-27701 · 2019 Privacy information management: extension to ISO/IEC 27001 ISO/IEC 27701 Open public record ↗

02 · Architecture & data model

Security zones, custody boundaries and schema

Inspect the 4 security nodes for Registry interoperability or toggle the tabular register, then review canonical custody rules starting with RegistryMember.

Federated sovereign exchange gateway with per-agency security servers and chained audit logs Illustrative

Federated sovereign exchange gateway with per-agency security servers and chained audit logs. Four security zones in sequence: Agency A · Provider (Authoritative registry adapter, OpenAPI 3.1 / X.509 mTLS); Layer 02 · Gateway (Signed exchange bus, Mutual TLS + signed envelope); Layer 03 · Proof (Hash-chained exchange log, SHA-256 + RFC 3161); Agency B · Consumer (Consuming portal & QR verifier, Signed JSON-LD / CBOR cert).

SOVEREIGN CUSTODY BOUNDARY · APPEND-ONLY AUDIT LOGGING ACTIVE ACROSS ALL ZONES AGENCY A · PROVIDER Authoritative registry adapter INTERFACE OpenAPI 3.1 / X.509 mTLS CUSTODIAN Source ministry LAYER 02 · GATEWAY Signed exchange bus INTERFACE Mutual TLS + signed envelope CUSTODIAN National exchange operator LAYER 03 · PROOF Hash-chained exchange log INTERFACE SHA-256 + RFC 3161 CUSTODIAN State audit vault AGENCY B · CONSUMER Consuming portal & QR verifier INTERFACE Signed JSON-LD / CBOR cert CUSTODIAN Consuming authority
Agency A · Provider · Source ministry

Control gate: Agency keeps write custody; adapter exposes strictly scoped read views (OpenAPI 3.1 / X.509 mTLS)

Layer 02 · Gateway · National exchange operator

Control gate: Checks bilateral legal instrument ID, rate quota and attribute minimisation (Mutual TLS + signed envelope)

Layer 03 · Proof · State audit vault

Control gate: Logs requester, legal basis, timestamp and response digest without hoarding PII (SHA-256 + RFC 3161)

Agency B · Consumer · Consuming authority

Control gate: Verifies signed status certificate online or offline via public-key bundle (Signed JSON-LD / CBOR cert)

Federated sovereign exchange gateway with per-agency security servers and chained audit logs Illustrative
Security zoneComponentProtocol / standardControl gateCustody owner
Agency A · ProviderAuthoritative registry adapterOpenAPI 3.1 / X.509 mTLSAgency keeps write custody; adapter exposes strictly scoped read viewsSource ministry
Layer 02 · GatewaySigned exchange busMutual TLS + signed envelopeChecks bilateral legal instrument ID, rate quota and attribute minimisationNational exchange operator
Layer 03 · ProofHash-chained exchange logSHA-256 + RFC 3161Logs requester, legal basis, timestamp and response digest without hoarding PIIState audit vault
Agency B · ConsumerConsuming portal & QR verifierSigned JSON-LD / CBOR certVerifies signed status certificate online or offline via public-key bundleConsuming authority

Illustrative Source: Tie Wang Layer 02 interoperability architecture (designed against OpenAPI 3.1, ISO 20022 and UN/CEFACT Rec. 33)

Canonical data model and custody rules

A disciplined exchange gateway deliberately stores as little personal or commercial data as possible. It maintains five control tables: the member registry directory, signed bilateral exchange instruments, versioned OpenAPI schema contracts, cryptographic key-revocation lists and the hash-chained exchange metadata log. Business payloads pass end-to-end encrypted between the provider security server and the consumer security server; the central gateway records only who asked, under which statutory instrument, at what millisecond and what digest was signed.

To preserve privacy and avoid fragile national-ID lock-in, cross-registry matching uses sector-scoped pairwise tokens or minimal verifiable assertions (for example, returning "tax-clearance valid through date" rather than full tax returns). When an agency revokes an agreement or rotates a signing certificate, the gateway enforces the change across every connected endpoint within seconds.

Registry interoperability: core data entities, join keys and custody Illustrative
Data entityJoin / primary keyImmutability controlRetention windowCustodian
RegistryMemberagency_code + x509_thumbprintPKI directory signed by national CAActive plus historical cert archiveNational PKI authority
ExchangeInstrumentinstrument_id + effective_datesDual-signed by both agency headsPermanent legal recordInter-ministerial committee
SchemaContractservice_id + semverVersioned OpenAPI 3.1 bundleAll past versions archivedTechnical architecture board
ExchangeReceipttrace_uuid + prev_receipt_hashSHA-256 chained metadata (no payload PII)Statutory audit periodSovereign ledger mirror
VerifiableCertificatecert_id + issuer_key_idEd25519/ECDSA signed QR/code payloadValidity window + revocation listIssuing statutory agency

Illustrative Source: Tie Wang Layer 02 canonical schema specification

03 · Operable instrument & performance budget

Test the mechanism directly

Run Signed inter-registry exchange log & revocation verifier below to stress-test registry interoperability controls live, paired with illustrative round-trip latency budget for a multi-registry clearance query.

Operable engineering instrument

Computed

Signed inter-registry exchange log & revocation verifier

Tamper with any cross-agency exchange receipt below to observe how the federated audit chain exposes unauthorised lookup alteration or instrument spoofing.

CHAIN STATUS Chain intact · Every digest matches its predecessor and daily seal Daily seal: b9738ca3adb1869df7f8100c...
#1 · XCH-88201 VALID

Civil & ID check · Civil Registry Adapter → Social Fund

instrument=INST-ID-04 | assertion=ALIVE_MATCH | pii=MINIMISED

prev: 00000000000000... stored: 5a915287d32ec5... check: 5a915287d32ec5...
#2 · XCH-88202 VALID

Company status · Company Registry → Customs Gateway

instrument=INST-REG-12 | status=ACTIVE_GOOD_STANDING

prev: 5a915287d32ec5... stored: 6ee98514fff58d... check: 6ee98514fff58d...
#3 · XCH-88203 VALID

Tax clearance · Tax Registry → Licensing Desk

instrument=INST-TAX-09 | cert=TC-2026-991 | valid=TRUE

prev: 6ee98514fff58d... stored: d595dee310fce8... check: d595dee310fce8...
#4 · XCH-88204 VALID

Payment settlement · Treasury Switch → Benefit Platform

instrument=INST-PAY-02 | iso20022=pacs.008 | settled=CONFIRMED

prev: d595dee310fce8... stored: 7582a558505ceb... check: 7582a558505ceb...

Source: Live FIPS 180-4 SHA-256 verification across illustrative four-registry clearance workflow

Illustrative round-trip latency budget for a multi-registry clearance query (Federated adapters resolve multi-agency checks inside a two-second interactive SLA without centralising databases) Illustrative

Illustrative round-trip latency budget for a multi-registry clearance query. Illustrative round-trip latency budget for a multi-registry clearance query from mTLS & instrument policy check to Consumer validation & render: starts at 65 ms, ends at 80 ms, range 65 ms to 340 ms.

0 ms 200 ms 400 ms 600 ms 800 ms 1000 ms mTLS & instrument policy check 65 ms Source registry indexed lookup 340 ms Attribute filter & response sign 95 ms Exchange receipt hash chain 110 ms Consumer validation & render 80 ms

Federated adapters resolve multi-agency checks inside a two-second interactive SLA without centralising databases

Illustrative round-trip latency budget for a multi-registry clearance query (Federated adapters resolve multi-agency checks inside a two-second interactive SLA without centralising databases) Illustrative
Stage or tierValue (ms)Engineering rationale
mTLS & instrument policy check65Proxy verification of cert & legal scope
Source registry indexed lookup340Legacy agency database read adapter
Attribute filter & response sign95Data-minimisation filter + HSM sign
Exchange receipt hash chain110Append metadata digest to audit log
Consumer validation & render80Signature verify and officer desk display

Illustrative Source: Tie Wang Layer 02 exchange gateway engineering design envelope (illustrative)

04 · Operational sequence

Four stages from intake to audited closure

Step through Registry interoperability from legal scope precedes technical access to certificates checkable anywhere by code; the schematic plate updates on every beat.

BILATERAL INSTRUMENT GATE BEAT 01 / 03
STAGE 01 STAGE 02 STAGE 03 STAGE 04 1. Define minimal attribute contract (OpenAPI 3.1) 2. Dual-sign Exchange Instrument in PKI 3. Issue agency client X.509 certificate 4. Enforce field-level allowlist at proxy
FEDERATED PEER EXCHANGE BEAT 02 / 03
STAGE 01 STAGE 02 STAGE 03 STAGE 04 Agency B proxy → mTLS → Agency A proxy Minimal assertion signed by Agency A HSM Digest & legal basis committed to chain Zero bulk copy held at central bus
OFFLINE CERTIFICATE VERIFICATION BEAT 03 / 03
STAGE 01 STAGE 02 STAGE 03 STAGE 04 Scan compact signed payload (QR / code) Verify against cached national public key Check revocation list upon next sync Log verification event to local queue
Step 01 · Sign the instrument

Legal scope precedes technical access

Before two registries exchange a single byte, both agency heads sign a machine-readable Exchange Instrument defining allowed endpoints, fields, rate quotas and statutory purpose. The gateway refuses traffic that lacks an active signed instrument.

Step 02 · Route and sign

Zero central hoarding of citizen records

Queries travel peer-to-peer between hardened agency security proxies over mutual TLS. Both sides stamp the transaction digest into their local log and replicate only the non-sensitive metadata receipt to the sovereign audit chain.

Step 03 · Verify offline

Certificates checkable anywhere by code

Certificates issued after cross-registry checks (tax clearance, export permits, contribution receipts) embed a compact cryptographic signature in a QR code so remote officers or banks verify authenticity even during connectivity loss.

05 · Interfaces, failure modes & honest limits

What connects, what breaks and what remains unknown

5 published interface contracts and 4 failure modes for Registry interoperability, stating degraded fallbacks and where statutory or field duties begin.

Registry interoperability: published interface contracts and degraded modes Illustrative
InterfaceDirectionProtocol / schemaControl gateDegraded / offline mode
Legacy Registry Read AdapterBidirectional (agency edge)OpenAPI 3.1 / REST or ISO 20022 bridgeRead-only replica query; never writes to agency core tablesCircuit breaker trips on timeout; returns explicit unavailable state
Inter-Agency Security BusPeer-to-peer federatedTLS 1.3 mutual auth + signed JWSActive Exchange Instrument ID + per-second rate capQueued asynchronous fallback for non-blocking batch reconciliations
National PKI & Revocation FeedControl planeOCSP / CRL signed distributionRoot CA held offline in sovereign ceremony; short-lived leaf certsGraceful cached CRL window with alert on stale revocation data
Citizen & Officer Verifier APIPublic read-onlySigned QR payload + HTTPS verify endpointReturns validity, issuer and date only; never exposes underlying dossierOffline public-key verification inside installable field app
Audit & Privacy Oversight FeedOutbound (oversight)Append-only metadata streamFlags anomalous lookup spikes or after-hours bulk queries automaticallyLocal immutable spool on agency proxy until central audit reconnects

Illustrative Source: Tie Wang Layer 02 interface control document

Registry interoperability: failure modes, containment and limits Illustrative
Failure modeOperational symptomEngineering containmentHonest limit
Legacy registry downtime or slow indexOne ministry database goes offline during peak customs or benefit hours.Per-endpoint circuit breakers isolate the outage, mark affected assertions as "unverified due to source outage" and allow explicit statutory contingency rules without crashing sibling agencies.An exchange gateway cannot make an unmaintained legacy database reliable; read replicas and clear SLAs remain necessary.
Silent schema change by a participating agencyAn agency upgrades its software and alters a field meaning or code list without notice.Strict OpenAPI 3.1 contract validation rejects malformed responses at the provider proxy before bad data propagate downstream.Contract tests catch structural breaks immediately, whereas semantic shifts (redefining a status code) require joint change-control governance.
Duplicate or unlinked entity identifiers across agenciesA taxpayer or company appears under three incompatible spellings across tax, customs and company rolls.Deterministic cross-walk tables record confidence-scored candidate links and route ambiguous matches to a human data steward rather than auto-merging.Interoperability exposes historical master-data debt; cleaning legacy duplicates is a phased administrative effort.
Insider browsing of personal recordsA valid officer account queries records unrelated to any assigned case.Every lookup requires a case reference, logs to the immutable exchange chain and triggers automated anomaly alerts to the privacy officer.Logging deters and detects abuse after the fact; strict role scoping and legal sanctions remain essential.

Illustrative Source: Tie Wang engineering hazard and failure-mode register

Engineering limits

Technical interoperability cannot override missing legal authority. Connecting a tax registry to a land cadastre or social-security fund requires explicit statutory backing, data-protection compliance and ministerial sign-off on each bilateral exchange instrument. Tie Wang treats legal mapping as a prerequisite of Layer 02 rather than an afterthought.

Equally, federated exchange does not magically clean twenty years of duplicate paper entries inside legacy ministries. What it does is stop new fragmentation immediately, establish one verifiable interface contract and surface legacy identity mismatches systematically so agencies can resolve them in priority order.

06 · Action by audience

Next steps and connected disciplines

Follow how Registry interoperability inside Sovereign transport & exchange connects to adjacent stack layers, illustrative structures and working instruments.

Ministry of digital governance or finance

Connect tax, customs, civil and payment registries in months without forcing any agency to abandon its core system.

Review architectural sovereignty →

Development bank & DPI lender

Reduce multi-year IT overrun risk by sequencing modular, contract-tested adapters instead of monolithic rewrites.

Inspect systems engineering →

Agency technical director

Expose strictly read-only, rate-limited endpoints backed by signed bilateral instruments you can revoke in seconds.

See the evidence ledger →

Local systems integrator

Build and maintain agency-specific legacy adapters under published OpenAPI 3.1 contracts and automated regression tests.

See partner role division →