{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TotalAmountRestriction",
  "title": "TotalAmountRestriction",
  "properties": {
    "operation": {
      "description": "Defines how the condition must be evaluated.",
      "type": "string"
    },
    "value": {
      "description": "The amount value and currency.",
      "$ref": "#/components/schemas/Amount"
    }
  },
  "required": [
    "operation"
  ],
  "type": "object"
}