{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-macie/json-schema/amazon-macie-list-automated-discovery-accounts-response-schema.json",
  "title": "ListAutomatedDiscoveryAccountsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-macie-automated-discovery-api-openapi.yml#/components/schemas/ListAutomatedDiscoveryAccountsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AutomatedDiscoveryAccount"
      },
      "description": "An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account."
    },
    "nextToken": {
      "type": "string",
      "description": "The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages."
    }
  },
  "$defs": {
    "AutomatedDiscoveryAccount": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID for the account."
        },
        "status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "The current status of automated sensitive data discovery for the account. Possible values are: ENABLED, perform automated sensitive data discovery activities for the account; and, DISABLED, don't perform automated sensitive data discovery activities for the account."
        }
      }
    }
  }
}