{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/main/json-schema/adyen-create-permit-result-schema.json",
  "title": "CreatePermitResult",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adyen-createpermit-api-openapi.yml#/components/schemas/CreatePermitResult",
  "properties": {
    "permitResultList": {
      "description": "List of new permits.",
      "items": {
        "$ref": "#/$defs/PermitResult"
      },
      "type": "array"
    },
    "pspReference": {
      "description": "A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "PermitResult": {
      "properties": {
        "resultKey": {
          "x-addedInVersion": "32",
          "description": "The key to link permit requests to permit results.",
          "type": "string"
        },
        "token": {
          "x-addedInVersion": "32",
          "description": "The permit token which is used to make payments by the partner company.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}