{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wordline/main/json-schema/wordline-create-velocity-limit-override-request-schema.json",
  "title": "CreateVelocityLimitOverrideRequest",
  "x-generated": "2026-10-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wordline-account-velocity-limit-api-openapi.yml#/components/schemas/CreateVelocityLimitOverrideRequest",
  "type": "object",
  "properties": {
    "activationEndTime": {
      "type": "string",
      "format": "date-time",
      "description": "Last point in time at which the override will be considered. If not provided the override will be taken into account forever. UTC time zone. \nFormat: yyyy-MM-dd'T'HH:mm:ssZ"
    },
    "activationStartTime": {
      "type": "string",
      "format": "date-time",
      "description": "First point in time at which the override will be considered. If not provided the override will be taken into account immediately\nFormat: yyyy-MM-dd'T'HH:mm:ssZ"
    },
    "maximumAmount": {
      "description": "Maximum amount",
      "$ref": "#/$defs/MonetaryAmountAlphaCurrency"
    },
    "maximumAmountCheck": {
      "type": "boolean",
      "description": "Maximum amount check"
    },
    "maximumCount": {
      "type": "integer",
      "format": "int32",
      "description": "Maximum count"
    },
    "maximumCountCheck": {
      "type": "boolean",
      "description": "Maximum count check"
    },
    "minimumAmount": {
      "description": "Minimum amount",
      "$ref": "#/$defs/MonetaryAmountAlphaCurrency"
    },
    "minimumAmountCheck": {
      "type": "boolean",
      "description": "Minimum amount check"
    },
    "periodLength": {
      "type": "integer",
      "format": "int32",
      "description": "Period Length"
    },
    "periodStart": {
      "type": "integer",
      "format": "int32",
      "description": "Period Start"
    },
    "periodType": {
      "type": "string",
      "description": "Period Type",
      "enum": [
        "Day",
        "Month",
        "Week"
      ]
    },
    "priority": {
      "type": "integer",
      "format": "int32",
      "description": "Priority of the override"
    }
  },
  "$defs": {
    "MonetaryAmountAlphaCurrency": {
      "type": "object",
      "properties": {
        "exponent": {
          "type": "integer",
          "format": "int32",
          "description": "Exponent of amount currency. Number of decimal digits. Example: 2 for Euro."
        },
        "isoCode": {
          "type": "string",
          "description": "Currency code of amount. ISO4217 alphabetic format. Example: EUR for Euro."
        },
        "value": {
          "type": "integer",
          "format": "int64",
          "description": "Value of amount. Example: 54321 for 543,21 EUR (exponent = 2: 2 digits for cents)."
        }
      },
      "title": "MonetaryAmountAlphaCurrency"
    }
  }
}