{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/management-terminal-schema.json",
  "title": "Terminal",
  "description": "Terminal schema from Adyen API",
  "type": "object",
  "properties": {
    "assignment": {
      "x-addedInVersion": "2",
      "description": "Indicates the account level to which the terminal is assigned, the [assignment status](https://docs.adyen.com/point-of-sale/automating-terminal-management/assign-terminals-api), and where the terminals is in the process of being reassigned to.",
      "$ref": "#/components/schemas/TerminalAssignment"
    },
    "connectivity": {
      "x-addedInVersion": "2",
      "description": "Information about bluetooth, cellular, ethernet and wifi connectivity for the terminal.",
      "$ref": "#/components/schemas/TerminalConnectivity"
    },
    "firmwareVersion": {
      "description": "The software release currently in use on the terminal.",
      "type": "string"
    },
    "id": {
      "description": "The unique identifier of the terminal.",
      "type": "string"
    },
    "lastActivityAt": {
      "x-addedInVersion": "2",
      "description": "Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago.",
      "format": "date-time",
      "type": "string"
    },
    "lastTransactionAt": {
      "x-addedInVersion": "2",
      "description": "Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago.",
      "format": "date-time",
      "type": "string"
    },
    "model": {
      "x-addedInVersion": "2",
      "description": "The model name of the terminal.",
      "type": "string"
    },
    "serialNumber": {
      "description": "The serial number of the terminal.",
      "type": "string"
    }
  }
}