GCC Build OSv0
/api

DocumentReclassifiedevent type

Existing document was reclassified. Used by Phase 1B PDPL alignment (build plan section 7.5.1) to remap Alghiaz documents to the PDPL-aligned scheme; event-sourced, no destructive overwrite of the original DocumentClassified event.

Full spec

{
  "name": "DocumentReclassified",
  "description": "Existing document was reclassified. Used by Phase 1B PDPL alignment (build plan section 7.5.1) to remap Alghiaz documents to the PDPL-aligned scheme; event-sourced, no destructive overwrite of the original DocumentClassified event.",
  "current_version": 1,
  "actor_type_allowed": [
    "human",
    "system"
  ],
  "object_type": "Document",
  "payload_versions": {
    "v1": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "document_id",
        "old_tier",
        "new_tier",
        "old_scheme_version",
        "new_scheme_version",
        "reason",
        "reclassified_by"
      ],
      "properties": {
        "document_id": {
          "type": "string",
          "format": "uuid"
        },
        "old_tier": {
          "type": "string",
          "enum": [
            "public",
            "internal",
            "confidential",
            "restricted"
          ]
        },
        "new_tier": {
          "type": "string",
          "enum": [
            "public",
            "internal",
            "confidential",
            "restricted"
          ]
        },
        "old_scheme_version": {
          "type": "string",
          "minLength": 1
        },
        "new_scheme_version": {
          "type": "string",
          "minLength": 1
        },
        "reason": {
          "type": "string",
          "minLength": 1,
          "description": "Why the reclassification occurred (e.g., 'PDPL scheme rollout', 'manual correction', 'rule update')."
        },
        "reclassified_by": {
          "type": "string",
          "format": "uuid"
        }
      }
    }
  },
  "projections_consuming": [
    "documents_view",
    "audit_log"
  ],
  "canonicalizer_module": "event-canonicalizers/document_reclassified.ts"
}