{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-android/json-schema/google-android-customer-list-customers-response-schema.json",
  "title": "CustomerListCustomersResponse",
  "description": "Response message for listing my customers.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-android-androiddeviceprovisioning-customers-api-openapi.yml#/components/schemas/CustomerListCustomersResponse",
  "type": "object",
  "properties": {
    "nextPageToken": {
      "description": "A token used to access the next page of results. Omitted if no further results are available.",
      "type": "string"
    },
    "customers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Company"
      },
      "description": "The customer accounts the calling user is a member of."
    }
  },
  "$defs": {
    "Company": {
      "properties": {
        "ownerEmails": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Required. Input only. Email address of customer's users in the owner role. At least one `owner_email` is required. Owners share the same access as admins but can also add, delete, and edit your organization's portal users."
        },
        "companyName": {
          "description": "Required. The name of the company. For example _XYZ Corp_. Displayed to the company's employees in the zero-touch enrollment portal.",
          "type": "string"
        },
        "termsStatus": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Whether any user from the company has accepted the latest Terms of Service (ToS). See TermsStatus.",
          "enum": [
            "TERMS_STATUS_UNSPECIFIED",
            "TERMS_STATUS_NOT_ACCEPTED",
            "TERMS_STATUS_ACCEPTED",
            "TERMS_STATUS_STALE"
          ]
        },
        "languageCode": {
          "type": "string",
          "description": "Input only. The preferred locale of the customer represented as a BCP47 language code. This field is validated on input and requests containing unsupported language codes will be rejected. Supported language codes: Arabic (ar) Chinese (Hong Kong) (zh-HK) Chinese (Simplified) (zh-CN) Chinese (Traditional) (zh-TW) Czech (cs) Danish (da) Dutch (nl) English (UK) (en-GB) English (US) (en-US) Filipino (fil) Finnish (fi) French (fr) German (de) Hebrew (iw) Hindi (hi) Hungarian (hu) Indonesian (id) Italian (it) Japanese (ja) Korean (ko) Norwegian (Bokmal) (no) Polish (pl) Portuguese (Brazil) (pt-BR) Portuguese (Portugal) (pt-PT) Russian (ru) Spanish (es) Spanish (Latin America) (es-419) Swedish (sv) Thai (th) Turkish (tr) Ukrainian (uk) Vietnamese (vi)"
        },
        "companyId": {
          "format": "int64",
          "description": "Output only. The ID of the company. Assigned by the server.",
          "readOnly": true,
          "type": "string"
        },
        "googleWorkspaceAccount": {
          "$ref": "#/$defs/GoogleWorkspaceAccount",
          "description": "Output only. The Google Workspace account associated with this customer. Only used for customer Companies."
        },
        "name": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The API resource name of the company. The resource name is one of the following formats: * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]` Assigned by the server."
        },
        "adminEmails": {
          "items": {
            "type": "string"
          },
          "description": "Optional. Email address of customer's users in the admin role. Each email address must be associated with a Google Account.",
          "type": "array"
        },
        "skipWelcomeEmail": {
          "type": "boolean",
          "description": "Input only. Deprecated: This field is no longer supported and is ignored by the server.",
          "deprecated": true
        }
      },
      "description": "A reseller, vendor, or customer in the zero-touch reseller and customer APIs.",
      "type": "object"
    },
    "GoogleWorkspaceAccount": {
      "type": "object",
      "description": "A Google Workspace customer.",
      "properties": {
        "preProvisioningTokens": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true,
          "description": "Output only. The pre-provisioning tokens previously used to claim devices."
        },
        "customerId": {
          "description": "Required. The customer ID.",
          "type": "string"
        }
      }
    }
  }
}