इसे छोड़कर कंटेंट पर जाएं
Not legal advice. OpenDPDP is a community draft. Nothing here is official guidance from MeitY or the Data Protection Board of India.

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

NamePurposeVersion
rights-requestEnvelope for an information, correction, erasure or nomination request0.1.0
rights-receiptSigned receipt returned by the receiver0.1.0
grievanceGrievance redressal request0.1.0
grievance-receiptGrievance receipt0.1.0
consent-recordConsent given by a Data Principal, time-bounded0.1.0
consent-withdrawalWithdrawal of a specific consent record0.1.0
consent-manifestList of active consents issued by a Consent Manager0.1.0
processor-propagationFiduciary → Processor forward with correlation ID0.1.0
subprocessor-propagationProcessor → Sub-processor forward0.1.0
evidence-bundleAggregated receipts across one correlation ID0.1.0
breach-notificationFiduciary → Board and Fiduciary → Data Principal breach notices0.1.0
errorProblem-detail error response0.1.0
denial-reasonStructured reason why a request was denied0.1.0
identity-claimPseudonymised identity used to match records0.1.0
data-categoryCanonical data category, aligned with the retention schedule template0.1.0
purposeProcessing purpose0.1.0
legal-basisConsent or legitimate use reference to the Act0.1.0
actor-descriptorWho is sending or receiving (fiduciary / processor / CM / principal)0.1.0
audit-eventAppend-only audit log event0.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.request
from 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)