Skip to content

← All contracts

OHN-20 Privacy and Information Governance

Version
1.0.0
OpenAPI
3.1.0
Source in the repository
modules/OHN-20/api/openapi.yaml
Servers
https://opeshealthnetwork.com
Authentication
bearerAuth: http bearer (JWT)

Download the contract (YAML)

Contracts are written in English.

Register of processing activities, legal roles (controller / processor chain), approved purposes, privacy impact assessments, privacy notices, cross-border transfer reviews and privacy incidents, plus jurisdiction privacy configuration, reports with signed one-time exports, and machine contracts for OHN-48 (retention decisions) and gateways (transfer decisions). All routes live under /api/ohn/v1/privacy-governance and are scoped to the token jurisdiction. Every POST requires an Idempotency-Key header (1-255 characters; a replay returns the stored answer; reuse with another body is 409 idempotency_conflict). Version-checked writes take expected_version and answer 409 concurrent_mutation when stale. Default deny. Policy values (code lists, incident response window, transfer corridors) are jurisdiction configuration: when absent the operation fails closed (503 not_configured, setting names what is missing). Roles: privacy_officer and jurisdiction_administrator (stewards), privacy_service (read-only machine role for the service reads), unauthorized_viewer (always refused). Policy configuration and outbox dispatch are jurisdiction_administrator only. Java: tokens are issued by the gateway (ES256, audience ohn-20); the TypeScript synthetic sign-in helper is not part of this contract. Synthetic data only.

Operations

config

GET/api/ohn/v1/privacy-governance/config

Controlled values, policy settings, corridors, retention rules, readiness flags and the list of missing settings.

Operation ID: ohn20_getConfig

Authentication: bearerAuth

Responses

CodeDescriptionMedia type
200Jurisdiction configuration
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
POST/api/ohn/v1/privacy-governance/config/controlled-values

jurisdiction_administrator. Creates or updates one code of a jurisdiction code list; an update increments version; emits privacy.policy.changed.

Operation ID: ohn20_upsertControlledValue

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Controlled value with receipt and events
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
POST/api/ohn/v1/privacy-governance/config/policy-settings

jurisdiction_administrator. expected_version 0 creates the settings; later writes need the current policy_version. incident_response_hours is required but may be null (clock not configured).

Operation ID: ohn20_setPolicySettings

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Policy settings with receipt and events
application/json: JsonObject
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
POST/api/ohn/v1/privacy-governance/config/transfer-corridors

jurisdiction_administrator. Approves or suspends a corridor to a destination jurisdiction. The destination must differ from the token jurisdiction; approving needs the destination active in OHN-01.

Operation ID: ohn20_setTransferCorridor

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Corridor with receipt and events
application/json: JsonObject
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
POST/api/ohn/v1/privacy-governance/config/retention-rules

jurisdiction_administrator. Sets the retention rule of a record class; legal_basis must be an active legal_basis code.

Operation ID: ohn20_setRetentionRule

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Retention rule with receipt and events
application/json: JsonObject
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/retention-decisions

OHN-48 contract ohn20.retention-decision/1.0.0. Always 200 with permit or deny; every decision is audited and decision_ref is its receipt id. Unknown query parameters are refused (422).

Operation ID: ohn20_getRetentionDecision

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
jurisdiction_idquerystringnoRequired uuid; must equal the token jurisdiction (403 jurisdiction_out_of_scope)
organization_idquerystringnoRequired uuid
record_classquerystringnoRequired code
operationquerystringnoRequired: policy_approval or disposal
retention_yearsquerystringnoRequired number 0..200
record_set_refquerystringnoOptional uuid

Responses

CodeDescriptionMedia type
200Decision
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—

register

GET/api/ohn/v1/privacy-governance/processing-register

OHN-20-API-001. Paged register of processing activities (service reads allowed for privacy_service).

Operation ID: ohn20_listProcessingRegister

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
limitquerystringnoClamped to 1..100, default 25
offsetquerystringno
statusquerystringno
purposequerystringno
controllerquerystringno
retention_policyquerystringno
qquerystringnoCase-insensitive search in data_categories
sortquerystringnocreated_at (default), updated_at, status, processing_purpose
orderquerystringnoasc or desc (default)

Responses

CodeDescriptionMedia type
200Page with total
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/processing-activities

Form OHN-20-F001. Registers an activity as draft (W001).

Operation ID: ohn20_createProcessingActivity

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Activity with receipt
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/processing-activities/{id}

Operation ID: ohn20_getProcessingActivity

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404

Responses

CodeDescriptionMedia type
200Activity with roles, assessments, transfers, history (reduced for privacy_service), next_state and lifecycle
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/processing-activities/{id}/transitions

W001 draft, lawful_basis_reviewed, risk_assessed, authorized, monitored; one step at a time with guards; authorizing needs OHN-07 membership and an OHN-16 permit.

Operation ID: ohn20_transitionProcessingActivity

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Transition committed with receipt and events
application/json: JsonObject
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/retention-references/{retention}

OHN-48 contract. Activities that rely on a retention schedule.

Operation ID: ohn20_getRetentionReferences

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
retentionpathstringyes

Responses

CodeDescriptionMedia type
200References
application/json: JsonObject
404not_found—
GET/api/ohn/v1/privacy-governance/data-flows

OHN-20-P005. Activities as nodes and edges (controller, processor, sub-processors, cross-border destinations).

Operation ID: ohn20_listDataFlows

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
limitquerystringno
offsetquerystringno
statusquerystringno
qquerystringno
destinationquerystringno

Responses

CodeDescriptionMedia type
200Page with total
application/json: JsonObject

roles

POST/api/ohn/v1/privacy-governance/legal-roles

Operation ID: ohn20_assignLegalRole

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Assignment with receipt
application/json: JsonObject
404not_found—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
POST/api/ohn/v1/privacy-governance/legal-roles/{id}/revoke

Operation ID: ohn20_revokeLegalRole

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Revoked assignment with receipt
application/json: JsonObject
404not_found—
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
GET/api/ohn/v1/privacy-governance/role-matrix

Operation ID: ohn20_getRoleMatrix

Authentication: bearerAuth

Responses

CodeDescriptionMedia type
200Activities by legal role with gaps (accountable_controller_missing, processor_chain_undocumented)
application/json: JsonObject

purposes

GET/api/ohn/v1/privacy-governance/purposes

Operation ID: ohn20_listPurposes

Authentication: bearerAuth

Responses

CodeDescriptionMedia type
200Approved purposes (max 500)
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/purposes

Operation ID: ohn20_approvePurpose

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Purpose with receipt and events
application/json: JsonObject
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
POST/api/ohn/v1/privacy-governance/purposes/{id}/retire

Operation ID: ohn20_retirePurpose

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Retired purpose with receipt and events
application/json: JsonObject
404not_found—
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—

assessments

GET/api/ohn/v1/privacy-governance/assessments

OHN-20-P002 list.

Operation ID: ohn20_listAssessments

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
limitquerystringno
offsetquerystringno
approval_statequerystringno
risk_ratingquerystringno
processing_activity_idquerystringno

Responses

CodeDescriptionMedia type
200Page with total
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/assessments

Form OHN-20-F002 (OHN-20-API-002). Approval is never client-asserted; only draft or submitted are accepted.

Operation ID: ohn20_createAssessment

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Assessment with receipt
application/json: JsonObject
404not_found—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
GET/api/ohn/v1/privacy-governance/assessments/{id}

Operation ID: ohn20_getAssessment

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404

Responses

CodeDescriptionMedia type
200Assessment with activity, previous assessments, history and can_decide
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/assessments/{id}/decision

Submit, approve or reject. The reviewer must differ from the submitter (403 separation_of_duties). Approving needs risk_rating and emits privacy.assessment.approved.

Operation ID: ohn20_decideAssessment

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Assessment with receipt and events
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—

transfers

GET/api/ohn/v1/privacy-governance/transfers

Operation ID: ohn20_listTransfers

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
limitquerystringno
offsetquerystringno
statequerystringno
outcomequerystringno
destinationquerystringno

Responses

CodeDescriptionMedia type
200Page with total
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/transfers/review

Form OHN-20-F003 (OHN-20-API-003). Opens W002 at requested; origin_jurisdiction must equal the token jurisdiction.

Operation ID: ohn20_requestTransferReview

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Transfer review with receipt
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
404not_found—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/transfers/{id}

Operation ID: ohn20_getTransfer

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404

Responses

CodeDescriptionMedia type
200Transfer with corridor, activity, history, next_state and lifecycle
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/transfers/{id}/transitions

W002 requested, residency_checked, legal_approval, purpose_limited, logged_or_denied. decision deny closes the review as denied. The final authorization needs an OHN-16 permit and (by policy) a distinct authorizer.

Operation ID: ohn20_transitionTransfer

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Transfer with receipt and events
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/transfer-decisions

Machine contract for gateways. Always 200 with allow or deny (default deny).

Operation ID: ohn20_getTransferDecision

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
destination_jurisdictionquerystringnoRequired uuid
processing_activity_idquerystringnoRequired uuid

Responses

CodeDescriptionMedia type
200Decision
application/json: JsonObject
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—

notices

GET/api/ohn/v1/privacy-governance/notices

Operation ID: ohn20_listNotices

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
statusquerystringno

Responses

CodeDescriptionMedia type
200Notices (max 500)
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/notices

Form OHN-20-F004. A notice version and language is unique per organization (409 duplicate).

Operation ID: ohn20_createNotice

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Notice with receipt
application/json: JsonObject
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/notices/{id}

Operation ID: ohn20_getNotice

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404

Responses

CodeDescriptionMedia type
200Notice with history, next_state and lifecycle
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/notices/{id}/transitions

draft, impact_reviewed, legally_reviewed, effective, retired; effective needs an active publication channel; effective and retired emit privacy.policy.changed.

Operation ID: ohn20_transitionNotice

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Notice with receipt and events
application/json: JsonObject
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—

incidents

GET/api/ohn/v1/privacy-governance/incidents

Operation ID: ohn20_listIncidents

Authentication: bearerAuth

Responses

CodeDescriptionMedia type
200Incidents (max 500) with clock_status
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/incidents

Opens W003 at incident_reported. The response clock exists only when the jurisdiction configured incident_response_hours.

Operation ID: ohn20_reportIncident

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Incident with receipt
application/json: JsonObject
404not_found—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
GET/api/ohn/v1/privacy-governance/incidents/{id}

Operation ID: ohn20_getIncident

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404

Responses

CodeDescriptionMedia type
200Incident with history, next_state and lifecycle
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/incidents/{id}/transitions

W003 incident_reported, triaged, impact_evaluated, notification_decision, remediated. notification_required must be decided explicitly at notification_decision.

Operation ID: ohn20_transitionIncident

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesuuid; anything else is 404
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Incident with receipt
application/json: JsonObject
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—

reports

GET/api/ohn/v1/privacy-governance/reports

Operation ID: ohn20_listReports

Authentication: bearerAuth

Responses

CodeDescriptionMedia type
200Report definitions
application/json: JsonObject
GET/api/ohn/v1/privacy-governance/reports/{id}

Operation ID: ohn20_getReport

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesOHN-20-R001, OHN-20-R002 or OHN-20-R003; anything else is 404
purposequerystringno
controllerquerystringno
statusquerystringno
riskquerystringno
fromquerystringno
toquerystringno
countryquerystringno

Responses

CodeDescriptionMedia type
200Report rows, metrics, metric definitions and provenance
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/reports/{id}/export

Operation ID: ohn20_createExport

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstringyesOHN-20-R001, OHN-20-R002 or OHN-20-R003; anything else is 404
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201HMAC-signed export with one-time retrieval path
application/json: JsonObject
404not_found—
503not_configured (export signing key missing); nothing generated—
GET/api/ohn/v1/privacy-governance/exports/{token}

One time, five minutes, bound to the requesting principal and jurisdiction.

Operation ID: ohn20_downloadExport

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
tokenpathstringyes

Responses

CodeDescriptionMedia type
200CSV or PDF body with X-OHN20-Signature header
text/csv: string (binary)
application/pdf: string (binary)
404not_found—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—

operations

GET/api/ohn/v1/privacy-governance/dashboard

Operation ID: ohn20_getDashboard

Authentication: bearerAuth

Responses

CodeDescriptionMedia type
200KPIs, distributions, 30-day trend, exceptions and dependency modes
application/json: JsonObject
GET/api/ohn/v1/privacy-governance/audit

Operation ID: ohn20_listAudit

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
limitquerystringno
offsetquerystringno
resource_idquerystringno

Responses

CodeDescriptionMedia type
200Audit receipts of the jurisdiction (append-only)
application/json: JsonObject
GET/api/ohn/v1/privacy-governance/outbox

Operation ID: ohn20_listOutbox

Authentication: bearerAuth

Responses

CodeDescriptionMedia type
200Pending and delivered events and the OHN-24 sink mode
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/outbox/dispatch

jurisdiction_administrator. At-least-once relay of pending events to OHN-24; a failed delivery stays pending. The body is optional.

Operation ID: ohn20_dispatchOutbox

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body

Responses

CodeDescriptionMedia type
200delivered, failed, pending_after and receipt
application/json: JsonObject
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—

Other operations

GET/health/ohn-20

Operation ID: ohn20_health

Responses

CodeDescriptionMedia type
200Database reachable; dependency modes and flags
application/json: JsonObject
503Database unavailable—
GET/api/ohn/v1/privacy-governance/health

Operation ID: ohn20_externalHealth

Responses

CodeDescriptionMedia type
200Liveness
application/json: JsonObject

Schemas

JsonObject

object

Code

string

ControlledValueCommand

NameTypeRequiredDescription
list_name"processing_purpose" | "legal_basis" | "publication_channel" | "volume_class"yes
codeCodeyes
label_enstringyes
label_frstringyes
activebooleanno

PolicySettingsCommand

NameTypeRequiredDescription
expected_versionintegeryes
incident_response_hoursinteger | nullnoMust be present; null means the response clock is not configured (checked by the service, since the generated model cannot tell absent from null)
require_distinct_authorizerbooleanyes

TransferCorridorCommand

NameTypeRequiredDescription
destination_jurisdictionstring (uuid)yes
legal_authority_refstring (uuid)yes
safeguard_refstring (uuid)yes
status"approved" | "suspended"no
valid_untilstringno

RetentionRuleCommand

NameTypeRequiredDescription
record_classCodeyes
legal_basisCodeyes
min_retention_yearsintegeryes
status"active" | "retired"no

ProcessingActivityCommand

NameTypeRequiredDescription
jurisdiction_idstring (uuid)yes
controller_orgstring (uuid)yes
processor_orgstring (uuid)noMust differ from controller_org
processing_purposeCodeyes
legal_basisCodeyes
data_categoriesstringyes
retention_policystring (uuid)yes

WorkflowTransitionCommand

NameTypeRequiredDescription
expected_versionintegeryes
to_statestringyes
evidence_refstring (uuid)yes
reasonstringyes
decision"advance" | "deny"no
notification_requiredbooleanno

LegalRoleCommand

NameTypeRequiredDescription
processing_activity_idstring (uuid)yes
legal_role"controller" | "joint_controller" | "processor" | "sub_processor"yes
party_orgstring (uuid)yes
accountable_personstring (uuid)yes
parent_assignment_idstring (uuid)noRequired for sub_processor and forbidden otherwise

VersionedReasonCommand

NameTypeRequiredDescription
expected_versionintegeryes
reasonstringyes

DisclosurePurposeCommand

NameTypeRequiredDescription
controller_orgstring (uuid)yes
processor_orgstring (uuid)no
processing_purposeCodeyes
legal_basisCodeyes
data_categoriesstringyes
retention_policystring (uuid)yes

AssessmentCommand

NameTypeRequiredDescription
processing_activity_idstring (uuid)yes
risk_descriptionstringyes
threat_categoriesstringyes
mitigationsstringyes
owner_idstring (uuid)yes
approval_state"draft" | "submitted"yes

AssessmentDecisionCommand

NameTypeRequiredDescription
expected_versionintegeryes
decision"submitted" | "approved" | "rejected"yes
risk_rating"low" | "medium" | "high"noRequired to approve
evidence_refstring (uuid)yes
reasonstringyes

TransferReviewCommand

NameTypeRequiredDescription
origin_jurisdictionstring (uuid)yes
destination_jurisdictionstring (uuid)yesMust differ from origin_jurisdiction
data_categoriesstringyes
legal_authority_refstring (uuid)yes
safeguard_refstring (uuid)yes
processing_activity_idstring (uuid)yes
volume_classCodeno

PrivacyNoticeCommand

NameTypeRequiredDescription
notice_versionstringyes
languagestringyes
effective_atstringyes
review_evidence_refstring (uuid)yes
publication_channelCodeyes

IncidentCommand

NameTypeRequiredDescription
processing_activity_idstring (uuid)no
summarystringyes
evidence_refstring (uuid)yes

ExportCommand

NameTypeRequiredDescription
format"csv" | "pdf"yes
filtersobjectno

DispatchCommand

NameTypeRequiredDescription
limitintegerno