| Ocalt Query Language
Pricing Dashboard ocalt.com v1.0

CHAT

Built-in per-namespace chat rooms. Create rooms with named peers, send messages, read message history. Each message is auto-timestamped and assigned a unique ID and delivery status.

[pending — needs refinement] — CHAT is partially specified. Full verb set, message schema, and delivery model are being finalised.

Rough syntax (subject to change)

(* Create a chat room with named peers *) CHAT WITH "3" PEERS "alice" AND "bob" AND "carol" SET ?room (* Send a message *) AFTER CHAT ENTRY FROM "alice" MESSAGE `Hello everyone!` TO ?room SET ?msg AFTER EMIT ?msg(id)

Message object fields (provisional)

FieldTypeDescription
idstringUnique message ID
fromstringSender alias
messagestringMessage content
timestampnumberUTC Unix timestamp — auto-set
statusstringDelivery status — "sent", "delivered", "read"
room_idstringParent room ID