{ "$defs": { "ActiveSlotKind": { "enum": [ "companion", "operations" ], "type": "string" }, "AstrBotProfileRole": { "enum": [ "companion", "operations", "general" ], "type": "string" }, "AuthenticationType": { "enum": [ "device-token", "api-key", "jwt" ], "type": "string" }, "TransportKind": { "description": "Wire transport used by a connection profile.", "oneOf": [ { "const": "desktop-v1", "description": "Provisional Mock / future Desktop Gateway (`/desktop/v1`).", "type": "string" }, { "const": "astr-bot-open-api", "description": "Real AstrBot OpenAPI surface (`/api/v1`).", "type": "string" } ] } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "allowInsecureHttp": { "default": false, "type": "boolean" }, "authenticationType": { "$ref": "#/$defs/AuthenticationType" }, "autoConnect": { "default": false, "type": "boolean" }, "autoConnectSlot": { "anyOf": [ { "$ref": "#/$defs/ActiveSlotKind" }, { "type": "null" } ] }, "baseUrl": { "type": "string" }, "createdAt": { "type": "string" }, "credentialReference": { "type": [ "string", "null" ] }, "displayName": { "type": "string" }, "eventStreamUrl": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "lastConnectedAt": { "type": [ "string", "null" ] }, "localToolPolicyId": { "type": [ "string", "null" ] }, "pinnedCertificateFingerprint": { "type": [ "string", "null" ] }, "protocolVersion": { "type": [ "string", "null" ] }, "remoteUsername": { "description": "AstrBot WebChat username / session owner used by OpenAPI chat.", "type": [ "string", "null" ] }, "role": { "$ref": "#/$defs/AstrBotProfileRole" }, "serverInstanceId": { "type": [ "string", "null" ] }, "serverVersion": { "type": [ "string", "null" ] }, "stickySessionId": { "description": "Sticky AstrBot session id for reconnection continuity.", "type": [ "string", "null" ] }, "transportKind": { "$ref": "#/$defs/TransportKind", "default": "desktop-v1", "description": "Wire transport for this profile. Defaults to Desktop mock/gateway contract." }, "updatedAt": { "type": "string" } }, "required": [ "id", "displayName", "role", "baseUrl", "authenticationType", "createdAt", "updatedAt" ], "title": "ConnectionProfile", "type": "object" }