{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.product.template",
  "type": "object",
  "title": "BermudaExercise",
  "description": "A class defining the Bermuda option exercise dates and the expiration date together with any rules governing the notional amount of the underlying which can be exercised on any given exercise date and any associated exercise fee.",
  "properties": {
    "bermudaExerciseDates": {
      "description": "The dates that define the Bermuda option exercise dates and the expiration date. The last specified date is assumed to be the expiration date. The dates can either be specified as a series of explicit dates and associated adjustments or as a series of dates defined relative to another schedule of dates, for example, the calculation period start dates. Where a relative series of dates are defined the first and last possible exercise dates can be separately specified.",
      "$ref": "cdm-base-datetime-AdjustableOrRelativeDates.schema.json"
    },
    "relevantUnderlyingDate": {
      "description": "The effective date on the underlying product if the option is exercised.  For example, for a swaption it is the swap effective date, for an option on an FX spot or forward it is the value date for settlement, and in an extendible/cancelable provision it is the swap termination date, which is the date on which the termination is effective.",
      "$ref": "cdm-base-datetime-AdjustableOrRelativeDates.schema.json"
    },
    "earliestExerciseTime": {
      "description": "The earliest time at which notice of exercise can be given by the buyer to the seller (or seller's agent) on each Bermuda option exercise date and the expiration date.",
      "$ref": "cdm-base-datetime-BusinessCenterTime.schema.json"
    },
    "latestExerciseTime": {
      "description": "For a Bermuda or American style option, the latest time on an exercise business day (excluding the expiration date) within the exercise period that notice can be given by the buyer to the seller or seller's agent. Notice of exercise given after this time will be deemed to have been given on the next exercise business day.",
      "$ref": "cdm-base-datetime-BusinessCenterTime.schema.json"
    },
    "expirationTime": {
      "description": "The latest time for exercise on expirationDate.",
      "$ref": "cdm-base-datetime-BusinessCenterTime.schema.json"
    },
    "expirationTimeType": {
      "description": "The time of day at which the equity option expires, for example the official closing time of the exchange.",
      "$ref": "cdm-product-template-ExpirationTimeTypeEnum.schema.json"
    },
    "multipleExercise": {
      "description": "As defined in the 2000 ISDA Definitions, Section 12.4. Multiple Exercise, the buyer of the option has the right to exercise all or less than all the unexercised notional amount of the underlying swap on one or more days in the exercise period, but on any such day may not exercise less than the minimum notional amount or more that the maximum notional amount, and if an integral multiple amount is specified, the notional amount exercised must be equal to, or be an integral multiple of, the integral multiple amount.",
      "$ref": "cdm-product-template-MultipleExercise.schema.json"
    },
    "exerciseFeeSchedule": {
      "description": "The fees associated with an exercise date. The fees are conditional on the exercise occurring. The fees can be specified as actual currency amounts or as percentages of the notional amount being exercised.",
      "$ref": "cdm-product-template-ExerciseFeeSchedule.schema.json"
    }
  },
  "required": [
    "bermudaExerciseDates",
    "earliestExerciseTime",
    "expirationTime"
  ]
}
