{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clusterhack-dev/json-schema/clusterhack-dev-aiorganizer-plan-response-schema.json",
  "title": "AIOrganizerPlanResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clusterhack-dev-ai-api-openapi.yml#/components/schemas/AIOrganizerPlanResponse",
  "type": "object",
  "properties": {
    "assumptions": {
      "$ref": "#/$defs/AIOrganizerPlanAssumptions"
    },
    "resource_estimates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AIOrganizerResourceEstimate"
      }
    },
    "checklist": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AIOrganizerChecklistSection"
      }
    },
    "risk_alerts": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 500
      }
    },
    "open_questions": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 500
      }
    },
    "note": {
      "type": "string",
      "maxLength": 500
    },
    "source": {
      "$ref": "#/$defs/AIOrganizerPlanResponseSourceEnum"
    }
  },
  "required": [
    "assumptions",
    "checklist",
    "note",
    "open_questions",
    "resource_estimates",
    "risk_alerts",
    "source"
  ],
  "$defs": {
    "AIOrganizerChecklistSection": {
      "type": "object",
      "properties": {
        "section": {
          "type": "string",
          "maxLength": 120
        },
        "items": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 400
          }
        }
      },
      "required": [
        "items",
        "section"
      ]
    },
    "AIOrganizerPlanAssumptions": {
      "type": "object",
      "properties": {
        "format": {
          "type": "string",
          "maxLength": 20
        },
        "participants_registered": {
          "type": "integer",
          "minimum": 0
        },
        "expected_show_up_rate": {
          "type": "number",
          "format": "double",
          "minimum": 0
        },
        "expected_attendees": {
          "type": "integer",
          "minimum": 0
        },
        "avg_team_size": {
          "type": "integer",
          "minimum": 1
        },
        "expected_teams": {
          "type": "integer",
          "minimum": 0
        },
        "duration_hours": {
          "type": "integer",
          "minimum": 0
        },
        "tracks": {
          "type": "integer",
          "minimum": 1
        },
        "peak_arrivals_per_hour": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "avg_team_size",
        "duration_hours",
        "expected_attendees",
        "expected_show_up_rate",
        "expected_teams",
        "format",
        "participants_registered",
        "peak_arrivals_per_hour",
        "tracks"
      ]
    },
    "AIOrganizerPlanResponseSourceEnum": {
      "enum": [
        "rule_based"
      ],
      "type": "string",
      "description": "* `rule_based` - rule_based"
    },
    "AIOrganizerResourceEstimate": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "maxLength": 80
        },
        "title": {
          "type": "string",
          "maxLength": 120
        },
        "value": {
          "type": "integer",
          "minimum": 0
        },
        "unit": {
          "type": "string",
          "maxLength": 40
        },
        "note": {
          "type": "string",
          "maxLength": 300
        }
      },
      "required": [
        "code",
        "note",
        "title",
        "unit",
        "value"
      ]
    }
  }
}