@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/ai.ttl +3653 -0
- package/auth.ttl +123 -0
- package/billing.ttl +3732 -0
- package/campaigns.ttl +3273 -0
- package/core.ttl +811 -0
- package/crm.ttl +439 -0
- package/desk.ttl +3874 -0
- package/domain.ttl +45 -0
- package/email.ttl +1572 -0
- package/events.ttl +2430 -0
- package/identity.ttl +2699 -0
- package/imports/external.ttl +54 -0
- package/leads.ttl +3560 -0
- package/linkedin.ttl +860 -0
- package/mcp-gateway.ttl +77 -0
- package/package.json +30 -3
- package/scoring.ttl +2138 -0
- package/shapes/ai.ttl +662 -0
- package/shapes/billing.ttl +3149 -0
- package/shapes/campaigns.ttl +958 -0
- package/shapes/core.ttl +135 -0
- package/shapes/crm.ttl +216 -0
- package/shapes/desk.ttl +1652 -0
- package/shapes/email.ttl +448 -0
- package/shapes/events.ttl +1201 -0
- package/shapes/identity.ttl +957 -0
- package/shapes/leads.ttl +1809 -0
- package/shapes/linkedin.ttl +113 -0
- package/shapes/scoring.ttl +555 -0
- package/vocab/ai.ttl +2107 -0
- package/vocab/auth.ttl +187 -0
- package/vocab/billing.ttl +1606 -0
- package/vocab/campaigns.ttl +738 -0
- package/vocab/core.ttl +648 -0
- package/vocab/crm.ttl +320 -0
- package/vocab/desk.ttl +2921 -0
- package/vocab/email.ttl +210 -0
- package/vocab/events.ttl +776 -0
- package/vocab/identity.ttl +1555 -0
- package/vocab/leads.ttl +2105 -0
- package/vocab/linkedin.ttl +98 -0
- package/vocab/mcp-gateway.ttl +66 -0
- package/vocab/scoring.ttl +572 -0
- package/README.md +0 -3
package/shapes/email.ttl
ADDED
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
@prefix core: <https://id.quickpipe.ai/domain/core#> .
|
|
2
|
+
@prefix desk: <https://id.quickpipe.ai/domain/desk#> .
|
|
3
|
+
@prefix email: <https://id.quickpipe.ai/domain/email#> .
|
|
4
|
+
@prefix campaigns: <https://id.quickpipe.ai/domain/campaigns#> .
|
|
5
|
+
@prefix billing: <https://id.quickpipe.ai/domain/billing#> .
|
|
6
|
+
@prefix campaigns-vocab: <https://id.quickpipe.ai/domain/vocab/campaigns#> .
|
|
7
|
+
@prefix ai-vocab: <https://id.quickpipe.ai/domain/vocab/ai#> .
|
|
8
|
+
@prefix email-vocab: <https://id.quickpipe.ai/domain/vocab/email#> .
|
|
9
|
+
@prefix email-shapes: <https://id.quickpipe.ai/domain/shapes/email#> .
|
|
10
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
11
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
12
|
+
@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
13
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
14
|
+
|
|
15
|
+
<https://id.quickpipe.ai/domain/shapes/email>
|
|
16
|
+
a owl:Ontology ;
|
|
17
|
+
owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/email> ;
|
|
18
|
+
owl:versionInfo "0.9.0" ;
|
|
19
|
+
core:title "QuickPipe domain model: shapes of email"@en .
|
|
20
|
+
|
|
21
|
+
email-shapes:mailbox-shape a sh:NodeShape ;
|
|
22
|
+
sh:targetClass email:mailbox ;
|
|
23
|
+
sh:closed true ;
|
|
24
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
25
|
+
sh:property [
|
|
26
|
+
sh:path email:has-address ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
27
|
+
sh:message "A mailbox has at most one address." ] ;
|
|
28
|
+
sh:property [
|
|
29
|
+
sh:path email:on-sending-domain ; sh:class email:sending-domain ; sh:maxCount 1 ;
|
|
30
|
+
sh:message "A mailbox is on at most one sending domain." ] ;
|
|
31
|
+
sh:property [
|
|
32
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
33
|
+
sh:message "A mailbox has exactly one id."
|
|
34
|
+
] ;
|
|
35
|
+
sh:property [
|
|
36
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
37
|
+
sh:message "A mailbox belongs to exactly one workspace."
|
|
38
|
+
] ;
|
|
39
|
+
sh:property [
|
|
40
|
+
sh:path desk:of-teammate ; sh:class desk:teammate ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
41
|
+
sh:message "A mailbox belongs to exactly one teammate."
|
|
42
|
+
] ;
|
|
43
|
+
sh:property [
|
|
44
|
+
sh:path email:has-mailbox-kind ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
45
|
+
sh:in ( email-vocab:mailbox-kind-connected email-vocab:mailbox-kind-dedicated ) ;
|
|
46
|
+
sh:message "A mailbox has exactly one mailbox kind: connected or dedicated."
|
|
47
|
+
] ;
|
|
48
|
+
sh:property [
|
|
49
|
+
sh:path core:has-status ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
50
|
+
sh:in ( email-vocab:mailbox-status-warm-up email-vocab:mailbox-status-active email-vocab:mailbox-status-paused email-vocab:mailbox-status-disconnected email-vocab:mailbox-status-released ) ;
|
|
51
|
+
sh:message "A mailbox has exactly one status: warm-up, active, paused, disconnected or released."
|
|
52
|
+
] ;
|
|
53
|
+
sh:property [
|
|
54
|
+
sh:path email:has-daily-limit ; sh:datatype xsd:positiveInteger ; sh:minInclusive 1 ; sh:maxCount 1 ;
|
|
55
|
+
sh:message "A mailbox has at most one daily limit, a positive integer."
|
|
56
|
+
] ;
|
|
57
|
+
sh:property [
|
|
58
|
+
sh:path email:has-last-error ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
59
|
+
sh:message "A mailbox has at most one last error." ] ;
|
|
60
|
+
sh:property [
|
|
61
|
+
sh:path email:has-last-used-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
|
|
62
|
+
sh:message "A mailbox has at most one last used time." ] ;
|
|
63
|
+
sh:property [
|
|
64
|
+
sh:path campaigns:has-account-pause-reason ; sh:class core:concept ; sh:maxCount 1 ;
|
|
65
|
+
sh:in ( campaigns-vocab:account-pause-reason-credits campaigns-vocab:account-pause-reason-teammate ) ;
|
|
66
|
+
sh:message "A mailbox has at most one pause reason: credits or teammate."
|
|
67
|
+
] ;
|
|
68
|
+
sh:property [
|
|
69
|
+
sh:path campaigns:bills-action ; sh:class core:concept ;
|
|
70
|
+
sh:in ( campaigns-vocab:billable-action-send campaigns-vocab:billable-action-invite campaigns-vocab:billable-action-message campaigns-vocab:billable-action-profile-view ) ;
|
|
71
|
+
sh:message "The billable actions of A mailbox are send, invite, message or profile-view."
|
|
72
|
+
] ;
|
|
73
|
+
sh:property [
|
|
74
|
+
sh:path campaigns:has-monthly-cost ; sh:datatype xsd:long ; sh:minInclusive 0 ; sh:maxCount 1 ;
|
|
75
|
+
sh:message "A mailbox has at most one monthly cost, an integer of micro-USD from 0."
|
|
76
|
+
] .
|
|
77
|
+
|
|
78
|
+
email-shapes:sending-domain-shape a sh:NodeShape ;
|
|
79
|
+
sh:targetClass email:sending-domain ;
|
|
80
|
+
sh:closed true ;
|
|
81
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
82
|
+
sh:property [
|
|
83
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
84
|
+
sh:message "A sending-domain has exactly one id."
|
|
85
|
+
] ;
|
|
86
|
+
sh:property [
|
|
87
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
88
|
+
sh:message "A sending-domain belongs to exactly one workspace."
|
|
89
|
+
] ;
|
|
90
|
+
sh:property [
|
|
91
|
+
sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
92
|
+
sh:message "A sending-domain has exactly one domain name."
|
|
93
|
+
] ;
|
|
94
|
+
sh:property [
|
|
95
|
+
sh:path core:has-status ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
96
|
+
sh:in ( email-vocab:domain-status-setup email-vocab:domain-status-active email-vocab:domain-status-paused email-vocab:domain-status-released ) ;
|
|
97
|
+
sh:message "A sending-domain has exactly one status: setup, active, paused or released."
|
|
98
|
+
] ;
|
|
99
|
+
sh:property [
|
|
100
|
+
sh:path campaigns:has-account-pause-reason ; sh:class core:concept ; sh:maxCount 1 ;
|
|
101
|
+
sh:in ( campaigns-vocab:account-pause-reason-credits campaigns-vocab:account-pause-reason-teammate ) ;
|
|
102
|
+
sh:message "A sending-domain has at most one pause reason: credits or teammate."
|
|
103
|
+
] ;
|
|
104
|
+
sh:property [
|
|
105
|
+
sh:path campaigns:has-monthly-cost ; sh:datatype xsd:long ; sh:minInclusive 0 ; sh:maxCount 1 ;
|
|
106
|
+
sh:message "A sending-domain has at most one monthly cost, an integer of micro-USD from 0."
|
|
107
|
+
] ;
|
|
108
|
+
sh:property [
|
|
109
|
+
sh:path email:has-purchase-cost ; sh:datatype xsd:long ; sh:minInclusive 0 ; sh:maxCount 1 ;
|
|
110
|
+
sh:message "A sending-domain has at most one purchase cost, an integer of micro-USD from 0."
|
|
111
|
+
] .
|
|
112
|
+
|
|
113
|
+
email-shapes:message-sent-shape a sh:NodeShape ;
|
|
114
|
+
sh:targetClass email:message-sent ;
|
|
115
|
+
sh:closed true ;
|
|
116
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
117
|
+
sh:property [
|
|
118
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
119
|
+
sh:message "A message sent has exactly one id."
|
|
120
|
+
] ;
|
|
121
|
+
sh:property [
|
|
122
|
+
sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
123
|
+
sh:message "A message sent has exactly one creation time."
|
|
124
|
+
] ;
|
|
125
|
+
sh:property [
|
|
126
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
127
|
+
sh:message "A message sent belongs to exactly one workspace."
|
|
128
|
+
] ;
|
|
129
|
+
sh:property [
|
|
130
|
+
sh:path email:has-webhook-topic ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
131
|
+
sh:message "A message sent has exactly one webhook topic."
|
|
132
|
+
] ;
|
|
133
|
+
sh:property [
|
|
134
|
+
sh:path email:for-lead-record ; sh:class core:entity ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
135
|
+
sh:message "A message sent is for exactly one lead record."
|
|
136
|
+
] ;
|
|
137
|
+
sh:property [
|
|
138
|
+
sh:path campaigns:of-campaign ; sh:class campaigns:campaign ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
139
|
+
sh:message "A message sent is of exactly one campaign."
|
|
140
|
+
] ;
|
|
141
|
+
sh:property [
|
|
142
|
+
sh:path campaigns:of-cadence ; sh:class campaigns:cadence ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
143
|
+
sh:message "A message sent is of exactly one cadence."
|
|
144
|
+
] ;
|
|
145
|
+
sh:property [
|
|
146
|
+
sh:path campaigns:for-step ; sh:class campaigns:step ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
147
|
+
sh:message "A message sent is for exactly one step."
|
|
148
|
+
] ;
|
|
149
|
+
sh:property [
|
|
150
|
+
sh:path campaigns:in-enrollment ; sh:class campaigns:enrollment ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
151
|
+
sh:message "A message sent is in exactly one enrollment."
|
|
152
|
+
] ;
|
|
153
|
+
sh:property [
|
|
154
|
+
sh:path email:from-mailbox ; sh:class email:mailbox ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
155
|
+
sh:message "A message sent is from exactly one mailbox."
|
|
156
|
+
] ;
|
|
157
|
+
sh:property [
|
|
158
|
+
sh:path email:in-thread ; sh:class email:thread ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
159
|
+
sh:message "A message sent is in exactly one thread."
|
|
160
|
+
] ;
|
|
161
|
+
sh:property [
|
|
162
|
+
sh:path email:has-mailbox-message-id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
163
|
+
sh:message "A message sent has exactly one mailbox message id."
|
|
164
|
+
] ;
|
|
165
|
+
sh:property [
|
|
166
|
+
sh:path email:from-address ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
167
|
+
sh:message "A message sent has exactly one from address."
|
|
168
|
+
] ;
|
|
169
|
+
sh:property [
|
|
170
|
+
sh:path email:to-address ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
171
|
+
sh:message "A message sent has exactly one to address."
|
|
172
|
+
] ;
|
|
173
|
+
sh:property [
|
|
174
|
+
sh:path email:has-message-subject ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
175
|
+
sh:message "A message sent has exactly one subject."
|
|
176
|
+
] ;
|
|
177
|
+
sh:property [
|
|
178
|
+
sh:path email:message-sent-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
179
|
+
sh:message "A message sent has exactly one sent time."
|
|
180
|
+
] ;
|
|
181
|
+
sh:property [
|
|
182
|
+
sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
183
|
+
sh:message "A message sent is for exactly one user."
|
|
184
|
+
] ;
|
|
185
|
+
sh:property [
|
|
186
|
+
sh:path email:has-message-direction ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
187
|
+
sh:message "A message sent has exactly one direction."
|
|
188
|
+
] ;
|
|
189
|
+
sh:property [
|
|
190
|
+
sh:path email:has-webhook-body ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
191
|
+
sh:message "A message sent has at most one webhook body."
|
|
192
|
+
] .
|
|
193
|
+
|
|
194
|
+
email-shapes:reply-received-shape a sh:NodeShape ;
|
|
195
|
+
sh:targetClass email:reply-received ;
|
|
196
|
+
sh:closed true ;
|
|
197
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
198
|
+
sh:property [
|
|
199
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
200
|
+
sh:message "A reply received has exactly one id."
|
|
201
|
+
] ;
|
|
202
|
+
sh:property [
|
|
203
|
+
sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
204
|
+
sh:message "A reply received has exactly one creation time."
|
|
205
|
+
] ;
|
|
206
|
+
sh:property [
|
|
207
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
208
|
+
sh:message "A reply received belongs to exactly one workspace."
|
|
209
|
+
] ;
|
|
210
|
+
sh:property [
|
|
211
|
+
sh:path email:has-webhook-topic ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
212
|
+
sh:message "A reply received has exactly one webhook topic."
|
|
213
|
+
] ;
|
|
214
|
+
sh:property [
|
|
215
|
+
sh:path email:for-lead-record ; sh:class core:entity ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
216
|
+
sh:message "A reply received is for exactly one lead record."
|
|
217
|
+
] ;
|
|
218
|
+
sh:property [
|
|
219
|
+
sh:path email:from-mailbox ; sh:class email:mailbox ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
220
|
+
sh:message "A reply received is from exactly one mailbox."
|
|
221
|
+
] ;
|
|
222
|
+
sh:property [
|
|
223
|
+
sh:path email:in-thread ; sh:class email:thread ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
224
|
+
sh:message "A reply received is in exactly one thread."
|
|
225
|
+
] ;
|
|
226
|
+
sh:property [
|
|
227
|
+
sh:path email:has-mailbox-message-id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
228
|
+
sh:message "A reply received has exactly one mailbox message id."
|
|
229
|
+
] ;
|
|
230
|
+
sh:property [
|
|
231
|
+
sh:path email:from-address ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
232
|
+
sh:message "A reply received has exactly one from address."
|
|
233
|
+
] ;
|
|
234
|
+
sh:property [
|
|
235
|
+
sh:path email:to-address ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
236
|
+
sh:message "A reply received has exactly one to address."
|
|
237
|
+
] ;
|
|
238
|
+
sh:property [
|
|
239
|
+
sh:path email:has-message-subject ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
240
|
+
sh:message "A reply received has exactly one subject."
|
|
241
|
+
] ;
|
|
242
|
+
sh:property [
|
|
243
|
+
sh:path email:has-text ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
244
|
+
sh:message "A reply received has exactly one text."
|
|
245
|
+
] ;
|
|
246
|
+
sh:property [
|
|
247
|
+
sh:path email:received-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
248
|
+
sh:message "A reply received has exactly one received time."
|
|
249
|
+
] ;
|
|
250
|
+
sh:property [
|
|
251
|
+
sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
252
|
+
sh:message "A reply received is for exactly one user."
|
|
253
|
+
] ;
|
|
254
|
+
sh:property [
|
|
255
|
+
sh:path email:has-reply-label ; sh:class core:concept ; sh:maxCount 1 ;
|
|
256
|
+
sh:in ( ai-vocab:reply-label-interested ai-vocab:reply-label-not-now ai-vocab:reply-label-not-interested ai-vocab:reply-label-out-of-office ai-vocab:reply-label-unsubscribe ) ;
|
|
257
|
+
sh:message "A reply received has at most one reply label: interested, not-now, not-interested, out-of-office or unsubscribe."
|
|
258
|
+
] .
|
|
259
|
+
|
|
260
|
+
email-shapes:connection-shape a sh:NodeShape ;
|
|
261
|
+
sh:targetClass email:connection ;
|
|
262
|
+
sh:closed true ;
|
|
263
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
264
|
+
sh:property [
|
|
265
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
266
|
+
sh:message "A connection has exactly one id."
|
|
267
|
+
] ;
|
|
268
|
+
sh:property [
|
|
269
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
270
|
+
sh:message "A connection belongs to exactly one workspace."
|
|
271
|
+
] ;
|
|
272
|
+
sh:property [
|
|
273
|
+
sh:path desk:of-teammate ; sh:class desk:teammate ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
274
|
+
sh:message "A connection belongs to exactly one teammate."
|
|
275
|
+
] ;
|
|
276
|
+
sh:property [
|
|
277
|
+
sh:path email:of-mailbox ; sh:class email:mailbox ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
278
|
+
sh:message "A connection belongs to exactly one mailbox."
|
|
279
|
+
] .
|
|
280
|
+
|
|
281
|
+
email-shapes:connect-attempt-shape a sh:NodeShape ;
|
|
282
|
+
sh:targetClass email:connect-attempt ;
|
|
283
|
+
sh:closed true ;
|
|
284
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
285
|
+
sh:property [
|
|
286
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
287
|
+
sh:message "A connect attempt has exactly one id. The id is the state value of the OAuth flow."
|
|
288
|
+
] ;
|
|
289
|
+
sh:property [
|
|
290
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
291
|
+
sh:message "A connect attempt belongs to exactly one workspace."
|
|
292
|
+
] ;
|
|
293
|
+
sh:property [
|
|
294
|
+
sh:path desk:of-teammate ; sh:class desk:teammate ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
295
|
+
sh:message "A connect attempt belongs to exactly one teammate."
|
|
296
|
+
] ;
|
|
297
|
+
sh:property [
|
|
298
|
+
sh:path email:expires-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
299
|
+
sh:message "A connect attempt has exactly one end time."
|
|
300
|
+
] .
|
|
301
|
+
|
|
302
|
+
email-shapes:thread-shape a sh:NodeShape ;
|
|
303
|
+
sh:targetClass email:thread ;
|
|
304
|
+
sh:closed true ;
|
|
305
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
306
|
+
sh:property [
|
|
307
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
308
|
+
sh:message "A thread has exactly one id."
|
|
309
|
+
] ;
|
|
310
|
+
sh:property [
|
|
311
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
312
|
+
sh:message "A thread belongs to exactly one workspace."
|
|
313
|
+
] ;
|
|
314
|
+
sh:property [
|
|
315
|
+
sh:path email:in-mailbox ; sh:class email:mailbox ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
316
|
+
sh:message "A thread belongs to exactly one mailbox."
|
|
317
|
+
] ;
|
|
318
|
+
sh:property [
|
|
319
|
+
sh:path email:for-enrollment ; sh:nodeKind sh:IRI ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
320
|
+
sh:message "A thread belongs to exactly one enrollment."
|
|
321
|
+
] .
|
|
322
|
+
|
|
323
|
+
email-shapes:reply-shape a sh:NodeShape ;
|
|
324
|
+
sh:targetClass email:reply ;
|
|
325
|
+
sh:closed true ;
|
|
326
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
327
|
+
sh:property [
|
|
328
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
329
|
+
sh:message "A reply has exactly one id."
|
|
330
|
+
] ;
|
|
331
|
+
sh:property [
|
|
332
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
333
|
+
sh:message "A reply belongs to exactly one workspace."
|
|
334
|
+
] ;
|
|
335
|
+
sh:property [
|
|
336
|
+
sh:path email:in-thread ; sh:class email:thread ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
337
|
+
sh:message "A reply belongs to exactly one thread."
|
|
338
|
+
] ;
|
|
339
|
+
sh:property [
|
|
340
|
+
sh:path email:has-reply-label ; sh:class core:concept ; sh:maxCount 1 ;
|
|
341
|
+
sh:in ( ai-vocab:reply-label-interested ai-vocab:reply-label-not-now ai-vocab:reply-label-not-interested ai-vocab:reply-label-out-of-office ai-vocab:reply-label-unsubscribe ) ;
|
|
342
|
+
sh:message "A reply has at most one reply label: interested, not-now, not-interested, out-of-office or unsubscribe."
|
|
343
|
+
] .
|
|
344
|
+
|
|
345
|
+
email-shapes:calendar-event-shape a sh:NodeShape ;
|
|
346
|
+
sh:targetClass email:calendar-event ;
|
|
347
|
+
sh:closed true ;
|
|
348
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
349
|
+
sh:property [
|
|
350
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
351
|
+
sh:message "A calendar event has exactly one id."
|
|
352
|
+
] ;
|
|
353
|
+
sh:property [
|
|
354
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
355
|
+
sh:message "A calendar event belongs to exactly one workspace."
|
|
356
|
+
] ;
|
|
357
|
+
sh:property [
|
|
358
|
+
sh:path email:of-connection ; sh:class email:connection ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
359
|
+
sh:message "A calendar event belongs to exactly one connection."
|
|
360
|
+
] .
|
|
361
|
+
|
|
362
|
+
email-shapes:answer-shape a sh:NodeShape ;
|
|
363
|
+
sh:targetClass email:answer ;
|
|
364
|
+
sh:closed true ;
|
|
365
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
366
|
+
sh:property [
|
|
367
|
+
sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
|
|
368
|
+
sh:message "An answer has at most one write time."
|
|
369
|
+
] ;
|
|
370
|
+
sh:property [
|
|
371
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
372
|
+
sh:message "An answer has exactly one id."
|
|
373
|
+
] ;
|
|
374
|
+
sh:property [
|
|
375
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
376
|
+
sh:message "An answer belongs to exactly one workspace."
|
|
377
|
+
] ;
|
|
378
|
+
sh:property [
|
|
379
|
+
sh:path email:for-request ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
380
|
+
sh:message "An answer replies to exactly one request."
|
|
381
|
+
] ;
|
|
382
|
+
sh:property [
|
|
383
|
+
sh:path email:of-topic ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
384
|
+
sh:message "An answer has exactly one topic."
|
|
385
|
+
] ;
|
|
386
|
+
sh:property [
|
|
387
|
+
sh:path email:has-part-number ; sh:datatype xsd:integer ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
388
|
+
sh:message "An answer has exactly one part number."
|
|
389
|
+
] ;
|
|
390
|
+
sh:property [
|
|
391
|
+
sh:path email:has-body ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
392
|
+
sh:message "An answer has exactly one body."
|
|
393
|
+
] ;
|
|
394
|
+
sh:property [
|
|
395
|
+
sh:path email:has-tries ; sh:datatype xsd:integer ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
396
|
+
sh:message "An answer has exactly one count of tries."
|
|
397
|
+
] ;
|
|
398
|
+
sh:property [
|
|
399
|
+
sh:path email:retries-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
400
|
+
sh:message "An answer has exactly one time of the next send."
|
|
401
|
+
] .
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
email-shapes:unit-cost-shape a sh:NodeShape ;
|
|
405
|
+
sh:targetClass email:unit-cost ;
|
|
406
|
+
sh:closed true ;
|
|
407
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
408
|
+
sh:property [
|
|
409
|
+
sh:path email:for-action ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
410
|
+
sh:message "A unit cost of email prices exactly one billable action."
|
|
411
|
+
] ;
|
|
412
|
+
sh:property [
|
|
413
|
+
sh:path billing:has-cost ; sh:datatype xsd:long ; sh:minInclusive 0 ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
414
|
+
sh:message "A unit cost of email has exactly one cost, an integer of micro-USD from 0."
|
|
415
|
+
] .
|
|
416
|
+
|
|
417
|
+
email-shapes:standing-hold-shape a sh:NodeShape ;
|
|
418
|
+
sh:targetClass email:standing-hold ;
|
|
419
|
+
sh:closed true ;
|
|
420
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
421
|
+
sh:property [
|
|
422
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
423
|
+
sh:message "A standing hold of email belongs to exactly one workspace."
|
|
424
|
+
] ;
|
|
425
|
+
sh:property [
|
|
426
|
+
sh:path email:has-hold-id ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
427
|
+
sh:message "A standing hold of email has at most one hold id."
|
|
428
|
+
] ;
|
|
429
|
+
sh:property [
|
|
430
|
+
sh:path billing:has-cost ; sh:datatype xsd:long ; sh:minInclusive 0 ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
431
|
+
sh:message "A standing hold of email has exactly one reported cost, an integer of micro-USD from 0."
|
|
432
|
+
] ;
|
|
433
|
+
sh:property [
|
|
434
|
+
sh:path billing:has-coverable-cost ; sh:datatype xsd:long ; sh:minInclusive 0 ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
435
|
+
sh:message "A standing hold of email has exactly one coverable cost, an integer of micro-USD from 0."
|
|
436
|
+
] ;
|
|
437
|
+
sh:property [
|
|
438
|
+
sh:path email:expires-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
|
|
439
|
+
sh:message "A standing hold of email has at most one end time."
|
|
440
|
+
] ;
|
|
441
|
+
sh:property [
|
|
442
|
+
sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
|
|
443
|
+
sh:message "A standing hold of email has at most one start time."
|
|
444
|
+
] ;
|
|
445
|
+
sh:property [
|
|
446
|
+
sh:path email:refused-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
|
|
447
|
+
sh:message "A standing hold of email has at most one time of the last refusal."
|
|
448
|
+
] .
|