{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/management-passcodes-schema.json",
  "title": "Passcodes",
  "description": "Passcodes schema from Adyen API",
  "type": "object",
  "properties": {
    "adminMenuPin": {
      "description": "The passcode for the Admin menu and the Settings menu.",
      "maxLength": 6,
      "type": "string"
    },
    "refundPin": {
      "description": "The passcode for referenced and unreferenced refunds on standalone terminals.",
      "maxLength": 6,
      "type": "string"
    },
    "screenLockPin": {
      "description": "The passcode to unlock the terminal screen after a timeout.",
      "maxLength": 6,
      "minLength": 4,
      "type": "string"
    },
    "txMenuPin": {
      "description": "The passcode for the Transactions menu.",
      "maxLength": 6,
      "type": "string"
    }
  }
}