{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verizon/refs/heads/main/json-schema/thingspace-connectivity-deactivate-devices-request-schema.json",
  "title": "DeactivateDevicesRequest",
  "description": "Request to deactivate one or more devices",
  "type": "object",
  "properties": {
    "devices": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "deviceIds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeviceId"
            }
          }
        }
      }
    },
    "reasonCode": {
      "type": "string",
      "description": "Reason code for deactivation",
      "example": "FF"
    },
    "etfWaiver": {
      "type": "boolean",
      "description": "Whether to waive early termination fee",
      "example": false
    }
  },
  "required": [
    "devices",
    "reasonCode"
  ]
}