{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-personalize/json-schema/amazon-personalize-list-dataset-groups-response-schema.json",
  "title": "ListDatasetGroupsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-personalize-dataset-group-api-openapi.yml#/components/schemas/ListDatasetGroupsResponse",
  "type": "object",
  "properties": {
    "datasetGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DatasetGroupSummary"
      },
      "description": "The list of your dataset groups."
    },
    "nextToken": {
      "type": "string",
      "description": "A token for getting the next set of dataset groups (if they exist)."
    }
  },
  "$defs": {
    "DatasetGroupSummary": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the dataset group."
        },
        "datasetGroupArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the dataset group."
        },
        "status": {
          "type": "string",
          "description": "The status of the dataset group. A dataset group can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING"
        },
        "creationDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time (in Unix time) that the dataset group was created."
        },
        "lastUpdatedDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time (in Unix time) that the dataset group was last updated."
        },
        "failureReason": {
          "type": "string",
          "description": "If creating a dataset group fails, the reason behind the failure."
        },
        "domain": {
          "type": "string",
          "enum": [
            "ECOMMERCE",
            "VIDEO_ON_DEMAND"
          ],
          "description": "The domain of a Domain dataset group."
        }
      }
    }
  }
}