{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/emporix/main/json-schema/emporix-password-migration-retention-config-request-schema.json",
  "title": "PasswordMigrationRetentionConfigRequest",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-customer-service-openapi.yml#/components/schemas/PasswordMigrationRetentionConfigRequest",
  "type": "object",
  "required": [
    "retentionEndDate"
  ],
  "properties": {
    "retentionEndDate": {
      "type": "string",
      "format": "date",
      "description": "Future date when the password migration retention window ends."
    },
    "emailReminderDate": {
      "type": "string",
      "format": "date",
      "description": "Optional date on or after today and before `retentionEndDate` when reminder emails are sent to unmigrated customers.\nWhen omitted, defaults to 7 days before `retentionEndDate`, or to tomorrow when that default would fall on or before today.\n"
    },
    "emailNotificationsEnabled": {
      "type": "boolean",
      "default": true,
      "description": "Optional flag indicating whether customers receive email notifications about the migration process.\nWhen `true`, customers receive reminder and password reset emails. When `false`, customers do not receive any emails regarding the migration.\nWhen omitted, defaults to `true`.\n"
    }
  }
}