Skip to main content

Implementation Guide

Practical guidance for implementing Portable Trust Infrastructure (PTI) v1.0 as a producer, consumer, or registry operator. This guide is informative; normative requirements appear in the Specification v1.0.

Who should read this

AudienceStart here
Producer engineersBest PracticesTrust Producers
Consumer engineersBest PracticesTrust ConsumersAccess consent and Trust Check
Platform operatorsSpecification ArchitectureSecurity
Migration teamsMigration GuideAnti-Patterns

Implementation phases

Phase 1 — Discover

  • Read Key concepts and Glossary
  • Map your data sources to trust contexts and event types
  • Identify lawful basis and consent requirements with legal stakeholders

Phase 2 — Design

  • Choose conformance profile (pti-producer/v1, pti-consumer/v1, or both)
  • Document entity-to-pti_id resolution strategy
  • Define idempotency key templates per business action

Phase 3 — Build sandbox

  • Obtain sandbox credentials separate from production
  • Implement Registry resolve + Exchange ingest (producers) or Lookup search/generate (consumers)
  • Wire correlation ID logging end-to-end

Phase 4 — Conformance test

  • Golden-path ingest and lookup
  • Idempotent replay
  • Authorization denial paths (PTI-403x)
  • Version negotiation against /capabilities

Phase 5 — Production pilot

  • Limited context enablement
  • Monitor validation error and match confidence distributions
  • Establish dispute and correction runbooks

Phase 6 — Scale

  • Enable additional contexts and tiers per contract
  • Federation or multi-region routing if required
  • Operational dashboards for signal freshness and lookup latency

Conformance checklist

ItemProducerConsumer
RFC 2119 error handling
schema_version on all payloads
X-PTI-Version pinned
Idempotency keys
Purpose code on lookups
Consent flow when required
Explainability preserved in UI
Correction/retraction support

Guide catalogue

PageContents
Best PracticesRecommended integration patterns
Anti-PatternsCommon mistakes to avoid
Migration GuideMoving from siloed scores to PTI