type: object
properties:
  key:
    type: string
    example: "cloud_manual_work_item_summary"
  name:
    type: string
    example: "Task Manager Subscription"
  medium:
    type: string
    description: The message medium. More mediums may be added in the future.
    enum:
      - EMAIL
      - PHONE
      - SMS
      - SLACK
      - TEAMS
    example: EMAIL
  locale:
    type: string
    description: The locale for the message text, a BCP 47 language tag.
    example: "en"
  subject:
    type: string
    example:
      "You have $numberOfPendingTasks $taskTasks to complete in
      ${__global.productName}."
  header:
    type: string
    example: "Dear $__recipient.name,"
  body:
    type: string
    example: "Please go to the task manager"
  footer:
    type: string
    example: "Thanks, The $__global.productName Team"
  from:
    type: string
    example: "$__global.emailFromAddress"
  replyTo:
    type: string
    example: "$__global.emailFromAddress"
  description:
    type: string
    example:
      "Daily digest - sent if number of outstanding tasks for task owner > 0"
