{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/checkout-split-amount-structure.json",
  "description": "SplitAmount schema from Adyen API",
  "type": "object",
  "properties": {
    "currency": {
      "description": "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). By default, this is the original payment currency.",
      "maxLength": 3,
      "minLength": 3,
      "type": "string"
    },
    "value": {
      "description": "The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes).",
      "type": "int64"
    }
  },
  "required": [
    "value"
  ],
  "name": "SplitAmount"
}