{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PermitRestriction",
  "title": "PermitRestriction",
  "properties": {
    "maxAmount": {
      "description": "The total sum amount of one or more payments made using this permit may not exceed this amount if set.",
      "$ref": "#/components/schemas/Amount"
    },
    "singleTransactionLimit": {
      "description": "The amount of any single payment using this permit may not exceed this amount if set.",
      "$ref": "#/components/schemas/Amount"
    },
    "singleUse": {
      "description": "Only a single payment can be made using this permit if set to true, otherwise multiple payments are allowed.",
      "type": "boolean"
    }
  },
  "type": "object"
}