{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-analytics/json-schema/google-analytics-google-analytics-admin-v1alpha-list-account-summaries-response-schema.json",
  "title": "GoogleAnalyticsAdminV1alphaListAccountSummariesResponse",
  "description": "Response message for ListAccountSummaries RPC.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-analytics-accountsummaries-api-openapi.yml#/components/schemas/GoogleAnalyticsAdminV1alphaListAccountSummariesResponse",
  "properties": {
    "accountSummaries": {
      "description": "Account summaries of all accounts the caller has access to.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/GoogleAnalyticsAdminV1alphaAccountSummary"
      }
    },
    "nextPageToken": {
      "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "GoogleAnalyticsAdminV1alphaAccountSummary": {
      "description": "A virtual resource representing an overview of an account and all its child Google Analytics properties.",
      "properties": {
        "account": {
          "description": "Resource name of account referred to by this account summary Format: accounts/{account_id} Example: \"accounts/1000\"",
          "type": "string"
        },
        "name": {
          "description": "Identifier. Resource name for this account summary. Format: accountSummaries/{account_id} Example: \"accountSummaries/1000\"",
          "type": "string"
        },
        "displayName": {
          "description": "Display name for the account referred to in this account summary.",
          "type": "string"
        },
        "propertySummaries": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GoogleAnalyticsAdminV1alphaPropertySummary"
          },
          "description": "List of summaries for child accounts of this account."
        }
      },
      "type": "object"
    },
    "GoogleAnalyticsAdminV1alphaPropertySummary": {
      "type": "object",
      "description": "A virtual resource representing metadata for a Google Analytics property.",
      "properties": {
        "property": {
          "type": "string",
          "description": "Resource name of property referred to by this property summary Format: properties/{property_id} Example: \"properties/1000\""
        },
        "canEdit": {
          "description": "If true, then the user has a Google Analytics role that permits them to edit the property.",
          "type": "boolean"
        },
        "parent": {
          "description": "Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: \"accounts/100\", \"properties/200\"",
          "type": "string"
        },
        "displayName": {
          "description": "Display name for the property referred to in this property summary.",
          "type": "string"
        },
        "propertyType": {
          "type": "string",
          "x-enumDescriptions": [
            "Unknown or unspecified property type",
            "Ordinary Google Analytics property",
            "Google Analytics subproperty",
            "Google Analytics rollup property"
          ],
          "description": "The property's property type.",
          "enum": [
            "PROPERTY_TYPE_UNSPECIFIED",
            "PROPERTY_TYPE_ORDINARY",
            "PROPERTY_TYPE_SUBPROPERTY",
            "PROPERTY_TYPE_ROLLUP"
          ]
        }
      }
    }
  }
}