Files
viettranx 6e7e15cf4a test(contracts): complete P1 contract tests with schemas and policy
- Add config.get, skills.list WS contract tests
- Add /v1/providers HTTP contract test
- Add JSON schemas for ws_connect, ws_chat_send, http_chat_completions
- Document breaking change policy
2026-04-12 21:52:29 +07:00

12 lines
338 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "WS chat.send response",
"type": "object",
"required": ["message_id", "content", "role"],
"properties": {
"message_id": { "type": "string" },
"content": { "type": "string" },
"role": { "type": "string", "enum": ["assistant", "user", "system"] }
}
}