{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-get-behavior-model-training-summaries-response-schema.json",
  "title": "GetBehaviorModelTrainingSummariesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-core-behavior-model-training-api-openapi.yml#/components/schemas/GetBehaviorModelTrainingSummariesResponse",
  "type": "object",
  "properties": {
    "summaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BehaviorModelTrainingSummary"
      },
      "description": "A list of all ML Detect behaviors and their model status for a given Security Profile."
    },
    "nextToken": {
      "type": "string",
      "description": "A token that can be used to retrieve the next set of results, or null if there are no additional results."
    }
  },
  "$defs": {
    "BehaviorModelTrainingSummary": {
      "type": "object",
      "properties": {
        "securityProfileName": {
          "type": "string",
          "description": "The name of the security profile."
        },
        "behaviorName": {
          "type": "string",
          "description": "The name of the behavior."
        },
        "trainingDataCollectionStartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date a training model started collecting data."
        },
        "modelStatus": {
          "type": "string",
          "enum": [
            "PENDING_BUILD",
            "ACTIVE",
            "EXPIRED"
          ],
          "description": "The status of the behavior model."
        },
        "datapointsCollectionPercentage": {
          "type": "number",
          "description": "The percentage of datapoints collected."
        },
        "lastModelRefreshDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date the model was last refreshed."
        }
      }
    }
  }
}