{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revup-com/json-schema/revup-com-get-promotions-response-schema.json",
  "title": "GetPromotionsResponse",
  "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/GetPromotionsResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Promotion ID."
    },
    "account_id": {
      "type": "integer",
      "description": "Account ID that owns the promotion."
    },
    "name": {
      "type": "string",
      "description": "Promotion name."
    },
    "type": {
      "type": "string",
      "description": "Internal promotion type."
    },
    "status": {
      "type": "string",
      "description": "pending , live , or completed."
    },
    "start_date": {
      "type": "string",
      "description": "Promotion-local YYYY-MM-DD HH:MM:SS."
    },
    "end_date": {
      "type": "string",
      "description": "Promotion-local YYYY-MM-DD HH:MM:SS."
    },
    "timezone": {
      "type": "string",
      "description": "IANA timezone for promotion-local timestamps."
    },
    "default_language": {
      "type": "string",
      "description": "Promotion default language code."
    },
    "hosted_website_url": {
      "type": "string",
      "description": "Customer-configured hosted or installed URL when present."
    },
    "form_fields": {
      "type": "array",
      "description": "API/import-writable participant field IDs and human-readable titles for mapping."
    }
  }
}