Implementation
How to actually build with PDTF. The Modelling section covers what the vocabulary is; this section covers what to do with it: install the schemas package, compose the overlays your use case needs, run validation, produce and verify claims, and emit interoperable JSON-LD.
Getting started
From zero to a validating transaction in a few minutes.
Implementation overview
The five-piece stack: schemas package, OpenAPI spec, accreditation, trust-framework runtime, verified-claims wrapper.
Quickstart
Install @pdtf/schemas, fetch a schema with one overlay, validate a transaction. ~3 minutes.
Working with schemas
The bread-and-butter operations every PDTF integration needs.
Schema composition
How getTransactionSchema(id, overlays[]) merges base + overlays via deepmerge. Worked examples for estate agents, conveyancers, and lenders.
Validation
Using Ajv, getValidator, validating verified claims with validateVerifiedClaims, error decoding.
Verified claims
Wrapping transaction fields as W3C Verifiable Credentials with PDTF-specific claim shapes.