{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-chime/json-schema/amazon-chime-list-accounts-response-schema.json",
  "title": "ListAccountsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-chime-accounts-api-openapi.yml#/components/schemas/ListAccountsResponse",
  "type": "object",
  "properties": {
    "Accounts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Account"
      },
      "description": "List of Amazon Chime accounts and account details."
    },
    "NextToken": {
      "type": "string",
      "description": "The token to use to retrieve the next page of results."
    }
  },
  "$defs": {
    "Account": {
      "type": "object",
      "properties": {
        "AwsAccountId": {
          "type": "string",
          "description": "The AWS account ID."
        },
        "AccountId": {
          "type": "string",
          "description": "The Amazon Chime account ID."
        },
        "Name": {
          "type": "string",
          "description": "The Amazon Chime account name."
        },
        "AccountType": {
          "type": "string",
          "enum": [
            "Team",
            "EnterpriseDirectory",
            "EnterpriseLWA",
            "EnterpriseOIDC"
          ],
          "description": "The Amazon Chime account type. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide."
        },
        "CreatedTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The Amazon Chime account creation timestamp, in ISO 8601 format."
        },
        "DefaultLicense": {
          "type": "string",
          "enum": [
            "Basic",
            "Plus",
            "Pro",
            "ProTrial"
          ],
          "description": "The default license for the Amazon Chime account."
        },
        "SupportedLicenses": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "Basic",
              "Plus",
              "Pro",
              "ProTrial"
            ]
          },
          "description": "Supported licenses for the Amazon Chime account."
        },
        "AccountStatus": {
          "type": "string",
          "enum": [
            "Suspended",
            "Active"
          ],
          "description": "The status of the account."
        },
        "SigninDelegateGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SigninDelegateGroup"
          },
          "description": "The sign-in delegate groups associated with the account."
        }
      },
      "required": [
        "AwsAccountId",
        "AccountId",
        "Name"
      ]
    },
    "SigninDelegateGroup": {
      "type": "object",
      "properties": {
        "GroupName": {
          "type": "string",
          "description": "The group name."
        }
      }
    }
  }
}