OpenDPDP JSON Schemas
यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।
Last reviewed 1 Dec 2026
OpenDPDP schemas are published as JSON Schema 2020-12 documents. Each schema has a stable $id URL so implementations can reference it directly.
Referencing a schema
Every schema is served under https://www.dpdpfoundation.org/schemas/<version>/<name>.json and its $id matches that URL exactly.
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://www.dpdpfoundation.org/schemas/v0.1/rights-request.json"}Downloads are also available as a single ZIP so you can vendor them into your build.
Schemas in v0.1
| Name | Purpose | Version |
|---|---|---|
rights-request | Envelope for an information, correction, erasure or nomination request | 0.1.0 |
rights-receipt | Signed receipt returned by the receiver | 0.1.0 |
grievance | Grievance redressal request | 0.1.0 |
grievance-receipt | Grievance receipt | 0.1.0 |
consent-record | Consent given by a Data Principal, time-bounded | 0.1.0 |
consent-withdrawal | Withdrawal of a specific consent record | 0.1.0 |
consent-manifest | List of active consents issued by a Consent Manager | 0.1.0 |
processor-propagation | Fiduciary → Processor forward with correlation ID | 0.1.0 |
subprocessor-propagation | Processor → Sub-processor forward | 0.1.0 |
evidence-bundle | Aggregated receipts across one correlation ID | 0.1.0 |
breach-notification | Fiduciary → Board and Fiduciary → Data Principal breach notices | 0.1.0 |
error | Problem-detail error response | 0.1.0 |
denial-reason | Structured reason why a request was denied | 0.1.0 |
identity-claim | Pseudonymised identity used to match records | 0.1.0 |
data-category | Canonical data category, aligned with the retention schedule template | 0.1.0 |
purpose | Processing purpose | 0.1.0 |
legal-basis | Consent or legitimate use reference to the Act | 0.1.0 |
actor-descriptor | Who is sending or receiving (fiduciary / processor / CM / principal) | 0.1.0 |
audit-event | Append-only audit log event | 0.1.0 |
Validate in JavaScript
import Ajv from 'ajv';import schema from 'https://www.dpdpfoundation.org/schemas/v0.1/rights-request.json' with { type: 'json' };
const ajv = new Ajv({ strict: true, allErrors: true });const validate = ajv.compile(schema);const ok = validate(payload);if (!ok) console.error(validate.errors);Validate in Python
import json, urllib.requestfrom jsonschema import Draft202012Validator
url = "https://www.dpdpfoundation.org/schemas/v0.1/rights-request.json"schema = json.load(urllib.request.urlopen(url))Draft202012Validator(schema).validate(payload)