{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Instalment",
  "title": "Instalment",
  "type": "object",
  "properties": {
    "InstalmentType": {
      "$ref": "#/components/schemas/InstalmentType"
    },
    "SequenceNumber": {
      "type": "integer"
    },
    "PlanID": {
      "type": "string",
      "pattern": "^.+$"
    },
    "Period": {
      "type": "integer"
    },
    "PeriodUnit": {
      "$ref": "#/components/schemas/PeriodUnit"
    },
    "FirstPaymentDate": {
      "type": "string",
      "format": "date"
    },
    "TotalNbOfPayments": {
      "type": "integer"
    },
    "CumulativeAmount": {
      "type": "number",
      "maximum": 99999999.999999,
      "minimum": 0
    },
    "FirstAmount": {
      "type": "number",
      "maximum": 99999999.999999,
      "minimum": 0
    },
    "Charges": {
      "type": "number",
      "maximum": 99999999.999999,
      "minimum": 0
    }
  }
}