{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clusterhack-dev/json-schema/clusterhack-dev-event-completed-schema.json",
  "title": "EventCompleted",
  "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/EventCompleted",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "event": {
      "type": "integer",
      "readOnly": true
    },
    "event_slug": {
      "type": "string",
      "readOnly": true,
      "pattern": "^[-a-zA-Z0-9_]+$"
    },
    "event_name": {
      "type": "string",
      "readOnly": true
    },
    "participants_count": {
      "type": "integer",
      "readOnly": true
    },
    "teams_count": {
      "type": "integer",
      "readOnly": true
    },
    "ready_teams_count": {
      "type": "integer",
      "readOnly": true
    },
    "submitted_count": {
      "type": "integer",
      "readOnly": true
    },
    "draft_count": {
      "type": "integer",
      "readOnly": true
    },
    "judged_count": {
      "type": "integer",
      "readOnly": true
    },
    "judges_count": {
      "type": "integer",
      "readOnly": true
    },
    "votes_count": {
      "type": "integer",
      "readOnly": true
    },
    "winners_count": {
      "type": "integer",
      "readOnly": true
    },
    "completed_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "analytics_enabled": {
      "type": "boolean",
      "readOnly": true
    }
  },
  "required": [
    "analytics_enabled",
    "completed_at",
    "draft_count",
    "event",
    "event_name",
    "event_slug",
    "id",
    "judged_count",
    "judges_count",
    "participants_count",
    "ready_teams_count",
    "submitted_count",
    "teams_count",
    "votes_count",
    "winners_count"
  ]
}