mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-03 05:07:10 +00:00
Add communication account plugin scaffolds
This commit is contained in:
parent
5cfeea6b57
commit
c23ce42948
48 changed files with 1949 additions and 13 deletions
22
packages/schemas/schemas/logicsrc-email-message.schema.json
Normal file
22
packages/schemas/schemas/logicsrc-email-message.schema.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://schemas.logicsrc.com/logicsrc-email-message.schema.json",
|
||||
"title": "LogicSRC Email Message Metadata",
|
||||
"type": "object",
|
||||
"required": ["id", "providerMessageId", "toAddresses", "ccAddresses", "labels", "hasAttachments"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"id": { "type": "string", "minLength": 1 },
|
||||
"providerMessageId": { "type": "string", "minLength": 1 },
|
||||
"threadId": { "type": "string", "minLength": 1 },
|
||||
"subject": { "type": "string" },
|
||||
"fromAddress": { "type": "string" },
|
||||
"toAddresses": { "type": "array", "items": { "type": "string" } },
|
||||
"ccAddresses": { "type": "array", "items": { "type": "string" } },
|
||||
"snippet": { "type": "string" },
|
||||
"labels": { "type": "array", "items": { "type": "string" } },
|
||||
"hasAttachments": { "type": "boolean" },
|
||||
"receivedAt": { "type": "string", "format": "date-time" },
|
||||
"sentAt": { "type": "string", "format": "date-time" }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue