{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-android/json-schema/google-android-unclaim-device-request-schema.json",
  "title": "UnclaimDeviceRequest",
  "description": "Request message to unclaim a device.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-android-androiddeviceprovisioning-partners-api-openapi.yml#/components/schemas/UnclaimDeviceRequest",
  "properties": {
    "sectionType": {
      "description": "Required. The section type of the device's provisioning record.",
      "enum": [
        "SECTION_TYPE_UNSPECIFIED",
        "SECTION_TYPE_SIM_LOCK",
        "SECTION_TYPE_ZERO_TOUCH"
      ],
      "type": "string"
    },
    "vacationModeExpireTime": {
      "description": "The expiration time of the vacation unlock.",
      "format": "google-datetime",
      "type": "string"
    },
    "deviceIdentifier": {
      "$ref": "#/$defs/DeviceIdentifier",
      "description": "Required. The device identifier you used when you claimed this device."
    },
    "deviceId": {
      "format": "int64",
      "type": "string",
      "description": "Required. The device ID returned by `ClaimDevice`."
    },
    "vacationModeDays": {
      "description": "The duration of the vacation unlock starting from when the request is processed. (1 day is treated as 24 hours)",
      "type": "integer",
      "format": "int32"
    }
  },
  "type": "object",
  "$defs": {
    "DeviceIdentifier": {
      "properties": {
        "meid": {
          "type": "string",
          "description": "The device’s MEID number."
        },
        "imei2": {
          "description": "The device’s second IMEI number.",
          "type": "string"
        },
        "imei": {
          "description": "The device’s IMEI number. Validated on input.",
          "type": "string"
        },
        "deviceType": {
          "enum": [
            "DEVICE_TYPE_UNSPECIFIED",
            "DEVICE_TYPE_ANDROID",
            "DEVICE_TYPE_CHROME_OS"
          ],
          "description": "The type of the device",
          "type": "string"
        },
        "serialNumber": {
          "description": "The manufacturer's serial number for the device. This value might not be unique across different device models.",
          "type": "string"
        },
        "manufacturer": {
          "type": "string",
          "description": "The device manufacturer’s name. Matches the device's built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names)."
        },
        "chromeOsAttestedDeviceId": {
          "description": "An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.",
          "type": "string"
        },
        "model": {
          "type": "string",
          "description": "The device model's name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible)."
        },
        "meid2": {
          "description": "The device’s second MEID number.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers)."
    }
  }
}