gdpr-normative-triples / rules /sample_lint_configs /sample_openapi_compliant.json
Mujtaba Hussain
Publish 936 GDPR Normative Triples and Knowledge Graph
da77f7a
Raw History Blame Contribute Delete
1.86 kB
{
"openapi": "3.0.3",
"info": {
"title": "Compliant Healthcare Identity & Telemetry API",
"version": "1.0.0",
"description": "Secure patient portal adhering to GDPR Article 9 special category protections."
},
"components": {
"securitySchemes": {
"OAuth2": {
"type": "oauth2",
"description": "mTLS + OAuth2 Bearer token authentication"
}
}
},
"paths": {
"/v1/biometrics/verify-patient": {
"post": {
"summary": "Verify Patient Identity with Biometric Confirmation",
"x-gdpr-dpia-id": "DPIA-2026-MED-044",
"x-gdpr-legal-basis": "Art. 9(2)(h)",
"security": [
{ "OAuth2": ["patients.read", "biometrics.verify"] }
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"patient_token": { "type": "string" },
"encrypted_vector": { "type": "string" }
}
}
}
}
},
"responses": {
"200": { "description": "Verification result" }
}
}
},
"/v1/users/lookup": {
"post": {
"summary": "Search User Records securely via Encrypted Payload",
"security": [
{ "OAuth2": ["users.read"] }
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"hashed_identifier": { "type": "string" }
}
}
}
}
},
"responses": {
"200": { "description": "User profile list" }
}
}
}
}
}