{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-task-reminder-schema.json",
  "title": "TaskReminder",
  "description": "Task reminder date/time for a task",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-tasks-api-openapi.yml#/components/schemas/TaskReminder",
  "type": "object",
  "properties": {
    "types": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TaskReminderTypesItems"
      },
      "description": "Type of task reminder e.g email, push"
    },
    "unit": {
      "$ref": "#/$defs/TaskReminderUnit",
      "description": "Unit of time before reminder is to be sent"
    },
    "value": {
      "type": "integer",
      "description": "Value of time unit before reminder is to be sent"
    }
  },
  "required": [
    "types",
    "unit",
    "value"
  ],
  "$defs": {
    "TaskReminderTypesItems": {
      "type": "string",
      "enum": [
        "email",
        "push"
      ],
      "title": "TaskReminderTypesItems"
    },
    "TaskReminderUnit": {
      "type": "string",
      "enum": [
        "minutes",
        "hours",
        "weeks",
        "days"
      ],
      "description": "Unit of time before reminder is to be sent",
      "title": "TaskReminderUnit"
    }
  }
}