{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-account-group-view-model-schema.json", "title": "AccountGroupViewModel", "description": "Model for Account Group View", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/palo-alto-networks-account-groups-api-openapi.yml#/components/schemas/AccountGroupViewModel", "properties": { "accountIds": { "description": "Cloud Account IDs", "items": { "type": "string" }, "type": "array" }, "accounts": { "description": "Associated Cloud Accounts", "items": { "additionalProperties": { "type": "string" }, "type": "object" }, "readOnly": true, "type": "array" }, "alertRules": { "description": "Singly associated alert rules which cannot exist in the system without the account group", "items": { "$ref": "#/$defs/CustomAlertRule" }, "readOnly": true, "type": "array" }, "autoCreated": { "description": "Boolean read-only attribute to indicate if account group is automatically created", "readOnly": true, "type": "boolean" }, "cloudAccountCount": { "description": "Number of cloud accounts associated with this account group", "format": "int32", "readOnly": true, "type": "integer" }, "cloudAccountInfos": { "description": "Cloud account details of account associated with this account group", "items": { "$ref": "#/$defs/CloudAccountInfo" }, "readOnly": true, "type": "array" }, "description": { "description": "Description", "type": "string" }, "id": { "description": "Account Group ID", "readOnly": true, "type": "string" }, "lastModifiedBy": { "description": "Last Modified By", "readOnly": true, "type": "string" }, "lastModifiedTs": { "description": "Last Modified Time", "format": "int64", "readOnly": true, "type": "integer" }, "name": { "description": "Name", "type": "string" }, "parentInfo": { "allOf": [ { "$ref": "#/$defs/AccountGroupMetadataViewModel" }, { "description": "For future use" } ] } }, "required": [ "accountIds", "name" ], "type": "object", "$defs": { "AccountGroupMetadataViewModel": { "properties": { "autoCreated": { "description": "Boolean to indicate if account group is automatically created", "type": "boolean" }, "id": { "description": "Account Group ID", "type": "string" }, "name": { "description": "Name", "type": "string" } }, "required": [ "name" ], "type": "object" }, "CloudAccountInfo": { "description": "Cloud account info linked to an account group", "properties": { "accountId": { "description": "Account ID", "type": "string" }, "cloudType": { "description": "Cloud Type", "enum": [ "ALL", "AWS", "AZURE", "GCP", "ALIBABA_CLOUD", "OCI", "OTHER" ], "type": "string" }, "lastModifiedBy": { "description": "Last Modified By", "type": "string" } }, "type": "object" }, "CustomAlertRule": { "properties": { "alertId": { "type": "string" }, "alertName": { "type": "string" } }, "type": "object" } } }