@quickpipeaiab/domain 0.0.0-stage → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/email.ttl ADDED
@@ -0,0 +1,1572 @@
1
+ @prefix core: <https://id.quickpipe.ai/domain/core#> .
2
+ @prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
3
+ @prefix billing: <https://id.quickpipe.ai/domain/billing#> .
4
+ @prefix email: <https://id.quickpipe.ai/domain/email#> .
5
+ @prefix email-vocab: <https://id.quickpipe.ai/domain/vocab/email#> .
6
+ @prefix desk: <https://id.quickpipe.ai/domain/desk#> .
7
+ @prefix campaigns: <https://id.quickpipe.ai/domain/campaigns#> .
8
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
9
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11
+
12
+ <https://id.quickpipe.ai/domain/email>
13
+ a owl:Ontology ;
14
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/email> ;
15
+ owl:versionInfo "0.9.0" ;
16
+ core:title "QuickPipe domain model: email"@en ;
17
+ core:preferred-prefix "email" ;
18
+ core:preferred-namespace "https://id.quickpipe.ai/domain/email#" ;
19
+ owl:imports <https://id.quickpipe.ai/domain/core> ,
20
+ <https://id.quickpipe.ai/domain/vocab/email> ,
21
+ <https://id.quickpipe.ai/domain/desk> ,
22
+ <https://id.quickpipe.ai/domain/campaigns> ,
23
+ <https://id.quickpipe.ai/domain/billing> .
24
+
25
+ # Mailboxes and domains.
26
+
27
+ email:mailbox a owl:Class ;
28
+ rdfs:subClassOf campaigns:channel-account ;
29
+ core:label "mailbox"@en ;
30
+ core:definition "One email address from which `email` sends and in which it reads replies, for one teammate of one workspace. The address is unique among the mailboxes that are not `released`."@en ;
31
+ core:hint "An email address that sends your messages and gets the replies."@en ;
32
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Mailboxes and domains" ;
33
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
34
+ core:owner core:email ;
35
+ core:has-contract true ;
36
+ core:retention "P0D" ;
37
+ core:retention-clock core-vocab:retention-clock-since-closed ;
38
+ core:controller-role core-vocab:controller-role-processor .
39
+
40
+ email:sending-domain a owl:Class ;
41
+ rdfs:subClassOf core:entity ;
42
+ core:label "sending-domain"@en ;
43
+ core:definition "A domain that `email` buys for one workspace through the mailbox provider port. It holds the mailboxes of kind `dedicated`. The domain name is unique among the `sending-domain` records that are not `released`."@en ;
44
+ core:hint "A web address that Quickpipe buys for you, to send emails from."@en ;
45
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Mailboxes and domains" ;
46
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
47
+ core:owner core:email ;
48
+ core:has-contract true ;
49
+ core:retention "P0D" ;
50
+ core:retention-clock core-vocab:retention-clock-since-closed ;
51
+ core:controller-role core-vocab:controller-role-processor .
52
+
53
+ [] a owl:AllDisjointClasses ;
54
+ owl:members ( email:mailbox email:sending-domain email:message email:connection email:connect-attempt email:answer email:thread email:reply email:calendar-event email:unit-cost email:standing-hold ) .
55
+
56
+ # Properties.
57
+
58
+ email:has-mailbox-kind a owl:ObjectProperty , owl:FunctionalProperty ;
59
+ rdfs:domain email:mailbox ;
60
+ rdfs:range core:concept ;
61
+ core:label "has mailbox kind"@en ;
62
+ core:definition "How a mailbox comes to `email`, from the scheme of mailbox kinds."@en ;
63
+ core:hint "Whether you connected your own mailbox or Quickpipe made one for you."@en ;
64
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Mailboxes and domains" ;
65
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
66
+ core:owner core:email .
67
+
68
+ email:on-sending-domain a owl:ObjectProperty , owl:FunctionalProperty ;
69
+ rdfs:domain email:mailbox ;
70
+ rdfs:range email:sending-domain ;
71
+ core:label "on sending-domain"@en ;
72
+ core:definition "The `sending-domain` that holds a mailbox of kind `dedicated`."@en ;
73
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Mailboxes and domains" ;
74
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
75
+ core:owner core:email .
76
+
77
+ email:has-daily-limit a owl:DatatypeProperty , owl:FunctionalProperty ;
78
+ rdfs:domain email:mailbox ;
79
+ rdfs:range xsd:positiveInteger ;
80
+ core:label "has daily limit of mailbox"@en ;
81
+ core:definition "The maximum number of sends of a mailbox in one day in UTC. A new mailbox gets the value of the setting `EMAIL_DAILY_LIMIT`. The default is 50."@en ;
82
+ core:hint "The most emails that this mailbox sends in one day."@en ;
83
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Mailboxes and domains" ;
84
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
85
+ core:owner core:email ;
86
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
87
+
88
+ email:has-last-error a owl:DatatypeProperty , owl:FunctionalProperty ;
89
+ rdfs:domain email:mailbox ;
90
+ rdfs:range xsd:string ;
91
+ core:label "has last error of mailbox"@en ;
92
+ core:definition "The code of the failure that made the status of a mailbox `disconnected`. The code is `grant-refused` when the provider refuses the grant of the connection. It is empty unless the status is `disconnected`."@en ;
93
+ core:hint "Why this mailbox stopped."@en ;
94
+ core:source "docs/specs/email/docs/internal/decisions/0015-mailbox-cause.md#Decision" ;
95
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
96
+ core:owner core:email ;
97
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
98
+
99
+ email:has-last-used-at a owl:DatatypeProperty , owl:FunctionalProperty ;
100
+ rdfs:domain email:mailbox ;
101
+ rdfs:range xsd:dateTime ;
102
+ core:label "has last used time of mailbox"@en ;
103
+ core:definition "The time of the last send that a mailbox made. It is empty until the first send."@en ;
104
+ core:hint "When this mailbox last sent an email."@en ;
105
+ core:source "docs/specs/email/docs/internal/decisions/0015-mailbox-cause.md#Decision" ;
106
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
107
+ core:owner core:email ;
108
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
109
+
110
+ # Messages.
111
+
112
+ email:message a owl:Class ;
113
+ rdfs:subClassOf core:entity ;
114
+ core:retention "P0D" ;
115
+ core:retention-clock core-vocab:retention-clock-since-closed ;
116
+ core:controller-role core-vocab:controller-role-processor ;
117
+ core:label "message of email"@en ;
118
+ core:definition "One email that `email` sent from one mailbox to one person for one step"@en ;
119
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Messages" ;
120
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
121
+ core:owner core:email .
122
+ email:message-sent a owl:Class ;
123
+ rdfs:subClassOf core:event ;
124
+ core:retention "P3D" ;
125
+ core:retention-clock core-vocab:retention-clock-since-created ;
126
+ core:controller-role core-vocab:controller-role-processor ;
127
+ core:label "message sent"@en ;
128
+ core:definition "The webhook of `email` for a message that it sent to one lead record. `desk` writes the subject and the direction on the timeline in `crm`."@en ;
129
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
130
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
131
+ core:owner core:email ;
132
+ core:has-contract true .
133
+ email:reply-received a owl:Class ;
134
+ rdfs:subClassOf core:event ;
135
+ core:retention "P3D" ;
136
+ core:retention-clock core-vocab:retention-clock-since-created ;
137
+ core:controller-role core-vocab:controller-role-processor ;
138
+ core:label "reply received"@en ;
139
+ core:definition "The webhook of `email` for a reply that it received for one lead record. `desk` writes the reply with its label on the timeline in `crm`."@en ;
140
+ core:source "docs/specs/email/docs/internal/decisions/0009-replies-and-labels.md#Decision" ;
141
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
142
+ core:owner core:email ;
143
+ core:has-contract true .
144
+ email:mailbox-status-changed a owl:Class ;
145
+ rdfs:subClassOf core:event ;
146
+ core:retention "P3D" ;
147
+ core:retention-clock core-vocab:retention-clock-since-created ;
148
+ core:controller-role core-vocab:controller-role-processor ;
149
+ core:label "mailbox status changed"@en ;
150
+ core:definition "The webhook of `email` for a change of the status of a mailbox that the system makes. `desk` opens a notice for the teammate when the mailbox is `disconnected`, and closes it when the mailbox is `active`."@en ;
151
+ core:source "docs/specs/email/docs/internal/decisions/0016-mailbox-status-webhook.md#Decision" ;
152
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
153
+ core:owner core:email ;
154
+ core:has-contract true .
155
+ email:from-mailbox a owl:ObjectProperty , owl:FunctionalProperty ;
156
+ rdfs:domain [ a owl:Class ; owl:unionOf ( email:message email:message-sent email:reply-received email:mailbox-status-changed ) ] ;
157
+ rdfs:range email:mailbox ;
158
+ core:label "from mailbox"@en ;
159
+ core:definition "The one mailbox that sent a message or got a reply."@en ;
160
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Messages" ;
161
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
162
+ core:owner core:email .
163
+
164
+ email:for-lead-record a owl:ObjectProperty , owl:FunctionalProperty ;
165
+ rdfs:domain [ a owl:Class ; owl:unionOf ( email:message-sent email:reply-received ) ] ;
166
+ rdfs:range core:entity ;
167
+ core:label "for lead record"@en ;
168
+ core:definition "The lead record of `crm` that got a message or a reply."@en ;
169
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
170
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
171
+ core:owner core:email ;
172
+ core:gdpr-category core-vocab:gdpr-category-pseudonymised ;
173
+ core:lawful-basis core-vocab:lawful-basis-legitimate-interests ;
174
+ core:review-status core-vocab:review-status-draft .
175
+
176
+ email:has-webhook-topic a owl:DatatypeProperty , owl:FunctionalProperty ;
177
+ rdfs:domain [ a owl:Class ; owl:unionOf ( email:message-sent email:reply-received email:mailbox-status-changed ) ] ;
178
+ rdfs:range xsd:string ;
179
+ core:label "has webhook topic of email"@en ;
180
+ core:definition "The topic of the webhook of a sent message, of a received reply or of a changed mailbox status: `message.sent`, `reply.received` or `mailbox.status-changed`."@en ;
181
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
182
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
183
+ core:owner core:email ;
184
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
185
+
186
+ email:has-message-subject a owl:DatatypeProperty , owl:FunctionalProperty ;
187
+ rdfs:domain [ a owl:Class ; owl:unionOf ( email:message-sent email:reply-received ) ] ;
188
+ rdfs:range xsd:string ;
189
+ core:label "has message subject"@en ;
190
+ core:definition "The subject of a sent message or of a reply."@en ;
191
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
192
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
193
+ core:owner core:email ;
194
+ core:gdpr-category core-vocab:gdpr-category-personal ;
195
+ core:lawful-basis core-vocab:lawful-basis-legitimate-interests ;
196
+ core:review-status core-vocab:review-status-draft .
197
+
198
+ email:from-address a owl:DatatypeProperty , owl:FunctionalProperty ;
199
+ rdfs:domain [ a owl:Class ; owl:unionOf ( email:message-sent email:reply-received ) ] ;
200
+ rdfs:range xsd:string ;
201
+ core:label "from address"@en ;
202
+ core:definition "The address in the `from` field of a message or of a reply."@en ;
203
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
204
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
205
+ core:owner core:email ;
206
+ core:gdpr-category core-vocab:gdpr-category-personal ;
207
+ core:lawful-basis core-vocab:lawful-basis-legitimate-interests ;
208
+ core:review-status core-vocab:review-status-draft .
209
+
210
+ email:to-address a owl:DatatypeProperty , owl:FunctionalProperty ;
211
+ rdfs:domain [ a owl:Class ; owl:unionOf ( email:message-sent email:reply-received ) ] ;
212
+ rdfs:range xsd:string ;
213
+ core:label "to address"@en ;
214
+ core:definition "The address in the `to` field of a message or of a reply."@en ;
215
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
216
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
217
+ core:owner core:email ;
218
+ core:gdpr-category core-vocab:gdpr-category-personal ;
219
+ core:lawful-basis core-vocab:lawful-basis-legitimate-interests ;
220
+ core:review-status core-vocab:review-status-draft .
221
+
222
+ email:has-message-direction a owl:DatatypeProperty , owl:FunctionalProperty ;
223
+ rdfs:domain email:message-sent ;
224
+ rdfs:range xsd:string ;
225
+ core:label "has message direction"@en ;
226
+ core:definition "The direction of the message: `sent`."@en ;
227
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
228
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
229
+ core:owner core:email ;
230
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
231
+
232
+ email:message-sent-at a owl:DatatypeProperty , owl:FunctionalProperty ;
233
+ rdfs:domain email:message-sent ;
234
+ rdfs:range xsd:dateTime ;
235
+ core:label "message sent at"@en ;
236
+ core:definition "The time at which `email` sent the message."@en ;
237
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
238
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
239
+ core:owner core:email ;
240
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
241
+
242
+ email:has-mailbox-message-id a owl:DatatypeProperty , owl:FunctionalProperty ;
243
+ rdfs:domain [ a owl:Class ; owl:unionOf ( email:message-sent email:reply-received ) ] ;
244
+ rdfs:range xsd:string ;
245
+ core:label "has mailbox message id"@en ;
246
+ core:definition "The opaque id of a message or of a reply in the mailbox port."@en ;
247
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
248
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
249
+ core:owner core:email ;
250
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
251
+
252
+ email:has-text a owl:DatatypeProperty , owl:FunctionalProperty ;
253
+ rdfs:domain email:reply-received ;
254
+ rdfs:range xsd:string ;
255
+ core:label "has text of reply"@en ;
256
+ core:definition "The text of a reply that `email` received."@en ;
257
+ core:source "docs/specs/email/docs/internal/decisions/0009-replies-and-labels.md#Decision" ;
258
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
259
+ core:owner core:email ;
260
+ core:gdpr-category core-vocab:gdpr-category-personal ;
261
+ core:lawful-basis core-vocab:lawful-basis-legitimate-interests ;
262
+ core:review-status core-vocab:review-status-draft .
263
+
264
+ email:received-at a owl:DatatypeProperty , owl:FunctionalProperty ;
265
+ rdfs:domain email:reply-received ;
266
+ rdfs:range xsd:dateTime ;
267
+ core:label "received at of email"@en ;
268
+ core:definition "The time at which the mailbox got a reply."@en ;
269
+ core:source "docs/specs/email/docs/internal/decisions/0009-replies-and-labels.md#Decision" ;
270
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
271
+ core:owner core:email ;
272
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
273
+
274
+ email:has-webhook-body a owl:DatatypeProperty , owl:FunctionalProperty ;
275
+ rdfs:domain email:message-sent ;
276
+ rdfs:range xsd:string ;
277
+ core:label "has webhook body"@en ;
278
+ core:definition "The body of the webhook, as JSON, that `email` keeps until `desk` accepts it."@en ;
279
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
280
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
281
+ core:owner core:email ;
282
+ core:gdpr-category core-vocab:gdpr-category-personal ;
283
+ core:lawful-basis core-vocab:lawful-basis-legitimate-interests ;
284
+ core:review-status core-vocab:review-status-draft .
285
+
286
+ # Connections, threads, replies and calendar events.
287
+
288
+ email:connection a owl:Class ;
289
+ rdfs:subClassOf core:entity ;
290
+ core:retention "P0D" ;
291
+ core:retention-clock core-vocab:retention-clock-since-closed ;
292
+ core:controller-role core-vocab:controller-role-processor ;
293
+ core:label "connection"@en ;
294
+ core:definition "The OAuth grant of one teammate to `email` for one mailbox of kind `connected`, with the mail scope and the calendar scope"@en ;
295
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Mailboxes and domains" ;
296
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
297
+ core:owner core:email .
298
+
299
+ email:connect-attempt a owl:Class ;
300
+ rdfs:subClassOf core:entity ;
301
+ core:retention "P0D" ;
302
+ core:retention-clock core-vocab:retention-clock-since-closed ;
303
+ core:controller-role core-vocab:controller-role-processor ;
304
+ core:label "connect attempt"@en ;
305
+ core:definition "The start of one connection by one teammate. It has a `state` value that works one time, and it ends 10 minutes after its start."@en ;
306
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Mailboxes and domains" ;
307
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
308
+ core:owner core:email .
309
+
310
+ email:answer a owl:Class ;
311
+ rdfs:subClassOf core:entity ;
312
+ core:retention "P3D" ;
313
+ core:retention-clock core-vocab:retention-clock-since-created ;
314
+ core:controller-role core-vocab:controller-role-processor ;
315
+ core:label "answer"@en ;
316
+ core:definition "The `erasure.completed` or `export.completed` body that `email` keeps until `desk` takes it. It holds no identifier value. `email` drops it after 72 hours."@en ;
317
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
318
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
319
+ core:owner core:email .
320
+
321
+ email:unit-cost a owl:Class ;
322
+ rdfs:subClassOf core:entity ;
323
+ core:label "unit cost of email"@en ;
324
+ core:definition "The cost in micro-USD of one billable action of `email`, for example one send of a mailbox. `billing` adds the rate."@en ;
325
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
326
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
327
+ core:owner core:email .
328
+
329
+ email:standing-hold a owl:Class ;
330
+ rdfs:subClassOf core:entity ;
331
+ core:label "standing hold of email"@en ;
332
+ core:definition "The open standing hold of `billing` for one workspace and the charge origin `channel`, with the cost that `email` reported and has not settled yet. It also keeps the time of the last refusal."@en ;
333
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
334
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
335
+ core:owner core:email .
336
+
337
+ email:thread a owl:Class ;
338
+ rdfs:subClassOf core:entity ;
339
+ core:retention "P0D" ;
340
+ core:retention-clock core-vocab:retention-clock-since-closed ;
341
+ core:controller-role core-vocab:controller-role-processor ;
342
+ core:label "thread of email"@en ;
343
+ core:definition "The messages and the replies of one enrollment in one mailbox"@en ;
344
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Messages" ;
345
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
346
+ core:owner core:email .
347
+
348
+ email:reply a owl:Class ;
349
+ rdfs:subClassOf core:entity ;
350
+ core:retention "P0D" ;
351
+ core:retention-clock core-vocab:retention-clock-since-closed ;
352
+ core:controller-role core-vocab:controller-role-processor ;
353
+ core:label "reply of email"@en ;
354
+ core:definition "One email from a person to a mailbox in a thread"@en ;
355
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Messages" ;
356
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
357
+ core:owner core:email .
358
+
359
+ email:calendar-event a owl:Class ;
360
+ rdfs:subClassOf core:entity ;
361
+ core:retention "P0D" ;
362
+ core:retention-clock core-vocab:retention-clock-since-closed ;
363
+ core:controller-role core-vocab:controller-role-processor ;
364
+ core:label "calendar event"@en ;
365
+ core:definition "An event in the calendar of a connection. A meeting on the timeline in `crm` has one calendar event."@en ;
366
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Messages" ;
367
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
368
+ core:owner core:email .
369
+
370
+ email:of-mailbox a owl:ObjectProperty , owl:FunctionalProperty ;
371
+ rdfs:domain email:connection ;
372
+ rdfs:range email:mailbox ;
373
+ core:label "of mailbox"@en ;
374
+ core:definition "The one mailbox of a connection."@en ;
375
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Mailboxes and domains" ;
376
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
377
+ core:owner core:email .
378
+
379
+ email:of-connection a owl:ObjectProperty , owl:FunctionalProperty ;
380
+ rdfs:domain email:calendar-event ;
381
+ rdfs:range email:connection ;
382
+ core:label "of connection"@en ;
383
+ core:definition "The connection whose calendar holds an event."@en ;
384
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Messages" ;
385
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
386
+ core:owner core:email .
387
+
388
+ email:in-thread a owl:ObjectProperty , owl:FunctionalProperty ;
389
+ rdfs:domain [ a owl:Class ; owl:unionOf ( email:message email:message-sent email:reply email:reply-received ) ] ;
390
+ rdfs:range email:thread ;
391
+ core:label "in thread of email"@en ;
392
+ core:definition "The thread of a message or of a reply."@en ;
393
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Messages" ;
394
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
395
+ core:owner core:email .
396
+
397
+ email:has-reply-label a owl:ObjectProperty , owl:FunctionalProperty ;
398
+ rdfs:domain [ a owl:Class ; owl:unionOf ( email:reply email:reply-received ) ] ;
399
+ rdfs:range core:concept ;
400
+ core:label "has reply label"@en ;
401
+ core:definition "The one reply label of a reply or of its webhook, from the scheme of reply labels of `kai-agent`."@en ;
402
+ core:hint "The meaning that Koa gave to this reply."@en ;
403
+ core:source "docs/specs/email/docs/internal/decisions/0009-replies-and-labels.md#Decision" ;
404
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
405
+ core:owner core:email .
406
+
407
+ email:in-mailbox a owl:ObjectProperty , owl:FunctionalProperty ;
408
+ rdfs:domain email:thread ;
409
+ rdfs:range email:mailbox ;
410
+ core:label "in mailbox"@en ;
411
+ core:definition "The one mailbox of a thread."@en ;
412
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Messages" ;
413
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
414
+ core:owner core:email .
415
+
416
+ email:for-enrollment a owl:ObjectProperty , owl:FunctionalProperty ;
417
+ rdfs:domain email:thread ;
418
+ rdfs:range campaigns:enrollment ;
419
+ core:label "for enrollment"@en ;
420
+ core:definition "The one enrollment of a thread."@en ;
421
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Messages" ;
422
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
423
+ core:owner core:email .
424
+
425
+ email:expires-at a owl:DatatypeProperty , owl:FunctionalProperty ;
426
+ rdfs:domain [ a owl:Class ; owl:unionOf ( email:connect-attempt email:standing-hold ) ] ;
427
+ rdfs:range xsd:dateTime ;
428
+ core:label "expires at of email"@en ;
429
+ core:definition "The time at which a connect attempt or a standing hold ends. A connect attempt ends 10 minutes after its start. A standing hold ends at the end of its day in UTC, as `billing` limits it."@en ;
430
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Mailboxes and domains" ;
431
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
432
+ core:owner core:email ;
433
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
434
+
435
+ email:has-purchase-cost a owl:DatatypeProperty , owl:FunctionalProperty ;
436
+ rdfs:domain email:sending-domain ;
437
+ rdfs:range xsd:long ;
438
+ core:label "purchase cost"@en ;
439
+ core:definition "The cost of a vendor to buy one `sending-domain`, one time, in micro-USD."@en ;
440
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Costs" ;
441
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
442
+ core:owner core:email ;
443
+ core:unit core-vocab:unit-micro-usd ;
444
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
445
+
446
+ email:for-action a owl:ObjectProperty , owl:FunctionalProperty ;
447
+ rdfs:domain email:unit-cost ;
448
+ rdfs:range core:concept ;
449
+ core:label "for billable action"@en ;
450
+ core:definition "The billable action that a unit cost of `email` prices, from the scheme of billable actions of a channel account."@en ;
451
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
452
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
453
+ core:owner core:email ;
454
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
455
+
456
+ email:has-hold-id a owl:DatatypeProperty , owl:FunctionalProperty ;
457
+ rdfs:domain email:standing-hold ;
458
+ rdfs:range xsd:string ;
459
+ core:label "has hold id"@en ;
460
+ core:definition "The id of the standing hold in `billing`."@en ;
461
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
462
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
463
+ core:owner core:email ;
464
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
465
+
466
+ email:refused-at a owl:DatatypeProperty , owl:FunctionalProperty ;
467
+ rdfs:domain email:standing-hold ;
468
+ rdfs:range xsd:dateTime ;
469
+ core:label "refused at"@en ;
470
+ core:definition "The time when `billing` last refused a standing hold for the workspace."@en ;
471
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
472
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
473
+ core:owner core:email ;
474
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
475
+
476
+ email:for-request a owl:DatatypeProperty , owl:FunctionalProperty ;
477
+ rdfs:domain email:answer ;
478
+ rdfs:range xsd:string ;
479
+ core:label "answer for request"@en ;
480
+ core:definition "The id of the request that an answer replies to. It is the id of the message `subject.forgotten` or `subject.export-requested`."@en ;
481
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
482
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
483
+ core:owner core:email ;
484
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
485
+
486
+ email:of-topic a owl:DatatypeProperty , owl:FunctionalProperty ;
487
+ rdfs:domain email:answer ;
488
+ rdfs:range xsd:string ;
489
+ core:label "of topic"@en ;
490
+ core:definition "The topic of an answer: `erasure.completed` or `export.completed`."@en ;
491
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
492
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
493
+ core:owner core:email ;
494
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
495
+
496
+ email:has-part-number a owl:DatatypeProperty , owl:FunctionalProperty ;
497
+ rdfs:domain email:answer ;
498
+ rdfs:range xsd:integer ;
499
+ core:label "has part number"@en ;
500
+ core:definition "The place of an answer body in its export, counted from 1. An erasure answer has the number 1."@en ;
501
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
502
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
503
+ core:owner core:email ;
504
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
505
+
506
+ email:has-body a owl:DatatypeProperty , owl:FunctionalProperty ;
507
+ rdfs:domain email:answer ;
508
+ rdfs:range xsd:string ;
509
+ core:label "answer body"@en ;
510
+ core:definition "The JSON body that `email` sends to `desk` for an answer."@en ;
511
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
512
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
513
+ core:owner core:email ;
514
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
515
+
516
+ email:has-tries a owl:DatatypeProperty , owl:FunctionalProperty ;
517
+ rdfs:domain email:answer ;
518
+ rdfs:range xsd:integer ;
519
+ core:label "has tries"@en ;
520
+ core:definition "The number of sends of an answer that `desk` did not take."@en ;
521
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
522
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
523
+ core:owner core:email ;
524
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
525
+
526
+ email:retries-at a owl:DatatypeProperty , owl:FunctionalProperty ;
527
+ rdfs:domain email:answer ;
528
+ rdfs:range xsd:dateTime ;
529
+ core:label "retries at"@en ;
530
+ core:definition "The time of the next send of an answer to `desk`."@en ;
531
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
532
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
533
+ core:owner core:email ;
534
+ core:gdpr-category core-vocab:gdpr-category-non-personal .
535
+
536
+ email:has-address a owl:DatatypeProperty, owl:FunctionalProperty ;
537
+ rdfs:domain email:mailbox ;
538
+ rdfs:range xsd:string ;
539
+ core:label "has address"@en ;
540
+ core:definition "The email address of a mailbox. It is unique among the mailboxes that are not `released`."@en ;
541
+ core:source "docs/specs/email/docs/internal/decisions/0003-concepts.md#Mailboxes and domains" ;
542
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
543
+ core:owner core:email ;
544
+ core:gdpr-category core-vocab:gdpr-category-personal ;
545
+ core:lawful-basis core-vocab:lawful-basis-legitimate-interests ;
546
+ core:review-status core-vocab:review-status-draft .
547
+
548
+ email:schema-email a owl:NamedIndividual , core:database-schema ;
549
+ core:has-name "email" ;
550
+ core:label "email schema"@en ;
551
+ core:definition "The Postgres schema of `email` that holds the sending domains, the mailboxes, the connections, the connect attempts, the answers, the messages, the notices, the outbox, the step calls, the unit costs and the standing holds."@en ;
552
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
553
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
554
+ core:owner core:email .
555
+
556
+ email:table-email-sending-domains a owl:NamedIndividual , core:table ;
557
+ core:in-database-schema email:schema-email ;
558
+ core:has-name "sending_domains" ;
559
+ core:has-row-class email:sending-domain ;
560
+ core:label "email.sending_domains"@en ;
561
+ core:definition "The table of the sending domains of `email`: one row for each `sending-domain`."@en ;
562
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
563
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
564
+ core:owner core:email .
565
+
566
+ email:table-email-mailboxes a owl:NamedIndividual , core:table ;
567
+ core:in-database-schema email:schema-email ;
568
+ core:has-name "mailboxes" ;
569
+ core:has-row-class email:mailbox ;
570
+ core:label "email.mailboxes"@en ;
571
+ core:definition "The table of the mailboxes of `email`: one row for each mailbox."@en ;
572
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
573
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
574
+ core:owner core:email .
575
+
576
+ email:table-email-connections a owl:NamedIndividual , core:table ;
577
+ core:in-database-schema email:schema-email ;
578
+ core:has-name "connections" ;
579
+ core:has-row-class email:connection ;
580
+ core:label "email.connections"@en ;
581
+ core:definition "The table of the connections of `email`: one row for each mailbox of kind `connected` or `dedicated`, with its secret."@en ;
582
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
583
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
584
+ core:owner core:email .
585
+
586
+ email:table-email-connect-attempts a owl:NamedIndividual , core:table ;
587
+ core:in-database-schema email:schema-email ;
588
+ core:has-name "connect_attempts" ;
589
+ core:has-row-class email:connect-attempt ;
590
+ core:label "email.connect_attempts"@en ;
591
+ core:definition "The table of the connect attempts of `email`: one row for each start of a connection."@en ;
592
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
593
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
594
+ core:owner core:email .
595
+
596
+ email:table-email-answers a owl:NamedIndividual , core:table ;
597
+ core:in-database-schema email:schema-email ;
598
+ core:has-name "answers" ;
599
+ core:has-row-class email:answer ;
600
+ core:label "email.answers"@en ;
601
+ core:definition "The table of the answers of `email` to `desk` that wait for a send: one row for each workspace, request, topic and part."@en ;
602
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
603
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
604
+ core:owner core:email .
605
+
606
+ email:column-sending-domains-id a owl:NamedIndividual , core:column ;
607
+ core:of-table email:table-email-sending-domains ;
608
+ core:has-name "id" ;
609
+ core:stores-property core:id ;
610
+ core:in-primary-key true ;
611
+ core:label "email.sending_domains.id"@en ;
612
+ core:definition "The id of the sending domain."@en ;
613
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
614
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
615
+ core:owner core:email .
616
+
617
+ email:column-sending-domains-workspace a owl:NamedIndividual , core:column ;
618
+ core:of-table email:table-email-sending-domains ;
619
+ core:has-name "workspace" ;
620
+ core:stores-property core:in-workspace ;
621
+ core:label "email.sending_domains.workspace"@en ;
622
+ core:definition "The workspace of the sending domain."@en ;
623
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
624
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
625
+ core:owner core:email .
626
+
627
+ email:column-sending-domains-name a owl:NamedIndividual , core:column ;
628
+ core:of-table email:table-email-sending-domains ;
629
+ core:has-name "name" ;
630
+ core:stores-property core:has-name ;
631
+ core:label "email.sending_domains.name"@en ;
632
+ core:definition "The domain name of the sending domain."@en ;
633
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
634
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
635
+ core:owner core:email .
636
+
637
+ email:column-sending-domains-status a owl:NamedIndividual , core:column ;
638
+ core:of-table email:table-email-sending-domains ;
639
+ core:has-name "status" ;
640
+ core:stores-property core:has-status ;
641
+ core:label "email.sending_domains.status"@en ;
642
+ core:definition "The status of the sending domain."@en ;
643
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
644
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
645
+ core:owner core:email .
646
+
647
+ email:column-sending-domains-pause-reason a owl:NamedIndividual , core:column ;
648
+ core:of-table email:table-email-sending-domains ;
649
+ core:has-name "pause_reason" ;
650
+ core:stores-property campaigns:has-account-pause-reason ;
651
+ core:label "email.sending_domains.pause_reason"@en ;
652
+ core:definition "The pause reason of the sending domain. It is empty unless the status is `paused`."@en ;
653
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
654
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
655
+ core:owner core:email .
656
+
657
+ email:column-sending-domains-adapter a owl:NamedIndividual , core:column ;
658
+ core:of-table email:table-email-sending-domains ;
659
+ core:has-name "adapter" ;
660
+ core:not-modelled-reason "The adapter name selects an adapter of a port. It is not a domain term."@en ;
661
+ core:label "email.sending_domains.adapter"@en ;
662
+ core:definition "The name of the adapter of the mailbox provider port for the sending domain."@en ;
663
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
664
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
665
+ core:owner core:email .
666
+
667
+ email:column-sending-domains-created-at a owl:NamedIndividual , core:column ;
668
+ core:of-table email:table-email-sending-domains ;
669
+ core:has-name "created_at" ;
670
+ core:not-modelled-reason "The column is a bookkeeping time of the row. It is not a domain term."@en ;
671
+ core:label "email.sending_domains.created_at"@en ;
672
+ core:definition "The time when `email` wrote the sending domain."@en ;
673
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
674
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
675
+ core:owner core:email .
676
+
677
+ email:column-sending-domains-updated-at a owl:NamedIndividual , core:column ;
678
+ core:of-table email:table-email-sending-domains ;
679
+ core:has-name "updated_at" ;
680
+ core:not-modelled-reason "The column is a bookkeeping time of the row. It is not a domain term."@en ;
681
+ core:label "email.sending_domains.updated_at"@en ;
682
+ core:definition "The time of the last change of the sending domain."@en ;
683
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
684
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
685
+ core:owner core:email .
686
+
687
+ email:column-mailboxes-id a owl:NamedIndividual , core:column ;
688
+ core:of-table email:table-email-mailboxes ;
689
+ core:has-name "id" ;
690
+ core:stores-property core:id ;
691
+ core:in-primary-key true ;
692
+ core:label "email.mailboxes.id"@en ;
693
+ core:definition "The id of the mailbox."@en ;
694
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
695
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
696
+ core:owner core:email .
697
+
698
+ email:column-mailboxes-workspace a owl:NamedIndividual , core:column ;
699
+ core:of-table email:table-email-mailboxes ;
700
+ core:has-name "workspace" ;
701
+ core:stores-property core:in-workspace ;
702
+ core:label "email.mailboxes.workspace"@en ;
703
+ core:definition "The workspace of the mailbox."@en ;
704
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
705
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
706
+ core:owner core:email .
707
+
708
+ email:column-mailboxes-teammate-id a owl:NamedIndividual , core:column ;
709
+ core:of-table email:table-email-mailboxes ;
710
+ core:has-name "teammate_id" ;
711
+ core:stores-property desk:of-teammate ;
712
+ core:label "email.mailboxes.teammate_id"@en ;
713
+ core:definition "The id of the teammate of the mailbox."@en ;
714
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
715
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
716
+ core:owner core:email .
717
+
718
+ email:column-mailboxes-address a owl:NamedIndividual , core:column ;
719
+ core:of-table email:table-email-mailboxes ;
720
+ core:has-name "address" ;
721
+ core:stores-property email:has-address ;
722
+ core:label "email.mailboxes.address"@en ;
723
+ core:definition "The email address of the mailbox."@en ;
724
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
725
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
726
+ core:owner core:email .
727
+
728
+ email:column-mailboxes-kind a owl:NamedIndividual , core:column ;
729
+ core:of-table email:table-email-mailboxes ;
730
+ core:has-name "kind" ;
731
+ core:stores-property email:has-mailbox-kind ;
732
+ core:label "email.mailboxes.kind"@en ;
733
+ core:definition "The kind of the mailbox."@en ;
734
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
735
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
736
+ core:owner core:email .
737
+
738
+ email:column-mailboxes-status a owl:NamedIndividual , core:column ;
739
+ core:of-table email:table-email-mailboxes ;
740
+ core:has-name "status" ;
741
+ core:stores-property core:has-status ;
742
+ core:label "email.mailboxes.status"@en ;
743
+ core:definition "The status of the mailbox."@en ;
744
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
745
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
746
+ core:owner core:email .
747
+
748
+ email:column-mailboxes-pause-reason a owl:NamedIndividual , core:column ;
749
+ core:of-table email:table-email-mailboxes ;
750
+ core:has-name "pause_reason" ;
751
+ core:stores-property campaigns:has-account-pause-reason ;
752
+ core:label "email.mailboxes.pause_reason"@en ;
753
+ core:definition "The pause reason of the mailbox. It is empty unless the status is `paused`."@en ;
754
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
755
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
756
+ core:owner core:email .
757
+
758
+ email:column-mailboxes-daily-limit a owl:NamedIndividual , core:column ;
759
+ core:of-table email:table-email-mailboxes ;
760
+ core:has-name "daily_limit" ;
761
+ core:stores-property email:has-daily-limit ;
762
+ core:label "email.mailboxes.daily_limit"@en ;
763
+ core:definition "The maximum number of sends of the mailbox in one day."@en ;
764
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
765
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
766
+ core:owner core:email .
767
+
768
+ email:column-mailboxes-last-error a owl:NamedIndividual , core:column ;
769
+ core:of-table email:table-email-mailboxes ;
770
+ core:has-name "last_error" ;
771
+ core:stores-property email:has-last-error ;
772
+ core:label "email.mailboxes.last_error"@en ;
773
+ core:definition "The code of the failure that disconnected the mailbox. It is empty unless the status is `disconnected`."@en ;
774
+ core:source "docs/specs/email/docs/internal/decisions/0015-mailbox-cause.md#Decision" ;
775
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
776
+ core:owner core:email .
777
+
778
+ email:column-mailboxes-last-used-at a owl:NamedIndividual , core:column ;
779
+ core:of-table email:table-email-mailboxes ;
780
+ core:has-name "last_used_at" ;
781
+ core:stores-property email:has-last-used-at ;
782
+ core:label "email.mailboxes.last_used_at"@en ;
783
+ core:definition "The time of the last send that the mailbox made."@en ;
784
+ core:source "docs/specs/email/docs/internal/decisions/0015-mailbox-cause.md#Decision" ;
785
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
786
+ core:owner core:email .
787
+
788
+ email:column-mailboxes-adapter a owl:NamedIndividual , core:column ;
789
+ core:of-table email:table-email-mailboxes ;
790
+ core:has-name "adapter" ;
791
+ core:not-modelled-reason "The adapter name selects an adapter of a port. It is not a domain term."@en ;
792
+ core:label "email.mailboxes.adapter"@en ;
793
+ core:definition "The name of the adapter of the mailbox port for the mailbox."@en ;
794
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
795
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
796
+ core:owner core:email .
797
+
798
+ email:column-mailboxes-sending-domain-id a owl:NamedIndividual , core:column ;
799
+ core:of-table email:table-email-mailboxes ;
800
+ core:has-name "sending_domain_id" ;
801
+ core:stores-property email:on-sending-domain ;
802
+ core:label "email.mailboxes.sending_domain_id"@en ;
803
+ core:definition "The id of the sending domain of a mailbox of kind `dedicated`."@en ;
804
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
805
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
806
+ core:owner core:email .
807
+
808
+ email:column-mailboxes-created-at a owl:NamedIndividual , core:column ;
809
+ core:of-table email:table-email-mailboxes ;
810
+ core:has-name "created_at" ;
811
+ core:not-modelled-reason "The column is a bookkeeping time of the row. It is not a domain term."@en ;
812
+ core:label "email.mailboxes.created_at"@en ;
813
+ core:definition "The time when `email` wrote the mailbox."@en ;
814
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
815
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
816
+ core:owner core:email .
817
+
818
+ email:column-mailboxes-updated-at a owl:NamedIndividual , core:column ;
819
+ core:of-table email:table-email-mailboxes ;
820
+ core:has-name "updated_at" ;
821
+ core:not-modelled-reason "The column is a bookkeeping time of the row. It is not a domain term."@en ;
822
+ core:label "email.mailboxes.updated_at"@en ;
823
+ core:definition "The time of the last change of the mailbox."@en ;
824
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
825
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
826
+ core:owner core:email .
827
+
828
+ email:column-mailboxes-replies-cursor a owl:NamedIndividual , core:column ;
829
+ core:of-table email:table-email-mailboxes ;
830
+ core:has-name "replies_cursor" ;
831
+ core:not-modelled-reason "The cursor of the reply poll is work state, not a domain term."@en ;
832
+ core:label "email.mailboxes.replies_cursor"@en ;
833
+ core:definition "The position of the last reply that `email` read for the mailbox, as `email` 0009 item 9 tells."@en ;
834
+ core:source "docs/specs/email/docs/internal/decisions/0009-replies-and-labels.md#Decision" ;
835
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
836
+ core:owner core:email .
837
+
838
+ email:column-connections-mailbox-id a owl:NamedIndividual , core:column ;
839
+ core:of-table email:table-email-connections ;
840
+ core:has-name "mailbox_id" ;
841
+ core:stores-property email:of-mailbox ;
842
+ core:in-primary-key true ;
843
+ core:label "email.connections.mailbox_id"@en ;
844
+ core:definition "The id of the mailbox of the connection."@en ;
845
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
846
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
847
+ core:owner core:email .
848
+
849
+ email:column-connections-secret a owl:NamedIndividual , core:column ;
850
+ core:of-table email:table-email-connections ;
851
+ core:has-name "secret" ;
852
+ core:not-modelled-reason "The token is a secret. It is not a domain term."@en ;
853
+ core:label "email.connections.secret"@en ;
854
+ core:definition "The secret of the mailbox of the connection, encrypted: the refresh token of a mailbox of kind `connected`, or the password of a mailbox of kind `dedicated`."@en ;
855
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
856
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
857
+ core:owner core:email .
858
+
859
+ email:column-connections-created-at a owl:NamedIndividual , core:column ;
860
+ core:of-table email:table-email-connections ;
861
+ core:has-name "created_at" ;
862
+ core:not-modelled-reason "The column is a bookkeeping time of the row. It is not a domain term."@en ;
863
+ core:label "email.connections.created_at"@en ;
864
+ core:definition "The time when `email` wrote the connection."@en ;
865
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
866
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
867
+ core:owner core:email .
868
+
869
+ email:column-connect-attempts-state a owl:NamedIndividual , core:column ;
870
+ core:of-table email:table-email-connect-attempts ;
871
+ core:has-name "state" ;
872
+ core:not-modelled-reason "The value is a one-time token of the OAuth flow. It is not a domain term."@en ;
873
+ core:in-primary-key true ;
874
+ core:label "email.connect_attempts.state"@en ;
875
+ core:definition "The one-time `state` value of the attempt. It is the primary key."@en ;
876
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
877
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
878
+ core:owner core:email .
879
+
880
+ email:column-connect-attempts-workspace a owl:NamedIndividual , core:column ;
881
+ core:of-table email:table-email-connect-attempts ;
882
+ core:has-name "workspace" ;
883
+ core:stores-property core:in-workspace ;
884
+ core:label "email.connect_attempts.workspace"@en ;
885
+ core:definition "The workspace of the connect attempt."@en ;
886
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
887
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
888
+ core:owner core:email .
889
+
890
+ email:column-connect-attempts-teammate-id a owl:NamedIndividual , core:column ;
891
+ core:of-table email:table-email-connect-attempts ;
892
+ core:has-name "teammate_id" ;
893
+ core:stores-property desk:of-teammate ;
894
+ core:label "email.connect_attempts.teammate_id"@en ;
895
+ core:definition "The id of the teammate who started the connect attempt."@en ;
896
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
897
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
898
+ core:owner core:email .
899
+
900
+ email:column-connect-attempts-expires-at a owl:NamedIndividual , core:column ;
901
+ core:of-table email:table-email-connect-attempts ;
902
+ core:has-name "expires_at" ;
903
+ core:stores-property email:expires-at ;
904
+ core:label "email.connect_attempts.expires_at"@en ;
905
+ core:definition "The time when the connect attempt ends."@en ;
906
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
907
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
908
+ core:owner core:email .
909
+
910
+ email:column-connect-attempts-created-at a owl:NamedIndividual , core:column ;
911
+ core:of-table email:table-email-connect-attempts ;
912
+ core:has-name "created_at" ;
913
+ core:not-modelled-reason "The column is a bookkeeping time of the row. It is not a domain term."@en ;
914
+ core:label "email.connect_attempts.created_at"@en ;
915
+ core:definition "The time when `email` wrote the connect attempt."@en ;
916
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
917
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
918
+ core:owner core:email .
919
+
920
+ email:column-connect-attempts-address a owl:NamedIndividual , core:column ;
921
+ core:of-table email:table-email-connect-attempts ;
922
+ core:has-name "address" ;
923
+ core:not-modelled-reason "The address that the teammate typed to connect. The attempt is a work state of the sign-in flow, not a mailbox yet, so the address is no `email:has-address` of a mailbox. It is empty for a connect of a new mailbox of the vendor."@en ;
924
+ core:label "email.connect_attempts.address"@en ;
925
+ core:definition "The email address that the teammate typed to connect, when the attempt names one."@en ;
926
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
927
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
928
+ core:owner core:email .
929
+
930
+ email:column-connect-attempts-secret a owl:NamedIndividual , core:column ;
931
+ core:of-table email:table-email-connect-attempts ;
932
+ core:has-name "secret" ;
933
+ core:not-modelled-reason "The sealed secret of the mailbox that the attempt connects. It is a secret of the sign-in flow, and the row is a work state, so the model has no term for it, as for the secret of a connection."@en ;
934
+ core:label "email.connect_attempts.secret"@en ;
935
+ core:definition "The secret that the connect attempt keeps for the mailbox, sealed, until the attempt finishes."@en ;
936
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
937
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
938
+ core:owner core:email .
939
+
940
+ email:column-answers-id a owl:NamedIndividual , core:column ;
941
+ core:of-table email:table-email-answers ;
942
+ core:has-name "id" ;
943
+ core:stores-property core:id ;
944
+ core:in-primary-key true ;
945
+ core:label "email.answers.id"@en ;
946
+ core:definition "The id of the answer, which is the id of its webhook body."@en ;
947
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
948
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
949
+ core:owner core:email .
950
+
951
+ email:column-answers-workspace a owl:NamedIndividual , core:column ;
952
+ core:of-table email:table-email-answers ;
953
+ core:has-name "workspace" ;
954
+ core:stores-property core:in-workspace ;
955
+ core:label "email.answers.workspace"@en ;
956
+ core:definition "The workspace of the request that the answer replies to."@en ;
957
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
958
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
959
+ core:owner core:email .
960
+
961
+ email:column-answers-request a owl:NamedIndividual , core:column ;
962
+ core:of-table email:table-email-answers ;
963
+ core:has-name "request" ;
964
+ core:stores-property email:for-request ;
965
+ core:label "email.answers.request"@en ;
966
+ core:definition "The id of the request that the answer replies to."@en ;
967
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
968
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
969
+ core:owner core:email .
970
+
971
+ email:column-answers-topic a owl:NamedIndividual , core:column ;
972
+ core:of-table email:table-email-answers ;
973
+ core:has-name "topic" ;
974
+ core:stores-property email:of-topic ;
975
+ core:label "email.answers.topic"@en ;
976
+ core:definition "The topic of an answer that `email` keeps: `erasure.completed` or `export.completed`."@en ;
977
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
978
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
979
+ core:owner core:email .
980
+
981
+ email:column-answers-part a owl:NamedIndividual , core:column ;
982
+ core:of-table email:table-email-answers ;
983
+ core:has-name "part" ;
984
+ core:stores-property email:has-part-number ;
985
+ core:label "email.answers.part"@en ;
986
+ core:definition "The part number of the answer. The key of an answer is the workspace, the request, the topic and the part."@en ;
987
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
988
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
989
+ core:owner core:email .
990
+
991
+ email:column-answers-payload a owl:NamedIndividual , core:column ;
992
+ core:of-table email:table-email-answers ;
993
+ core:has-name "payload" ;
994
+ core:stores-property email:has-body ;
995
+ core:label "email.answers.payload"@en ;
996
+ core:definition "The JSON body that `email` signs and sends to `desk`."@en ;
997
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
998
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
999
+ core:owner core:email .
1000
+
1001
+ email:column-answers-attempts a owl:NamedIndividual , core:column ;
1002
+ core:of-table email:table-email-answers ;
1003
+ core:has-name "attempts" ;
1004
+ core:stores-property email:has-tries ;
1005
+ core:label "email.answers.attempts"@en ;
1006
+ core:definition "The count of sends that `desk` did not take."@en ;
1007
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1008
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1009
+ core:owner core:email .
1010
+
1011
+ email:column-answers-next-at a owl:NamedIndividual , core:column ;
1012
+ core:of-table email:table-email-answers ;
1013
+ core:has-name "next_at" ;
1014
+ core:stores-property email:retries-at ;
1015
+ core:label "email.answers.next_at"@en ;
1016
+ core:definition "The time at which the drain sends the answer next."@en ;
1017
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1018
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1019
+ core:owner core:email .
1020
+
1021
+ email:column-answers-created-at a owl:NamedIndividual , core:column ;
1022
+ core:of-table email:table-email-answers ;
1023
+ core:has-name "created_at" ;
1024
+ core:stores-property core:generated-at ;
1025
+ core:label "email.answers.created_at"@en ;
1026
+ core:definition "The time when `email` wrote the answer. The window of 72 hours counts from it."@en ;
1027
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1028
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1029
+ core:owner core:email .
1030
+
1031
+
1032
+ email:table-email-step-calls a owl:NamedIndividual , core:table ;
1033
+ core:in-database-schema email:schema-email ;
1034
+ core:has-name "step_calls" ;
1035
+ core:has-row-class campaigns:step-call ;
1036
+ core:label "email.step_calls"@en ;
1037
+ core:definition "The table of the step calls of `email`: one row for each answer to one step call of `outreach`, with the sender and the time."@en ;
1038
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
1039
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1040
+ core:owner core:email .
1041
+
1042
+ email:column-step-calls-id a owl:NamedIndividual , core:column ;
1043
+ core:of-table email:table-email-step-calls ;
1044
+ core:has-name "id" ;
1045
+ core:stores-property core:id ;
1046
+ core:in-primary-key true ;
1047
+ core:label "email.step_calls.id"@en ;
1048
+ core:definition "The id of the step call answer."@en ;
1049
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
1050
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1051
+ core:owner core:email .
1052
+
1053
+ email:column-step-calls-workspace a owl:NamedIndividual , core:column ;
1054
+ core:of-table email:table-email-step-calls ;
1055
+ core:has-name "workspace" ;
1056
+ core:stores-property core:in-workspace ;
1057
+ core:label "email.step_calls.workspace"@en ;
1058
+ core:definition "The workspace of the answer of `email` to the step call."@en ;
1059
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
1060
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1061
+ core:owner core:email .
1062
+
1063
+ email:column-step-calls-enrollment-id a owl:NamedIndividual , core:column ;
1064
+ core:of-table email:table-email-step-calls ;
1065
+ core:has-name "enrollment_id" ;
1066
+ core:stores-property campaigns:in-enrollment ;
1067
+ core:label "email.step_calls.enrollment_id"@en ;
1068
+ core:definition "The id of the enrollment of the answer of `email` to the step call."@en ;
1069
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
1070
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1071
+ core:owner core:email .
1072
+
1073
+ email:column-step-calls-step-id a owl:NamedIndividual , core:column ;
1074
+ core:of-table email:table-email-step-calls ;
1075
+ core:has-name "step_id" ;
1076
+ core:stores-property campaigns:for-step ;
1077
+ core:label "email.step_calls.step_id"@en ;
1078
+ core:definition "The id of the step of the answer of `email` to the step call."@en ;
1079
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
1080
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1081
+ core:owner core:email .
1082
+
1083
+ email:column-step-calls-attempt a owl:NamedIndividual , core:column ;
1084
+ core:of-table email:table-email-step-calls ;
1085
+ core:has-name "attempt" ;
1086
+ core:stores-property campaigns:has-attempt ;
1087
+ core:label "email.step_calls.attempt"@en ;
1088
+ core:definition "The attempt number of the answer of `email` to the step call, from 1."@en ;
1089
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
1090
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1091
+ core:owner core:email .
1092
+
1093
+ email:column-step-calls-sender-id a owl:NamedIndividual , core:column ;
1094
+ core:of-table email:table-email-step-calls ;
1095
+ core:has-name "sender_id" ;
1096
+ core:stores-property campaigns:from-sender ;
1097
+ core:label "email.step_calls.sender_id"@en ;
1098
+ core:definition "The opaque id of the mailbox that sends the step call."@en ;
1099
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
1100
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1101
+ core:owner core:email .
1102
+
1103
+ email:column-step-calls-answer a owl:NamedIndividual , core:column ;
1104
+ core:of-table email:table-email-step-calls ;
1105
+ core:has-name "answer" ;
1106
+ core:stores-property campaigns:has-answer ;
1107
+ core:label "email.step_calls.answer"@en ;
1108
+ core:definition "The answer of `email` to the step call."@en ;
1109
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
1110
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1111
+ core:owner core:email .
1112
+
1113
+ email:column-step-calls-created-at a owl:NamedIndividual , core:column ;
1114
+ core:of-table email:table-email-step-calls ;
1115
+ core:has-name "created_at" ;
1116
+ core:stores-property core:generated-at ;
1117
+ core:label "email.step_calls.created_at"@en ;
1118
+ core:definition "The time when `email` answered the step call. The daily limit counts the accepted sends from this time."@en ;
1119
+ core:source "docs/specs/email/docs/internal/decisions/0008-sends-and-events.md#Decision" ;
1120
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1121
+ core:owner core:email .
1122
+
1123
+ email:table-email-unit-costs a owl:NamedIndividual , core:table ;
1124
+ core:in-database-schema email:schema-email ;
1125
+ core:has-name "unit_costs" ;
1126
+ core:has-row-class email:unit-cost ;
1127
+ core:label "email.unit_costs"@en ;
1128
+ core:definition "The table of the unit costs of `email`: one row for each billable action."@en ;
1129
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1130
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1131
+ core:owner core:email .
1132
+
1133
+ email:column-unit-costs-action a owl:NamedIndividual , core:column ;
1134
+ core:of-table email:table-email-unit-costs ;
1135
+ core:has-name "action" ;
1136
+ core:stores-property email:for-action ;
1137
+ core:in-primary-key true ;
1138
+ core:label "email.unit_costs.action"@en ;
1139
+ core:definition "The billable action of the unit cost."@en ;
1140
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1141
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1142
+ core:owner core:email .
1143
+
1144
+ email:column-unit-costs-cost a owl:NamedIndividual , core:column ;
1145
+ core:of-table email:table-email-unit-costs ;
1146
+ core:has-name "cost" ;
1147
+ core:stores-property billing:has-cost ;
1148
+ core:label "email.unit_costs.cost"@en ;
1149
+ core:definition "The cost of one billable action, in micro-USD."@en ;
1150
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1151
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1152
+ core:owner core:email .
1153
+
1154
+ email:column-unit-costs-updated-at a owl:NamedIndividual , core:column ;
1155
+ core:of-table email:table-email-unit-costs ;
1156
+ core:has-name "updated_at" ;
1157
+ core:not-modelled-reason "The column is a bookkeeping time of the row. It is not a domain term."@en ;
1158
+ core:label "email.unit_costs.updated_at"@en ;
1159
+ core:definition "The time of the last change of the unit cost."@en ;
1160
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1161
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1162
+ core:owner core:email .
1163
+
1164
+ email:table-email-standing-holds a owl:NamedIndividual , core:table ;
1165
+ core:in-database-schema email:schema-email ;
1166
+ core:has-name "standing_holds" ;
1167
+ core:has-row-class email:standing-hold ;
1168
+ core:label "email.standing_holds"@en ;
1169
+ core:definition "The table of the standing holds of `email`: one row for each workspace."@en ;
1170
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1171
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1172
+ core:owner core:email .
1173
+
1174
+ email:column-standing-holds-workspace a owl:NamedIndividual , core:column ;
1175
+ core:of-table email:table-email-standing-holds ;
1176
+ core:has-name "workspace" ;
1177
+ core:stores-property core:in-workspace ;
1178
+ core:in-primary-key true ;
1179
+ core:label "email.standing_holds.workspace"@en ;
1180
+ core:definition "The workspace of the standing hold."@en ;
1181
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1182
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1183
+ core:owner core:email .
1184
+
1185
+ email:column-standing-holds-hold-id a owl:NamedIndividual , core:column ;
1186
+ core:of-table email:table-email-standing-holds ;
1187
+ core:has-name "hold_id" ;
1188
+ core:stores-property email:has-hold-id ;
1189
+ core:label "email.standing_holds.hold_id"@en ;
1190
+ core:definition "The id of the open standing hold in `billing`."@en ;
1191
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1192
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1193
+ core:owner core:email .
1194
+
1195
+ email:column-standing-holds-cost a owl:NamedIndividual , core:column ;
1196
+ core:of-table email:table-email-standing-holds ;
1197
+ core:has-name "cost" ;
1198
+ core:stores-property billing:has-cost ;
1199
+ core:label "email.standing_holds.cost"@en ;
1200
+ core:definition "The cost that `email` reported on the hold and has not settled yet, in micro-USD."@en ;
1201
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1202
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1203
+ core:owner core:email .
1204
+
1205
+ email:column-standing-holds-coverable-cost a owl:NamedIndividual , core:column ;
1206
+ core:of-table email:table-email-standing-holds ;
1207
+ core:has-name "coverable_cost" ;
1208
+ core:stores-property billing:has-coverable-cost ;
1209
+ core:label "email.standing_holds.coverable_cost"@en ;
1210
+ core:definition "The largest cost that the hold covers at its frozen rate and usage discount, in micro-USD."@en ;
1211
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1212
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1213
+ core:owner core:email .
1214
+
1215
+ email:column-standing-holds-expires-at a owl:NamedIndividual , core:column ;
1216
+ core:of-table email:table-email-standing-holds ;
1217
+ core:has-name "expires_at" ;
1218
+ core:stores-property email:expires-at ;
1219
+ core:label "email.standing_holds.expires_at"@en ;
1220
+ core:definition "The time when the standing hold ends."@en ;
1221
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1222
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1223
+ core:owner core:email .
1224
+
1225
+ email:column-standing-holds-opened-at a owl:NamedIndividual , core:column ;
1226
+ core:of-table email:table-email-standing-holds ;
1227
+ core:has-name "opened_at" ;
1228
+ core:stores-property core:started-at ;
1229
+ core:label "email.standing_holds.opened_at"@en ;
1230
+ core:definition "The time when `email` opened the standing hold."@en ;
1231
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1232
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1233
+ core:owner core:email .
1234
+
1235
+ email:column-standing-holds-refused-at a owl:NamedIndividual , core:column ;
1236
+ core:of-table email:table-email-standing-holds ;
1237
+ core:has-name "refused_at" ;
1238
+ core:stores-property email:refused-at ;
1239
+ core:label "email.standing_holds.refused_at"@en ;
1240
+ core:definition "The time of the last refusal of `billing` that `email` keeps on the row."@en ;
1241
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1242
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1243
+ core:owner core:email .
1244
+
1245
+ email:column-standing-holds-updated-at a owl:NamedIndividual , core:column ;
1246
+ core:of-table email:table-email-standing-holds ;
1247
+ core:has-name "updated_at" ;
1248
+ core:not-modelled-reason "The column is a bookkeeping time of the row. It is not a domain term."@en ;
1249
+ core:label "email.standing_holds.updated_at"@en ;
1250
+ core:definition "The time of the last change of the standing hold row."@en ;
1251
+ core:source "docs/specs/email/docs/internal/decisions/0007-costs.md#Decision" ;
1252
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1253
+ core:owner core:email .
1254
+
1255
+ email:table-email-notices a owl:NamedIndividual , core:table ;
1256
+ core:in-database-schema email:schema-email ;
1257
+ core:has-name "notices" ;
1258
+ core:not-modelled-reason "The first contact of a lead of a workspace through `email`. The notice record belongs to `lead-scoring`; `email` keeps the key only to send no second notice."@en ;
1259
+ core:label "email.notices"@en ;
1260
+ core:definition "The table of the notices that `email` gave: one row for each lead of a workspace that got the privacy notice in an email."@en ;
1261
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1262
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1263
+ core:owner core:email .
1264
+
1265
+ email:column-notices-workspace a owl:NamedIndividual , core:column ;
1266
+ core:of-table email:table-email-notices ;
1267
+ core:has-name "workspace" ;
1268
+ core:not-modelled-reason "The key of the first contact. The table is not in the model."@en ;
1269
+ core:in-primary-key true ;
1270
+ core:label "email.notices.workspace"@en ;
1271
+ core:definition "The workspace of the first contact."@en ;
1272
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1273
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1274
+ core:owner core:email .
1275
+
1276
+ email:column-notices-lead-id a owl:NamedIndividual , core:column ;
1277
+ core:of-table email:table-email-notices ;
1278
+ core:has-name "lead_id" ;
1279
+ core:not-modelled-reason "The lead of the first contact. The table is not in the model."@en ;
1280
+ core:in-primary-key true ;
1281
+ core:label "email.notices.lead_id"@en ;
1282
+ core:definition "The id of the lead record that got the notice."@en ;
1283
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1284
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1285
+ core:owner core:email .
1286
+
1287
+ email:column-notices-channel a owl:NamedIndividual , core:column ;
1288
+ core:of-table email:table-email-notices ;
1289
+ core:has-name "channel" ;
1290
+ core:not-modelled-reason "The channel of the first contact. The table is not in the model."@en ;
1291
+ core:in-primary-key true ;
1292
+ core:label "email.notices.channel"@en ;
1293
+ core:definition "The channel of the first contact. It is `email`."@en ;
1294
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1295
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1296
+ core:owner core:email .
1297
+
1298
+ email:column-notices-given-at a owl:NamedIndividual , core:column ;
1299
+ core:of-table email:table-email-notices ;
1300
+ core:has-name "given_at" ;
1301
+ core:not-modelled-reason "The time of the first contact. The table is not in the model."@en ;
1302
+ core:label "email.notices.given_at"@en ;
1303
+ core:definition "The time when `email` sent the message with the notice."@en ;
1304
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1305
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1306
+ core:owner core:email .
1307
+
1308
+ email:table-email-outbox a owl:NamedIndividual , core:table ;
1309
+ core:in-database-schema email:schema-email ;
1310
+ core:has-name "outbox" ;
1311
+ core:not-modelled-reason "The queue of the events that `email` sends to `lead-scoring`. The model has no class for a row of the queue."@en ;
1312
+ core:label "email.outbox"@en ;
1313
+ core:definition "The table of the outbox of `email`: one row for each event that `email` must send."@en ;
1314
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1315
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1316
+ core:owner core:email .
1317
+
1318
+ email:column-outbox-id a owl:NamedIndividual , core:column ;
1319
+ core:of-table email:table-email-outbox ;
1320
+ core:has-name "id" ;
1321
+ core:not-modelled-reason "The queue is not in the model."@en ;
1322
+ core:in-primary-key true ;
1323
+ core:label "email.outbox.id"@en ;
1324
+ core:definition "The id of the outbox row of `email`."@en ;
1325
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1326
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1327
+ core:owner core:email .
1328
+
1329
+ email:column-outbox-workspace a owl:NamedIndividual , core:column ;
1330
+ core:of-table email:table-email-outbox ;
1331
+ core:has-name "workspace" ;
1332
+ core:not-modelled-reason "The queue is not in the model."@en ;
1333
+ core:label "email.outbox.workspace"@en ;
1334
+ core:definition "The workspace of the event."@en ;
1335
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1336
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1337
+ core:owner core:email .
1338
+
1339
+ email:column-outbox-lead-id a owl:NamedIndividual , core:column ;
1340
+ core:of-table email:table-email-outbox ;
1341
+ core:has-name "lead_id" ;
1342
+ core:not-modelled-reason "The queue is not in the model."@en ;
1343
+ core:label "email.outbox.lead_id"@en ;
1344
+ core:definition "The id of the lead record of the event."@en ;
1345
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1346
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1347
+ core:owner core:email .
1348
+
1349
+ email:column-outbox-target a owl:NamedIndividual , core:column ;
1350
+ core:of-table email:table-email-outbox ;
1351
+ core:has-name "target" ;
1352
+ core:not-modelled-reason "The queue is not in the model."@en ;
1353
+ core:label "email.outbox.target"@en ;
1354
+ core:definition "The service that takes the event."@en ;
1355
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1356
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1357
+ core:owner core:email .
1358
+
1359
+ email:column-outbox-method a owl:NamedIndividual , core:column ;
1360
+ core:of-table email:table-email-outbox ;
1361
+ core:has-name "method" ;
1362
+ core:not-modelled-reason "The transport of the queue is not in the model."@en ;
1363
+ core:label "email.outbox.method"@en ;
1364
+ core:definition "The HTTP method of the send."@en ;
1365
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1366
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1367
+ core:owner core:email .
1368
+
1369
+ email:column-outbox-path a owl:NamedIndividual , core:column ;
1370
+ core:of-table email:table-email-outbox ;
1371
+ core:has-name "path" ;
1372
+ core:not-modelled-reason "The transport of the queue is not in the model."@en ;
1373
+ core:label "email.outbox.path"@en ;
1374
+ core:definition "The HTTP path of the send."@en ;
1375
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1376
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1377
+ core:owner core:email .
1378
+
1379
+ email:column-outbox-dedupe-key a owl:NamedIndividual , core:column ;
1380
+ core:of-table email:table-email-outbox ;
1381
+ core:has-name "dedupe_key" ;
1382
+ core:not-modelled-reason "The queue is not in the model."@en ;
1383
+ core:label "email.outbox.dedupe_key"@en ;
1384
+ core:definition "The key that stops a second row of the same event."@en ;
1385
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1386
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1387
+ core:owner core:email .
1388
+
1389
+ email:column-outbox-body a owl:NamedIndividual , core:column ;
1390
+ core:of-table email:table-email-outbox ;
1391
+ core:has-name "body" ;
1392
+ core:not-modelled-reason "The queue is not in the model."@en ;
1393
+ core:label "email.outbox.body"@en ;
1394
+ core:definition "The body of the event, as JSON."@en ;
1395
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1396
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1397
+ core:owner core:email .
1398
+
1399
+ email:column-outbox-status a owl:NamedIndividual , core:column ;
1400
+ core:of-table email:table-email-outbox ;
1401
+ core:has-name "status" ;
1402
+ core:not-modelled-reason "The queue is not in the model."@en ;
1403
+ core:label "email.outbox.status"@en ;
1404
+ core:definition "The state of the send: pending, sent or stopped."@en ;
1405
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1406
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1407
+ core:owner core:email .
1408
+
1409
+ email:column-outbox-attempts a owl:NamedIndividual , core:column ;
1410
+ core:of-table email:table-email-outbox ;
1411
+ core:has-name "attempts" ;
1412
+ core:not-modelled-reason "The queue is not in the model."@en ;
1413
+ core:label "email.outbox.attempts"@en ;
1414
+ core:definition "The count of sends that failed."@en ;
1415
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1416
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1417
+ core:owner core:email .
1418
+
1419
+ email:column-outbox-next-at a owl:NamedIndividual , core:column ;
1420
+ core:of-table email:table-email-outbox ;
1421
+ core:has-name "next_at" ;
1422
+ core:not-modelled-reason "The queue is not in the model."@en ;
1423
+ core:label "email.outbox.next_at"@en ;
1424
+ core:definition "The time of the next send of the outbox row of `email`."@en ;
1425
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1426
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1427
+ core:owner core:email .
1428
+
1429
+ email:column-outbox-last-error a owl:NamedIndividual , core:column ;
1430
+ core:of-table email:table-email-outbox ;
1431
+ core:has-name "last_error" ;
1432
+ core:not-modelled-reason "The queue is not in the model."@en ;
1433
+ core:label "email.outbox.last_error"@en ;
1434
+ core:definition "The error of the last failed send of the outbox row of `email`."@en ;
1435
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1436
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1437
+ core:owner core:email .
1438
+
1439
+ email:column-outbox-created-at a owl:NamedIndividual , core:column ;
1440
+ core:of-table email:table-email-outbox ;
1441
+ core:has-name "created_at" ;
1442
+ core:not-modelled-reason "The queue is not in the model."@en ;
1443
+ core:label "email.outbox.created_at"@en ;
1444
+ core:definition "The time when email made the row."@en ;
1445
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1446
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1447
+ core:owner core:email .
1448
+
1449
+ email:table-email-messages a owl:NamedIndividual , core:table ;
1450
+ core:in-database-schema email:schema-email ;
1451
+ core:has-name "messages" ;
1452
+ core:has-row-class email:message-sent ;
1453
+ core:label "email.messages"@en ;
1454
+ core:definition "The table of the messages that `email` sent and still keeps for `desk`: one row for each accepted send, until `desk` accepts the message."@en ;
1455
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1456
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1457
+ core:owner core:email .
1458
+
1459
+ email:column-messages-id a owl:NamedIndividual , core:column ;
1460
+ core:of-table email:table-email-messages ;
1461
+ core:has-name "id" ;
1462
+ core:stores-property core:id ;
1463
+ core:in-primary-key true ;
1464
+ core:label "email.messages.id"@en ;
1465
+ core:definition "The id of the message. It is the id of the webhook to `desk`."@en ;
1466
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1467
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1468
+ core:owner core:email .
1469
+
1470
+ email:column-messages-workspace a owl:NamedIndividual , core:column ;
1471
+ core:of-table email:table-email-messages ;
1472
+ core:has-name "workspace" ;
1473
+ core:stores-property core:in-workspace ;
1474
+ core:label "email.messages.workspace"@en ;
1475
+ core:definition "The workspace of the message."@en ;
1476
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1477
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1478
+ core:owner core:email .
1479
+
1480
+ email:column-messages-lead-id a owl:NamedIndividual , core:column ;
1481
+ core:of-table email:table-email-messages ;
1482
+ core:has-name "lead_id" ;
1483
+ core:stores-property email:for-lead-record ;
1484
+ core:label "email.messages.lead_id"@en ;
1485
+ core:definition "The id of the lead record of the message."@en ;
1486
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1487
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1488
+ core:owner core:email .
1489
+
1490
+ email:column-messages-body a owl:NamedIndividual , core:column ;
1491
+ core:of-table email:table-email-messages ;
1492
+ core:has-name "body" ;
1493
+ core:stores-property email:has-webhook-body ;
1494
+ core:label "email.messages.body"@en ;
1495
+ core:definition "The webhook body of the message, as JSON."@en ;
1496
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1497
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1498
+ core:owner core:email .
1499
+
1500
+ email:column-messages-created-at a owl:NamedIndividual , core:column ;
1501
+ core:of-table email:table-email-messages ;
1502
+ core:has-name "created_at" ;
1503
+ core:stores-property core:generated-at ;
1504
+ core:label "email.messages.created_at"@en ;
1505
+ core:definition "The time when `email` wrote the message row."@en ;
1506
+ core:source "docs/specs/email/docs/internal/decisions/0011-storage.md#Decision" ;
1507
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1508
+ core:owner core:email .
1509
+
1510
+ email:column-mailboxes-bounces-cursor a owl:NamedIndividual , core:column ;
1511
+ core:of-table email:table-email-mailboxes ;
1512
+ core:has-name "bounces_cursor" ;
1513
+ core:not-modelled-reason "The cursor of the bounce read is work state, not a domain term."@en ;
1514
+ core:label "email.mailboxes.bounces_cursor"@en ;
1515
+ core:definition "The position of the last bounce that `email` read for the mailbox. The Gmail `historyId` or the Graph delta link of the inbox."@en ;
1516
+ core:source "docs/specs/email/docs/internal/decisions/0006-ports.md#Decision" ;
1517
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1518
+ core:owner core:email .
1519
+
1520
+ # The bounces of the mailboxes (email 0012).
1521
+
1522
+ email:table-email-bounces a owl:NamedIndividual , core:table ;
1523
+ core:in-database-schema email:schema-email ;
1524
+ core:has-name "bounces" ;
1525
+ core:not-modelled-reason "The bounce of one message of a mailbox, keyed by its thread, which `email` reads to rate the mailbox. The model has no class for a bounce. It keeps the event name `email.bounced` in `events-vocab:event-name-email-bounced`."@en ;
1526
+ core:label "email.bounces"@en ;
1527
+ core:definition "The table of the bounces of `email`: one row for each thread of a mailbox that came back as a bounce."@en ;
1528
+ core:source "docs/specs/email/docs/internal/decisions/0012-sender-limits.md#Decision" ;
1529
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1530
+ core:owner core:email .
1531
+
1532
+ email:column-bounces-workspace a owl:NamedIndividual , core:column ;
1533
+ core:of-table email:table-email-bounces ;
1534
+ core:has-name "workspace" ;
1535
+ core:not-modelled-reason "The workspace of the row. The table has no class of rows in the model."@en ;
1536
+ core:label "email.bounces.workspace"@en ;
1537
+ core:definition "The workspace of the mailbox that bounced. It is the first part of the primary key."@en ;
1538
+ core:source "docs/specs/email/docs/internal/decisions/0012-sender-limits.md#Decision" ;
1539
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1540
+ core:owner core:email .
1541
+
1542
+ email:column-bounces-mailbox a owl:NamedIndividual , core:column ;
1543
+ core:of-table email:table-email-bounces ;
1544
+ core:has-name "mailbox_id" ;
1545
+ core:in-primary-key true ;
1546
+ core:not-modelled-reason "The id of the mailbox. The model keeps the mailbox as a class and not its id, and the table has no class of rows."@en ;
1547
+ core:label "email.bounces.mailbox_id"@en ;
1548
+ core:definition "The id of the mailbox that bounced. It is the second part of the primary key."@en ;
1549
+ core:source "docs/specs/email/docs/internal/decisions/0012-sender-limits.md#Decision" ;
1550
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1551
+ core:owner core:email .
1552
+
1553
+ email:column-bounces-thread a owl:NamedIndividual , core:column ;
1554
+ core:of-table email:table-email-bounces ;
1555
+ core:has-name "thread" ;
1556
+ core:in-primary-key true ;
1557
+ core:not-modelled-reason "The id of the thread of the vendor. The model keeps no class for it, and the table has no class of rows."@en ;
1558
+ core:label "email.bounces.thread"@en ;
1559
+ core:definition "The id of the thread of the bounced message. It is the third part of the primary key, so a second read of the same thread writes no second row."@en ;
1560
+ core:source "docs/specs/email/docs/internal/decisions/0012-sender-limits.md#Decision" ;
1561
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1562
+ core:owner core:email .
1563
+
1564
+ email:column-bounces-received-at a owl:NamedIndividual , core:column ;
1565
+ core:of-table email:table-email-bounces ;
1566
+ core:has-name "received_at" ;
1567
+ core:not-modelled-reason "The time that the bounce came back. The table has no class of rows in the model."@en ;
1568
+ core:label "email.bounces.received_at"@en ;
1569
+ core:definition "The time that the bounce came back. The window of the bounce rate starts at it."@en ;
1570
+ core:source "docs/specs/email/docs/internal/decisions/0012-sender-limits.md#Decision" ;
1571
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1572
+ core:owner core:email .