{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-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-device-management-behavior-model-training-api-openapi.yml#/components/schemas/GetBehaviorModelTrainingSummariesResponse",
  "type": "object",
  "properties": {
    "summaries": {
      "allOf": [
        {
          "$ref": "#/$defs/BehaviorModelTrainingSummaries"
        },
        {
          "description": " A list of all ML Detect behaviors and their model status for a given Security Profile. "
        }
      ]
    },
    "nextToken": {
      "allOf": [
        {
          "$ref": "#/$defs/NextToken"
        },
        {
          "description": " A token that can be used to retrieve the next set of results, or <code>null</code> if there are no additional results. "
        }
      ]
    }
  },
  "$defs": {
    "BehaviorModelTrainingSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BehaviorModelTrainingSummary"
      }
    },
    "BehaviorModelTrainingSummary": {
      "type": "object",
      "properties": {
        "securityProfileName": {
          "allOf": [
            {
              "$ref": "#/$defs/SecurityProfileName"
            },
            {
              "description": " The name of the security profile. "
            }
          ]
        },
        "behaviorName": {
          "allOf": [
            {
              "$ref": "#/$defs/BehaviorName"
            },
            {
              "description": " The name of the behavior. "
            }
          ]
        },
        "trainingDataCollectionStartDate": {
          "allOf": [
            {
              "$ref": "#/$defs/Timestamp"
            },
            {
              "description": " The date a training model started collecting data. "
            }
          ]
        },
        "modelStatus": {
          "allOf": [
            {
              "$ref": "#/$defs/ModelStatus"
            },
            {
              "description": " The status of the behavior model. "
            }
          ]
        },
        "datapointsCollectionPercentage": {
          "allOf": [
            {
              "$ref": "#/$defs/DataCollectionPercentage"
            },
            {
              "description": " The percentage of datapoints collected. "
            }
          ]
        },
        "lastModelRefreshDate": {
          "allOf": [
            {
              "$ref": "#/$defs/Timestamp"
            },
            {
              "description": " The date the model was last refreshed. "
            }
          ]
        }
      },
      "description": " The summary of an ML Detect behavior model. "
    },
    "BehaviorName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "DataCollectionPercentage": {
      "type": "number",
      "format": "double",
      "minimum": 0,
      "maximum": 100
    },
    "ModelStatus": {
      "type": "string",
      "enum": [
        "PENDING_BUILD",
        "ACTIVE",
        "EXPIRED"
      ]
    },
    "NextToken": {
      "type": "string"
    },
    "SecurityProfileName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "Timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}