{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:awoooi:ai-technology-report-cadence-readback-v1",
  "title": "AWOOOI AI 技術雷達日週月報讀回快照 (v1)",
  "type": "object",
  "required": [
    "schema_version",
    "generated_at",
    "source_scope",
    "summary",
    "policy",
    "report_cadences",
    "agent_workload_reports",
    "chart_sections",
    "post_report_analysis_packets",
    "risk_automation_policy",
    "telegram_report_bridge",
    "blocked_gates",
    "next_allowed_actions",
    "forbidden_actions_without_new_approval",
    "report_contract"
  ],
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "ai_technology_report_cadence_readback_v1"
    },
    "generated_at": {
      "type": "string",
      "minLength": 1
    },
    "source_scope": {
      "type": "object",
      "additionalProperties": true
    },
    "summary": {
      "type": "object",
      "required": [
        "overall_completion_percent",
        "report_cadence_completion_percent",
        "report_cadence_count",
        "report_ready_count",
        "chart_section_count",
        "agent_status_report_count",
        "post_report_analysis_packet_count",
        "low_medium_auto_action_proposal_count",
        "high_risk_owner_review_count",
        "technology_count",
        "source_count",
        "source_failures",
        "telegram_send_enabled",
        "live_delivery_count_24h",
        "report_receipt_write_count_24h",
        "auto_optimization_write_count",
        "policy_hold_count",
        "status"
      ],
      "properties": {
        "overall_completion_percent": {"type": "number"},
        "report_cadence_completion_percent": {"type": "number"},
        "report_cadence_count": {"type": "integer", "minimum": 0},
        "report_ready_count": {"type": "integer", "minimum": 0},
        "chart_section_count": {"type": "integer", "minimum": 0},
        "agent_status_report_count": {"type": "integer", "minimum": 0},
        "post_report_analysis_packet_count": {"type": "integer", "minimum": 0},
        "low_medium_auto_action_proposal_count": {"type": "integer", "minimum": 0},
        "high_risk_owner_review_count": {"type": "integer", "minimum": 0},
        "technology_count": {"type": "integer", "minimum": 0},
        "source_count": {"type": "integer", "minimum": 0},
        "source_failures": {"type": "integer", "minimum": 0},
        "telegram_send_enabled": {"type": "boolean", "const": false},
        "live_delivery_count_24h": {"type": "integer", "const": 0},
        "report_receipt_write_count_24h": {"type": "integer", "const": 0},
        "auto_optimization_write_count": {"type": "integer", "const": 0},
        "policy_hold_count": {"type": "integer", "minimum": 0},
        "status": {"type": "string", "minLength": 1}
      },
      "additionalProperties": true
    },
    "policy": {
      "type": "object",
      "required": [
        "read_only",
        "raw_chat_history_synced",
        "raw_report_payload_display_allowed",
        "report_delivery_enabled",
        "telegram_send_enabled",
        "bot_api_call_enabled",
        "report_receipt_write_enabled",
        "ai_post_report_analysis_live_run_enabled",
        "low_medium_runtime_auto_write_enabled",
        "high_risk_owner_review_required",
        "low_medium_high_controlled_auto_route_enabled",
        "sdk_installation_approved",
        "paid_api_calls_approved",
        "production_routing_approved",
        "model_provider_switch_approved",
        "host_write_approved",
        "openclaw_replacement_approved"
      ],
      "properties": {
        "read_only": {"type": "boolean", "const": true},
        "raw_chat_history_synced": {"type": "boolean", "const": false},
        "raw_report_payload_display_allowed": {"type": "boolean", "const": false},
        "report_delivery_enabled": {"type": "boolean", "const": false},
        "telegram_send_enabled": {"type": "boolean", "const": false},
        "bot_api_call_enabled": {"type": "boolean", "const": false},
        "report_receipt_write_enabled": {"type": "boolean", "const": false},
        "ai_post_report_analysis_live_run_enabled": {"type": "boolean", "const": false},
        "low_medium_runtime_auto_write_enabled": {"type": "boolean", "const": false},
        "high_risk_owner_review_required": {"type": "boolean", "const": false},
        "low_medium_high_controlled_auto_route_enabled": {"type": "boolean", "const": true},
        "sdk_installation_approved": {"type": "boolean", "const": false},
        "paid_api_calls_approved": {"type": "boolean", "const": false},
        "production_routing_approved": {"type": "boolean", "const": false},
        "model_provider_switch_approved": {"type": "boolean", "const": false},
        "host_write_approved": {"type": "boolean", "const": false},
        "openclaw_replacement_approved": {"type": "boolean", "const": false}
      },
      "additionalProperties": true
    },
    "report_cadences": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "agent_workload_reports": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "chart_sections": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "post_report_analysis_packets": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "risk_automation_policy": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "telegram_report_bridge": {
      "type": "object",
      "required": [
        "integration_status",
        "telegram_send_enabled",
        "bot_api_call_enabled",
        "report_receipt_write_enabled",
        "draft_count",
        "drafts"
      ],
      "properties": {
        "integration_status": {"type": "string", "minLength": 1},
        "telegram_send_enabled": {"type": "boolean", "const": false},
        "bot_api_call_enabled": {"type": "boolean", "const": false},
        "report_receipt_write_enabled": {"type": "boolean", "const": false},
        "draft_count": {"type": "integer", "minimum": 0},
        "drafts": {"type": "array"}
      },
      "additionalProperties": true
    },
    "blocked_gates": {
      "type": "array",
      "items": {"type": "string", "minLength": 1}
    },
    "next_allowed_actions": {
      "type": "array",
      "items": {"type": "string", "minLength": 1}
    },
    "forbidden_actions_without_new_approval": {
      "type": "array",
      "items": {"type": "string", "minLength": 1}
    },
    "report_contract": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": false
}
