GCC Build OSv0
/api

TenantProvisionedevent type

A new tenant engagement was provisioned. Creates the Tenant node and the per-tenant data substrate (D1, R2, Vectorize) via the typed TenantContext constructor (I1).

Full spec

{
  "name": "TenantProvisioned",
  "description": "A new tenant engagement was provisioned. Creates the Tenant node and the per-tenant data substrate (D1, R2, Vectorize) via the typed TenantContext constructor (I1).",
  "current_version": 1,
  "actor_type_allowed": [
    "human",
    "system"
  ],
  "object_type": "Tenant",
  "payload_versions": {
    "v1": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tenant_id",
        "name",
        "industry",
        "primary_region",
        "engagement_stage",
        "data_classification_scheme_version",
        "provisioned_by"
      ],
      "properties": {
        "tenant_id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "industry": {
          "type": "string",
          "minLength": 1
        },
        "primary_region": {
          "type": "string",
          "minLength": 2
        },
        "engagement_stage": {
          "type": "string",
          "enum": [
            "prospect",
            "discovery",
            "design",
            "build",
            "transition",
            "in_service",
            "concluded"
          ]
        },
        "data_classification_scheme_version": {
          "type": "string",
          "minLength": 1
        },
        "primary_pdpl_region": {
          "type": [
            "string",
            "null"
          ]
        },
        "opted_in_to_cross_tenant_patterns": {
          "type": "boolean",
          "default": false
        },
        "provisioned_by": {
          "type": "string",
          "format": "uuid"
        }
      }
    }
  },
  "projections_consuming": [
    "tenants_view",
    "audit_log"
  ],
  "canonicalizer_module": "event-canonicalizers/tenant_provisioned.ts"
}