Skip to content
Proposed specification for review. We are seeking feedback on key architectural choices in the industry consultation.

Federation Schema

This page documents the JWT formats for entity statements and Property Trust Marks as used in the PDTF federation. These follow the OpenID Federation 1.0 specification with PDTF-specific trust mark definitions.

Every federation participant publishes a self-signed entity statement at {entity_url}/.well-known/openid-federation. The Trust Anchor also publishes subordinate statements for each entity it trusts.

{
"alg": "EdDSA",
"kid": "key-1",
"typ": "entity-statement+jwt"
}
{
"iss": "https://adapters.propdata.org.uk/hmlr",
"sub": "https://adapters.propdata.org.uk/hmlr",
"iat": 1776038400,
"exp": 1776124800,
"jwks": {
"keys": [
{
"kty": "OKP",
"crv": "Ed25519",
"kid": "key-1",
"x": "base64url-encoded-public-key",
"use": "sig"
}
]
},
"authority_hints": [
"https://propdata.org.uk"
],
"metadata": {
"federation_entity": {
"organization_name": "PDTF HMLR Adapter",
"homepage_uri": "https://platform.example.com",
"contacts": ["trust@propdata.org.uk"]
},
"openid_credential_issuer": {
"credential_endpoint": "https://adapters.propdata.org.uk/hmlr/credentials",
"credential_configurations_supported": {}
}
},
"trust_marks": [
{
"id": "https://propdata.org.uk/trust-marks/pdtf-verified-issuer",
"trust_mark": "eyJhbGciOiJFZERTQSIs..."
}
]
}
FieldTypeRequiredDescription
issstring✓Issuer — the entity itself (self-signed) or the superior (subordinate statement)
substring✓Subject — the entity being described
iatnumber✓Issued-at timestamp (Unix seconds)
expnumber✓Expiration timestamp
jwksobject✓The entity’s public keys (JWK Set)
authority_hintsstring[]✓*URLs of superior entities. Required for non-anchor entities
metadataobject✓Entity metadata (see below)
trust_marksarray—Trust marks held by this entity
constraintsobject—Policy constraints on subordinates (anchor only)

The Trust Anchor publishes subordinate statements at its fetch endpoint, https://propdata.org.uk/federation/fetch?sub={entity_url} (advertised as federation_fetch_endpoint):

{
"iss": "https://propdata.org.uk",
"sub": "https://adapters.propdata.org.uk/hmlr",
"iat": 1776038400,
"exp": 1776124800,
"jwks": {
"keys": [{ "..." : "..." }]
},
"metadata_policy": {
"openid_credential_issuer": {
"credential_endpoint": { "value": "https://adapters.propdata.org.uk/hmlr/credentials" }
}
}
}

The subordinate statement is signed by the superior (the Trust Anchor), not by the subject. This is what creates the trust chain.

General information about the organisation:

{
"organization_name": "PDTF HMLR Adapter",
"homepage_uri": "https://platform.example.com",
"contacts": ["trust@propdata.org.uk"],
"logo_uri": "https://platform.example.com/logo.png",
"policy_uri": "https://platform.example.com/trust-policy"
}

Present when the entity issues credentials via OID4VCI:

{
"credential_endpoint": "https://adapters.propdata.org.uk/hmlr/credentials",
"credential_configurations_supported": {
"TitleCredential": {
"format": "dc+sd-jwt",
"vct": "urn:pdtf:vct:TitleCredential",
"cryptographic_binding_methods_supported": ["did:key", "did:web"]
}
}
}

dc+sd-jwt is the OID4VCI format for SD-JWT-VC, the spec’s provisional securing mechanism (02 §2.4, consultation Q20). The superseded Data Integrity representation, which the current libraries implement, uses ldp_vc with a credential_definition.

Present when the entity is a verifier requesting credentials via OID4VP:

{
"redirect_uris": ["https://platform.example.com/callback"],
"vp_formats": {
"dc+sd-jwt": {
"sd-jwt_alg_values": ["EdDSA", "ES256"],
"kb-jwt_alg_values": ["EdDSA", "ES256"]
}
}
}

Trust marks are signed JWTs issued by the Trust Anchor.

{
"alg": "EdDSA",
"kid": "anchor-key-1",
"typ": "trust-mark+jwt"
}
{
"iss": "https://propdata.org.uk",
"sub": "https://adapters.propdata.org.uk/hmlr",
"id": "https://propdata.org.uk/trust-marks/pdtf-verified-issuer",
"iat": 1776038400,
"exp": 1776643200,
"ref": "https://propdata.org.uk/trust-marks/pdtf-verified-issuer/policy",
"delegation": {
"trust_level": "trusted_proxy",
"proxy_for": "https://hmlr.gov.uk",
"authorised_paths": [
"Title:/titleNumber",
"Title:/titleExtents",
"Title:/registerExtract/*",
"Title:/ownership/*"
]
}
}

Trust marks have short lifetimes (days, not years) and are re-issued before expiry. The example uses seven days (exp - iat = 604800). An account-provider mark carries delegation.trust_level: "account_provider" with identity_verification and managed_organisations instead of authorised_paths (04 §5.2).

FieldTypeRequiredDescription
issstring✓The Trust Anchor that issued this mark
substring✓The entity this mark is issued to
idstring✓Trust mark type URI
iatnumber✓Issued-at timestamp
expnumber✓Expiration; short-lived (days), with live status from the status endpoint
refstring—Reference URI for the trust mark policy
delegationobject✓*PDTF extension; present on pdtf-verified-issuer and account-provider marks
delegation.trust_levelstring✓root_issuer, trusted_proxy or account_provider
delegation.proxy_forstring—Required for trusted_proxy: the root issuer entity URL
delegation.authorised_pathsstring[]✓*Entity:path combinations this entity is authorised for (pdtf-verified-issuer)
delegation.identity_verificationobject✓*Identity verification methods (account-provider)
delegation.managed_organisationsstring—URL of the signed managed organisations document (account-provider)
IDSlugPurpose
https://propdata.org.uk/trust-marks/pdtf-verified-issuerpdtf-verified-issuerIssue PDTF credentials for specific entity:path combinations (adapters, root issuers)
https://propdata.org.uk/trust-marks/account-provideraccount-providerIssue user/organisation DIDs
https://propdata.org.uk/trust-marks/regulated-conveyancerregulated-conveyancerSRA/CLC regulated conveyancing firm

The earlier per-category marks (title-data-provider, property-data-provider, search-provider, energy-data-provider, environmental-data-provider) are withdrawn.

Trust levels are canonical in 04 §8.

LevelDescription
root_issuerPrimary authoritative source (e.g. HMLR for title data)
trusted_proxyAuthorised adapter fetching from a primary source API
account_providerPlatform issuing user or organisation identifiers
assertionCredential level, not recorded in the federation: a credential whose evidence is a UserAttestation

The first three are recorded as delegation.trust_level. Conflict ordering is root_issuer > trusted_proxy > account_provider > assertion.

Authorised paths follow the pattern Entity:/json/pointer/path using JSON Pointer (RFC 6901):

PatternMatches
Title:/registerExtract/scheduleExactly that path
Title:/registerExtract/*All paths under /registerExtract
Property:/*All paths on the Property entity

Wildcards (*) are only supported as the final path segment.

A verifier resolves trust by:

  1. Fetch the leaf entity statement from {entity}/.well-known/openid-federation
  2. For each entry in authority_hints, fetch the subordinate statement from the superior’s federation_fetch_endpoint (for the Trust Anchor, https://propdata.org.uk/federation/fetch?sub={entity})
  3. Verify the subordinate statement signature against the superior’s keys
  4. Repeat up the chain until reaching a recognised Trust Anchor
  5. The chain is valid if every signature checks out and the anchor is trusted
  • Maximum chain depth: 5 (configurable)
  • Every statement must be within its iat/exp window
  • The leaf entity’s jwks must match the keys in the subordinate statement
  • Trust marks must be signed by an issuer listed for that mark in the Trust Anchor’s trust_mark_issuers
  • If trust resolution fails, the credential is excluded; there is no fallback trust level

The Trust Anchor operates a status endpoint (federation_trust_mark_status_endpoint) for checking trust mark validity:

GET https://propdata.org.uk/federation/trust_mark_status
?sub=https://adapters.propdata.org.uk/hmlr
&trust_mark_id=https://propdata.org.uk/trust-marks/pdtf-verified-issuer

Response:

{
"active": true
}

This allows real-time revocation checking without waiting for trust mark expiry.