From 7519e5fa1969380dd6c145ffb084f2c5f249c327 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 22 Jul 2024 11:27:18 +0930 Subject: [PATCH] Add type attribute and update attachments --- social/email/v0.1.0/schema.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/social/email/v0.1.0/schema.json b/social/email/v0.1.0/schema.json index 73ee20d..620352b 100644 --- a/social/email/v0.1.0/schema.json +++ b/social/email/v0.1.0/schema.json @@ -57,6 +57,12 @@ "description": "Email subject", "type": "string" }, + "type": { + "title": "Type", + "description": "Type of message (send, receive)", + "type": "string", + "enum": ["send", "receive"] + }, "fromName": { "title": "From Name", "description": "Name of email sender", @@ -83,10 +89,16 @@ "items": { "type": "object", "properties": { + "id": { + "type": "string" + }, "filename": { "type": "string" }, - "content": { + "data": { + "type": "string" + }, + "textContent": { "type": "string" }, "uri": {