> ## Documentation Index
> Fetch the complete documentation index at: https://docs.law4devs.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# General Data Protection Regulation (GDPR)

> Regulation (EU) 2016/679 on the protection of natural persons with regard to the processing of personal data.

## Overview

| Field        | Value                                                                                          |
| ------------ | ---------------------------------------------------------------------------------------------- |
| **CELEX**    | 32016R0679                                                                                     |
| **Status**   | Active                                                                                         |
| **Articles** | 99                                                                                             |
| **Recitals** | 173                                                                                            |
| **EUR-Lex**  | [View Official Text](https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CELEX:32016R0679) |

## Compliance Deadlines

| Date       | Type             | Description                          |
| ---------- | ---------------- | ------------------------------------ |
| 2016-05-24 | Entry into force | Regulation enters into force         |
| 2018-05-25 | Full application | Full application of all requirements |

## Stakeholder Roles

The GDPR defines obligations for the following stakeholder roles:

* **manufacturer** - Developers of data processing systems and tools
* **importer** - Entities bringing data processing services into the EU
* **distributor** - Processors making data services available
* **authorized\_representative** - EU representatives for non-EU controllers/processors
* **notified\_body** - Certification bodies for data protection
* **market\_surveillance** - Supervisory authorities (DPAs)
* **consumer** - Data subjects (natural persons)

## Requirement Types

Requirements in the GDPR are classified as:

* **obligation** - Mandatory data protection requirements
* **prohibition** - Processing activities that are forbidden
* **right** - Data subject rights (access, rectification, erasure, etc.)
* **procedure** - Procedures for compliance and breach notification
* **general** - General provisions and definitions

## API Usage

```bash theme={null}
# Get all GDPR articles
curl https://api.law4devs.eu/v1/frameworks/gdpr/articles

# Get GDPR framework details
curl https://api.law4devs.eu/v1/frameworks/gdpr

# Get GDPR requirements
curl https://api.law4devs.eu/v1/frameworks/gdpr/requirements

# Get GDPR recitals
curl https://api.law4devs.eu/v1/frameworks/gdpr/recitals
```

```python theme={null}
# Python SDK
from law4devs import Law4Devs

client = Law4Devs(api_key="your-api-key")

# List all GDPR articles
articles = client.articles.list("gdpr")

# Get GDPR requirements by stakeholder role
requirements = client.requirements.list("gdpr", role="manufacturer")

# Search GDPR articles by tag
articles = client.articles.search("gdpr", query="consent")
```

```typescript theme={null}
// TypeScript SDK
import { Law4Devs } from '@law4devs/sdk';

const client = new Law4Devs({ apiKey: 'your-api-key' });

// List all GDPR articles
const articles = await client.articles.list('gdpr');

// Get GDPR requirements by stakeholder role
const requirements = await client.requirements.list('gdpr', { role: 'manufacturer' });
```

## Key Topics

* Lawful basis for processing
* Data subject rights (access, rectification, erasure, portability, objection)
* Controller and processor obligations
* Data protection impact assessments
* Breach notification requirements
* International data transfers
* Administrative fines and penalties
