{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "AccountSession": { "properties": { "displayName": { "type": [ "string", "null" ] }, "email": { "type": [ "string", "null" ] }, "imageUrl": { "type": [ "string", "null" ] }, "isActive": { "type": "boolean" }, "lastUsedAt": { "format": "int64", "type": "integer" }, "plan": { "type": [ "string", "null" ] }, "selectedWorkspaceAccountId": { "type": [ "string", "null" ] }, "sessionId": { "type": "string" }, "userId": { "type": [ "string", "null" ] }, "workspaces": { "items": { "$ref": "#/definitions/AccountSessionWorkspace" }, "type": "array" } }, "required": [ "isActive", "lastUsedAt", "sessionId", "workspaces" ], "type": "object" }, "AccountSessionWorkspace": { "properties": { "accountId": { "type": "string" }, "imageUrl": { "type": [ "string", "null" ] }, "kind": { "anyOf": [ { "$ref": "#/definitions/AccountSessionWorkspaceKind" }, { "type": "null" } ] }, "name": { "type": [ "string", "null" ] }, "status": { "$ref": "#/definitions/AccountSessionWorkspaceStatus" } }, "required": [ "accountId", "status" ], "type": "object" }, "AccountSessionWorkspaceKind": { "enum": [ "personal", "workspace" ], "type": "string" }, "AccountSessionWorkspaceStatus": { "enum": [ "active", "disabled", "deactivated" ], "type": "string" } }, "properties": { "activeSessionId": { "type": [ "string", "null" ] }, "sessions": { "items": { "$ref": "#/definitions/AccountSession" }, "type": "array" } }, "required": [ "sessions" ], "title": "AccountSessionsResponse", "type": "object" }