{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-chaoshubv2-list-hub-response-schema.json", "title": "chaoshubv2.ListHubResponse", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-chaos-hubs-api-openapi.yml#/components/schemas/chaoshubv2.ListHubResponse", "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/$defs/chaoshubv2.ChaosHubResponse" } }, "pagination": { "$ref": "#/$defs/github_com_harness_hce-saas_graphql_server_api.Pagination" } }, "$defs": { "chaos_hub.AuthType": { "type": "string", "enum": [ "Ssh", "UsernameToken" ], "x-enum-varnames": [ "AuthTypeSSH", "AuthTypeUsernameToken" ] }, "chaos_hub.ConnectorScope": { "type": "string", "enum": [ "ACCOUNT", "PROJECT", "ORGANISATION" ], "x-enum-varnames": [ "ConnectorScopeAccount", "ConnectorScopeProject", "ConnectorScopeOrganisation" ] }, "chaoshubv2.ChaosHubResponse": { "type": "object", "required": [ "accountID", "hubId", "identity", "isDefault", "isRemoved", "name" ], "properties": { "accountID": { "type": "string" }, "actionTemplateCount": { "type": "integer" }, "authType": { "description": "TBD check if this details is available in connector details if so deprecate it", "allOf": [ { "$ref": "#/$defs/chaos_hub.AuthType" } ] }, "connectorId": { "description": "TBD use ConnectorRef: org.test-connector and deprecate it", "type": "string" }, "connectorScope": { "description": "TBD use ConnectorRef and deprecate it", "allOf": [ { "$ref": "#/$defs/chaos_hub.ConnectorScope" } ] }, "createdAt": { "type": "integer" }, "createdBy": { "type": "string" }, "description": { "type": "string" }, "experimentTemplateCount": { "type": "integer" }, "faultTemplateCount": { "type": "integer" }, "hubId": { "type": "string" }, "identity": { "type": "string" }, "isDefault": { "type": "boolean" }, "isRemoved": { "type": "boolean" }, "lastSyncedAt": { "type": "integer" }, "name": { "type": "string" }, "orgID": { "type": "string" }, "probeTemplateCount": { "type": "integer" }, "projectID": { "type": "string" }, "repoBranch": { "type": "string" }, "repoName": { "type": "string" }, "repoUrl": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "updatedAt": { "type": "integer" }, "updatedBy": { "type": "string" } } }, "github_com_harness_hce-saas_graphql_server_api.Pagination": { "type": "object", "properties": { "index": { "type": "integer" }, "limit": { "type": "integer" }, "totalItems": { "type": "integer" }, "totalPages": { "type": "integer" } } } } }