{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-device-farm/refs/heads/main/json-schema/amazon-device-farm-device-instance-schema.json",
  "title": "DeviceInstance",
  "description": "Represents the device instance.",
  "type": "object",
  "properties": {
    "arn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AmazonResourceName"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the device instance."
        }
      ]
    },
    "deviceArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AmazonResourceName"
        },
        {
          "description": "The ARN of the device."
        }
      ]
    },
    "labels": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InstanceLabels"
        },
        {
          "description": "An array of strings that describe the device instance."
        }
      ]
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InstanceStatus"
        },
        {
          "description": "The status of the device instance. Valid values are listed here."
        }
      ]
    },
    "udid": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "Unique device identifier for the device instance."
        }
      ]
    },
    "instanceProfile": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InstanceProfile"
        },
        {
          "description": "A object that contains information about the instance profile."
        }
      ]
    }
  }
}