{
  "$id": "schema.json",
  "type": "object",
  "schema": "http://json-schema.org/draft-07/schema#",
  "translate": true,
  "dynamicfields": true,
  "properties": {
    "ph_request_type": {
      "type": "string",
      "description": "type of request (internal to adapter)",
      "default": "findDevices",
      "enum": [
        "findDevices",
        "findDevice",
        "updateDevice",
        "deleteDevice",
        "createDevice",
        "deviceApplyLabels",
        "findInterfaces",
        "findInterface",
        "updateInterface",
        "deleteInterface",
        "createInterface"
      ],
      "external_name": "ph_request_type"
    },
    "deviceId": {
      "type": "number",
      "description": "The id of the device to which you want to add an interface.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "device_id"
    },
    "interfaceId": {
      "type": "number",
      "description": "The id of the interface to delete from the specified device.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "interface_id"
    }
  },
  "definitions": {}
}