{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/marketing-promotion-details-schema.json",
  "title": "PromotionDetails",
  "description": "Promotion",
  "type": "object",
  "properties": {
    "PromotionId": {
      "format": "int32",
      "description": "Promotion Id",
      "type": "integer",
      "example": 500123
    },
    "Name": {
      "description": "The name of the promotion",
      "type": "string",
      "example": "Example Name"
    },
    "PromotionAwards": {
      "description": "The items that this promotion will award",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PromotionAward"
      },
      "example": []
    }
  }
}