{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/anthropic/main/json-schema/anthropic-workspace-member-list-schema.json", "title": "WorkspaceMemberList", "x-generated": "2026-09-23", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/anthropic-workspace-members-api-openapi.yml#/components/schemas/WorkspaceMemberList", "type": "object", "required": [ "data", "has_more", "first_id", "last_id" ], "properties": { "data": { "type": "array", "description": "List of workspace members", "items": { "$ref": "#/$defs/WorkspaceMember" } }, "first_id": { "type": [ "string", "null" ], "description": "First ID in the data list for pagination" }, "has_more": { "type": "boolean", "description": "Indicates if there are more results available" }, "last_id": { "type": [ "string", "null" ], "description": "Last ID in the data list for pagination" } }, "$defs": { "WorkspaceMember": { "type": "object", "required": [ "type", "user_id", "workspace_id", "workspace_role" ], "properties": { "type": { "type": "string", "enum": [ "workspace_member" ], "default": "workspace_member", "description": "Object type identifier" }, "user_id": { "type": "string", "description": "Unique user identifier" }, "workspace_id": { "type": "string", "description": "Unique workspace identifier" }, "workspace_role": { "$ref": "#/$defs/WorkspaceRole" } } }, "WorkspaceRole": { "type": "string", "enum": [ "workspace_user", "workspace_developer", "workspace_admin", "workspace_billing" ], "description": "Role within the workspace" } } }