{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:awoooi:ai-technology-radar-readback-v1",
  "title": "AWOOOI AI 技術雷達產品讀回快照 (v1)",
  "type": "object",
  "required": [
    "schema_version",
    "generated_at",
    "source_scope",
    "summary",
    "policy",
    "technology_area_counts",
    "technology_domains",
    "high_priority_review_queue",
    "professional_agent_roles",
    "rolling_update_controls",
    "integration_candidates",
    "priority_workplan",
    "blocked_gates",
    "report_contract"
  ],
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "ai_technology_radar_readback_v1"
    },
    "generated_at": {
      "type": "string",
      "minLength": 1
    },
    "source_scope": {
      "type": "object",
      "additionalProperties": true
    },
    "summary": {
      "type": "object",
      "required": [
        "overall_completion_percent",
        "ai_technology_radar_completion_percent",
        "technology_count",
        "technology_area_count",
        "source_count",
        "changed_technologies",
        "review_queue_count",
        "source_failures",
        "high_priority_count",
        "rolling_update_status"
      ],
      "properties": {
        "overall_completion_percent": {"type": "number"},
        "ai_technology_radar_completion_percent": {"type": "number"},
        "technology_count": {"type": "integer", "minimum": 0},
        "technology_area_count": {"type": "integer", "minimum": 0},
        "source_count": {"type": "integer", "minimum": 0},
        "changed_technologies": {"type": "integer", "minimum": 0},
        "review_queue_count": {"type": "integer", "minimum": 0},
        "source_failures": {"type": "integer", "minimum": 0},
        "high_priority_count": {"type": "integer", "minimum": 0},
        "rolling_update_status": {"type": "string", "minLength": 1}
      },
      "additionalProperties": true
    },
    "policy": {
      "type": "object",
      "required": [
        "read_only",
        "raw_chat_history_synced",
        "sdk_installation_approved",
        "paid_api_calls_approved",
        "production_routing_approved",
        "telegram_send_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},
        "sdk_installation_approved": {"type": "boolean", "const": false},
        "paid_api_calls_approved": {"type": "boolean", "const": false},
        "production_routing_approved": {"type": "boolean", "const": false},
        "telegram_send_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
    },
    "technology_area_counts": {
      "type": "object",
      "additionalProperties": {"type": "integer", "minimum": 0}
    },
    "technology_domains": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "high_priority_review_queue": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "professional_agent_roles": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "rolling_update_controls": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "integration_candidates": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "priority_workplan": {
      "type": "array",
      "items": {"type": "object", "additionalProperties": true}
    },
    "blocked_gates": {
      "type": "array",
      "items": {"type": "string", "minLength": 1}
    },
    "report_contract": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": false
}
