{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Request Message for 'terminalDetails'",
  "description": "Request details of the terminal identified by the provided TID. The details include information about a terminal's currency and its current status.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "jsonrpc",
    "id",
    "method",
    "params"
  ],
  "properties": {
    "jsonrpc": {
      "title": "JSON-RPC Version Number",
      "description": "Identifies the JSON Remote Protocol version that this message uses.",
      "type": "string",
      "enum": [
        "2.0"
      ],
      "default": "2.0"
    },
    "id": {
      "title": "JSON-RPC2 Message ID",
      "description": "Used to identify this request message. The same id will be used in the response message so that the response can be matched with the request.",
      "type": "integer",
      "maximum": 999999,
      "minimum": 0
    },
    "method": {
      "type": "string",
      "enum": [
        "terminalDetails"
      ]
    },
    "params": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tid"
      ],
      "properties": {
        "tid": {
          "title": "Terminal Identifier (TID)",
          "description": "The identifier for a terminal.",
          "type": "string",
          "default": "N/A"
        }
      }
    }
  }
}