{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/activecampaign/main/json-schema/activecampaign-child-account-list-response-schema.json", "title": "ChildAccountListResponse", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/activecampaign-child-accounts-api-openapi.yml#/components/schemas/ChildAccountListResponse", "required": [ "hosted_accounts", "pagination" ], "properties": { "hosted_accounts": { "oneOf": [ { "type": "array", "items": { "$ref": "#/$defs/ChildAccountResponse" } }, { "type": "object", "additionalProperties": { "$ref": "#/$defs/ChildAccountResponse" } } ] }, "pagination": { "$ref": "#/$defs/ChildAccountsPaginationMetadata" } }, "type": "object", "additionalProperties": false, "$defs": { "ChildAccountResponse": { "required": [ "id", "created_at", "updated_at" ], "properties": { "id": { "type": "integer" }, "reseller_id": { "type": [ "integer", "null" ] }, "account_name": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } }, "type": "object", "additionalProperties": false }, "ChildAccountsPaginationMetadata": { "required": [ "total", "page", "limit", "total_pages" ], "properties": { "total": { "type": "integer" }, "page": { "type": "integer" }, "limit": { "type": "integer" }, "total_pages": { "type": "integer" } }, "type": "object", "additionalProperties": false } } }