GCC Build OSv0
/api

DocumentClassifiedevent type

Document classified into the 4-tier scheme per Q1. PDPL alignment lands in Phase 1B as a scheme version bump and a wave of DocumentReclassified events.

Full spec

{
  "name": "DocumentClassified",
  "description": "Document classified into the 4-tier scheme per Q1. PDPL alignment lands in Phase 1B as a scheme version bump and a wave of DocumentReclassified events.",
  "current_version": 1,
  "actor_type_allowed": [
    "human",
    "system"
  ],
  "object_type": "Document",
  "payload_versions": {
    "v1": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "document_id",
        "classification_tier",
        "scheme_version",
        "classified_by",
        "classifier_kind"
      ],
      "properties": {
        "document_id": {
          "type": "string",
          "format": "uuid"
        },
        "classification_tier": {
          "type": "string",
          "enum": [
            "public",
            "internal",
            "confidential",
            "restricted"
          ]
        },
        "scheme_version": {
          "type": "string",
          "minLength": 1,
          "description": "Q1: matches Tenant.data_classification_scheme_version (e.g., 'v1-4tier')."
        },
        "classified_by": {
          "type": "string",
          "format": "uuid"
        },
        "classifier_kind": {
          "type": "string",
          "enum": [
            "human",
            "rule_based",
            "model_predicted"
          ]
        },
        "classification_evidence": {
          "type": "string",
          "description": "Why this tier (e.g., rule fired, model confidence). Free-text in Phase 1A."
        }
      }
    }
  },
  "projections_consuming": [
    "documents_view",
    "audit_log"
  ],
  "canonicalizer_module": "event-canonicalizers/document_classified.ts"
}