{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revup-com/json-schema/revup-com-get-promotions-promotionid-winners-response-schema.json",
  "title": "GetPromotionsPromotionidWinnersResponse",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/revup-com-openapi-generated.yml#/components/schemas/GetPromotionsPromotionidWinnersResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Winner record ID."
    },
    "promotion_id": {
      "type": "integer",
      "description": "Promotion ID this winner belongs to."
    },
    "participant_id": {
      "type": "integer",
      "description": "Participant/entrant ID selected as the winner."
    },
    "contact_id": {
      "type": "integer",
      "description": "Account-level contact ID linked to the participant when available."
    },
    "email": {
      "type": "string",
      "description": "Selected participant identity fields."
    },
    "first_name": {
      "type": "string",
      "description": "Selected participant identity fields."
    },
    "last_name": {
      "type": "string",
      "description": "Selected participant identity fields."
    },
    "phone": {
      "type": "string",
      "description": "Selected participant identity fields."
    },
    "prize_id": {
      "type": "integer",
      "description": "Prize row assigned to this winner when present."
    },
    "prize_name": {
      "type": "string",
      "description": "Prize name from the promotion prize table."
    },
    "prize_value": {
      "type": "string",
      "description": "Prize value as a decimal string."
    },
    "prize_currency": {
      "type": "string",
      "description": "Prize currency code/text."
    },
    "draw_id": {
      "type": "integer",
      "description": "Winner draw ID."
    },
    "is_current_winner": {
      "type": "boolean",
      "description": "Whether this row is the current active winner for its draw/group slot."
    },
    "status": {
      "type": "string",
      "description": "won , notified , claimed , disqualified , selected , expired , or replaced."
    },
    "date_drawn": {
      "type": "string",
      "description": "Promotion-local draw timestamp."
    },
    "prize_claim": {
      "type": "object",
      "description": "Compact prize-claim lifecycle summary."
    }
  }
}