{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-android/json-schema/google-android-claim-device-request-schema.json",
  "title": "ClaimDeviceRequest",
  "description": "Request message to claim a device on behalf of a customer.",
  "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/ClaimDeviceRequest",
  "type": "object",
  "properties": {
    "customerId": {
      "description": "The ID of the customer for whom the device is being claimed.",
      "format": "int64",
      "type": "string"
    },
    "deviceIdentifier": {
      "$ref": "#/$defs/DeviceIdentifier",
      "description": "Required. Required. The device identifier of the device to claim."
    },
    "simlockProfileId": {
      "format": "int64",
      "type": "string",
      "description": "Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile."
    },
    "googleWorkspaceCustomerId": {
      "type": "string",
      "description": "The Google Workspace customer ID."
    },
    "deviceMetadata": {
      "$ref": "#/$defs/DeviceMetadata",
      "description": "Optional. The metadata to attach to the device."
    },
    "preProvisioningToken": {
      "type": "string",
      "description": "Optional. Must and can only be set for Chrome OS devices."
    },
    "configurationId": {
      "type": "string",
      "format": "int64",
      "description": "Optional. The ID of the configuration applied to the device section."
    },
    "sectionType": {
      "type": "string",
      "enum": [
        "SECTION_TYPE_UNSPECIFIED",
        "SECTION_TYPE_SIM_LOCK",
        "SECTION_TYPE_ZERO_TOUCH"
      ],
      "description": "Required. The section type of the device's provisioning record."
    }
  },
  "$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)."
    },
    "DeviceMetadata": {
      "description": "Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata).",
      "type": "object",
      "properties": {
        "entries": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Metadata entries recorded as key-value pairs."
        }
      }
    }
  }
}