{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-describe-device-response-schema.json",
  "title": "DescribeDeviceResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-device-api-openapi.yml#/components/schemas/DescribeDeviceResponse",
  "type": "object",
  "properties": {
    "DeviceArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the device."
    },
    "DeviceName": {
      "type": "string",
      "description": "The unique identifier of the device."
    },
    "Description": {
      "type": "string",
      "description": "A description of the device."
    },
    "DeviceFleetName": {
      "type": "string",
      "description": "The name of the fleet the device belongs to."
    },
    "IotThingName": {
      "type": "string",
      "description": "The Amazon Web Services Internet of Things (IoT) object thing name associated with the device."
    },
    "RegistrationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of the last registration or de-reregistration."
    },
    "LatestHeartbeat": {
      "type": "string",
      "format": "date-time",
      "description": "The last heartbeat received from the device."
    },
    "Models": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EdgeModel"
      },
      "description": "Models on the device."
    },
    "MaxModels": {
      "type": "integer",
      "description": "The maximum number of models."
    },
    "NextToken": {
      "type": "string",
      "description": "The response from the last list when returning a list large enough to need tokening."
    },
    "AgentVersion": {
      "type": "string",
      "description": "Edge Manager agent version."
    }
  },
  "required": [
    "DeviceName",
    "DeviceFleetName",
    "RegistrationTime"
  ],
  "$defs": {
    "EdgeModel": {
      "type": "object",
      "properties": {
        "ModelName": {
          "type": "string",
          "description": "The name of the model."
        },
        "ModelVersion": {
          "type": "string",
          "description": "The model version."
        },
        "LatestSampleTime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of the last data sample taken."
        },
        "LatestInference": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of the last inference that was made."
        }
      },
      "required": [
        "ModelName",
        "ModelVersion"
      ]
    }
  }
}