{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://hai.ai/schemas/message/v1/message.schema.json", "title": "Message", "description": "A signed, immutable message about a task", "type": "object", "properties": { "id": { "type": "string", "hai": "base", "format": "uuid" }, "signature": { "description": "signing of message", "$ref": "https://hai.ai/schemas/components/signature/v1/signature.schema.json" }, "taskID": { "type": "string", "hai": "base", "format": "uuid" }, "to": { "type": "array", "hai": "meta", "description": "list of addressees, optional ", "items": { "type": "string", "format": "uuid" } }, "datetime": { "description": "Date of message, unverified", "format": "date-time", "hai": "agent", "type": "string" }, "content": { "description": "body , subject etc", "hai": "agent", "type": "string" }, "attachments": { "type": "array", "description": "list of files ", "items": { "$ref": "https://hai.ai/schemas/components/files/v1/files.schema.json" } } }, "required": [ "id", "datetime", "taskID", "content" ] }