{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/axonflow/json-schema/axonflow-compliance-report-job-schema.json",
  "title": "ComplianceReportJob",
  "description": "An asynchronous compliance-report job. `org_id`, `tenant_id` and\n`storage_key` are deliberately NOT on the wire (json:\"-\" in the platform\ntype); the tenancy is the caller's own and the storage key is internal.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/axonflow-compliance-api-openapi.yml#/components/schemas/ComplianceReportJob",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "regulator": {
      "type": "string"
    },
    "framework": {
      "type": "string"
    },
    "format": {
      "type": "string"
    },
    "period_start": {
      "type": "string",
      "format": "date-time"
    },
    "period_end": {
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "type": "string"
    },
    "report_state": {
      "type": "string",
      "enum": [
        "",
        "not_available",
        "enabled_empty",
        "populated"
      ]
    },
    "progress": {
      "type": "integer"
    },
    "record_count": {
      "type": "integer"
    },
    "size_bytes": {
      "type": "integer",
      "format": "int64"
    },
    "checksum": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "requested_by": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "started_at": {
      "type": "string",
      "format": "date-time"
    },
    "completed_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}