/** * JSON Schemas for AI Universe Conversation MCP Server * * These schemas define the structure for all MCP tool requests and responses. * They can be used for validation, documentation, and code generation. */ export declare const healthCheckRequestSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "HealthCheckRequest"; readonly type: "object"; readonly properties: {}; readonly additionalProperties: false; }; export declare const healthCheckResponseSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "HealthCheckResponse"; readonly type: "object"; readonly required: readonly ["status", "service", "version", "timestamp", "type"]; readonly properties: { readonly status: { readonly type: "string"; readonly const: "healthy"; }; readonly service: { readonly type: "string"; }; readonly version: { readonly type: "string"; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; }; readonly type: { readonly type: "string"; }; readonly conversationCount: { readonly type: "number"; readonly minimum: 0; }; }; readonly additionalProperties: false; }; export declare const sendMessageRequestSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "SendMessageRequest"; readonly type: "object"; readonly required: readonly ["userId", "content", "role"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; readonly description: "User identifier - alphanumeric characters and ._@- allowed"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; readonly description: "Optional conversation ID. Omit for auto-creation. Cannot be empty or whitespace."; }; readonly convo_id: { readonly type: "string"; readonly minLength: 1; readonly description: "Alias for conversationId (for compatibility). conversationId takes precedence."; }; readonly content: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 200000; readonly description: "Message content"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["user", "assistant"]; readonly description: "Message sender role"; }; readonly title: { readonly type: "string"; readonly maxLength: 200; readonly description: "Optional title for auto-created conversations"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional metadata attached to the message"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; export declare const sendMessageResponseSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "SendMessageResponse"; readonly type: "object"; readonly required: readonly ["conversationId", "messageId", "sequence", "created", "title", "timestamp"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; readonly description: "Conversation ID (existing or newly created)"; }; readonly messageId: { readonly type: "string"; readonly minLength: 1; readonly description: "Unique message identifier"; }; readonly sequence: { readonly type: "number"; readonly minimum: 0; readonly description: "Message sequence number in conversation"; }; readonly created: { readonly type: "boolean"; readonly description: "True if conversation was auto-created, false if added to existing"; }; readonly title: { readonly type: "string"; readonly description: "Conversation title"; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; readonly description: "ISO-8601 timestamp of message creation"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional message metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; export declare const getConversationRequestSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetConversationRequest"; readonly type: "object"; readonly required: readonly ["userId", "conversationId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; }; readonly additionalProperties: false; }; export declare const conversationMetadataSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ConversationMetadata"; readonly type: "object"; readonly required: readonly ["conversationId", "userId", "title", "messageCount", "createdAt", "updatedAt", "lastMessage"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly userId: { readonly type: "string"; readonly minLength: 1; }; readonly title: { readonly type: "string"; }; readonly messageCount: { readonly type: "number"; readonly minimum: 0; }; readonly createdAt: { readonly type: "string"; readonly format: "date-time"; }; readonly updatedAt: { readonly type: "string"; readonly format: "date-time"; }; readonly lastMessage: { readonly type: readonly ["string", "null"]; readonly description: "Content of the last message, or null if no messages"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional conversation-level metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; export declare const getHistoryRequestSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetHistoryRequest"; readonly type: "object"; readonly required: readonly ["userId", "conversationId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly limit: { readonly type: "number"; readonly minimum: 1; readonly maximum: 100; readonly default: 50; readonly description: "Maximum number of messages to return"; }; readonly cursor: { readonly type: "string"; readonly description: "Pagination cursor from previous response"; }; }; readonly additionalProperties: false; }; export declare const messageSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "Message"; readonly type: "object"; readonly required: readonly ["messageId", "conversationId", "content", "role", "sequence", "timestamp"]; readonly properties: { readonly messageId: { readonly type: "string"; readonly minLength: 1; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly content: { readonly type: "string"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["user", "assistant"]; }; readonly sequence: { readonly type: "number"; readonly minimum: 0; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional message metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; export declare const getHistoryResponseSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetHistoryResponse"; readonly type: "object"; readonly required: readonly ["conversationId", "messages", "hasMore"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly messages: { readonly type: "array"; readonly items: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "Message"; readonly type: "object"; readonly required: readonly ["messageId", "conversationId", "content", "role", "sequence", "timestamp"]; readonly properties: { readonly messageId: { readonly type: "string"; readonly minLength: 1; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly content: { readonly type: "string"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["user", "assistant"]; }; readonly sequence: { readonly type: "number"; readonly minimum: 0; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional message metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; }; readonly hasMore: { readonly type: "boolean"; readonly description: "True if more messages are available"; }; readonly nextCursor: { readonly type: "string"; readonly description: "Cursor for fetching next page (only present if hasMore is true)"; }; }; readonly additionalProperties: false; }; export declare const getMessageRequestSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetMessageRequest"; readonly type: "object"; readonly required: readonly ["userId", "conversationId", "messageId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly messageId: { readonly type: "string"; readonly minLength: 1; }; }; readonly additionalProperties: false; }; export declare const listConversationsRequestSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ListConversationsRequest"; readonly type: "object"; readonly required: readonly ["userId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly pageSize: { readonly type: "number"; readonly minimum: 1; readonly maximum: 100; readonly default: 10; readonly description: "Number of conversations to return per page"; }; readonly cursor: { readonly type: "string"; readonly description: "Pagination cursor from previous response"; }; }; readonly additionalProperties: false; }; export declare const conversationSummarySchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ConversationSummary"; readonly type: "object"; readonly required: readonly ["conversationId", "title", "messageCount", "createdAt", "updatedAt"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly title: { readonly type: "string"; }; readonly messageCount: { readonly type: "number"; readonly minimum: 0; }; readonly createdAt: { readonly type: "string"; readonly format: "date-time"; }; readonly updatedAt: { readonly type: "string"; readonly format: "date-time"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional conversation-level metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; export declare const listConversationsResponseSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ListConversationsResponse"; readonly type: "object"; readonly required: readonly ["conversations", "totalCount", "hasMore"]; readonly properties: { readonly conversations: { readonly type: "array"; readonly items: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ConversationSummary"; readonly type: "object"; readonly required: readonly ["conversationId", "title", "messageCount", "createdAt", "updatedAt"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly title: { readonly type: "string"; }; readonly messageCount: { readonly type: "number"; readonly minimum: 0; }; readonly createdAt: { readonly type: "string"; readonly format: "date-time"; }; readonly updatedAt: { readonly type: "string"; readonly format: "date-time"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional conversation-level metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; }; readonly totalCount: { readonly type: "number"; readonly minimum: 0; readonly description: "Total number of conversations for this user"; }; readonly hasMore: { readonly type: "boolean"; readonly description: "True if more conversations are available"; }; readonly nextCursor: { readonly type: "string"; readonly description: "Cursor for fetching next page (only present if hasMore is true)"; }; }; readonly additionalProperties: false; }; export declare const mcpToolResponseSchema: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "MCPToolResponse"; readonly type: "object"; readonly required: readonly ["success"]; readonly properties: { readonly success: { readonly type: "boolean"; }; readonly data: { readonly description: "Response data (present when success is true)"; }; readonly error: { readonly type: "string"; readonly description: "Error message (present when success is false)"; }; readonly message: { readonly type: "string"; readonly description: "Optional additional message"; }; }; }; export declare const schemas: { readonly 'health-check': { readonly request: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "HealthCheckRequest"; readonly type: "object"; readonly properties: {}; readonly additionalProperties: false; }; readonly response: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "HealthCheckResponse"; readonly type: "object"; readonly required: readonly ["status", "service", "version", "timestamp", "type"]; readonly properties: { readonly status: { readonly type: "string"; readonly const: "healthy"; }; readonly service: { readonly type: "string"; }; readonly version: { readonly type: "string"; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; }; readonly type: { readonly type: "string"; }; readonly conversationCount: { readonly type: "number"; readonly minimum: 0; }; }; readonly additionalProperties: false; }; }; readonly 'convo.send-message': { readonly request: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "SendMessageRequest"; readonly type: "object"; readonly required: readonly ["userId", "content", "role"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; readonly description: "User identifier - alphanumeric characters and ._@- allowed"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; readonly description: "Optional conversation ID. Omit for auto-creation. Cannot be empty or whitespace."; }; readonly convo_id: { readonly type: "string"; readonly minLength: 1; readonly description: "Alias for conversationId (for compatibility). conversationId takes precedence."; }; readonly content: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 200000; readonly description: "Message content"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["user", "assistant"]; readonly description: "Message sender role"; }; readonly title: { readonly type: "string"; readonly maxLength: 200; readonly description: "Optional title for auto-created conversations"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional metadata attached to the message"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; readonly response: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "SendMessageResponse"; readonly type: "object"; readonly required: readonly ["conversationId", "messageId", "sequence", "created", "title", "timestamp"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; readonly description: "Conversation ID (existing or newly created)"; }; readonly messageId: { readonly type: "string"; readonly minLength: 1; readonly description: "Unique message identifier"; }; readonly sequence: { readonly type: "number"; readonly minimum: 0; readonly description: "Message sequence number in conversation"; }; readonly created: { readonly type: "boolean"; readonly description: "True if conversation was auto-created, false if added to existing"; }; readonly title: { readonly type: "string"; readonly description: "Conversation title"; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; readonly description: "ISO-8601 timestamp of message creation"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional message metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; }; readonly 'convo.get-conversation': { readonly request: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetConversationRequest"; readonly type: "object"; readonly required: readonly ["userId", "conversationId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; }; readonly additionalProperties: false; }; readonly response: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ConversationMetadata"; readonly type: "object"; readonly required: readonly ["conversationId", "userId", "title", "messageCount", "createdAt", "updatedAt", "lastMessage"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly userId: { readonly type: "string"; readonly minLength: 1; }; readonly title: { readonly type: "string"; }; readonly messageCount: { readonly type: "number"; readonly minimum: 0; }; readonly createdAt: { readonly type: "string"; readonly format: "date-time"; }; readonly updatedAt: { readonly type: "string"; readonly format: "date-time"; }; readonly lastMessage: { readonly type: readonly ["string", "null"]; readonly description: "Content of the last message, or null if no messages"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional conversation-level metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; }; readonly 'convo.get-history': { readonly request: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetHistoryRequest"; readonly type: "object"; readonly required: readonly ["userId", "conversationId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly limit: { readonly type: "number"; readonly minimum: 1; readonly maximum: 100; readonly default: 50; readonly description: "Maximum number of messages to return"; }; readonly cursor: { readonly type: "string"; readonly description: "Pagination cursor from previous response"; }; }; readonly additionalProperties: false; }; readonly response: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetHistoryResponse"; readonly type: "object"; readonly required: readonly ["conversationId", "messages", "hasMore"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly messages: { readonly type: "array"; readonly items: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "Message"; readonly type: "object"; readonly required: readonly ["messageId", "conversationId", "content", "role", "sequence", "timestamp"]; readonly properties: { readonly messageId: { readonly type: "string"; readonly minLength: 1; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly content: { readonly type: "string"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["user", "assistant"]; }; readonly sequence: { readonly type: "number"; readonly minimum: 0; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional message metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; }; readonly hasMore: { readonly type: "boolean"; readonly description: "True if more messages are available"; }; readonly nextCursor: { readonly type: "string"; readonly description: "Cursor for fetching next page (only present if hasMore is true)"; }; }; readonly additionalProperties: false; }; }; readonly 'convo.get-message': { readonly request: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetMessageRequest"; readonly type: "object"; readonly required: readonly ["userId", "conversationId", "messageId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly messageId: { readonly type: "string"; readonly minLength: 1; }; }; readonly additionalProperties: false; }; readonly response: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "Message"; readonly type: "object"; readonly required: readonly ["messageId", "conversationId", "content", "role", "sequence", "timestamp"]; readonly properties: { readonly messageId: { readonly type: "string"; readonly minLength: 1; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly content: { readonly type: "string"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["user", "assistant"]; }; readonly sequence: { readonly type: "number"; readonly minimum: 0; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional message metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; }; readonly 'convo.list-conversations': { readonly request: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ListConversationsRequest"; readonly type: "object"; readonly required: readonly ["userId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly pageSize: { readonly type: "number"; readonly minimum: 1; readonly maximum: 100; readonly default: 10; readonly description: "Number of conversations to return per page"; }; readonly cursor: { readonly type: "string"; readonly description: "Pagination cursor from previous response"; }; }; readonly additionalProperties: false; }; readonly response: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ListConversationsResponse"; readonly type: "object"; readonly required: readonly ["conversations", "totalCount", "hasMore"]; readonly properties: { readonly conversations: { readonly type: "array"; readonly items: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ConversationSummary"; readonly type: "object"; readonly required: readonly ["conversationId", "title", "messageCount", "createdAt", "updatedAt"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly title: { readonly type: "string"; }; readonly messageCount: { readonly type: "number"; readonly minimum: 0; }; readonly createdAt: { readonly type: "string"; readonly format: "date-time"; }; readonly updatedAt: { readonly type: "string"; readonly format: "date-time"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional conversation-level metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; }; readonly totalCount: { readonly type: "number"; readonly minimum: 0; readonly description: "Total number of conversations for this user"; }; readonly hasMore: { readonly type: "boolean"; readonly description: "True if more conversations are available"; }; readonly nextCursor: { readonly type: "string"; readonly description: "Cursor for fetching next page (only present if hasMore is true)"; }; }; readonly additionalProperties: false; }; }; readonly mcpToolResponse: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "MCPToolResponse"; readonly type: "object"; readonly required: readonly ["success"]; readonly properties: { readonly success: { readonly type: "boolean"; }; readonly data: { readonly description: "Response data (present when success is true)"; }; readonly error: { readonly type: "string"; readonly description: "Error message (present when success is false)"; }; readonly message: { readonly type: "string"; readonly description: "Optional additional message"; }; }; }; }; export declare const requestSchemas: { readonly 'health-check': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "HealthCheckRequest"; readonly type: "object"; readonly properties: {}; readonly additionalProperties: false; }; readonly 'convo.send-message': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "SendMessageRequest"; readonly type: "object"; readonly required: readonly ["userId", "content", "role"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; readonly description: "User identifier - alphanumeric characters and ._@- allowed"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; readonly description: "Optional conversation ID. Omit for auto-creation. Cannot be empty or whitespace."; }; readonly convo_id: { readonly type: "string"; readonly minLength: 1; readonly description: "Alias for conversationId (for compatibility). conversationId takes precedence."; }; readonly content: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 200000; readonly description: "Message content"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["user", "assistant"]; readonly description: "Message sender role"; }; readonly title: { readonly type: "string"; readonly maxLength: 200; readonly description: "Optional title for auto-created conversations"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional metadata attached to the message"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; readonly 'convo.get-conversation': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetConversationRequest"; readonly type: "object"; readonly required: readonly ["userId", "conversationId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; }; readonly additionalProperties: false; }; readonly 'convo.get-history': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetHistoryRequest"; readonly type: "object"; readonly required: readonly ["userId", "conversationId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly limit: { readonly type: "number"; readonly minimum: 1; readonly maximum: 100; readonly default: 50; readonly description: "Maximum number of messages to return"; }; readonly cursor: { readonly type: "string"; readonly description: "Pagination cursor from previous response"; }; }; readonly additionalProperties: false; }; readonly 'convo.get-message': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetMessageRequest"; readonly type: "object"; readonly required: readonly ["userId", "conversationId", "messageId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly messageId: { readonly type: "string"; readonly minLength: 1; }; }; readonly additionalProperties: false; }; readonly 'convo.list-conversations': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ListConversationsRequest"; readonly type: "object"; readonly required: readonly ["userId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 100; readonly pattern: "^[a-zA-Z0-9._@-]+$"; }; readonly pageSize: { readonly type: "number"; readonly minimum: 1; readonly maximum: 100; readonly default: 10; readonly description: "Number of conversations to return per page"; }; readonly cursor: { readonly type: "string"; readonly description: "Pagination cursor from previous response"; }; }; readonly additionalProperties: false; }; }; export declare const responseSchemas: { readonly 'health-check': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "HealthCheckResponse"; readonly type: "object"; readonly required: readonly ["status", "service", "version", "timestamp", "type"]; readonly properties: { readonly status: { readonly type: "string"; readonly const: "healthy"; }; readonly service: { readonly type: "string"; }; readonly version: { readonly type: "string"; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; }; readonly type: { readonly type: "string"; }; readonly conversationCount: { readonly type: "number"; readonly minimum: 0; }; }; readonly additionalProperties: false; }; readonly 'convo.send-message': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "SendMessageResponse"; readonly type: "object"; readonly required: readonly ["conversationId", "messageId", "sequence", "created", "title", "timestamp"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; readonly description: "Conversation ID (existing or newly created)"; }; readonly messageId: { readonly type: "string"; readonly minLength: 1; readonly description: "Unique message identifier"; }; readonly sequence: { readonly type: "number"; readonly minimum: 0; readonly description: "Message sequence number in conversation"; }; readonly created: { readonly type: "boolean"; readonly description: "True if conversation was auto-created, false if added to existing"; }; readonly title: { readonly type: "string"; readonly description: "Conversation title"; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; readonly description: "ISO-8601 timestamp of message creation"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional message metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; readonly 'convo.get-conversation': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ConversationMetadata"; readonly type: "object"; readonly required: readonly ["conversationId", "userId", "title", "messageCount", "createdAt", "updatedAt", "lastMessage"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly userId: { readonly type: "string"; readonly minLength: 1; }; readonly title: { readonly type: "string"; }; readonly messageCount: { readonly type: "number"; readonly minimum: 0; }; readonly createdAt: { readonly type: "string"; readonly format: "date-time"; }; readonly updatedAt: { readonly type: "string"; readonly format: "date-time"; }; readonly lastMessage: { readonly type: readonly ["string", "null"]; readonly description: "Content of the last message, or null if no messages"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional conversation-level metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; readonly 'convo.get-history': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "GetHistoryResponse"; readonly type: "object"; readonly required: readonly ["conversationId", "messages", "hasMore"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly messages: { readonly type: "array"; readonly items: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "Message"; readonly type: "object"; readonly required: readonly ["messageId", "conversationId", "content", "role", "sequence", "timestamp"]; readonly properties: { readonly messageId: { readonly type: "string"; readonly minLength: 1; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly content: { readonly type: "string"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["user", "assistant"]; }; readonly sequence: { readonly type: "number"; readonly minimum: 0; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional message metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; }; readonly hasMore: { readonly type: "boolean"; readonly description: "True if more messages are available"; }; readonly nextCursor: { readonly type: "string"; readonly description: "Cursor for fetching next page (only present if hasMore is true)"; }; }; readonly additionalProperties: false; }; readonly 'convo.get-message': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "Message"; readonly type: "object"; readonly required: readonly ["messageId", "conversationId", "content", "role", "sequence", "timestamp"]; readonly properties: { readonly messageId: { readonly type: "string"; readonly minLength: 1; }; readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly content: { readonly type: "string"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["user", "assistant"]; }; readonly sequence: { readonly type: "number"; readonly minimum: 0; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional message metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; readonly 'convo.list-conversations': { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ListConversationsResponse"; readonly type: "object"; readonly required: readonly ["conversations", "totalCount", "hasMore"]; readonly properties: { readonly conversations: { readonly type: "array"; readonly items: { readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly title: "ConversationSummary"; readonly type: "object"; readonly required: readonly ["conversationId", "title", "messageCount", "createdAt", "updatedAt"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly minLength: 1; }; readonly title: { readonly type: "string"; }; readonly messageCount: { readonly type: "number"; readonly minimum: 0; }; readonly createdAt: { readonly type: "string"; readonly format: "date-time"; }; readonly updatedAt: { readonly type: "string"; readonly format: "date-time"; }; readonly metadata: { readonly type: "object"; readonly description: "Optional conversation-level metadata"; readonly additionalProperties: true; }; }; readonly additionalProperties: false; }; }; readonly totalCount: { readonly type: "number"; readonly minimum: 0; readonly description: "Total number of conversations for this user"; }; readonly hasMore: { readonly type: "boolean"; readonly description: "True if more conversations are available"; }; readonly nextCursor: { readonly type: "string"; readonly description: "Cursor for fetching next page (only present if hasMore is true)"; }; }; readonly additionalProperties: false; }; }; export type SchemaType = typeof schemas; export type RequestSchemaType = typeof requestSchemas; export type ResponseSchemaType = typeof responseSchemas; //# sourceMappingURL=schemas.d.ts.map