Protocol Specification
Authorization and disclosure semantics for personal data — record model, selection request, grant, manifest, and resource server interface.
1. Introduction
PDPP is an authorization and disclosure protocol for personal data. It defines how a user authorizes an application to access specific data from a data source that holds their records, and how a resource server enforces that authorization.
The protocol specifies:
- A record model for representing personal data as flat relational streams
- A selection request format, the structured request for consent a client submits during authorization (RFC 9396 envelope)
- A grant object representing user-approved, parameterized consent
- A source declaration describing the consent, record, selection, and query surface exposed by either a connector-backed or provider-native source
- A resource server interface for serving records under grant enforcement
Most source platforms do not yet expose a PDPP interface natively. Collection is the bridge for those sources: it brings their data into a resource server so the protocol's consent and enforcement layers can govern access to it. The informative PDPP Collection Profile describes that bridge as builder guidance; it is not a conformance requirement. A connector conforms to PDPP by producing a source declaration valid under Section 5 and serving its data through a resource server conforming to Section 8. No particular collection method is required. The core protocol is useful without it: a resource server holding pre-collected data can serve that data under grant enforcement with no collection machinery involved, and data may also reach it via regulatory data exports, manual import, or platform-native APIs. The consent and enforcement layers defined in this specification (Sections 5-8) are agnostic to the collection method.
Any implementation satisfying the role conformance criteria in Section 9 is PDPP-compliant. This specification does not depend on any specific network, token, ledger, infrastructure provider, hosted service, centralized registry lookup, or deployment of this repository. URI identifiers name sources, purposes, clients, and resources; they do not make the example registries in this document runtime dependencies. Consent integrity comes from the resolved grant and the exact source declaration snapshot retained by the authorization server.
Interoperable core sections
Sections 4-8 define the protocol surfaces that implementations evaluate independently.
| Section | Governs | Other layers |
|---|---|---|
| Section 4: Record Model | Portable record envelopes, stream identity, primary keys, blob references, resource references, stream semantics, and incremental-sync metadata. | Source collection, connector execution, and storage-engine choices. |
| Section 5: Source Declaration | Common source identity, consent, record, selection, and query capabilities used by connector-backed and provider-native sources, and the conditions under which an authorization server accepts a declaration. | Connector acquisition and execution mechanics. |
| Section 6: Selection Request | What a client asks an authorization server to approve, plus declaration-backed validation and consent rendering before a grant is issued. | Product-specific consent flows, screen layouts, and hosted authorization-server deployments. |
| Section 7: Grant | The immutable consent artifact and the constraints a resource server enforces for a token-bound client. | Grant database schema, signed-token format, hosted registries, and deployment topology. |
| Section 8: Resource Server Interface | The interoperable record-query and blob-fetch interface under grant enforcement, and the protected resource metadata a resource server publishes about itself. | Authorization-server deployment, storage backend, collection runtime, operator dashboard, and hosted service choices. |
Relationship to existing standards
| Standard | Relationship |
|---|---|
| OAuth 2.0 (RFC 6749) | PDPP is a profile of OAuth 2.0, carrying selection requests in RFC 9396 authorization_details. The grant is issued as the result of an OAuth authorization flow. |
| RFC 9396 (RAR) | PDPP uses the authorization_details envelope for selection requests. The type URI is https://pdpp.dev/data-access. |
| RFC 6750 (Bearer Token) | PDPP transports both owner tokens and client tokens as RFC 6750 Bearer Tokens on the wire. The resource server distinguishes token kind via pdpp_token_kind in the introspection response, not by token syntax. |
| RFC 7662 (Token Introspection) | PDPP uses authenticated RFC 7662 token introspection where the authorization server and resource server are separated, so the resource server can resolve grant-bound tokens. Co-located deployments may use a local equivalent. |
| RFC 9728 (Protected Resource Metadata) | PDPP resource servers publish RFC 9728 protected resource metadata, so a client discovers the authorization server, the query base, and the supported token kinds from the resource itself rather than from prior configuration. Core defines four pdpp_-prefixed additional members (Section 8); the extension profiles define capabilities. |
| OAuth 2.0 Dynamic Client Registration (RFC 7591) | PDPP reuses the RFC 7591 client metadata vocabulary (client_name, logo_uri, policy_uri, and similar fields) for the consent display. A dynamic client registration endpoint is a deployment choice and is required only where deployments need it; Core functions without it. |
| Client ID Metadata Documents (CIMD, IETF OAuth WG draft) | A client identifier that is itself an https URL the authorization server fetches to obtain RFC 7591-shaped client metadata, with no prior registration handshake. Control of the URL's domain is the trust root. CIMD is how deployed MCP clients present themselves: the MCP authorization specification revision 2025-11-25 states that authorization servers and clients SHOULD support CIMD and MAY support RFC 7591 dynamic client registration, which is retained for backward compatibility. Core treats a validated CIMD document as one source of validated binding metadata (Section 6) and its verified domain as a trust signal; the fetch and validation obligations belong to the OAuth binding rather than to Core. |
| SMART on FHIR | Follows the domain-profile-over-OAuth pattern PDPP adopts: OAuth handles authorization, and the profile adds a domain data model, consent semantics, and a conformance regime. SMART on FHIR reached ubiquity through regulatory adoption of SMART-on-FHIR-patterned API requirements (the ONC Cures Act rule). |
| UK Open Banking | Also follows the domain-profile-over-OAuth pattern PDPP adopts: OAuth handles authorization, and the profile adds a domain data model, consent semantics, and a conformance regime. UK Open Banking reached ubiquity through the CMA's Open Banking mandate for the largest UK banks. |
| UMA 2.0 (Kantara) | UMA is important prior art for PDPP's user-managed, standing, revocable access model, particularly where an outside party seeks access to user-controlled resources. PDPP's authorization protocol derives directly from OAuth 2.0 and RFC 9396. |
| GNAP (RFC 9635) | GNAP is an IETF authorization protocol that revisits OAuth-style delegation with a new protocol design. Several design decisions are directly relevant to PDPP: (1) interaction modes beyond browser redirects (relevant to nonstandard authorization interaction patterns); (2) request continuation for multi-step consent negotiation (relevant to optional streams); (3) key-bound grants instead of bearer tokens (stronger security for ongoing personal data access); (4) built-in grant management with revocation and rotation (relevant to continuous access mode). PDPP v0.1 uses OAuth 2.0 + RFC 9396. A future version should evaluate whether GNAP is a better foundation. PDPP's entity-scoped client_display already follows GNAP's pattern of carrying client display metadata inline in the request. For key-bound tokens specifically, DPoP (RFC 9449) offers an OAuth-native path to GNAP-style sender-constrained tokens and is a candidate optional hardening profile for v0.2. |
| Solid | Solid takes the full re-architecture approach: personal data moves into user-controlled pods with RDF/Linked Data semantics, which requires source platforms to adopt the model or users to migrate off-platform. PDPP instead layers on existing OAuth infrastructure and bootstraps data supply through the Collection Profile, without requiring source platforms to adopt anything. |
| Data Transfer Project (DTI) | PDPP and DTI are complementary. The Data Transfer Project handles transfer mechanics, and DTI's stated position is that there is "no silver bullet" for portability: multiple approaches coexist. DTI's Data Trust Registry (post-pilot, 2026) addresses who is trusted: it vets services seeking access to platforms' portability interfaces so that platforms can rely on shared trust signals. PDPP addresses what was consented and how it is enforced (the grant and the resource server interface); a trust registry and PDPP's consent semantics compose rather than compete. The two protocols can chain. See Appendix B. |
| Airbyte / Singer | PDPP borrows the RECORD/STATE checkpoint pattern for incremental sync. This record and state-checkpoint lineage informs the Collection Profile companion specification; it appears here for reader orientation and is informative for Core. |
| GDPR | PDPP implements data minimization through stream and field selection. It also carries machine-readable purpose declarations (purpose_code) that support consent display, local policy, and implementation-defined audit or transparency mechanisms, with an explicit protocol-level consent rule for ai_training. The internal version history required for incremental sync may support implementations that choose to expose historical access features to users. Whether such exposure is required is outside the scope of this specification. This alignment is informative only and is not a required v0.1 capability. |
| DMA | The continuous access mode enables ongoing portability aligned with the DMA's requirements. Article 6(9) requires effective portability with continuous and real-time access to the end user's data; PDPP's continuous grants and incremental sync map to that requirement. This alignment is informative only and is not a required v0.1 capability. |
| EU Data Act (Regulation 2023/2854) | The Data Act's Article 5(1) flow, where a user directs a data holder to make data available to a third party, is the same triangle as PDPP's owner, source, and client. Article 2(12) defines the user as a natural or legal person, matching PDPP's subject-neutral owner. It applies from 12 September 2025, requires access by design for connected products placed on the market after 12 September 2026, and names no protocol. |
Why a profile rather than a new authorization framework
PDPP is a data-portability profile, not a general authorization framework. It rides OAuth 2.0 and RFC 9396 because that is what is deployed. On top of those it adds what neither UMA nor GNAP defines: a portable record model, purpose-bound durable grants, a declared collection and source layer, and a query surface with grant enforcement. UMA is prior art for the user-managed standing access model and GNAP is a candidate future foundation; the table above records both. A GNAP transport binding remains possible later without changing the record model, the grant, or the resource server interface, because none of those depend on the authorization protocol that produced the grant.
Relationship to sector-specific consent regimes
Note (non-normative). PDPP is a floor, not a ceiling. A source already operating under a stricter or more specific consent regime — open banking, or a health regime built on FHIR — does not lose or weaken any obligation of that regime by also being reachable through PDPP. Where the two differ, the stricter requirement governs that source. Nothing in this specification authorizes a disclosure that the source's own regime forbids, and a PDPP grant is not a substitute for a consent that regime requires. This is a scoping statement rather than a conformance criterion: PDPP defines no test for which of two regimes is stricter, and conformance to this specification is assessed against this specification alone. Compatibility profiles that map a sector regime's consent vocabulary onto PDPP's are a possible future addition and are not defined in v0.1.
2. Terminology and Actors
Actors
| Actor | Definition |
|---|---|
| User | The person whose data is being accessed. Owns the data, approves grants, may revoke. |
| Client | An application or AI agent requesting user data. Identified by client_id. In OAuth terms, this is the client. |
| Data Source | Any external system from which a user's data originates: a consumer platform, a SaaS application, a device, a local archive, a financial institution, or other system. |
The owner is the authenticated subject whose records the source holds. Typically this is a person; the protocol itself is subject-neutral, and an organization that authenticates as the account holder participates identically.
Protocol roles
These roles may be co-located in a single deployment (e.g., a personal server acting as both authorization server and resource server) or separated. The spec defines the interfaces between roles, not the deployment topology.
| Role | Responsibility |
|---|---|
| Authorization Server | Issues and manages grants. Validates selection requests against retained source declaration snapshots. Tracks grant lifecycle (active, expired, revoked). |
| Resource Server | Stores records as flat relational streams. Serves records to clients filtered by grant parameters. |
The PDPP Collection Profile defines a third role:
| Role | Responsibility |
|---|---|
| Connector Runtime | Runs connectors. Writes collected records to the resource server. Manages incremental sync state. |
In many deployments, a single personal server fills all three roles. The spec uses "personal server" when referring to a combined deployment, and the specific role name when the distinction matters.
Token resolution: User-facing authorization flows are deployment-specific and are not normatively specified in v0.1. However, when the AS and RS are deployed separately, the AS-to-RS token-resolution contract is normative: the RS MUST authenticate to the RFC 7662 introspection endpoint and resolve the complete grant enforcement context from its response. The RS MUST enforce the request from that response and MUST NOT make a second AS lookup. For co-located deployments, a local equivalent (shared database or function call) is acceptable. Self-contained JWTs may be used as an optimization but MUST NOT be the sole revocation mechanism (see Section 10).
Trust registry queries
Core refers to a trust registry as a source of requester identity metadata and a positive trust signal at consent, as an external mechanism supporting retention accountability, and as a deferred concern. Core relies on two abstract queries: whether a client identifier is recognized and authorized, and whether a source declaration authority is accepted. Neither query is a wire protocol; an authorization server MAY answer locally or through a remote service.
A registry answer is an assertion that local authorization-server policy evaluates; it is not itself a decision. A conveyed answer identifies six things. It names the subject it concerns and the role, action, or scope the status qualifies. It carries the status itself, the governance framework under which the named issuer conferred it by URI, and the issuer or trust-anchor identifier. It bounds the answer with a validity window, as valid_from and valid_until. Without the subject and the issuer, an answer cannot be attributed or replayed against the right party; without the role or scope, a status does not say what the subject is authorized to do.
An authorization server records the trust signal it relied on — subject, role or scope, status, governance-framework URI, issuer or trust-anchor identifier, valid_from, valid_until, and the time of lookup — on its acceptance record or resulting grant. The lookup time matters because a status may be withdrawn later, and the record has to show what was true when the server relied on it.
Core does not define the registry, transport, recognition mechanism, or withdrawal propagation. A server that consults no registry remains conformant because registry answers inform local policy and never replace the owner’s grant. ToIP’s Trust Registry Query Protocol is an intended future profile binding, not a Core requirement.
Data concepts
| Term | Definition |
|---|---|
| Grant | An immutable consent artifact specifying what data a client may access, under what constraints. |
| Stream | A named collection of records with a schema, primary key, and optional cursor field. Stream names are source-local (e.g., messages). The fully qualified identifier is an ordered pair (source.id, stream_name), used in cross-source references and storage. Example: ("https://registry.pdpp.dev/connectors/spotify", "top_artists"). |
| Record | A single data object within a stream. |
| Connector | A program that collects data from a data source, used when data is collected rather than served natively. One of possibly several producers of a source's streams. Defined in the Collection Profile. |
| Source Declaration | A source's versioned declaration of its identity, publisher, streams, schemas, consent surface, selection capabilities, and Resource Server query capabilities. It does not define connector acquisition or execution. |
| Selection Request | A client's request for specific data, expressed as RFC 9396 authorization_details. |
| View | An optional named field set a source declaration may define for a stream, composed from fields declared in the stream schema. When a client requests by view name, the resulting grant records the resolved field list, which is authoritative. Declared views are advisory; the authorization server is authoritative for views used in consent UI and issued grants. |
Requirements Language
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in BCP 14 [RFC 2119] [RFC 8174] when, and only when, they appear in all capitals, as shown here.
This document is normative except where content is explicitly marked as an example, a note, or otherwise non-normative.
This is the only normative document for PDPP Core v0.1 conformance. A profile defines no Core requirement; a future profile may define a separate named conformance claim only if its own status says so. The PDPP Collection Profile and PDPP Source Declaration Discovery and Trust are informative and define no conformance requirements of their own.
3. System Architecture
Every PDPP deployment shares the same authorization core: a user grants a client consent, and the authorization server issues a grant. The resource server that then serves records under that grant is not shown here; how it is populated and operated is deployment-specific (see below).
What differs between deployments is how the resource server that fulfills the grant is populated and operated. This is not a closed set: a resource server may hold pre-collected data with no collection machinery involved, or receive data via regulatory export, manual import, or platform-native APIs (Section 1). The two examples below illustrate the ends of that spectrum; the PDPP Collection Profile is one fulfillment mechanism, not the only one.
Example A: source-native fulfillment. The data source operates its own authorization and resource servers directly; there is no separate collection step.
Example B: personal-server fulfillment. A connector runtime, governed by the Collection Profile, collects data from the source and syncs it into a resource server the user controls.
Core defines no ingest path. Core specifies the authorization server, the resource server, and what passes between them and a client. It does not specify how records reach the resource server, and conformance to Core does not depend on any particular answer. Examples A and B are illustrations, not a classification: a resource server holding data placed there by regulatory export, manual import, a provider's own write path, or a mechanism not yet described is equally within Core. The PDPP Collection Profile describes one such mechanism, connector collection, and describes it for builders rather than as a conformance requirement.
On-behalf-of access is two ordinary grants, not one delegated grant. At the upstream platform, the owner authorizes the personal server to read the owner's data. At the personal server, the owner separately authorizes a downstream client to read owner-held data. These are independent grants, each issued and revocable by the owner. A personal server MAY disclose owner-held data under the fresh downstream grant; it does not pass the platform grant or a downstream PDPP token to the other relationship.
PDPP therefore defines no delegated-grant, sub-grant, or grant-chaining construct, and none is needed to build this. The same shape is already how account aggregation works in deployed systems: an open banking aggregator holds the user’s consent at each bank and its own consent from the user, rather than subdividing one authorization. Where a binding needs to exchange one credential for another across the two relationships, OAuth Token Exchange (RFC 8693) is the existing mechanism, and it is a concern of the binding rather than of Core.
Only live passthrough is bounded by the upstream grant: when the personal server does not hold a copy and reads from the platform to fulfill a downstream request, it MUST stay within the upstream grant. This limit does not constrain a fresh grant for owner-held data. A downstream PDPP token is never forwarded upstream.
Onward transfer is prohibited. A recipient MUST NOT transfer its token or let an ungranted party exercise it.
A different topology — the owner running their own authorization server in front of a platform’s data, so that the platform holds the data but the owner’s server decides who may read it — is not introduced by this specification. It is the arrangement UMA describes, it is not the arrangement above, and it is recorded as deferred rather than left ambiguous.
Protocol layering
PDPP separates three concerns that other systems conflate:
-
Authorization: the user's consent about what is disclosed, to whom, and under what constraints. This is the grant. It is the portable core of PDPP.
-
Disclosure: the records the resource server returns given a valid grant. This is the resource server query API.
-
Collection: how data gets into the resource server in the first place. This is the Collection Profile. It is one answer to this question; pre-loaded data, manual imports, and other mechanisms are equally valid.
The grant and query API are the normative core. Collection is a companion mechanism.
Ingest and sync-state are Collection Profile concerns. The core protocol defines the query API (disclosure) and grant semantics. The Collection Profile defines record ingest and sync-state management endpoints for implementations that claim Collection Profile support.
4. Record Model
Personal data is represented as flat relational streams. This enables streaming, pagination, incremental sync, and compatibility with DTI canonical data models.
Streams
A stream is a named collection of records with a consistent schema. Examples: playlists, messages, sleep_sessions. A stream's shape (its fields and schema) is declared in the source declaration; see Section 5: Source Declaration.
Stream semantics
Each stream has one of two semantic types:
| Semantics | Meaning | Examples | Resource server behavior |
|---|---|---|---|
append_only | Records are immutable events. New records are added; existing records are never modified. | messages, transactions, play_events, workouts | Insert only. Duplicate keys are idempotent. |
mutable_state | Records represent current state of an entity. Records may be updated or deleted. | profile, settings, playlist_items, follow_lists | Upsert by primary key. Resource server maintains version history for incremental sync. |
Approximately 95% of personal data by volume is append_only. The remaining 5% is mutable_state. Mutable state records (profiles, preferences, relationships) are often the highest-value context for AI agents.
Incremental sync for mutable streams
For mutable_state streams, the resource server maintains internal version history to support incremental sync queries. This is an implementation detail: the protocol surface is a standard cursor-based query that returns records changed since a given cursor position (see Section 8). The version history is not exposed as a separate stream.
A client that has previously synced a mutable_state stream queries for changes by passing its last cursor. The resource server returns only records whose state has changed since that cursor, within the client's grant-authorized field projection. If no authorized fields changed on a record, that record does not appear in the response.
This design ensures that a client authorized for fields A and B cannot infer that field C changed, even if C was modified after the client’s last sync. The response is a function of the grant, not of the full record state.
Snapshot model: changes_since returns the full current state of each record whose grant-authorized projection changed since the cursor position, plus tombstones for deletions. It does not return field-level diffs. The client receives a complete record object for any record that changed.
Cursor expiry: Resource servers MAY expire historical version data after a retention period. If a client's cursor has expired, the resource server MUST return HTTP 410 Gone with error code cursor_expired. The client MUST perform a full re-sync to re-establish its baseline.
Two distinct cursor spaces: cursor/next_cursor are pagination tokens within a single query execution; changes_since/next_changes_since are incremental sync tokens across sessions. A client MUST NOT use a next_cursor value as a changes_since parameter; they are different token spaces and will produce a protocol error if confused. The terminal page of a changes_since result MUST include a next_changes_since field. Paginating an incremental sync: pass changes_since on the first request, follow next_cursor for subsequent pages within that session, then store next_changes_since from the terminal page for the next session.
Tombstones: When a record is deleted from a mutable_state stream, the resource server MUST include a tombstone entry in incremental sync responses for clients whose cursor predates the deletion. Tombstone format:
{
"object": "record",
"id": "canonical-key-string",
"stream": "playlists",
"deleted": true,
"deleted_at": "2026-04-01T10:00:00Z",
"emitted_at": "2026-04-01T10:00:01Z"
}Tombstones use the same object: "record" envelope as regular response records, with deleted: true. The id field is the canonical key string (see RECORD envelope, Compound key encoding below). Both deleted_at and emitted_at are required on tombstone objects. No data field is present on tombstones.
A tombstone signals that a record left the stream. For subset or derived streams this means membership removal; it does not assert that the source record was deleted. See Derived subset streams (Section 12) for the non-normative discussion of this stream shape.
deleted_at represents the time the record was deleted in the source system, if known; otherwise the time the RS processed the deletion directive. If the source system deletion time is unknown, the RS SHOULD use the emitted_at value of the delete directive as deleted_at.
Non-normative note (GDPR Article 15): The version history maintained internally by the resource server to support mutable_state incremental sync may support implementations that choose to expose historical access features to users. Whether such exposure is required is outside the scope of this specification. This alignment is non-normative and is not a required v0.1 capability.
Split rule
When modeling data from a source, apply this rule:
- Separate stream if: has its own stable ID, unbounded cardinality, changes independently, or consumers query it independently.
- Nested within a record if: small, bounded, and only meaningful as part of the parent.
Example: conversations and messages are separate streams (messages are unbounded, have their own IDs, change independently). A message's content_blocks array can be nested (bounded, only meaningful within the message).
This is a common data modeling judgment call. The rule above is a guide, not a formula; declaration publishers exercise discretion.
The RECORD envelope
RECORD is the universal data envelope. It is used in the Collection Profile and is the canonical shape for records stored in the resource server.
{
"stream": "messages",
"key": "msg_abc123",
"data": {
"id": "msg_abc123",
"conversation_id": "conv_xyz",
"role": "user",
"content": "What is the weather like?",
"source_created_at": "2026-03-28T15:00:00Z"
},
"emitted_at": "2026-03-28T15:01:00Z"
}| Field | Type | Required | Description |
|---|---|---|---|
stream | string | yes | Stream name |
key | string or string[] | yes | Primary key value. Array for compound keys; order matches the SourceDeclaration primary_key. |
data | object | yes | Record payload conforming to the stream schema. |
emitted_at | ISO 8601 | yes | When the record was emitted by its producer (processing time, not source time). |
op | enum | no | upsert (default) or delete. This field is a directive to the resource server and is not stored as part of the record data. |
Compound key encoding: When primary_key has multiple fields, key is an array of values in the order declared by the SourceDeclaration primary_key. The canonical string form of a compound key is the minified JSON array of key values (e.g., ["user_123","2026-04-01"]). Each primary-key component MUST be serialized as a string in the canonical encoding. Non-string primary-key field values (e.g., integers, dates) MUST be converted to their string representation before encoding. URL path parameters and resources[] entries use percent-encoded canonical string form. The resource_ref.record_id field retains native string | string[] type.
Record identity: For any record, the values of the data fields named by the stream's primary_key MUST match the values in the key envelope field (in order). A resource server or profile-defined write interface MUST reject a record before storage when those values disagree. The Collection Profile defines the HTTP error for its ingest endpoint.
Timestamps
Two timestamp concepts appear in records:
emitted_at: when the producer emitted the record. Always present on the RECORD envelope. Producer-generated.- Source timestamps: when the event occurred or the resource was created or modified on the source platform. These are fields within
data, declared in the stream schema. The spec reserves two standard field names:source_created_atandsource_updated_at. Connector authors SHOULD use these names when the platform provides them, rather than inventing platform-specific names.
Foreign keys
Streams reference each other via foreign key fields in data:
{
"stream": "conversations",
"key": "conv_xyz",
"data": {
"id": "conv_xyz",
"title": "Weather chat",
"source_created_at": "2026-03-28T14:00:00Z"
}
}
{
"stream": "messages",
"key": "msg_abc123",
"data": {
"id": "msg_abc123",
"conversation_id": "conv_xyz",
"content": "...",
"source_created_at": "2026-03-28T15:00:00Z"
}
}The SourceDeclaration declares primary_key per stream. Foreign key relationships are declared in its relationships field (see Section 5).
Binary data (blob_ref)
Binary data (photos, videos, audio, documents) is not inlined in records. The record contains metadata and a blob_ref:
{
"stream": "media",
"key": "media_123",
"data": {
"id": "media_123",
"caption": "Sunset",
"media_type": "image",
"source_created_at": "2026-03-28T10:00:00Z",
"blob_ref": {
"blob_id": "blob_media_123",
"mime_type": "image/jpeg",
"size_bytes": 2048000,
"sha256": "a1b2c3..."
}
}
}mime_type MUST be a valid IANA media type (see IANA Media Types). Record producers emit blob_ref without a fetch_url. The resource server injects fetch_url at read time when serving records via the query API.
Cross-stream references (resource_ref)
When a record references a record in a different stream on the same resource server, use a resource_ref. This is a within-subject, within-server pointer. Cross-user or cross-server references are out of scope in v0.1.
{
"stream": "tag_assignments",
"key": "assign_1",
"data": {
"tag_id": "tag_sunset",
"target": {
"source_id": "https://registry.pdpp.dev/connectors/instagram",
"stream": "media",
"record_id": "media_123"
}
}
}5. Source Declaration
Each source publishes a SourceDeclaration describing its identity, publisher, consent surface, record semantics, selection capabilities, and Resource Server query capabilities. Connector-backed and provider-native sources use the same Core shape. The declaration defines what can be consented to. The resolved grant defines what was approved.
SourceDeclaration structure
{
"protocol_version": "0.1.0",
"source": {
"kind": "connector",
"id": "https://registry.pdpp.dev/connectors/spotify"
},
"declaration_version": "2026-08-11",
"publisher": {
"id": "https://registry.pdpp.dev/"
},
"display": {
"name": "Spotify"
},
"selection_presets": [
{
"id": "listening_history",
"label": "Listening history",
"streams": [
{ "name": "top_artists" },
{ "name": "play_events" }
]
}
],
"streams": [
{
"name": "top_artists",
"description": "Most-listened artists over time",
"display": {
"label": "Your top artists",
"detail": "Artist names, genres, and popularity scores. No listening timestamps or play counts."
},
"semantics": "mutable_state",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": { "type": "string" },
"name": { "type": "string" },
"genres": { "type": "array", "items": { "type": "string" } },
"popularity": { "type": "integer" },
"source_updated_at": { "type": "string", "format": "date-time" }
},
"required": ["id", "name"]
},
"primary_key": ["id"],
"cursor_field": "source_updated_at",
"consent_time_field": "source_updated_at",
"selection": {
"fields": true,
"resources": false
},
"query": {
"range_filters": {
"source_updated_at": ["gte", "gt", "lte", "lt"]
}
},
"views": [
{
"id": "basic",
"label": "Artist names and genres",
"fields": ["id", "name", "genres"]
},
{
"id": "full",
"label": "Full artist data",
"fields": ["id", "name", "genres", "popularity", "source_updated_at"]
}
]
},
{
"name": "play_events",
"description": "Individual track play events",
"semantics": "append_only",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": { "type": "string" },
"track_id": { "type": "string" },
"played_at": { "type": "string", "format": "date-time" },
"duration_ms": { "type": "integer" }
},
"required": ["id", "track_id", "played_at"]
},
"primary_key": ["id"],
"cursor_field": "played_at",
"consent_time_field": "played_at",
"selection": {
"fields": true,
"resources": false
}
}
],
"extensions": {}
}SourceDeclaration fields
| Field | Description |
|---|---|
protocol_version | Version of the PDPP SourceDeclaration schema. This contract requires exactly 0.1.0. |
source | Exactly { kind, id }. kind is connector or provider_native; id is the absolute URI authorization identity for the source's data surface. |
declaration_version | Opaque, non-empty revision identifier for this source declaration. It is not the connector software version and has no implied ordering. |
publisher.id | Absolute URI identifying the declaration publisher. It is an attribution claim, not an authenticated identity. The authorization server MUST treat publisher.id as authenticated only where an accepted channel or configured mapping binds that publisher to the declaration; absent that binding it MUST NOT support source acceptance, redirect policy, attribution, or any other trust decision. |
display.name | Human-readable source name for consent UIs. It is display metadata, not source identity. |
selection_presets | Optional preset selections. The authorization server expands a selected preset into explicit stream terms before issuing a grant. |
streams[].name | Unique non-empty stream name, source-local. * is request-only and is not a declaration stream name. |
streams[].description | Optional short human-readable summary of the stream's contents (e.g., "Most-listened artists over time"). Not consent-surface metadata; see streams[].display for the fields the AS renders during consent. |
streams[].display | Optional consent-surface metadata. See Stream display metadata. |
streams[].semantics | append_only or mutable_state. |
streams[].schema | JSON Schema for the record's data field. primary_key and cursor_field MUST reference fields declared here. |
streams[].primary_key | Fields that uniquely identify a record within the stream. |
streams[].cursor_field | Field used for logical record ordering in cursor-based reads and incremental sync. List reads sort by (cursor_field, primary_key), with null or absent cursor values sorting after present values. A cursor is an opaque token the server issues, encoding a logical sort position in the stream. |
streams[].consent_time_field | The temporal consent boundary: the field against which time_range is evaluated. Absent means time_range is not applicable to this stream. MUST reference a field declared in the schema. |
streams[].selection | Which selection parameters this stream supports (fields, resources). Time-range capability is derived from consent_time_field presence; absent means not time-range-capable. The AS MUST reject grants that request time_range on a stream without a consent_time_field, or that request an unsupported selection parameter. |
streams[].views | Named field projections the declaration publisher suggests. Advisory; the AS is authoritative. Each view has id, label, and fields (top-level field names only). |
streams[].relationships | Declared foreign key relationships to other streams. Structural graph metadata only; does not by itself make a relation expandable in the read API. Expandability is declared separately as a query capability; see expand[]. |
streams[].query | Stream-specific query capability declaration. range_filters declares range-queryable fields and operators. expand declares expandable relations and per-relation limits. search and aggregations preserve source-neutral capability declarations used by companion query profiles; their operation semantics and conformance are not defined by Core. |
extensions | Optional object keyed by absolute profile URI. Core preserves or ignores an unknown extension value and does not parse it. An operation that explicitly invokes an unsupported profile is rejected. An extension cannot redefine or weaken Core semantics. |
The public SourceDeclaration JSON Schema declares JSON Schema 2020-12. Each
streams[].schema uses that dialect when $schema is absent. If $schema is
present, it MUST equal https://json-schema.org/draft/2020-12/schema. This
dialect choice does not by itself guarantee identical validator behavior. The
AS MUST meta-validate each embedded stream schema before accepting the
declaration. Embedded $ref and $dynamicRef values MUST be local fragment
references. A declaration MUST NOT make consent interpretation depend on a
mutable remote schema.
source.id is the authorization identity. In a retained declaration or grant,
source.kind records the provenance class that the AS accepted from its
declaration authority. It is not authorization equality, a runtime type, or a
Collection Profile claim, and it never selects serving or acquisition runtime.
A connector declaration with no Collection extension remains valid Core input.
The declaration never contains owner-specific account or instance handles.
Those appear on each stream in the selection request and resolved grant.
Stream display metadata
Streams MAY include a display object with human-readable metadata for the consent UI. This metadata is authored by the accepted declaration publisher, not the requesting client.
| Field | Type | Description |
|---|---|---|
display.label | string | Short human-readable name shown in the consent card (e.g., "Who you follow"). If absent, the AS SHOULD display streams[].description or fall back to the stream name. |
display.detail | string | Consent-oriented description of what data is included and, where relevant, what is excluded (e.g., "Usernames and account IDs of accounts you follow. No DMs, profile details, or follower lists."). If absent, the AS MAY generate a description from the stream schema, or display no detail. |
Authorship principle: display.label and display.detail describe the data itself, not the requester's purpose. They are attributed to the accepted declaration publisher. The requesting client MUST NOT override or supplement these descriptions in the selection request. Publisher attribution is authenticated only under the conditions in SourceDeclaration fields.
{
"name": "following_accounts",
"description": "Accounts the user follows",
"display": {
"label": "Who you follow",
"detail": "Usernames and account IDs of accounts you follow. No DMs, profile details, or follower lists."
},
"semantics": "mutable_state",
"schema": { "..." : "..." }
}consent_time_field
The consent_time_field is the field on each record that the resource server evaluates time_range against. It represents the stream's temporal consent boundary: when the user consents to "data from the last 6 months," the consent_time_field is the field that determines whether a given record falls within that window.
The consent_time_field may be the same field as cursor_field, but they serve different purposes and MUST be declared separately:
cursor_fieldgoverns incremental sync mechanics (which records to fetch since the last run).consent_time_fieldgoverns consent-time filtering (which records fall within the authorized time window).
For many append_only streams, both fields will be the same (e.g., played_at for play events). For some mutable_state streams they may differ: a playlists stream might use source_updated_at as the cursor (for efficient incremental sync) but source_created_at as the consent_time_field (because the user's consent to "playlists from the last 6 months" most naturally means playlists they created in that period, not playlists they edited).
The consent_time_field MUST be rendered in human-readable consent UX. A grant with time_range: { since: "2026-01-01" } on the playlists stream should be presented as "playlists created on or after January 1, 2026," not just "playlists in time_range."
Streams that cannot define a stable consent_time_field simply omit it. The absence of consent_time_field is the normative signal that the stream does not support time-range filtering.
Relationships
{
"name": "conversations",
"relationships": [
{
"name": "messages",
"stream": "messages",
"foreign_key": "conversation_id",
"cardinality": "has_many"
}
]
}| Field | Description |
|---|---|
name | Relation name (used in expand[] on the query API). |
stream | The related stream name. |
foreign_key | The field on the related stream that references this stream's primary key. |
cardinality | has_many or has_one. |
Views
Views are named field projections that the authorization server may define for a stream, composed from fields declared in the stream schema. Views are the unit of consent when a client requests access by view name rather than by explicit field list. A view names a field set within a single stream, while a selection preset expands to stream-level selections at request scope.
Declaration publishers MAY suggest views. These suggestions are advisory. The authorization server is authoritative for views used in consent UI and issued grants. The AS MUST NOT define a view that includes fields absent from the retained SourceDeclaration schema for the relevant stream.
View evolution: Grants are bound to the resolved field set at issuance time: fields in the StreamGrant is authoritative, not the view name. View evolution (adding new fields to a view) never silently widens existing grants. Re-consent is required before a client can access new fields, even if those fields are subsequently added to a named view the client already has a grant for.
Authority and registry: Views defined under pdpp.dev URI namespaces are controlled by PDPP maintainers via a public change process. Implementations MUST treat unrecognized view URIs as opaque identifiers.
Versioning and snapshots
declaration_version is an opaque exact revision identifier. Core does not
assign semantic-version ordering or compatibility meaning to it. A connector
software release can leave the declaration unchanged, and a declaration can
change without a connector release.
The authorization server retains the exact declaration snapshot used to validate the request and render consent. It uses that same snapshot for narrowing, issuance, and retained consent evidence. The issued grant records the declaration revision and every resolved authorization fact. A version label alone is not a snapshot.
Adding a field, view, stream, or capability to a later declaration never widens an existing grant. Removing or changing a currently served capability may make a request technically unsupported, but it does not reinterpret what the user approved. The Resource Server enforces the resolved grant without a current declaration lookup. Current serving metadata may only route, describe current capabilities, narrow, or reject.
Declaration acceptance
An authorization server accepts a source declaration only through explicit owner or operator onboarding, an installed catalog, an accepted registry entry, or explicit local provisioning. A client MUST NOT introduce a new source authority or declaration URI during authorization.
For a provider_native source, source.id MUST be identical to the protected-resource identifier the authorization server has already accepted for that resource. The authorization server MUST reject any mismatch before consent or grant issuance.
publisher.id is an unauthenticated claim unless an accepted channel or configured mapping binds that publisher to the declaration. Without such a binding, the authorization server MUST NOT rely on publisher.id for source acceptance, attribution, redirect policy, or any other trust decision.
An accepted revision is keyed by its accepted authority binding, source.id, and declaration_version. Different parsed content under an accepted key is equivocation: the authorization server MUST reject it and retain the previously accepted content, and MUST NOT infer ordering or freshness from declaration_version.
When retrieving a declaration, the authorization server MUST use HTTPS without ambient credentials. It MUST validate every redirect target and the final URL against its accepted declaration pointer and network policy. It MUST reject a declaration that requires automatic retrieval of a remote schema, and MUST fail closed when any check fails.
The address check is bound to the connection, not to the URL. The authorization server MUST validate the destination address against its network policy immediately before each connection attempt, including each redirect hop. It MUST connect only to an address from that validated result. An address accepted for an earlier attempt does not authorize a later resolution. The declaration location is not the source identity. Section 10 states the retrieval limits an authorization server sets by local judgment.
Declaration display values are untrusted input. An authorization server MUST render declaration display values safely for the output context, by context-appropriate escaping, by sanitization, or by any construction that guarantees the value cannot be interpreted as markup, script, or a control sequence in that context. The requirement is on the outcome; this specification does not mandate one technique. Current declaration capabilities MUST NOT widen an issued grant.
6. Selection Request
A client requests specific personal data by including authorization_details in an OAuth 2.0 authorization request, following RFC 9396.
{
"response_type": "code",
"client_id": "music_recommendations",
"redirect_uri": "https://app.example.com/callback",
"scope": "openid",
"client_display": {
"name": "Concert Finder",
"uri": "https://concertfinder.example.com",
"logo_uri": "https://concertfinder.example.com/logo.png",
"policy_uri": "https://concertfinder.example.com/privacy",
"tos_uri": "https://concertfinder.example.com/terms"
},
"authorization_details": [
{
"type": "https://pdpp.dev/data-access",
"source": { "id": "https://registry.pdpp.dev/connectors/spotify" },
"purpose_code": "https://pdpp.dev/purpose/personalization",
"purpose_description": "Recommend concerts based on your listening history",
"access_mode": "single_use",
"streams": [
{
"name": "top_artists",
"necessity": "required",
"instance_ids": ["spotify-account-a"],
"time_range": { "since": "2025-09-28T00:00:00Z" }
},
{
"name": "play_events",
"necessity": "optional"
}
],
"client_claims": {
"commitments": ["Data used only for concert recommendations"]
}
}
]
}Client display metadata
The top-level client_display object carries inline client display metadata for the requesting application. PDPP reuses the human-readable client metadata model from OAuth 2.0 Dynamic Client Registration (RFC 7591 Section 2.2), but transports it inline in the authorization request rather than requiring a dynamic client registration endpoint.
Inside client_display, PDPP drops the client_ prefix from client_name and client_uri because the enclosing object is already client-scoped. The metadata model is otherwise aligned with RFC 7591.
| Field | Type | Required | Status | Description |
|---|---|---|---|---|
client_display.name | string | yes | Inline client metadata | Inline equivalent of RFC 7591 client_name. Human-readable application name. |
client_display.uri | URI | no | Inline client metadata | Inline equivalent of RFC 7591 client_uri. The client's homepage. |
client_display.logo_uri | URI | no | Inline client metadata | RFC 7591 logo_uri. URL to a square image representing the client. |
client_display.policy_uri | URI | no | Inline client metadata | RFC 7591 policy_uri. URL for the client's privacy policy. |
client_display.tos_uri | URI | no | Inline client metadata | RFC 7591 tos_uri. URL for the client's terms of service. |
client_display is entity-scoped: it describes the client, not a specific authorization request. It appears at the top level of the authorization request, outside authorization_details.
client_display is an inline carrier, not necessarily the AS's final rendered identity record. The AS MAY replace or augment inline values with locally registered metadata, validated binding metadata, validated software-statement metadata, or trust-registry metadata.
Validated binding metadata is client metadata the AS obtained and verified through the mechanism that binds the client to the authorization protocol in use, rather than metadata the client asserted inline in this request. Under the OAuth binding it is the metadata a client ID metadata document or a dynamic registration record supplies, after the binding's own validation succeeded. Core does not define how a binding validates it; Core defines only that validated binding metadata outranks inline client_display, because the AS checked it and the client did not merely assert it.
URL-hosted client identity. A client ID metadata document is valid for this rule when three conditions hold. It is syntactically valid per the client ID metadata document specification the OAuth binding names. The authorization server retrieved it over HTTPS from the client_id URL itself. And the client_id inside the document is identical to the URL it was retrieved from — the check that stops a document from claiming to be a different client.
Two obligations follow, and they are separate. The interoperability obligation: a conforming authorization server MUST NOT reject a valid client ID metadata document solely because the client is not preregistered. The local-authority obligation, which the first does not weaken: the server MAY still deny authorization, rate-limit the client, or require a registry-derived trust or admission result, under local policy and for any reason other than the absence of preregistration. A conformance test therefore exercises two distinct outcomes — an unregistered valid document that is accepted as an identity, and a policy denial that is not a rejection of the identity form.
For PDPP Core v0.1 interoperability, a conforming authorization server MUST accept a valid URL-hosted client identity unless local policy denies authorization.
Metadata resolution and rendering obligations:
- The AS MUST resolve requester identity metadata from the best available source. Source precedence is local registration or trust-registry metadata, then validated software-statement metadata if supported, then validated binding metadata, then inline
client_display, thenclient_idfallback. - If the resolved metadata contains a display name, the AS MUST display it to the user during consent. If no display name is available, the AS MUST display
client_idas the requester identity. - If the resolved metadata contains
policy_uriortos_uri, the AS MAY display them as secondary links or disclosures. - If the server has a positive trust signal for the client (e.g., verified domain control, trust registry membership), it MUST render that status distinctly (e.g., a “verified” badge). If it has no positive trust signal, it MUST treat the client as unverified and SHOULD display an “unverified app” indicator.
- Domain control as a trust signal. The binding may identify a client by a URL that client controls. Where the AS both retrieved that client's metadata from that URL over HTTPS and confirmed the retrieved document identifies the same client, the AS has verified that the client controls that domain. The AS MAY treat verified domain control as a positive trust signal under obligation 4, and when it does it MUST name the verified domain rather than assert an unqualified verification (for example "Verified domain: example.com", not "Verified app"). Domain control establishes only that the operator of that domain published this client's metadata. It is not an assertion about the client's conduct, its data practices, or any review by the AS operator, and the AS MUST NOT present it as one.
- The AS MUST treat
logo_urias untrusted content until it has been accepted under local policy. It MUST NOT fetch and render a client-supplied remote logo in the consent UI unless the client is verified or the asset has been proxied, cached, and approved under local policy. For unverified clients, the AS SHOULD generate a monogram from the resolved display name. - If neither resolved metadata nor inline
client_displayprovides a display name, the consent UI SHOULD clearly indicate that the client has not provided display metadata.
Pre-registered public client discovery
An authorization server MAY support clients that are public and pre-registered by the deployment rather than dynamically registered. Dynamic public-client self-registration is the preferred discoverable path when registration_endpoint is advertised. When AS metadata advertises pre_registered_public in pdpp_registration_modes_supported, the reference publishes pdpp_pre_registered_public_clients so agents and third-party clients can discover usable fallback or example client_id values without an out-of-band walkthrough.
Each pdpp_pre_registered_public_clients entry contains client_id, client_name, and token_endpoint_auth_method. These entries are public client metadata, not authority to access data. The user grant remains the authorization boundary, and the field MUST NOT contain secrets, access tokens, owner-scoped clients, dynamically registered clients, or private registration state.
Client claims
The optional client_claims object within each authorization_details entry carries client-authored, non-enforceable statements about the specific authorization being requested. These are request-scoped, not entity-scoped: a client may make different commitments for different authorization requests.
| Field | Type | Required | Status | Description |
|---|---|---|---|---|
client_claims.commitments | string[] | no | Attributed client claim | Free-text policy commitments relevant to this request (e.g., "Data used only for this study"). |
Trust boundary: Client claims are self-asserted and unverifiable by the server. The AS MUST render client_claims content separately from protocol-enforced grant terms and MUST attribute it to the client (e.g., "[client name] says:"). The AS MUST NOT render client claims in the same visual register as protocol-enforced grant terms, structured policy declarations, or declaration-authored data descriptions.
If rendered on the final owner review surface, client_claims MUST be
normalized and bound exactly, with client attribution, into the immutable final
approval artifact and review revision. Retained consent evidence MUST preserve
that binding. They are material consent context, not grant rights. They remain
outside authorization equality, the resolved grant, introspection rights, and
RS enforcement.
Relationship to purpose_description: purpose_description is a first-class request field describing what the authorization is for. It is part of the authorization semantics the user reviews. client_claims.commitments are supplementary promises that are not reducible to structured protocol fields. Both are client-authored, but purpose_description is the primary purpose statement while commitments are additional assurances.
Commitments that ARE machine-readable: Structured grant fields (e.g., retention.max_duration, access_mode) SHOULD be rendered by the AS as server-generated display text (e.g., "Deleted within 90 days", "Ongoing access until you revoke it"). Clients SHOULD NOT duplicate machine-readable constraints as free-text commitments. If a commitment duplicates a structured field, the structured field is authoritative.
Semantic classes and consent-surface rendering
PDPP uses three primary semantic classes across selection requests and grants:
- Protocol-enforced constraints: Values the AS and/or RS actually validate or enforce, such as stream selection, field projection,
time_range,resources, andaccess_mode. - Structured policy declarations: Machine-readable statements that matter for consent, local policy, and implementation-defined audit or transparency mechanisms, but are not generally self-enforcing at the protocol layer. In v0.1 this includes
purpose_code,purpose_description, andretention, with one explicit exception:https://pdpp.dev/purpose/ai_trainingadds a protocol-level consent requirement. - Attributed client claims: Client-authored statements that may matter to the user but are not protocol facts. In v0.1 this is
client_claims.
client_display is a separate category: requester identity metadata used to identify who is asking, not a grant constraint. Inline values may be client-asserted, but the AS renders them under its own resolution and trust policy.
PDPP does not standardize consent screen layout, visual design, or copywriting. It does normatively constrain semantic rendering. A conformant AS MUST preserve the distinction between protocol-enforced terms, structured policy declarations, declaration-authored data descriptions, and client-authored claims. It MUST NOT flatten these categories into a single undifferentiated consent surface.
Request-level parameters
| Parameter | Type | Required | Status | Description |
|---|---|---|---|---|
source | object | yes | Protocol-enforced | Source binding. id is required and is the stable absolute URI authorization identity for the data surface. A request carries id alone: provenance is derived by the authorization server from the accepted declaration, not asserted by the client. |
purpose_code | URI | yes | Structured policy declaration | Machine-readable purpose (absolute URI). See Appendix A for the initial registry. The AS MUST accept any syntactically valid absolute-URI purpose code. For unrecognized codes, the AS MUST display purpose_description if present, or the raw URI if not, and MUST NOT reject the request solely because the purpose code is unrecognized. Consent properties associated with purpose codes in the registry are advisory, not protocol-enforced, with the exception of https://pdpp.dev/purpose/ai_training (see below). |
purpose_description | string | no | Structured policy declaration | Human-readable purpose, displayed to the user during consent. Clients SHOULD provide this field. When present, the AS MUST display it. For standard purpose codes, the AS MAY display a human-readable label from the registry when purpose_description is absent. |
access_mode | enum | yes | Protocol-enforced | single_use or continuous. See Section 7. |
retention | object | no | Structured policy declaration | Requested retention constraints: { max_duration, on_expiry }. |
streams | StreamRequest[] | yes (unless selection_preset is used) | Protocol-enforced | Requested streams with per-stream parameters. |
selection_preset | string | no | Protocol-enforced at issuance time | Reference to a SourceDeclaration preset, as an alternative to explicit streams. |
client_claims | object | no | Attributed client claim | Client-authored, non-enforceable claims about this request. See Client claims. |
Source kinds
These are the two provenance classes an authorization server derives and carries forward. They are defined here because this is where a reader meets the source binding, not because a client sends one.
source.kind | Meaning |
|---|---|
"connector" | The declaration authority represents a connector-backed source. source.id is its public source URI, not a local package name, connector key, storage namespace, account identifier, or runtime binding. A connector declaration remains Core-valid without Collection Profile data. |
"provider_native" | The declaration authority represents the provider's own PDPP data surface. source.id is normally the OAuth protected-resource identifier for that surface, not merely the provider's legal-entity URI. |
A selection request does not carry source.kind. The authorization server derives the provenance class from the declaration it accepted for source.id, and records it in consent evidence and any issued grant, where a client reads it back through introspection. A client whose policy depends on provenance therefore reads it from the issued grant rather than asserting an expectation in the request; Section 9 states that as a client requirement. The OAuth/RAR binding returns RFC 9396 invalid_authorization_details for invalid authorization details.
AI training consent
The AS MUST obtain explicit affirmative user consent before issuing any grant with purpose_code value https://pdpp.dev/purpose/ai_training. This is the sole purpose code with a mandatory consent requirement at the protocol level.
Stream selection parameters
Per-stream, within the streams array. All are optional except name.
| Parameter | Type | Status | Description |
|---|---|---|---|
name | string | Protocol-enforced | Stream name, or * for all streams (resolved at consent time against the retained SourceDeclaration). |
necessity | enum | Consent-flow control at issuance time | required (default) or optional. Optional streams are presented as user choices during consent. |
instance_ids | string[] | Protocol-enforced | Optional opaque owner-instance handles for this stream. Handles are scoped to issuer, subject, source.id, and stream. Omission never means fan-in (reading across more than one connected instance of the same source). The AS resolves exactly one eligible handle or requires an explicit owner choice. |
time_range.since | ISO 8601 | Protocol-enforced | Earliest data to include (inclusive, >=), evaluated against the stream's consent_time_field. |
time_range.until | ISO 8601 | Protocol-enforced | Latest data to include (exclusive, <), evaluated against the stream's consent_time_field. A hard cap: applies to future resources as well as past ones. |
view | string | Protocol-enforced at issuance time | Named view defined by the authorization server. Mutually exclusive with fields in a request; both MUST NOT be present simultaneously. AS returns 400 invalid_request if both are present. |
fields | string[] | Protocol-enforced | Field allowlist. Schema-required fields are always included regardless of this list. In v0.1, restricted to top-level field names only. Mutually exclusive with view. |
resources | string[] | Protocol-enforced | Specific record IDs to authorize. Values are canonical key strings: minified JSON array for compound keys, plain string for simple keys. The AS validates arity and type against the retained declaration's primary_key at grant issuance. The RS filters by exact primary-key match. |
Note on fields: At consent resolution, schema-required fields are always included in the resolved field set, regardless of the requested field list, because a record missing its schema-required fields is not a valid record of that stream; the per-stream consent floor is its required fields.
Note on time_range: time_range is only valid for streams that declare a consent_time_field. The authorization server MUST reject selection requests that specify time_range on a stream without that field. Its presence in the retained declaration is the authoritative signal that a stream is time-range-capable.
A wildcard entry MUST be the only entry in streams. Otherwise stream names
MUST be unique within the request.
Note on streams vs selection_preset: Exactly one is required. Source validation fails if both or neither are present. The OAuth/RAR binding maps this failure to RFC 9396 invalid_authorization_details.
Selection presets
Source declarations may define selection presets. A client can reference a preset instead of constructing explicit stream selections:
{
"type": "https://pdpp.dev/data-access",
"source": { "id": "https://registry.pdpp.dev/connectors/instagram" },
"purpose_code": "https://pdpp.dev/purpose/personalization",
"access_mode": "single_use",
"selection_preset": "social_summary"
}The authorization server expands the preset from the retained snapshot into explicit streams and fields before final owner review and issuance. Each selection preset MUST NOT contain the same stream name more than once. Duplicate stream names make the declaration invalid. They are not deferred to grant issuance.
Every field in the issued grant is derived from either the selection request, client registration, or authorization server policy. The grant never contains values whose source is ambiguous.
7. Grant
A grant is an immutable consent artifact. It is the output of the authorization flow.
The authorization server issues an access token bound to the grant. The client uses the access token (not the raw grant) to authenticate with the resource server. The resource server resolves the token to the grant and enforces its constraints on every request. Grant lifecycle (active, expired, revoked) is tracked by the authorization server, not stored in the grant itself.
{
"version": "0.1.0",
"grant_id": "grt_8f72a1b3",
"issued_at": "2026-04-06T15:00:00Z",
"subject": { "id": "user_abc123" },
"client": { "client_id": "music_recommendations" },
"source": { "kind": "connector", "id": "https://registry.pdpp.dev/connectors/spotify" },
"source_declaration": { "version": "2026-08-11" },
"purpose_code": "https://pdpp.dev/purpose/personalization",
"purpose_description": "Recommend concerts based on your listening history",
"access_mode": "single_use",
"streams": [
{
"name": "top_artists",
"instance_ids": ["spotify-account-a"],
"fields": ["id", "name", "genres", "popularity", "source_updated_at"],
"time_constraint": {
"field": "source_updated_at",
"since": "2025-09-28T00:00:00Z"
}
}
],
"retention": {
"max_duration": "P1Y",
"on_expiry": "delete"
},
"expires_at": "2027-04-06T00:00:00Z"
}Grant fields
The following field table is normative. Section 13's TypeScript types are a non-normative convenience mirror; on conflict, this table wins.
| Field | Type | Required | Status | Description |
|---|---|---|---|---|
version | string | yes | Protocol metadata | Tracks the version of this specification's grant schema (not a URL; there is no external schema document to resolve). This contract requires exactly 0.1.0. |
grant_id | string | yes | Protocol metadata | Unique identifier. |
issued_at | ISO 8601 | yes | Protocol metadata | When the grant was issued. |
subject | object | yes | Identity binding | Exactly { id }. The subject.id is an opaque string, unique within the issuing AS's namespace. No format constraint is imposed. |
client | object | yes | Identity binding | Exactly { client_id } or { client_id, client_display }. client_display, when retained, is the requester identity metadata resolved by the AS, not unverified inline input. |
source | object | yes | Protocol-enforced | Exact { kind, id } retained from the accepted SourceDeclaration. id is authorization identity; kind is provenance metadata. |
source_declaration | object | yes | Protocol evidence | { version } records the opaque revision of the exact declaration snapshot used for consent and issuance. It is evidence metadata, not a live lookup authority. |
purpose_code | URI | yes | Structured policy declaration | Machine-readable purpose (see Appendix A). |
purpose_description | string | no | Structured policy declaration | Human-readable purpose. |
access_mode | enum | yes | Protocol-enforced | single_use or continuous. |
streams | StreamGrant[] | yes | Protocol-enforced | Granted streams. Always expanded; no wildcards. See StreamGrant fields table below. |
selection_preset | string | no | Informational | Which SourceDeclaration preset was selected. The resolved streams and fields remain authoritative. |
retention | object | no | Structured policy declaration | Policy commitment by the data recipient (see below). |
expires_at | ISO 8601 | no | Protocol-enforced | Grant expiry. Absent means no expiry. |
StreamGrant fields
| Field | Type | Required | Status | Description |
|---|---|---|---|---|
name | string | yes | Protocol-enforced | Unique stream name within the grant. Always concrete; no wildcards in issued grants. |
instance_ids | string[] | yes | Protocol-enforced | Unique non-empty opaque instance handles scoped to issuer, subject, source ID, and this stream. Multiple handles authorize fan-in only when explicitly listed. Example: two connected Gmail accounts are two instances of the same source kind, each with its own handle. |
fields | string[] | yes | Protocol-enforced | Unique non-empty resolved field allowlist, authoritative for RS enforcement. Top-level field names only. |
time_constraint | object | no | Protocol-enforced | Frozen { field, since?, until? } resolved from the retained declaration. field is required and at least one bound is present. since is inclusive; until is exclusive. |
resources | string[] | no | Protocol-enforced | Authorized record IDs in canonical key string encoding. Absent means all records. |
Request-only conveniences such as wildcard names, view, omitted fields, and omitted instance handles are fully resolved before final owner review and issuance. They are not continuing authority in the grant. Selection provenance may be retained at grant level through selection_preset; the concrete stream rows remain authoritative.
Before the final approval surface is shown, the AS MUST resolve omitted
instance_ids to exact eligible instance handles or require an explicit owner
choice. The final approval artifact MUST include the exact resolved
instance_ids, stream names, fields, resources, temporal field, since,
until, purpose, retention, client identity, and grant expiry. If
client_claims are rendered during final review, the final approval artifact
and review revision MUST also bind the normalized exact claims with client
attribution. Retained consent evidence MUST preserve that binding. The approval
mutation MUST bind to an immutable review revision or digest over the
authorization decision fields. client_claims MUST remain outside the
resolved grant and RS enforcement. If instance eligibility or the reviewed
revision becomes stale before approval, the AS MUST reject approval and require
a new review.
Time concepts
The grant carries three orthogonal time-related concepts that must not be conflated:
| Concept | Fields | Meaning |
|---|---|---|
| Grant validity period | issued_at, expires_at | How long the authorization itself is active. |
| Data temporal scope | streams[].time_constraint | Which records the client is authorized to see and which record field defines that boundary. |
| Access pattern | access_mode | Whether the grant can be exercised once or continuously. |
A grant can be short-lived (expires in 1 hour) but cover all historical data (no time_constraint). A grant can be long-lived but cover only data from the last 6 months (time_constraint.since). A grant can be single_use but cover a large historical window. These combinations are all valid and distinct.
Version layering
Three independent version axes exist in PDPP. They MUST NOT be conflated:
| Axis | Field | Meaning |
|---|---|---|
| Grant schema version | grant.version | Version of the PDPP grant schema. RS MUST reject grants with unsupported major versions, returning 400 unsupported_version. |
| Source declaration revision | grant.source_declaration.version | Identifies the exact retained declaration snapshot used for consent and issuance. It is opaque evidence metadata. The RS enforces the resolved grant and does not fetch that revision for authorization. |
| HTTP API contract version | PDPP-Version request header | Version of the RS HTTP API contract. RS returns 400 unsupported_version if the requested version is not supported. If the header is absent, the RS uses the current stable version and returns the selected version in the response header (see Section 8). |
The current persisted-authorization-state reader MUST reject any persisted authorization state whose version or shape it cannot validate against a supported contract before its caller continues introspection or route handling. The reader MUST NOT reconstruct missing authorization or binding facts from current configuration. A deployment that cannot support or explicitly migrate such state MUST require fresh consent.
Access modes
| Mode | Behavior |
|---|---|
single_use | The grant is consumed at first token issuance. The AS marks the grant consumed atomically with issuance of the first client access token. The AS MUST reject subsequent attempts to issue new client access tokens against the same consumed grant. The RS honors all tokens issued against the grant until token expiry or revocation. The client MAY retry or resume pagination using the same access token. Failure to complete retrieval before token expiry does not un-consume the grant. |
continuous | The grant is fulfilled repeatedly. The client may query the resource server incrementally over time. Active until expiry or revocation. |
Time constraint semantics
The selection request's time_range is resolved against the retained stream
consent_time_field into the grant's time_constraint. The grant freezes that
field with the bounds. The filter is:
record[time_constraint.field] >= time_constraint.since (if since is present)
record[time_constraint.field] < time_constraint.until (if until is present)time_constraint.until is a hard cap. It applies equally to records that existed at grant issuance and to records created afterward. A continuous grant with time_constraint.until set to a past date is valid: it is a historical-only grant that will never disclose new records. This is not an error.
For continuous grants without time_constraint.until, future records in a granted stream are included as they are collected, provided the frozen field falls within any since constraint. Stream names and fields are frozen at consent time; future stream types or fields require a new grant.
Standing authorization
Grants freeze stream names, instance handles, fields, and any time constraint at consent time. Within that resolved scope, future records are included for continuous grants. Future stream types or fields are not included; they require a new grant.
Grant narrowing
Grant narrowing (reducing the scope of an existing grant) is not supported in v0.1. Scope reduction is achieved via revoke-and-reissue: the client revokes the existing grant and the user issues a new, narrower grant. Authorization server UIs SHOULD model this flow as revocation followed by a new grant request.
Records from revoked grants
Revocation stops future access only. Records already delivered to the client before revocation are governed by the grant's retention policy and applicable legal obligations. PDPP does not retroactively reach into client-side data stores.
Retention
Retention is a structured policy declaration and policy commitment by the data recipient (the client). PDPP does not technically enforce retention. Enforcement is through legal agreements or contractual obligations; a trust registry supports admission and accountability for a retention commitment rather than enforcing it, because Core defines no compliance-evidence query a registry could answer. This is consistent with how OAuth 2.0 treats scope compliance: the protocol makes the commitment legible and machine-readable; external mechanisms enforce it.
{
"max_duration": "P6M",
"on_expiry": "delete"
}| Field | Type | Description |
|---|---|---|
max_duration | ISO 8601 duration | How long the client may retain collected data. |
on_expiry | enum | delete or anonymize. Note: archive is not supported in v0.1. |
Examples
Specific data, single use:
{
"version": "0.1.0",
"grant_id": "grt_001",
"issued_at": "2026-04-06T15:00:00Z",
"subject": { "id": "user_abc" },
"client": { "client_id": "concert_app" },
"source": { "kind": "connector", "id": "https://registry.pdpp.dev/connectors/spotify" },
"source_declaration": { "version": "2026-08-11" },
"purpose_code": "https://pdpp.dev/purpose/personalization",
"access_mode": "single_use",
"streams": [
{
"name": "top_artists",
"instance_ids": ["spotify-account-a"],
"fields": ["id", "name", "genres", "popularity", "source_updated_at"],
"time_constraint": {
"field": "source_updated_at",
"since": "2025-09-28T00:00:00Z"
}
}
]
}Continuous access for an AI agent:
{
"version": "0.1.0",
"grant_id": "grt_002",
"issued_at": "2026-04-06T15:00:00Z",
"subject": { "id": "user_abc" },
"client": { "client_id": "personal_agent" },
"source": { "kind": "connector", "id": "https://registry.pdpp.dev/connectors/openai" },
"source_declaration": { "version": "2026-08-11" },
"purpose_code": "https://pdpp.dev/purpose/agent_context",
"access_mode": "continuous",
"streams": [
{
"name": "conversations",
"instance_ids": ["openai-account-a"],
"fields": ["id", "title", "source_created_at", "source_updated_at"]
},
{
"name": "messages",
"instance_ids": ["openai-account-a"],
"fields": ["id", "conversation_id", "role", "content", "source_created_at"]
}
]
}Health data with field selection and retention:
{
"version": "0.1.0",
"grant_id": "grt_003",
"issued_at": "2026-04-06T15:00:00Z",
"subject": { "id": "user_abc" },
"client": { "client_id": "sleep_analysis" },
"source": { "kind": "connector", "id": "https://registry.pdpp.dev/connectors/oura" },
"source_declaration": { "version": "2026-08-11" },
"purpose_code": "https://pdpp.dev/purpose/analytics",
"access_mode": "single_use",
"streams": [
{
"name": "sleep_sessions",
"instance_ids": ["oura-account-a"],
"fields": ["day", "total_sleep_duration", "sleep_score"],
"time_constraint": {
"field": "day",
"since": "2026-01-01T00:00:00Z",
"until": "2026-04-01T00:00:00Z"
}
}
],
"retention": { "max_duration": "P90D", "on_expiry": "delete" }
}8. Resource Server Interface
The resource server stores records and serves them to clients filtered by grants. This section is normative: a compliant resource server must implement this interface for cross-deployment interoperability.
Grant enforcement
On every request, the resource server:
- Resolves the access token through authenticated RFC 7662 introspection or a local equivalent for co-located deployments. Positive introspection results MUST NOT be cached longer than
min(token_exp, 60 seconds). - Determines
pdpp_token_kindfrom the introspection response, then branches:- Client: requires an active resolved authorization context (
active: true, a resolved grant). Verifies that the requested stream appears in the grant'sstreamslist. Selects records only from the explicitly grantedinstance_idsand enforces the grant'stime_constraint,fields, andresourcesconstraints. - Owner: enforces subject, source, connection, and operation scope derived from the introspection response. Does not require or synthesize a client grant — an owner token carries none.
- Client: requires an active resolved authorization context (
- If all checks pass, returns records filtered accordingly.
- If any check fails, returns a structured error (see Errors below).
For owner-token current-capability reads, the effective filter is the permitted owner request filter alone: an owner token carries no grant, so there is no grant filter to intersect. Request filters can only narrow the current owner read and cannot widen it.
In v0.1, client-token reads do not have request-time predicate filters (see List records below); the resource server enforces the frozen grant constraints and rejects a client request-time predicate filter rather than evaluating it. A future client-filter capability may define intersection semantics.
The RS MUST NOT re-validate authorization against the current SourceDeclaration. All enforcement constraints are in the resolved grant. Current serving metadata MAY route a granted instance, describe current schemas or query capabilities, or reject a request that cannot currently be served. It MUST NOT widen or reinterpret a stream, instance, field, time field, bound, or resource key.
Token type distinction: The format of the access token is opaque to the Resource Server. The RS MUST determine the token's properties (including pdpp_token_kind) solely from the introspection response, never from token syntax.
Token introspection
For separated AS/RS deployments, the RS MUST authenticate to the AS introspection endpoint as required by RFC 7662. The introspection response combines standard RFC 7662 fields with PDPP-defined extensions:
| Field | Type | Description |
|---|---|---|
active | boolean | Whether the token is currently valid. |
pdpp_token_kind | string | "owner" or "client". |
subject_id | string | The subject (user) identifier. |
grant_id | string | The associated grant identifier. Present for client tokens. |
client_id | string | The client identifier. Present for client tokens. |
exp | integer | Optional expiry timestamp (Unix epoch). Omitted when the token has no expiration. |
authorization_details | array | The approved RFC 9396 detail for a client token. It carries the resolved grant enforcement constraints defined in Section 7. |
The introspection response MUST contain the complete context needed to enforce the request. The separated RS MUST enforce only from that response and MUST NOT make a second AS lookup while handling the request. A co-located AS and RS MAY resolve the same context through a local equivalent.
Token kind extensibility: This specification defines owner and client. Deployments MAY introduce additional token kinds in companion profiles. A resource server that receives a pdpp_token_kind value it does not recognize MUST treat the token as unauthorized for all operations defined in this specification.
Positive introspection results MUST NOT be cached longer than min(token_exp, 60 seconds). Self-contained JWTs (e.g., signed JWTs) are allowed as an optimization but MUST NOT be the sole revocation mechanism; the RS MUST still be able to check active status through introspection or local equivalent.
Authentication
Two authentication boundaries exist:
Owner operations: Authorization: Bearer <owner_token>. Core owner tokens are scoped to a single subject's data store and support the Core owner and self-export operations defined here. The RS MUST derive the subject_id from the introspection response and MUST reject any request attempting to access data outside that subject's scope. Companion profiles may define additional owner-authenticated operations. How the owner obtains this token is out of scope (device code flow, API key, or any other mechanism).
Client operations (query records, list streams, fetch blobs): Authorization: Bearer <access_token>. Access tokens are bound to a specific grant. Both token types use RFC 6750 Bearer Token format. The RS distinguishes them via pdpp_token_kind in the introspection response.
Self-export: An owner holding a valid owner token MAY query their own data using the standard client query endpoints without a client grant. This is the v0.1 self-export mechanism and does not require a separate grant. Conformant Core RS implementations SHOULD support this capability (see Section 9 conformance item 13).
Protected resource metadata
A resource server MUST publish OAuth 2.0 Protected Resource Metadata as defined in RFC 9728. RFC 9728 Section 3 fixes the document's location: the well-known URI string /.well-known/oauth-protected-resource is inserted into the resource identifier between the host component and any path or query component.
A client that reaches the resource server without a usable access token learns that location from the response itself. On a 401, the resource server MUST include a WWW-Authenticate: Bearer challenge, as RFC 6750 Section 3 requires. It MUST set error="invalid_token" when a token was presented and rejected. And it MUST include the resource_metadata parameter RFC 9728 Section 5.1 defines, carrying the URL of this document. This is the bootstrap path: without it a client holding no token has no specified way to discover where to authenticate.
The resource member is the resource server's own identifier, as RFC 9728 Section 2 requires. For a provider_native source it is the same identifier as the declaration's source.id, which is the binding Section 5 already requires an authorization server to check before consent. A resource server that serves several sources publishes one metadata document per resource identifier rather than one document listing them.
PDPP defines four additional members. RFC 9728 Section 2 permits additional parameters and RFC 9728 Section 3.2 requires a reader to ignore any parameter it does not understand, so a generic OAuth client is unaffected by their presence. Each name carries the pdpp_ prefix to keep it distinct from a future registered parameter; RFC 9728 does not itself prescribe a naming convention.
| Member | Meaning |
|---|---|
pdpp_core_query_base | The base path the Section 8 endpoint paths extend, so a client composes a record query without assuming a version segment. |
pdpp_token_kinds_supported | The pdpp_token_kind values this resource server accepts, drawn from the kinds Section 8 defines. |
pdpp_self_export_supported | Whether an owner token may read the owner's own data through the client query endpoints without a client grant. |
pdpp_provider_connect_version | The PDPP version this resource server's interface implements, which a client would otherwise learn only from the PDPP-Version negotiation on a first request. |
resource_name is RFC 9728's own member for a human-readable resource name, not a PDPP extension; a resource server SHOULD publish it because a consent surface has no other name to display for the resource.
RFC 9728 Section 2 makes authorization_servers OPTIONAL, and notes that in some deployments the set of authorization servers is not enumerable. A PDPP resource server MUST publish authorization_servers when that set is enumerable, so a client can reach the issuer without prior configuration. When the set is not enumerable, the resource server MUST omit the member rather than publish a partial list. The client then obtains the issuer from the grant it already holds, or from the deployment's own onboarding. Core defines no other discovery path for that case.
The capabilities member is defined by the extension profiles that advertise into it, not by Core. Core neither requires it nor constrains its contents, and a resource server that implements no extension omits it.
Endpoints
List streams
GET /v1/streams
Authorization: Bearer <access_token>Returns streams with record counts, scoped by token kind: for a client token, the streams present in the resolved authorization context; for an owner token, the streams in the subject-scoped data store the owner token is scoped to.
Response:
{
"object": "list",
"data": [
{
"object": "stream",
"name": "conversations",
"record_count": 2196,
"last_updated": "2026-04-06T15:01:00Z",
"freshness": {
"captured_at": "2026-04-06T15:01:00Z",
"status": "current",
"last_attempted_at": "2026-04-06T15:01:00Z"
}
},
{
"object": "stream",
"name": "messages",
"record_count": 48302,
"last_updated": "2026-04-06T15:01:00Z",
"freshness": {
"captured_at": "2026-04-06T15:01:00Z",
"status": "current",
"last_attempted_at": "2026-04-06T15:01:00Z"
}
}
]
}Get stream metadata
GET /v1/streams/{stream}
Authorization: Bearer <access_token>A client-token caller may fetch metadata only for a stream present in its resolved authorization context. An owner-token caller may fetch metadata for streams in the subject’s data store the owner token is scoped to. Once access is authorized, the response body is actor-specific:
- Owner token: the metadata document is returned whole — full current schema, query capabilities, views, and relationships — rather than field-projected by any grant. An owner token carries no grant, so there is nothing to project against.
- Client token: the response is a closed projection derived from the resolved authorization context: only the granted stream's explicitly granted fields, and only immutable/frozen grant facts. Current query, view, relationship, filter, expansion, and aggregation capabilities MUST NOT appear unless that capability is explicitly part of a future frozen grant vocabulary. Current metadata MAY report availability/freshness or reject an unavailable operation, but MUST NOT make the grant appear broader or semantically different than what was issued. A source declaration change made after the grant was issued (e.g., a new field) MUST NOT become visible through this endpoint for that grant.
Owner-token response (full current metadata):
{
"object": "stream_metadata",
"name": "top_artists",
"schema": { },
"primary_key": ["id"],
"cursor_field": "source_updated_at",
"consent_time_field": "source_updated_at",
"selection": {
"fields": true,
"resources": false
},
"query": {
"range_filters": {
"source_updated_at": ["gte", "gt", "lte", "lt"]
},
"expand": [
{ "name": "messages", "default_limit": 10, "max_limit": 50 }
]
},
"freshness": {
"captured_at": "2026-04-06T15:01:00Z",
"status": "current",
"last_attempted_at": "2026-04-06T15:01:00Z"
},
"views": [
{ "id": "basic", "label": "Artist names and genres", "fields": ["id", "name", "genres"] }
],
"relationships": [
{ "name": "messages", "stream": "messages", "foreign_key": "conversation_id", "cardinality": "has_many" }
]
}Client-token response (closed projection of a grant frozen to fields id, name, source_updated_at; no range filters, views, or relationships were granted):
{
"object": "stream_metadata",
"name": "top_artists",
"schema": {
"properties": {
"id": { },
"name": { },
"source_updated_at": { }
}
},
"primary_key": ["id"],
"cursor_field": "source_updated_at",
"consent_time_field": "source_updated_at",
"selection": {
"fields": true,
"resources": false
},
"query": { },
"freshness": {
"captured_at": "2026-04-06T15:01:00Z",
"status": "current",
"last_attempted_at": "2026-04-06T15:01:00Z"
},
"views": [],
"relationships": []
}Freshness metadata
A resource server MAY attach a freshness object to stream listings, stream metadata, and record-list responses.
Freshness is server-observed disclosure metadata, not a grant constraint. It reports what the server knows about the recency of the underlying data relevant to the response. It does not guarantee that the source has not changed since captured_at, and it does not widen or narrow access rights.
| Field | Type | Description |
|---|---|---|
captured_at | ISO 8601 or null | Time of the most recent successful collection or source confirmation that could have affected the response. null if unknown. |
status | enum | current, stale, or unknown. stale means the server believes the stored data may no longer reflect source state based on local collection policy or failed refresh attempts. |
last_attempted_at | ISO 8601 or null | Time of the most recent attempted refresh relevant to the response, if tracked. |
List records
GET /v1/streams/{stream}/records
Authorization: Bearer <access_token>Returns records from a stream, filtered by the grant and any additional request parameters.
Query parameters:
| Parameter | Type | Description |
|---|---|---|
limit | integer | Records per page. Default 25, max 100. A request for more than 100 is clamped to 100 and the response carries a non-fatal limit_clamped warning (see below), not an error. |
cursor | string | Opaque pagination token from a previous response. Clients MUST NOT parse or construct cursor tokens. |
order | enum | desc (default) or asc. |
filter[{field}] and filter[{field}][op] | string | Owner-token current-capability filters only. Client-token requests MUST reject exact and range forms in v0.1. |
view | string | Owner-token current-capability request for records projected to a named view. Client-token records requests MUST reject view; clients use explicit fields or the field projection already frozen into the grant. Mutually exclusive with fields. |
fields | comma-separated | Sparse fieldset. Schema-required fields are always included. In v0.1, restricted to top-level field names only. Mutually exclusive with view. |
expand[] | string | Owner-token current-capability request to expand a relation declared under query.expand. Depth is 1. Expanded relations appear under the expanded key on the parent record. Client-token requests MUST reject this parameter in v0.1. |
expand_limit[{relation}] | integer | Owner-token current-capability limit for an expanded has_many relation. Valid only for relations declared under query.expand; defaults and limits come from that declaration. Client-token requests MUST reject this parameter in v0.1. |
changes_since | string | Opaque incremental-sync token from a previous session (distinct token space from cursor). Returns only records whose grant-authorized projection changed since that cursor, plus tombstones for deletions. Use next_changes_since from the terminal page to seed the next session. Returns HTTP 410 Gone with error code cursor_expired if the cursor has expired. |
The durable client-token base query surface in v0.1 is: limit, cursor,
order, fields, changes_since, and blob fetch. Exact and range
filter[...], expand[], and expand_limit[...] parameters are not part of
the client-token surface. Owner-token current-capability reads MAY support
exact and declared range filters, view, and declared expansion; those reads
consult current serving metadata. Advanced stream-specific query power MUST be
declared in stream metadata under query.
Unknown query parameters and unsupported query shapes MUST be rejected with HTTP 400 and MUST NOT be silently ignored.
Non-fatal warnings: A list response MAY carry a meta.warnings[] array reporting non-fatal lossiness that the server resolved without failing the request. Each entry has a stable code and a human-readable message; clients SHOULD branch on code, not on message text. A limit above the maximum is the canonical case: the RS returns the bounded page and a limit_clamped warning rather than silently dropping the excess or returning an error. Clients page forward with the returned cursor instead of expecting a larger page. Warnings are not errors and MUST NOT change the HTTP status.
Client-token requests that contain any exact or range filter[...] parameter
MUST be rejected with HTTP 400 invalid_request before the RS consults current
SourceDeclaration or serving metadata. This rejection applies regardless of
whether the field or operator would otherwise be declared. Owner-token
current-capability reads MAY accept exact filters on declared top-level scalar
fields and range filters explicitly declared by current serving metadata.
Unknown fields, non-scalar fields, and unsupported range shapes return HTTP
400. Owner subject, source, and connection scope are enforced independently. An
owner token has no client grant field projection.
Client-token requests that contain expand[] or expand_limit[...] MUST be
rejected with HTTP 400 invalid_request before the RS consults current
SourceDeclaration or serving metadata. A v0.1 resolved grant does not freeze
relationship identity, target stream, foreign-key join semantics, cardinality,
or expansion limits. Current relationship metadata therefore cannot interpret
client grant rights. Owner-token current-capability reads MAY use declared
expansion against current serving metadata.
For owner-token current-capability reads, range filters (gte, gt, lte,
lt) apply only to fields declared in query.range_filters. Nested paths,
arrays, OR grammar, and full-text search are not part of v0.1.
For owner-token current-capability reads, expansion is declaration-driven. A
relation is structurally present if listed under relationships, but it is
only expandable if declared under query.expand. expand_limit[{relation}]
is only valid for declared has_many relations.
Stable sort: Records are sorted by (cursor_field, primary_key) for cursor safety. Null or absent cursor_field values sort after present values.
Page cursors are direction-bound: a client MUST follow a next_cursor with the same order value that produced it. To change direction, the client MUST restart pagination without a cursor. Resource servers MUST reject order-mismatched page cursors as invalid_cursor.
Incremental sync for mutable streams: Pass changes_since to retrieve only records changed since a previous sync. The resource server returns changed records within the grant's authorized field projection. If a record was deleted, a tombstone entry is included. If the cursor has expired (HTTP 410 Gone with error code cursor_expired), the client MUST perform a full re-sync.
Eligibility for changes_since MUST be computed on the grant-authorized projection, not on the unprojected record. Returning a record whose authorized projection is unchanged is a protocol violation because it leaks that hidden fields changed.
If a changes_since response is paginated, all pages in that session MUST be anchored to the same session horizon selected on the first page. New writes arriving after page 1 MUST NOT appear in later pages of that same session; they surface in the next session via the terminal-page next_changes_since.
Invalid owner filter: An owner-token current-capability filter on an
unknown, non-scalar, or unsupported field/operator returns HTTP 400
invalid_request or unknown_field, as applicable. Client-token predicate
filters are rejected earlier under the v0.1 client-filter rule.
Expansion: A client-token expansion request is rejected with 400
invalid_request before declaration lookup. For an owner-token
current-capability read, requesting an undeclared relation returns 400
invalid_expand. Expansion never widens the current owner read scope.
Response:
{
"object": "list",
"url": "/v1/streams/conversations/records",
"has_more": true,
"next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wMy0yNVQxODoyMjoxMVoiLCJpZCI6ImNvbnZfMDFKUVc4TTJSNyJ9",
"next_changes_since": "eyJjaGFuZ2VzX3NpbmNlIjoiMjAyNi0wNC0wNlQxNTowMTowMFoifQ",
"freshness": {
"captured_at": "2026-04-06T15:01:00Z",
"status": "current",
"last_attempted_at": "2026-04-06T15:01:00Z"
},
"data": [
{
"object": "record",
"id": "conv_01JQW8M2R7",
"stream": "conversations",
"data": {
"id": "conv_01JQW8M2R7",
"title": "Trip planning",
"source_created_at": "2026-03-25T18:22:11Z"
},
"emitted_at": "2026-04-06T15:01:00Z"
}
]
}The terminal page of a changes_since request (i.e., has_more: false) MUST include next_changes_since.
Get a single record
GET /v1/streams/{stream}/records/{id}
Authorization: Bearer <access_token>Returns a single record by primary key. The {id} path parameter is the
percent-encoded canonical key string. Owner-token current-capability reads
support expand[]; client-token requests reject it in v0.1 before declaration
lookup.
Delete a record (owner-authenticated)
DELETE /v1/streams/{stream}/records/{id}
Authorization: Bearer <owner_token>Permanently removes a record from the stream. The RS may implement this as a tombstone internally. Returns 204 No Content on success. The {id} path parameter is the percent-encoded canonical key string.
Get a blob
GET /v1/blobs/{blob_id}
Authorization: Bearer <access_token>The resource server authorizes blob access by verifying that:
- The grant includes a stream containing a record that references this
blob_id. - The referencing record passes all grant filters.
- The
blob_reffield is included in the grant's authorized field projection.
A blob_id alone does not grant access. The client MUST have discovered the blob through an authorized record.
Direct response MUST include:
Content-Type(IANA media type)Content-Lengthif knownCache-Control: private, no-storeAccept-Ranges: bytesif range requests are supported
Redirect response (HTTP 302) MUST include:
Locationheader pointing to a short-lived signed URL (valid for at least 60 seconds)Cache-Control: no-store
A stale or unknown blob_id returns 404 blob_not_found.
HEAD is supported for size checks. Range headers are recommended for large files.
Errors
Every non-2xx response returns a structured error:
{
"error": {
"type": "permission_error",
"code": "grant_stream_not_allowed",
"message": "Grant does not include stream 'messages'.",
"param": "expand[0]",
"request_id": "req_01JQXA3N9Y"
}
}Clients MUST treat unrecognized error codes as opaque and fall back to the actual HTTP status code and applicable response headers.
Authority and forward compatibility.
- The actual HTTP status code and applicable response headers are authoritative for generic HTTP semantics, including success or failure, authentication challenges, redirection, and retry timing.
- A recognized
error.typeorerror.codeMAY refine PDPP-specific category, presentation, or recovery behavior only when its defined semantics are compatible with the actual status code and headers. - An absent, unknown, malformed, or status-incompatible
typeorcodeis opaque and MUST NOT override the actual status code or relevant headers. - Unknown identifiers MUST NOT cause parse failure.
Clients MAY retain unknown identifiers for diagnostics, subject to local size limits, safe rendering/escaping, and privacy policy.
This makes a future error code safe to introduce: an older client keeps handling the response by status and headers, whatever the new code or type says.
| Code | HTTP Status | Type | Meaning |
|---|---|---|---|
invalid_cursor | 400 | invalid_request_error | Cursor token is malformed or unrecognized. |
invalid_request | 400 | invalid_request_error | Malformed request parameter or mutually exclusive parameters. |
invalid_expand | 400 | invalid_request_error | Relation is not declared as expandable. |
unknown_field | 400 | invalid_request_error | Requested field not in stream schema. |
unsupported_version | 400 | invalid_request_error | PDPP-Version header specifies unsupported version, or grant references unsupported schema version. |
authentication_error | 401 | authentication_error | Missing or invalid access token. |
authorization_state.unsupported_legacy_shape | 401 | authentication_error | Persisted authorization state does not match a supported shape. Fresh consent is required when no migration applies. |
field_not_granted | 403 | permission_error | Requested client field exceeds the grant's authorized field projection. |
insufficient_scope | 403 | permission_error | Expansion requests a stream not in the grant. |
grant_stream_not_allowed | 403 | permission_error | Stream not in grant. |
grant_time_range_exceeded | 403 | permission_error | Request filters exceed the grant's frozen time_constraint. |
grant_expired | 403 | permission_error | Grant has expired. |
grant_revoked | 403 | permission_error | Grant has been revoked. |
grant_invalid | 403 | permission_error | Resolved grant is malformed or cannot be served without changing its authorization meaning. |
blob_not_found | 404 | not_found_error | blob_id is unknown or stale. |
not_found | 404 | not_found_error | Stream or record not found. |
cursor_expired | 410 | gone_error | changes_since cursor is too old; full re-sync required. |
rate_limit_exceeded | 429 | rate_limit_error | Too many requests. Includes Retry-After header. |
api_error | 500 | api_error | Internal server error. |
API versioning
API version is specified via header:
PDPP-Version: 2026-04-06If the PDPP-Version header is absent, the RS uses the current stable version and returns the selected version in the PDPP-Version response header. If the requested version is not supported, the RS returns 400 unsupported_version.
Every response includes a Request-Id header for debugging.
9. Conformance
This section defines what it means to implement each PDPP role. Conformance claims should reference this section.
Conformance is role- and behavior-based. A conformant implementation is not required to use any particular vendor-hosted service, token, chain, centralized registry operator, domain, or repository deployment.
Authorization Server conformance
A conformant authorization server:
- Accepts selection requests using the RFC 9396
authorization_detailsenvelope withtype: "https://pdpp.dev/data-access". - Validates selection requests against one retained SourceDeclaration snapshot: rejects unknown streams, unsupported selection parameters (e.g.,
time_rangeon a stream withoutconsent_time_field), and unrecognized selection presets. - Issues grants that conform to the grant schema defined in Section 7 (normative field tables). All grant fields are derived from the selection request, client registration, or AS policy.
- Expands wildcards and selection presets into explicit stream names, fields, per-stream instance handles, resources, and frozen time constraints before issuing the grant.
- Produces a binding-neutral Source validation failure when a request contains both or neither of
streamsandselection_preset. The OAuth/RAR binding maps it to RFC 9396invalid_authorization_details. - MUST NOT reject a
purpose_codesolely because it is not in the PDPP registry. For unrecognized codes, displayspurpose_descriptionif present, or the raw URI. MAY reject apurpose_codebased on local policy. - Renders requester identity metadata, declaration-authored data descriptions, structured policy declarations, and client-authored claims as semantically distinct categories during consent. MUST attribute
client_claimsto the client and MUST NOT present them as protocol-enforced terms. Ifclient_claimsare rendered during final review, binds the normalized exact claims into the immutable final approval artifact and review revision, and preserves that binding in retained consent evidence, without adding them to the resolved grant or RS enforcement. - Tracks grant lifecycle (active, expired, revoked). Reflects revocation immediately in introspection responses (
active: false). - Issues access tokens bound to specific grants. Access tokens include the PDPP introspection extension fields.
- For
single_usegrants, consumes the grant atomically with first client-token issuance and rejects subsequent attempts to issue new client access tokens against that grant. - Validates stream/field/view/resource-id shape at grant issuance.
- MUST NOT define a view including fields absent from the retained SourceDeclaration schema.
- Resolves view names to field lists at issuance time; stores resolved
fieldsin theStreamGrant. Client-token record reads reject query-timeviewin v0.1. Owner-token current-capability reads MAY resolve current views. - Obtains explicit affirmative user consent before issuing grants with
purpose_code: "https://pdpp.dev/purpose/ai_training". - Resolves omitted instance IDs before the final approval surface. Binds exact resolved instances and all final decision fields to an immutable review revision or digest. Rejects stale approval if eligibility or the reviewed revision changes before approval.
- Retains one exact SourceDeclaration snapshot through request validation, consent display, narrowing, issuance, and consent evidence. A later current declaration never substitutes for it.
- Returns 400
unsupported_versionifPDPP-Versionheader specifies an unsupported version. - For a separated AS and RS, authenticates the RS at the RFC 7662 introspection endpoint and returns the complete grant enforcement context in one response.
- Consumes each OAuth authorization code atomically on its first successful redemption. Rejects every later redemption with
invalid_grantand does not issue another token. - Issues refresh tokens only for
continuousgrants, or for a grant package only when every child grant iscontinuous. It rotates refresh tokens by family. Reuse of a superseded token revokes the family and every family-linked access token, returnsinvalid_grant, and requires fresh authorization. - Rejects unsupported persisted authorization state before introspection or request handling. Does not reconstruct missing facts from current configuration and requires fresh consent when no migration applies.
Resource Server conformance
A conformant Core RS:
- Implements the query endpoints defined in Section 8: list streams, get stream metadata, list records, get a single record, get a blob, delete a record (owner-authenticated).
- Enforces grant constraints on every client request: stream membership, explicit instance handles, frozen
time_constraint,fieldsallowlist, andresourcesfilter. - In a separated deployment, resolves access tokens through authenticated RFC 7662 introspection, enforces only from that response, and makes no second AS lookup while handling the request. A co-located deployment may use a local equivalent. Caches positive results no longer than
min(token_exp, 60 seconds). - Distinguishes owner tokens from client tokens via
pdpp_token_kind. - For owner tokens, computes the effective filter as the permitted owner request filter alone (there is no grant filter). For client tokens in v0.1, rejects request-time predicate filters and enforces the frozen grant constraints.
- Returns structured errors as defined in Section 8 (unified error table).
- Supports incremental sync via
changes_sinceformutable_statestreams, including tombstone entries, omission of records whose grant-authorized projection did not change, and HTTP 410 with error codecursor_expiredon cursor expiry. - Returns
next_changes_sinceon the terminal page of everychanges_sinceresponse. - Rejects client-token exact and range
filter[...]parameters with 400invalid_requestbefore consulting current declaration metadata; owner-token current-capability reads MAY retain declared filter behavior. - Rejects unknown query parameters and unsupported query shapes with 400 instead of silently ignoring them.
- Implements the
PDPP-Versionheader negotiation. - Scopes owner token access to a single subject's data store; derives
subject_idfrom introspection response. - SHOULD support owner-authenticated access to the
/v1/streams/{stream}/recordsquery endpoints without a client grant, allowing the data subject to export their own data directly (self-export). - For owner-token stream-metadata reads, returns the full current stream metadata within the owner’s subject/source/connection scope, including current query, view, and relationship capabilities.
- For client-token stream-metadata reads, returns only a projection derived from the resolved authorization context: the granted stream and its explicitly granted fields, and immutable/frozen grant facts. MUST NOT include current view, relationship, filter, expansion, or aggregation capability unless that capability is explicitly part of a future frozen grant vocabulary, and MUST NOT surface a source-declaration change made after grant issuance.
- Publishes RFC 9728 protected resource metadata at the location RFC 9728 Section 3 derives from its resource identifier, carrying
resource, the fourpdpp_-prefixed members defined in Section 8, andauthorization_serverswhen its issuer set is enumerable. Returns aWWW-Authenticate: Bearerchallenge on 401 per RFC 6750 Section 3, carrying the RFC 9728resource_metadataparameter.
Collection resource servers, connector runtimes, and connectors make no separate conformance claim in v0.1. A connector conforms to PDPP as Section 1 states: by producing a source declaration valid under Section 5 and serving its data through a resource server conforming to Section 8. The informative PDPP Collection Profile describes runtime behavior and defines no conformance requirement.
Client conformance
A conformant client:
- Submits selection requests using the RFC 9396
authorization_detailsenvelope. - Uses access tokens (not raw grants) to authenticate with the resource server.
- Treats
cursorandchanges_sincetokens as opaque and from distinct token spaces. MUST NOT use anext_cursorvalue as achanges_sinceparameter. - Stores
next_changes_sincefrom the terminal page of achanges_sinceresponse for use in the next sync session. - Respects HTTP 410
cursor_expiredresponses by performing a full re-sync rather than retrying with the expired cursor. - Honors retention commitments declared in the grant.
- Treats unrecognized error codes as opaque, falling back to the exact HTTP status code and applicable response headers rather than failing on an unknown code. Takes the actual status code and headers as the authoritative outcome. Uses a recognized
error.typeonly to refine category or presentation, and only when compatible with that outcome. Ignores an absent, unrecognized, or status-incompatibletypefor control flow, and never fails to parse on an unknowncodeortype. - Where local policy depends on source provenance, MUST read
source.kindfrom the issued grant and apply that policy before first use of the records. A client MUST NOT assume a provenance class it did not read from the grant. A client with no provenance-dependent policy has nothing to check.
Conformance test suite
A formal conformance test suite is planned but is not defined in v0.1. This is out of scope for the current version.
10. Security Considerations
Declaration retrieval hygiene
An authorization server SHOULD enforce configured response-size, time, and redirect-depth limits when retrieving a declaration, and SHOULD resolve DNS freshly for each connection attempt. These limits are set by local judgment: they do not alter the declaration or grant semantics that peers must share, and a peer cannot observe which values a server chose.
Two related properties are not tuning choices and are stated in Section 5 as requirements. The safety of what a server renders is a shared invariant. So is the timing of the address check. A stale validation is what a rebinding attack exploits, so Section 5 requires the destination address be validated immediately before each connection attempt. The freshness of the DNS result above is a hygiene preference; the timing of the address check is not.
Token security
PDPP defines two token kinds at the resource server boundary: owner tokens and client tokens. Both use RFC 6750 Bearer Token format on the wire. The RS distinguishes them via pdpp_token_kind in the introspection response, not by token syntax.
For separated AS/RS deployments, the RS MUST authenticate to the AS introspection endpoint (RFC 7662) and enforce only from its response. It MUST NOT make a second AS lookup while handling the request. For co-located deployments, a local equivalent (shared database lookup or function call) is acceptable. Self-contained JWTs are allowed as an optimization but MUST NOT be the sole revocation mechanism.
Positive introspection results MUST NOT be cached longer than min(token_exp, 60 seconds). This bounds the propagation window for revocation.
An access token issued with or from a refresh-token family MUST be linked to
that family and MUST have a short, token-specific expiration no later than the
family or grant expiration. A token response MUST derive expires_in from the
access token's persisted expiration. It MUST omit expires_in when the access
token has no expiration. An RFC 7662 response MUST likewise omit exp when no
expiration exists.
Every successful OAuth token response that contains an access token or refresh
token MUST include Cache-Control: no-store and Pragma: no-cache before the
response is serialized. This applies to authorization-code, refresh-token, and
device-code exchanges, including package-scoped variants.
An authorization code MUST be consumed atomically on its first successful
redemption. A later redemption, including one with the same valid PKCE
verifier, MUST return invalid_grant and MUST NOT issue another token.
When an authorization server issues refresh tokens for a continuous grant,
each token MUST belong to a family and MUST rotate after successful use. The
AS MUST atomically supersede the presented token and issue one active
successor. Reuse of any superseded token, including a retry after a lost
successful response, MUST revoke the token family and every access token linked
to that family, return invalid_grant, and require fresh authorization.
Introspection MUST report every family-linked access token inactive after the
replay is detected. An AS MUST NOT issue refresh tokens for a single_use
grant. It MUST NOT issue one for a grant package unless every child grant is
continuous. On upgrade, an implementation MUST NOT infer family linkage for
an existing bearer. Any live refresh family without persisted bearer linkage
MUST be revoked together with its grant- or package-bound bearer tokens and
MUST require fresh authorization. This behavior follows
RFC 9700, Section 4.14.2.
Sender-constrained tokens (non-normative): Bearer tokens (RFC 6750) are the v0.1 baseline. Deployments handling sensitive standing access SHOULD consider sender-constrained tokens, which bind a token to a client-held key so that possession of the token alone is not sufficient to use it. DPoP (RFC 9449) and mutual-TLS certificate binding (RFC 8705) are both compatible with PDPP's introspection-based design. A formal optional hardening profile is a candidate for a future version.
Grant integrity
The grant is designed to be signable. The subject and client fields support future JWS/JWT signatures. Implementations MUST treat grants as tamper-sensitive. Grant signing and a formal token format are deferred to a future version; the current design is compatible with adding them without breaking changes.
Large authorization_details payloads may exceed URL length limits. Production deployments SHOULD use Pushed Authorization Requests (PAR, RFC 9126).
Credential handling
INTERACTION_RESPONSE messages in the Collection Profile may contain passwords and OTP codes. Runtimes MUST NOT log or persist credential data. See the PDPP Collection Profile for details.
Connector trust
In the Collection Profile, connectors receive credentials via the INTERACTION channel. A malicious connector could exfiltrate credentials. Production deployments SHOULD mitigate this by sandboxing connector processes (restricting network egress), using connectors from trusted registries only, or having the runtime authenticate on behalf of the connector and pass only session tokens. A formal connector trust model is deferred.
Trust boundary responsibilities
| Role | Responsibilities |
|---|---|
| Authorization Server | Validates purpose-code syntax and local policy; authenticates user; preserves semantic distinctions on the consent surface; validates stream/field/view/resource-id shape at grant issuance; resolves views to field lists; issues access tokens; maintains grant lifecycle. |
| Resource Server | Validates token via introspection; for client requests, enforces stream, instance, fields, frozen time constraints, and resources against the resolved grant; for owner requests, enforces subject/source/connection/operation scope without requiring a grant; never reinterprets authorization from a current declaration. |
| Client | Submits well-formed selection requests; uses access tokens; terminates on revocation; honors retention commitments. |
Revocation
There is no push revocation channel in v0.1. Revocation propagation is bounded by the introspection cache TTL (maximum 60 seconds). The AS MUST reflect revocation immediately in introspection responses (active: false). A client will receive a 403 grant_revoked response no later than 60 seconds after revocation.
Upon receiving any 403 grant_revoked response, the client MUST stop further
requests against that grant. Companion profiles define how their active work is
terminated.
Revocation stops future access only. Data already delivered to the client before revocation is governed by the grant's retention policy and applicable legal obligations.
Revocation is not deletion. v0.1 does not define an active erasure signal or downstream deletion callback.
11. Privacy Considerations
Data minimization
Stream-level and field-level selection implements the GDPR principle of data minimization. Clients SHOULD request only the data they need for their stated purpose. Authorization servers SHOULD display the specific fields and streams being requested during consent.
Purpose limitation
The purpose_code URI enables purpose declaration, consent display, registration policy, and implementation-defined audit or transparency mechanisms. Authorization servers MAY restrict client registrations to specific purpose codes.
Auditability and transparency boundary
PDPP core defines the authorization, grant, and disclosure semantics that make auditing and transparency possible. This includes stable identifiers and state transitions such as grant_id, client_id, subject_id, purpose_code, stream and resource identifiers, timestamps, and grant lifecycle states.
PDPP core does not define a local audit-log schema, storage model, retention period for operational logs, or a user-facing disclosure-history interface. Implementations MAY maintain local records of grant issuance, disclosure, sync, token use, and revocation under local policy.
If interoperable audit or transparency events are standardized in the future, they SHOULD be defined in a separate companion profile rather than by extending the core grant or query semantics.
Retention
The retention field is a structured policy declaration and policy commitment by the data recipient. PDPP does not technically enforce retention. Enforcement is through legal agreements or contractual obligations, with a trust registry supporting admission and accountability rather than enforcement. This is an intentional design choice, consistent with how OAuth 2.0 treats scope compliance.
12. Scope and Boundaries
In scope (v0.1)
- Parameterized grants for user-owned data
- Flat relational streams with declared schemas
- Binary data references (
blob_ref) - Cross-stream references within a single subject (
resource_ref) - SourceDeclaration shared by connector-backed and provider-native sources
- Resource server query API with cursor-based pagination and grant enforcement
- Incremental sync for
mutable_statestreams viachanges_since - Tombstones for deleted records
- Owner-authenticated user erasure (
DELETE /v1/streams/{stream}/records/{id}) - Self-export via owner token (SHOULD-level Core RS conformance, see Section 9 item 13)
- Conformance definitions for all roles
Out of scope (v0.1)
| Concern | Status |
|---|---|
| Authorization server interface | Introspection endpoint contract defined here; full AS interface informational only in v0.1 |
| Ingest and sync-state endpoints | Defined by the Collection Profile; not required for Core RS |
| Conformance test suite | Planned but not defined in v0.1 |
| Webhook / push ingestion | Deferred; see spec-deferred |
| Source lifecycle actions | Deferred (e.g., deleting source data after export); see spec-deferred |
| Event-driven collection triggers | Deferred; architecturally distinct from the pull-based Collection Profile |
| Grant signing and token format | Deferred; current design is compatible |
| Trust registry and connector certification | Deferred |
| Consent screen visual design | Surface-specific; semantic rendering obligations remain in scope |
| Local audit-log schema and user-facing access history | Deployment-specific; core defines auditable protocol primitives only |
| Interoperable audit/transparency event format | Separate companion profile if standardized |
| Point-in-time reconstruction | Deferred (reconstructing full state at a past timestamp) |
| Canonical view naming vocabulary | Deferred; will be informed by implementation experience |
| Predicate-based grant scoping | Deferred; see spec-deferred for subset template design direction |
| Derivative data | Deferred and unresolved; v0.1 authorizes reads of declared streams and states no default for the output of compute over them. See spec-deferred |
| Cross-source category grants | Deferred; grants bind to a single source.id in v0.1. See spec-deferred |
| Real-time streaming | Different spec needed |
Predicate-based grant scoping
v0.1 grants narrow access only by stream selection, named view or field projection, time range, and explicit resource identifiers. Generic predicate expressions (e.g., filter[sender_domain]=amazon.com as a grant parameter) are not supported.
Request-time filters are not grant scope. Owner-token current-capability
reads MAY use filter[...] to narrow a result set, but those filters do not
narrow any client grant. Client-token requests do not support request-time
filters in v0.1; a client that needs a semantically bounded subset requests a
named stream declared by the SourceDeclaration.
Derived subset streams (non-normative). A stream MAY represent either a source-native collection or a derived subset, provided its semantics are stable, versioned through the SourceDeclaration, and human-reviewable in consent UI. Implementations that need semantically bounded consent in v0.1 SHOULD prefer named streams with human-readable semantics (e.g., a source that exposes amazon_messages as a distinct stream) over ad hoc technical predicates. Stream names MUST NOT encode predicate logic or synthesize per-request subsets; derived streams MUST be statically declared in the SourceDeclaration.
The recommended future direction for this capability is declaration-defined parameterized subset templates with typed bound parameters and publisher-authored consent display strings. See spec-deferred for the design constraints and open questions that must be resolved before specifying this.
Extensions
PDPP capabilities beyond this specification (for example, search or aggregation interfaces) are defined in companion profiles, not by extending Core semantics. Implementations MUST NOT change the meaning of Core-granted access via extensions: a grant issued under this specification authorizes exactly what Sections 7 and 8 define, regardless of what additional capabilities a deployment offers. Optional capabilities MUST be discoverable via declared metadata rather than assumed to be present. Unrecognized declared capabilities MUST be ignorable by clients. A full capability-advertisement grammar is deliberately deferred to a future version.
Specification governance
PDPP protocol changes are proposed through public repository pull requests. In this repository, non-trivial protocol, reference contract, or architecture changes are tracked with OpenSpec before implementation so reviewers can audit the rationale, tasks, and requirement deltas.
Current active editors and maintainers are listed in MAINTAINERS.md. This repository uses a three-license split: PDPP protocol specification text (all root spec-*.md files and their mirrored site pages) is made available under the Community Specification License 1.0 (SPDX: Community-Spec-1.0; see LICENSE-specs); software packages, examples, and generated artifacts use Apache-2.0 (see LICENSE) unless a narrower file-local notice says otherwise; and user-facing documentation prose outside the specification uses CC BY 4.0 (see LICENSE-docs).
13. TypeScript Types
// --- Record model ---
interface BlobRef {
blob_id: string;
mime_type: string; // IANA media type
size_bytes: number;
sha256: string;
fetch_url?: string; // Injected by resource server at read time; absent in producer output
}
interface ResourceRef {
source_id: string; // SourceDeclaration source.id absolute URI
stream: string;
record_id: string | string[];
}
// --- Selection (request-time) ---
interface TimeRange {
since?: string; // ISO 8601, inclusive >=
until?: string; // ISO 8601, exclusive <
}
interface StreamRequest {
name: string;
necessity?: 'required' | 'optional';
instance_ids?: string[];
time_range?: TimeRange;
view?: string; // Mutually exclusive with fields
fields?: string[]; // Top-level field names only in v0.1; mutually exclusive with view
resources?: string[]; // Canonical key strings per compound key encoding
}
interface PresetStreamSelection {
name: string;
view?: string; // Mutually exclusive with fields
fields?: string[]; // Top-level field names only in v0.1; mutually exclusive with view
}
// --- Source binding ---
interface SourceObject {
kind: 'connector' | 'provider_native';
id: string; // Stable absolute URI for the authorization and data surface
}
interface SourceRequestObject {
id: string; // Stable absolute URI for the authorization and data surface
// No `kind`: the AS derives provenance from the accepted declaration
}
type SelectionRequest = {
type: 'https://pdpp.dev/data-access';
source: SourceRequestObject;
purpose_code: string;
purpose_description?: string;
access_mode: 'single_use' | 'continuous';
retention?: {
max_duration: string;
on_expiry: 'delete' | 'anonymize';
};
client_claims?: { commitments?: string[] };
} & (
| { streams: StreamRequest[]; selection_preset?: never }
| { selection_preset: string; streams?: never }
);
// --- Grant (post-consent, immutable) ---
interface TimeConstraint extends TimeRange {
field: string;
}
interface StreamGrant {
name: string;
instance_ids: string[]; // Non-empty, unique, and stream-scoped
fields: string[]; // Non-empty and authoritative for RS enforcement
time_constraint?: TimeConstraint;
resources?: string[]; // Canonical key strings per compound key encoding
}
interface DataGrant {
version: '0.1.0';
grant_id: string;
issued_at: string;
subject: { id: string };
client: { client_id: string; client_display?: Record<string, unknown> };
source: SourceObject;
source_declaration: { version: string };
purpose_code: string; // URI
purpose_description?: string;
access_mode: 'single_use' | 'continuous';
streams: StreamGrant[];
selection_preset?: string;
retention?: {
max_duration: string; // ISO 8601 duration
on_expiry: 'delete' | 'anonymize';
};
expires_at?: string; // ISO 8601; absent means no expiry
}
// --- Source Declaration ---
interface StreamView {
id: string;
label: string;
fields: string[];
}
interface StreamRelationship {
name: string;
stream: string;
foreign_key: string;
cardinality: 'has_many' | 'has_one';
}
interface StreamExpandCapability {
name: string;
default_limit?: number;
max_limit?: number;
}
interface StreamQueryCapabilities {
range_filters?: Record<string, Array<'gte' | 'gt' | 'lte' | 'lt'>>;
expand?: StreamExpandCapability[];
search?: {
lexical_fields?: string[];
semantic_fields?: string[];
};
aggregations?: {
count?: true;
count_distinct?: string[];
group_by?: string[];
group_by_time?: string[];
max?: string[];
min?: string[];
sum?: string[];
};
}
interface SourceDeclarationStream {
name: string;
description?: string;
display?: { label?: string; detail?: string };
semantics: 'append_only' | 'mutable_state';
schema: Record<string, unknown>;
primary_key: string[];
cursor_field?: string; // Logical ordering field for cursor-based reads and incremental sync
consent_time_field?: string; // Absent means time_range not supported for this stream
selection: {
// time_range capability derived from consent_time_field presence
fields: boolean;
resources: boolean;
};
views?: StreamView[];
relationships?: StreamRelationship[];
query?: StreamQueryCapabilities;
}
interface SourceDeclaration {
protocol_version: '0.1.0';
source: SourceObject;
declaration_version: string;
publisher: { id: string };
display: { name: string };
selection_presets?: Array<{
id: string;
label: string;
streams: PresetStreamSelection[];
}>;
streams: SourceDeclarationStream[];
extensions?: Record<string, unknown>;
}
// --- Token introspection response (PDPP extensions to RFC 7662) ---
interface PDPPIntrospectionResponse {
active: boolean;
pdpp_token_kind?: string; // Core defines 'owner' and 'client'; companion profiles may add kinds (unknown kinds are unauthorized for Core operations)
subject_id?: string;
grant_id?: string; // Present for client tokens
client_id?: string; // Present for client tokens
exp?: number; // Unix timestamp
authorization_details?: Array<Record<string, unknown>>; // Approved RFC 9396 detail with Section 7 enforcement constraints
}
// --- Tombstone (response object) ---
interface TombstoneRecord {
object: 'record';
id: string; // Canonical key string
stream: string;
deleted: true;
deleted_at: string; // ISO 8601, required
emitted_at: string; // ISO 8601, required
// No data field
}Appendix A: Purpose Code Registry
Registry governance: Purpose code registries under pdpp.dev are controlled by PDPP maintainers via a public change process. Implementations MUST treat unrecognized purpose URIs as opaque identifiers and MUST NOT reject requests solely because a purpose code is unrecognized.
Purpose codes are URIs. The following codes are defined by PDPP. Implementers may define additional codes using their own URI namespaces.
| Code | Description |
|---|---|
https://pdpp.dev/purpose/personalization | Tailoring the application experience to the user. |
https://pdpp.dev/purpose/analytics | Analyzing user data to produce insights for the user. |
https://pdpp.dev/purpose/export | Exporting data for the user's own use. |
https://pdpp.dev/purpose/agent_context | Providing context to a personal AI agent. |
https://pdpp.dev/purpose/ai_training | Using data to train AI models. The AS MUST obtain explicit affirmative user consent before issuing any grant with this purpose code. This is a protocol-level requirement, not merely advisory. |
https://pdpp.dev/purpose/research | Academic or market research. |
Appendix B: Relationship to the Data Transfer Project (DTI)
PDPP and DTI are complementary protocols addressing different concerns. PDPP defines parameterized consent and disclosure semantics (the grant is the consent artifact; the query API is the disclosure mechanism). DTI defines canonical data models and transfer adapters (the mechanics of moving data between systems).
The two protocols can chain: a PDPP grant can authorize access to data that a DTI transfer then moves, using PDPP stream schemas to carry DTI canonical data model payloads. Formal integration between PDPP grants and DTI transfer manifests is a separate effort; no integration document is currently specified.
Note: “Data Transfer Project” is referred to as DTI (Data Transfer Initiative) in current usage, reflecting its evolution from the original DTP initiative.
Governance · Consultation draft · 24 August 2026. Revised 2 September 2026.
Who runs this, and who decides
Two parts. Part A is how it runs from 15 October. Part B is how we propose it runs once there is an elected committee.
Pre · now, to 15 Oct
Public comment
The maintainers
The specification and Part A are frozen while people comment, and the Principles are published. Supporter signing opens once the register has a confirmed home. This stage ends on 15 October.
Phase 1 · from 15 Oct
Launch
The maintainers
The maintainers run things. Supporters can sign, but nobody can be verified until the review committee is named.
Phase 2 · from Nov 2026
Interim
Interim technical committee
Five people, at least three with no connection to Vana or Open Data Labs, chosen on published criteria and not removable by the maintainers. They review every application for verified status in public and give a decision with reasons, which the maintainers act on. Verification opens at this point.
Phase 3 · from 2027
Full
Elected steering committee
Partners elect a five-seat steering committee, one organisation one vote, with the Chair elected directly. The steering committee is the only body that can change the specification or grant a status, and it does both by majority vote. It appoints a technical committee, which reviews every application and every proposed change in public and recommends. The Chair records the vote and merges. This starts at 100 Partners or on 15 October 2027, whichever comes first, and not before 15 April 2027. Full detail is in Part B of the governance document.
How decisions are made once the steering committee exists
Before the steering committee exists, the interim technical committee recommends and the maintainers merge on that recommendation with no discretion. The shape is the same; only the body that votes is missing.
Programme document
This is a programme document, not normative protocol text. It does not change the specification, and no status it defines is a conformance requirement. Part A, Operating rules, is in force from programme live. Part B, Proposed structure, is not in force and is published for comment.
Programme document. This is a programme document, not normative protocol text. It defines how PDP-Connect is governed and how conformance status is obtained. It does not change the specification, and no status it defines is a conformance requirement.
This document is in two parts.
Part A, Operating rules, is in force from programme live. It describes what PDP-Connect does now, as a Lab of LF Decentralized Trust, with the powers a Lab has.
Part B, Proposed structure, is not in force. It describes what PDP-Connect proposes to become once it holds a legal home that can stand behind conformance findings. It is published for comment and will change in response.
From 3 September 2026 the specification and Part A are locked for the duration of the formal review period. No change is made to either during that window except to correct a factual error, and any such correction is published with its date and its ground. Part B remains open to revision throughout.
Every comment received during formal review is logged and given a disposition: accepted, declined with a reason, or deferred. The comment resolution log is published. During disposition the maintainers may hold further open consultations or one-on-one conversations with commenters, and will say so in the log.
Where review produces material change, or where a material question remains in dispute at close, the changed text goes out for a further 15-day review before it is final. Non-material change proceeds to publication.
0. What this is, for readers new to PDPP
The protocol. PDPP is an open protocol for scoped access to personal data. Today, when you let an app use your data from a platform, the choice is usually all of it or none of it, and after you click nothing records what you actually agreed to. PDPP turns that click into a durable, specific record: these fields, this date range, this purpose, for this long. A machine then checks every later request against that record and refuses anything outside it.
Why a protocol needs governance. A protocol is a document. Anyone can write one; the hard part is getting people to adopt it, and getting anyone to believe a party that says it complies actually does. That belief has to come from somewhere, and the somewhere is a body that publishes criteria, checks claims against them, and takes the claim away when it turns out to be false. This document defines that body, who elects it, and what it may and may not do.
Three kinds of party. Data comes from somewhere, an application asks for some of it, and machines record and enforce what was approved. The programme calls these Source, Accessor and Operator. Every conformance status belongs to exactly one of them.
What conformance status is. It says a party has been checked against published criteria and the result is published where anyone can read it. It is not a licence, and it is not required. Anyone may build on PDPP without holding a status, joining anything, or dealing with PDP-Connect at all. That is stated in §1 and it cannot be amended.
What membership is. Separate from conformance. Membership records what a company or an individual has publicly committed to: signing the Principles as a Supporter, or holding a conformance status as a Partner. It costs nothing, and it confers no conformance status.
Where this sits. PDP-Connect is a Lab of LF Decentralized Trust, part of the Linux Foundation. It was started by the Vana Foundation. PDPP is a community specification, owned, governed and managed by the community. The specification and reference implementation are open source. This document governs the programme around them, not the protocol itself.
Part A. Operating rules
In force from programme live.
1. Scope and standing
This document defines how PDP-Connect is governed, the membership it operates, and the conformance programme it proposes.
Nothing in this document is a conformance requirement. Core §9 states that conformance is role- and behaviour-based, and that a conformant implementation is not required to use any particular vendor-hosted service, token, chain, centralised registry operator, domain, or repository deployment. That remains the case. Any party may implement PDPP without holding any status described here, without joining any tier described here, and without any dealing with PDP-Connect.
Conformance status is a signal about parties. It is not permission to operate.
The two principles in the preceding two paragraphs are not amendable: no status under this programme is a conformance requirement, and conformance status is not permission to operate. No vote of Partners, decision of the steering committee, or act of the technical committee reaches them.
1.1 Relationship to the Linux Foundation
PDP-Connect is an LF Decentralized Trust Lab. Labs are initiated and managed by the community rather than overseen by the LFDT Technical Advisory Committee. The Labs Stewards approve entry to the programme and curate it, and hold no oversight of a Lab’s own affairs. A Lab is not required to adopt a formal governance model. This document adopts one because the programme it describes issues findings that third parties rely on.
Reference implementation code is Apache-2.0 and all commits carry DCO sign-off, as the Labs programme requires. Specification text is CSL-1.0 and documentation is CC-BY-4.0.
1.2 Legal status
PDP-Connect is not a separate legal entity. It holds no funds, enters into no agreements, and issues no marks. It operates within the LF Decentralized Trust Labs series of LF Projects, LLC.
Findings published under Part A are the published output of the process described here. They are not certification, they carry no warranty, and participants act in their own capacity.
Where PDP-Connect’s programme should legally sit is an open question, raised at the fourth working session and being worked with LF Decentralized Trust. Part B describes the structure PDP-Connect proposes to adopt once that question is resolved. Nothing in Part A depends on the answer.
1.3 The model
The conformance programme is modelled on the Certified Kubernetes Conformance Program and follows its structure: self-service testing against an open source suite, public submission of results, review and approval in the open, and no fee for participation.
2. How the programme is run
The programme moves through four stages: a preparatory stage before programme live, then the three numbered phases. Each is defined by who holds authority and what can appear on the register.
| Phase | Who runs it | What is on the register | Ends when |
|---|---|---|---|
| Pre | The maintainers | Public comment on the specification and Part A. Principles v1.0 published. Supporter signing opens | Programme live, 15 October 2026 |
| 1. Launch | The maintainers | Supporters | The interim technical committee is named |
| 2. Interim | The maintainers, with an interim technical committee | Supporters, and every status in §5 | Partners elect the steering committee |
| 3. Full | The steering committee and the technical committee it appoints | As phase 2 | Amended under Part B |
2.1 Phase 1: the maintainers
The maintainers are those listed as maintainers in the PDPP repository at github.com/PDP-Connect/pdpp as at 3 September 2026.
In phase 1 the maintainers administer the register, run the change processes in §7, receive reports under §6, and prepare the interim technical committee. They make no finding about any third party.
The maintainers cannot amend this document. See §9.
2.2 Phase 2: the interim technical committee
Within 30 days of programme live, the maintainers name an interim technical committee of five.
The committee is constituted on five rules, all of which are published before anyone is named:
- Published criteria. Appointment requires demonstrated technical qualification: contribution to the specification or its reference implementation, or equivalent standing in authorization, identity, or data portability standards work. The maintainers publish the criteria and the basis on which each appointment is made.
- Majority independent. At least three of the five members are unaffiliated with Vana Foundation, Open Data Labs, or any organisation under common control with either. Every member's affiliation is published.
- Appointed once. The maintainers name the committee and cannot remove any member. Only the first elected steering committee may remove a member, and only for cause published with reasons.
- Term ends at the first election. The committee stands down when the steering committee is seated under Part B.
- Decisions in the open. Every decision is published with reasons and with each member's vote named. A member does not vote on a matter concerning their own organisation, and recusal reduces the number needed for a majority.
The committee reviews conformance submissions under §5 and recommends, maintains the conformance test suite and the review standard, and reviews and recommends on the change processes in §7. It recommends; it does not merge. Until PDP-Connect’s legal home is confirmed, the register describes its findings as reviewed by the interim technical committee.
2.3 How the committee reviews and recommends
Each submission is assigned to two members, neither from the applicant’s organisation. They examine it in public against the published review standard and write a recommendation of no more than one page: grant or refuse, with reasons.
The full committee votes on that recommendation, asynchronously, within seven days. A recommendation is adopted by a majority of the whole committee, less any member who has recused. The adopted recommendation, with reasons and named votes, is posted on the pull request.
In phase 2 no steering committee exists, so the maintainers merge on the committee’s adopted recommendation and have no discretion to do otherwise. From phase 3 the steering committee decides on the recommendation by majority vote and the Chair merges, under Part B.
A refused applicant receives the written reasons and may correct and resubmit. There is no appeal from the interim committee; appeals open when the steering committee is seated. That is stated here so that no applicant expects a route that does not yet exist.
Reviewer pairs rotate.
2.4 Separation
Authoring the specification, operating commercially on it, and reviewing conformance submissions against it are not held by one organisation. The majority-independent rule in §2.2 is how that is achieved before an elected structure exists.
From phase 3 a second separation applies: the steering committee changes the specification and grants status; the technical committee reviews, enforces and recommends. The committee that writes the rules is not the committee that applies them, and the reverse.
3. Open participation
The work happens in the open, and joining requires no signature.
Open channels. The PDP-Connect mailing list and the #pdp-connect channel on the LF Decentralized Trust Discord are open to anyone. Both are linked from pdpp.dev. Drafts, working sessions, and the comment resolution log are announced there.
Working sessions are public and recorded.
Public bodies. Regulators, government agencies and international organisations are welcome to participate in the open channels and working sessions as observers, without signing anything, holding any status, or appearing on any register. A named contact for public bodies is listed on pdpp.dev.
4. Membership
Membership records what a party has publicly committed to. It is separate from conformance status and confers none.
4.1 Supporter
A Supporter has signed the PDPP Principles, a short statement of the intentions behind the protocol, published at pdpp.dev and versioned separately from the specification.
Signing is a statement of intent. It is not an undertaking to implement PDPP, and it does not indicate agreement with any particular version of the specification. Individuals and organisations both sign. An individual’s affiliation, if given, is shown for identification only; the individual signs in a personal capacity. A signature attaches to the version of the Principles signed, and a signatory is invited, not moved, when the Principles are revised.
Supporters are listed on the public register by name (individuals) or by organisation, type and country (organisations), with the date and the Principles version signed. The register is in date order, without ranking or tiers. No badge or mark is issued.
Supporter is self-declared. Nobody grants it, and it can be withdrawn at any time.
Supporter is the only membership available in phase 1. Signing opens 3 September 2026, ahead of programme live, because a Supporter register needs no body to administer it beyond the maintainers.
4.2 Partner
A Partner is an organisation that holds at least one Verified status under §5. Conformant status does not qualify. The register entry states which. Partners receive drafts ahead of publication, participate in working groups, and vote under Part B once the steering committee election is called.
Partner is not granted. It follows from holding a Verified status, and lapses when the last Verified status lapses.
Partner opens in phase 2.
Membership carries no fee at any level.
5. Conformance
5.1 Two levels
Every status is one of two levels.
Conformant is automated. The submission passes the admissions check in Appendix A and, where a schema applies, validates against it. No human makes a judgement. The register records it as conformant.
Verified is reviewed. The technical committee examines the submission in public against the published review standard and recommends under §2.3. Every Verified status also requires proof of corporate identity: presence on a recognised trust registry, of which the Data Transfer Initiative's Data Trust Registry is the first, or where no registry covers the applicant, a KYB-style check by PDP-Connect against the published criteria.
Conformant confers no membership. Partner under §4.2 requires a Verified status.
5.2 Who does what
The technical committee reviews every Verified submission on the pull request and posts its recommendation under §2.3. Members are named on every recommendation.
The maintainers administer submissions, run the admissions check, merge Conformant submissions on a passed check and Verified submissions on the committee's adopted recommendation, and maintain the register. In phase 2 they have no discretion at the merge. From phase 3 the steering committee grants by majority vote and the Chair merges and maintains the register.
There is no accreditation body and there are no licensed assessors.
5.3 How status is obtained
Every status is obtained by pull request to the register.
- Submit. The applicant opens a pull request containing the evidence for the status sought, together with the participation form.
- Check. The maintainers run the admissions check in Appendix A. A submission that fails a check is returned with the item cited. The maintainers exercise no discretion at this step. A Conformant submission that passes is merged here.
- Review. For Verified, the technical committee examines the submission on the pull request and posts its recommendation under §2.3.
- Grant and publish. In phase 2 the maintainers merge on the recommendation. From phase 3 the steering committee votes to grant and the Chair merges. The result is published to the register.
5.4 Statuses
Five statuses across three roles, as defined in Core §2. Each belongs to exactly one role.
| Status | Role | Level | Finding |
|---|---|---|---|
| Conformant Source | Source | Automated | The source declaration validates against the PDPP schema. |
| Verified Source | Source | Reviewed | The declaration is published by the platform that holds the data, and a named party is accountable for its accuracy. |
| Conformant Accessor | Accessor | Automated | The accessor is registered and its submission is complete. |
| Verified Accessor | Accessor | Reviewed | The accessor has made a legal attestation and a named legal entity carries liability. |
| Verified Operator | Operator | Reviewed | The implementation follows the specification, including the terms of every grant and revocation on request. |
Every status opens in phase 2. Verified Operator opens on publication of the conformance test suite.
5.5 Sources
A source enters the system as a published declaration of what it exposes: fields, streams, endpoints. Every grant of consent is made against that declaration, and the machine enforces whatever it says. A declaration that is wrong corrupts consent at its input, and nothing downstream catches it.
Conformant Source. The declaration validates against the PDPP schema. Anyone may publish one. The register records it as conformant and names the accountable party.
A connector source conforms by producing a declaration that validates against Core §5 and serving its data through a resource server conforming to Core §8. No particular collection method is required.
Verified Source. The declaration is published by the platform whose data it describes. The technical committee reviews the declaration for accuracy and completeness, confirms the publisher's identity against a recognised trust registry or by KYB-style check, and recommends. A Verified Source carries a verified tag and display priority: an authorization server presents it by default, with Conformant declarations for the same source reachable. Verified does not displace anything. Anyone remains free to publish and maintain a Conformant declaration for the same source, including one that exposes more.
Existing grants remain bound to the declaration snapshot they were issued against and continue until expiry or revocation. Core §7 does not support grant narrowing, and no migration is forced.
Who may update a declaration. A source declaration may be updated only by the account that submitted it, or by an account listed in the declaration's own maintainers field. A pull request from any other account is returned at the admissions check. Every new version passes the automated check in Appendix A before it is published, whatever the level of the status it carries. A Verified declaration whose new version widens scope returns to review under §5.8.
Archival. The technical committee may recommend that a declaration with low or no usage be archived. The usage threshold and measurement are published before any archival is proposed, and the accountable party is notified and given 30 days to respond before the recommendation is made. Archival is merged by the same route as any other change to the register. An archived declaration remains readable, is marked archived on the register, and is not presented by default by an authorization server. It does not affect grants already issued against it. The accountable party may reinstate it at any time by submitting a new version, which passes the automated check as above.
5.6 Accessors
An accessor is an application or agent requesting data.
Conformant Accessor. Registered on the register with a complete submission. Virtually anyone. No assessment is made.
Verified Accessor. The accessor provides a legal attestation at registration: a legal contact, a jurisdiction, and an undertaking to comply with the terms of use. An agent may submit on the accessor's behalf, but the attestation names the legal entity that carries ultimate liability, and that entity's identity is confirmed against a recognised trust registry or by KYB-style check. The technical committee reviews the attestation and recommends.
Verified Accessor is a positive trust signal for Core §6, which requires an authorization server to render verified status distinctly where it holds such a signal and to treat a client as unverified where it does not. An authorization server may recognise other signals under its own policy.
5.7 Operators
An operator runs the authorization server, the resource server, or both. This is where the protocol either holds or fails, so there is one level only.
Verified Operator. The implementation follows every rule of the specification. In particular it enforces the terms of each grant as recorded, refuses anything outside them, and revokes access when the user asks. The applicant runs the conformance test suite against its implementation and submits the results. The technical committee then conducts a full review of the implementation, working with the applicant, before recommending. The operator's identity is confirmed against a recognised trust registry or by KYB-style check.
A Verified Operator claim states which Core §9 roles it covers and the specification version the results were produced against.
What the status does not cover. Some obligations cannot be checked programmatically, in particular what an accessor does with data after it is disclosed. Verified Operator attests to the operator's own conduct as observable through the test suite and review. It is not a finding about any other party, and the register says so.
Core §9 notes that a conformance test suite is planned and not defined in v0.1. The suite is published by 1 January 2027, and Verified Operator opens on its publication. Until then operator conformance is self-asserted and PDP-Connect makes no finding about it.
5.8 Rules common to all statuses
Grounds. Standing depends on conduct alone. It does not depend on membership or on any commercial relationship with PDP-Connect or its members.
Change. A source declaration is versioned, and every version is compared against the one before it. Every version passes the automated check before publication. A change that widens scope, meaning a new stream, a new field, or a new endpoint, additionally returns through the same route by which the status was obtained before the new version carries it. Any other change is recorded.
Currency. Status is granted against a stated specification version. To remain current, a holder resubmits against the most recent version within twelve months of its publication. Renewal is a re-declaration by the holder plus a fresh run of the admissions check and, for Verified Operator, the test suite. The committee re-reviews a Verified status only where a check fails or a report under §6 is open. Status that is not renewed lapses, and the register records it as lapsed rather than withdrawn.
Withdrawal. Every status is revocable on evidence. Verified statuses are withdrawn on the committee's recommendation under §2.3, merged as in §5.3; Conformant statuses are withdrawn by the maintainers where a check no longer passes. Status that depended on a trust registry entry lapses when that entry lapses.
Scope. A status is granted for a named role and does not extend to any other.
The register. The register is authoritative. It shows conformant, verified, lapsed, withdrawn and disputed status alongside the date, the ground and the specification version. It is published as a machine-readable endpoint. No badge or mark is issued until PDP-Connect holds a legal home.
6. Reports
Anyone may report a source description as inaccurate, a Supporter entry as misattributed, or any other conduct bearing on a status or a register entry, to pdpp-dev-reports@lfdecentralizedtrust.org.
The maintainers designated as responders, listed on pdpp.dev, acknowledge a report within five working days.
In phase 1, no body exists to adjudicate. The register records the entry as disputed and publishes the report alongside it. The entry is not removed unless the party withdraws it.
In phase 2, the report is referred to the interim technical committee, which reviews and recommends under §2.3. Where a report is credible on its face, the committee may suspend a Verified status pending the outcome, and the maintainers may suspend a Conformant status where the check no longer passes. The outcome is published with reasons. Where a description is found to be inaccurate, the status is withdrawn and the finding records the period during which the description was live, so that operators can identify the grants affected.
7. Change processes
Anyone may make a proposal under this section, whether or not they hold a status or a membership.
The technical committee reviews every proposal in public and recommends. Adoption is a steering committee decision: from phase 3 the steering committee approves or declines by majority vote and the Chair merges. Before a steering committee exists, the maintainers run the process in phase 1, and in phase 2 merge on the interim technical committee’s adopted recommendation with no discretion, as in §2.3.
Purpose codes. Core Appendix A defines the initial registry. https://pdpp.dev/purpose/ai_training carries the only protocol-level consent requirement. Proposals are considered on a published regular cycle, deciding whether to add a code, and whether it carries a protocol-level consent requirement.
Views. Core §5 states that views under pdpp.dev URI namespaces are controlled through a public change process. That process is the one in this section.
Extension profiles. Core §5 states that an extension cannot redefine or weaken Core semantics. Every proposed extension is reviewed against that requirement and the finding is published. An extension that fails review is not published under the pdpp.dev namespace.
The specification. Proposals are triaged on a published regular cycle and worked in public by the technical committee, which recommends text. The steering committee approves, declines or returns a recommendation; it does not redraft. Approved text is published under CSL-1.0 through the Community Specification process. Membership votes do not decide protocol semantics.
The test suite. Maintained and versioned alongside the specification. Changes to what conformance means are published before they take effect.
Decisions under this section are published with reasons.
8. Timeline
| Stage | Date |
|---|---|
| Specification and Part A locked, published for public comment. PDPP Principles v1.0 published. Supporter signing opens | 3 September 2026 |
| Comment period closes | 1 October 2026 |
| Disposition published. Further 15-day review if material change | From 1 October 2026 |
| Programme live | 15 October 2026 |
| Interim technical committee named | By 14 November 2026 |
| Source and Accessor submissions open | On the committee being named |
| Conformance test suite published | By 1 January 2027 |
| Verified Operator opens | On publication of the test suite |
| Steering committee election called | Sooner of 100 Partners or 15 October 2027, not before 15 April 2027 |
9. Amendment of Part A
Part A cannot be amended during phases 1 and 2. The maintainers and the interim technical committee are bound by it, including the terms under which their own authority ends.
To avoid entrenching a defect, a narrow exception applies. The maintainers may issue published errata correcting factual errors, broken cross-references and dates. Errata may not alter criteria, statuses, tiers, the constitution of the interim committee, or the election trigger in §8. Every erratum is published with its date and its ground, and is subject to ratification or reversal by the first seated steering committee.
From phase 3, Part A is amended under Part B §B.5.
Part B. Proposed structure
Not in force. Published for comment. Contingent on PDP-Connect holding a legal home able to stand behind conformance findings, which is being worked with LF Decentralized Trust.
B.1 Path to project status
The programme starts under the LF Decentralized Trust Labs structure, which provides no separate legal personality. When the conformance test suite is published and Verified Operator opens, PDP-Connect applies for its own legal home. The candidates are LF Decentralized Trust project status, a series of Joint Development Foundation Projects, LLC, which is how the Coalition for Content Provenance and Authenticity and Trust over IP are constituted, or another Linux Foundation category if one is better suited to a programme that issues findings.
At that point membership can become a signed agreement, findings can become certification, marks can be issued and enforced, and the programme can hold funds and form liaisons with other standards bodies. Until then: no fees, no contracts, no marks.
B.2 The steering committee
Five seats, all elected by Partners. The Chair holds one of the five, elected directly on the same terms as the other four.
The steering committee changes the specification, on the technical committee’s recommendation. It sets the conformance criteria and currency rules, grants and withdraws status on the technical committee’s recommendation by majority vote, hears appeals, appoints the technical committee, represents the programme to the Linux Foundation, and publishes its decisions. It approves, declines or returns; it does not redraft.
The Chair convenes the committee and records its decisions, maintains the register, administers submissions and merges them once the steering committee has voted, calls and organises elections, and publishes criteria and decisions.
Open questions from the fourth working session, carried here for comment: whether five seats or three; and whether one organisation, one vote deters large participants.
B.3 The technical committee
Appointed by the steering committee on demonstrated technical qualification, as in §2.2. It maintains the test suite and the review standard, reviews submissions and recommends, receives community-proposed changes to the specification, runs the change processes in §7, and recommends versions for publication.
The committee reviews and comments on every pull request against the specification, its companion documents, the test suite and the register, and posts its recommendation. It merges nothing. The steering committee decides and the Chair merges. The committee enforces and recommends; the steering committee changes the rules.
B.4 Elections, terms, removal and voting
Steering committee members serve two years, no term limit, and remain in office until successors are seated. The Chair runs elections and publishes the timetable, eligibility rules, counting method and result. Where the Chair stands for re-election or the seat is vacant, an independent returning officer is appointed.
Removal of any member, including the Chair, requires both a resolution of the steering committee and a vote of Partners.
Partner votes: one organisation, one vote. An organisation is a separate legal entity not under common control with another voting organisation. Voting is not conditioned on any fee. Steering committee decisions pass by majority. A member does not vote on a decision concerning their own status, their own organisation, or their own removal.
B.5 Amendment
This document is amended by a majority of Partners, except for the two principles stated as unamendable in §1. The specification changes by steering committee decision on the technical committee’s recommendation, under the Community Specification process, never by membership vote.
B.6 Under consideration
Annual attestation and compliance review for assessed statuses, on the model offered at the fourth working session. Appeals from the interim technical committee’s decisions, once a steering committee exists to hear them. Marks and badges, once an entity exists to own and enforce them.
Appendix A. Admissions check
Applied by the maintainers at §5.3 step 2. The list is exhaustive: a submission cannot be returned for a reason not on it. The maintainers have no discretion to return a submission that meets every item. Every return cites the item and is logged.
For every submission:
- The participation form is complete.
- The submission names the specification version it is made against.
- A named party accepts accountability, with working contact details.
- The pull request carries DCO sign-off.
For Supporter:
- The signatory has confirmed by email.
- For an organisation, the signatory’s email is at the organisation’s domain and the authority declaration is checked.
For Source statuses:
- The declaration validates against the PDPP schema for the specification version named.
- Declared endpoints resolve.
8a. For an update to an existing declaration, the submitting account is the original submitter or is listed in the declaration’s maintainers field.
For any Verified status:
- Proof of corporate identity is attached: a reference to an entry on a recognised trust registry, or the material for a KYB-style check.
- For Verified Accessor, the legal attestation is attached and names the entity carrying liability.
For Verified Operator:
- Test suite results are attached, name the suite version, and are reproducible.
Separately from this check, the maintainers may decline to publish content that is unlawful, fraudulent or abusive, under the Code of Conduct. That is repository moderation, not a status decision, and is recorded as such.