We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60fac59 commit 5e8a72aCopy full SHA for 5e8a72a
1 file changed
conventions/contact.md
@@ -0,0 +1,27 @@
1
+# Contact Convention
2
+
3
+Contacts are regular encrypted documents with this JSON shape:
4
5
+```json
6
+{
7
+ "kind": "contact",
8
+ "title": "Jane Doe",
9
+ "content": "Personal assistant instructions: prefer email for non-urgent tasks.",
10
+ "contactDetails": {
11
+ "name": "Jane Doe",
12
+ "email": "jane@example.com",
13
+ "phone": "1234567890",
14
+ "slack": "U12345",
15
+ "teams": "user@domain.com",
16
+ "telegram": "@janedoe",
17
+ "aliceAndBotPublicSignKey": "alice-and-bot-public-key"
18
+ }
19
+}
20
+```
21
22
+Rules:
23
24
+- `kind` MUST be `"contact"`.
25
+- `title` is the contact's name or display name.
26
+- `content` can contain freeform markdown notes about the contact.
27
+- `contactDetails` holds the structured contact fields previously handled by the DB.
0 commit comments