@quickpipeaiab/domain 0.0.0-stage → 0.10.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 +4257 -0
- package/auth.ttl +123 -0
- package/billing.ttl +3743 -0
- package/campaigns.ttl +3273 -0
- package/core.ttl +811 -0
- package/crm.ttl +439 -0
- package/desk.ttl +5000 -0
- package/domain.ttl +45 -0
- package/email.ttl +1862 -0
- package/events.ttl +3279 -0
- package/identity.ttl +2699 -0
- package/imports/external.ttl +54 -0
- package/leads.ttl +3581 -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 +730 -0
- package/shapes/billing.ttl +3151 -0
- package/shapes/campaigns.ttl +958 -0
- package/shapes/core.ttl +135 -0
- package/shapes/crm.ttl +216 -0
- package/shapes/desk.ttl +1788 -0
- package/shapes/email.ttl +477 -0
- package/shapes/events.ttl +1275 -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 +2136 -0
- package/vocab/auth.ttl +187 -0
- package/vocab/billing.ttl +1606 -0
- package/vocab/campaigns.ttl +746 -0
- package/vocab/core.ttl +648 -0
- package/vocab/crm.ttl +320 -0
- package/vocab/desk.ttl +3093 -0
- package/vocab/email.ttl +234 -0
- package/vocab/events.ttl +776 -0
- package/vocab/identity.ttl +1555 -0
- package/vocab/leads.ttl +2113 -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
|
@@ -0,0 +1,3151 @@
|
|
|
1
|
+
@prefix billing: <https://id.quickpipe.ai/domain/billing#> .
|
|
2
|
+
@prefix billing-vocab: <https://id.quickpipe.ai/domain/vocab/billing#> .
|
|
3
|
+
@prefix billing-shapes: <https://id.quickpipe.ai/domain/shapes/billing#> .
|
|
4
|
+
@prefix identity: <https://id.quickpipe.ai/domain/identity#> .
|
|
5
|
+
@prefix events: <https://id.quickpipe.ai/domain/events#> .
|
|
6
|
+
@prefix events-vocab: <https://id.quickpipe.ai/domain/vocab/events#> .
|
|
7
|
+
@prefix core: <https://id.quickpipe.ai/domain/core#> .
|
|
8
|
+
@prefix ai: <https://id.quickpipe.ai/domain/ai#> .
|
|
9
|
+
@prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
|
|
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
13
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
14
|
+
@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
15
|
+
|
|
16
|
+
<https://id.quickpipe.ai/domain/shapes/billing> a owl:Ontology ;
|
|
17
|
+
owl:versionIRI <https://id.quickpipe.ai/domain/0.10.0/shapes/billing> ;
|
|
18
|
+
owl:versionInfo "0.10.0" ;
|
|
19
|
+
core:title "QuickPipe domain model: shapes of billing"@en ;
|
|
20
|
+
core:preferred-prefix "billing-shapes" .
|
|
21
|
+
|
|
22
|
+
billing-shapes:balance-shape a sh:NodeShape ;
|
|
23
|
+
sh:targetClass billing:balance ;
|
|
24
|
+
sh:closed true ;
|
|
25
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
26
|
+
sh:message "A balance has only the properties of its class."@en ;
|
|
27
|
+
sh:property [
|
|
28
|
+
sh:path billing:has-low-balance-notice ;
|
|
29
|
+
sh:datatype xsd:boolean ;
|
|
30
|
+
sh:minCount 0 ;
|
|
31
|
+
sh:maxCount 1 ;
|
|
32
|
+
sh:message "A balance has at most one low balance notice."@en
|
|
33
|
+
] ;
|
|
34
|
+
sh:property [
|
|
35
|
+
sh:path billing:has-limit-notice ;
|
|
36
|
+
sh:datatype xsd:integer ;
|
|
37
|
+
sh:minCount 0 ;
|
|
38
|
+
sh:maxCount 1 ;
|
|
39
|
+
sh:minInclusive 0 ;
|
|
40
|
+
sh:maxInclusive 100 ;
|
|
41
|
+
sh:message "A balance has at most one limit notice, from 0 to 100."@en
|
|
42
|
+
] ;
|
|
43
|
+
sh:property [
|
|
44
|
+
sh:path core:in-workspace ;
|
|
45
|
+
sh:class core:workspace ;
|
|
46
|
+
sh:minCount 1 ;
|
|
47
|
+
sh:maxCount 1 ;
|
|
48
|
+
sh:message "A balance has exactly one workspace."@en
|
|
49
|
+
] ;
|
|
50
|
+
sh:property [
|
|
51
|
+
sh:path core:has-status ;
|
|
52
|
+
sh:class core:concept ;
|
|
53
|
+
sh:minCount 1 ;
|
|
54
|
+
sh:maxCount 1 ;
|
|
55
|
+
sh:in ( billing-vocab:balance-status-open billing-vocab:balance-status-closed ) ;
|
|
56
|
+
sh:message "A balance has exactly one balance status, from the allowed values."@en
|
|
57
|
+
] ;
|
|
58
|
+
sh:property [
|
|
59
|
+
sh:path billing:has-plan-credits ;
|
|
60
|
+
sh:datatype xsd:long ;
|
|
61
|
+
sh:minCount 1 ;
|
|
62
|
+
sh:maxCount 1 ;
|
|
63
|
+
sh:message "A balance has exactly one plan credits."@en
|
|
64
|
+
] ;
|
|
65
|
+
sh:property [
|
|
66
|
+
sh:path billing:has-bought-credits ;
|
|
67
|
+
sh:datatype xsd:long ;
|
|
68
|
+
sh:minCount 1 ;
|
|
69
|
+
sh:maxCount 1 ;
|
|
70
|
+
sh:message "A balance has exactly one bought credits."@en
|
|
71
|
+
] ;
|
|
72
|
+
sh:property [
|
|
73
|
+
sh:path billing:has-held-credits ;
|
|
74
|
+
sh:datatype xsd:long ;
|
|
75
|
+
sh:minCount 1 ;
|
|
76
|
+
sh:maxCount 1 ;
|
|
77
|
+
sh:message "A balance has exactly one held credits."@en
|
|
78
|
+
] ;
|
|
79
|
+
sh:property [
|
|
80
|
+
sh:path billing:has-available-credits ;
|
|
81
|
+
sh:datatype xsd:long ;
|
|
82
|
+
sh:minCount 0 ;
|
|
83
|
+
sh:maxCount 1 ;
|
|
84
|
+
sh:message "A balance has at most one available credits."@en
|
|
85
|
+
] ;
|
|
86
|
+
sh:property [
|
|
87
|
+
sh:path billing:has-month-charges ;
|
|
88
|
+
sh:datatype xsd:long ;
|
|
89
|
+
sh:minCount 1 ;
|
|
90
|
+
sh:maxCount 1 ;
|
|
91
|
+
sh:message "A balance has exactly one month charges."@en
|
|
92
|
+
] ;
|
|
93
|
+
sh:property [
|
|
94
|
+
sh:path billing:has-month ;
|
|
95
|
+
sh:datatype xsd:string ;
|
|
96
|
+
sh:minCount 1 ;
|
|
97
|
+
sh:maxCount 1 ;
|
|
98
|
+
sh:message "A balance has exactly one month."@en
|
|
99
|
+
] ;
|
|
100
|
+
sh:property [
|
|
101
|
+
sh:path billing:has-expiry ;
|
|
102
|
+
sh:datatype xsd:dateTime ;
|
|
103
|
+
sh:minCount 0 ;
|
|
104
|
+
sh:maxCount 1 ;
|
|
105
|
+
sh:message "A balance has at most one expiry."@en
|
|
106
|
+
] ;
|
|
107
|
+
sh:property [
|
|
108
|
+
sh:path billing:has-stripe-customer-id ;
|
|
109
|
+
sh:datatype xsd:string ;
|
|
110
|
+
sh:minCount 0 ;
|
|
111
|
+
sh:maxCount 1 ;
|
|
112
|
+
sh:message "A balance has at most one Stripe customer id."@en
|
|
113
|
+
] .
|
|
114
|
+
|
|
115
|
+
billing-shapes:charge-shape a sh:NodeShape ;
|
|
116
|
+
sh:targetClass billing:charge ;
|
|
117
|
+
sh:closed true ;
|
|
118
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
119
|
+
sh:message "A charge has only the properties of its class."@en ;
|
|
120
|
+
sh:property [
|
|
121
|
+
sh:path billing:has-cost ;
|
|
122
|
+
sh:datatype xsd:long ;
|
|
123
|
+
sh:minCount 1 ;
|
|
124
|
+
sh:maxCount 1 ;
|
|
125
|
+
sh:message "A charge has exactly one cost."@en
|
|
126
|
+
] ;
|
|
127
|
+
sh:property [
|
|
128
|
+
sh:path billing:with-rate ;
|
|
129
|
+
sh:class billing:rate ;
|
|
130
|
+
sh:minCount 1 ;
|
|
131
|
+
sh:maxCount 1 ;
|
|
132
|
+
sh:message "A charge has exactly one rate."@en
|
|
133
|
+
] ;
|
|
134
|
+
sh:property [
|
|
135
|
+
sh:path billing:has-charge-amount ;
|
|
136
|
+
sh:datatype xsd:long ;
|
|
137
|
+
sh:minCount 1 ;
|
|
138
|
+
sh:maxCount 1 ;
|
|
139
|
+
sh:message "A charge has exactly one charge amount."@en
|
|
140
|
+
] .
|
|
141
|
+
|
|
142
|
+
billing-shapes:quote-shape a sh:NodeShape ;
|
|
143
|
+
sh:targetClass billing:quote ;
|
|
144
|
+
sh:closed true ;
|
|
145
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
146
|
+
sh:message "A quote has only the properties of its class."@en ;
|
|
147
|
+
sh:property [
|
|
148
|
+
sh:path core:in-workspace ;
|
|
149
|
+
sh:class core:workspace ;
|
|
150
|
+
sh:minCount 1 ;
|
|
151
|
+
sh:maxCount 1 ;
|
|
152
|
+
sh:message "A quote has exactly one workspace."@en
|
|
153
|
+
] ;
|
|
154
|
+
sh:property [
|
|
155
|
+
sh:path billing:of-spender ;
|
|
156
|
+
sh:class core:service ;
|
|
157
|
+
sh:minCount 1 ;
|
|
158
|
+
sh:maxCount 1 ;
|
|
159
|
+
sh:message "A quote has exactly one service."@en
|
|
160
|
+
] ;
|
|
161
|
+
sh:property [
|
|
162
|
+
sh:path billing:has-charge ;
|
|
163
|
+
sh:class billing:charge ;
|
|
164
|
+
sh:minCount 1 ;
|
|
165
|
+
sh:maxCount 1 ;
|
|
166
|
+
sh:message "A quote has exactly one charge."@en
|
|
167
|
+
] ;
|
|
168
|
+
sh:property [
|
|
169
|
+
sh:path billing:has-usage-discount ;
|
|
170
|
+
sh:datatype xsd:long ;
|
|
171
|
+
sh:minCount 0 ;
|
|
172
|
+
sh:maxCount 1 ;
|
|
173
|
+
sh:minInclusive 0 ;
|
|
174
|
+
sh:maxInclusive 10000 ;
|
|
175
|
+
sh:message "A quote has at most one usage discount."@en
|
|
176
|
+
] .
|
|
177
|
+
|
|
178
|
+
billing-shapes:hold-shape a sh:NodeShape ;
|
|
179
|
+
sh:targetClass billing:hold ;
|
|
180
|
+
sh:closed true ;
|
|
181
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
182
|
+
sh:message "A hold has only the properties of its class."@en ;
|
|
183
|
+
sh:property [
|
|
184
|
+
sh:path core:id ;
|
|
185
|
+
sh:datatype xsd:string ;
|
|
186
|
+
sh:minCount 1 ;
|
|
187
|
+
sh:maxCount 1 ;
|
|
188
|
+
sh:message "A hold has exactly one id."@en
|
|
189
|
+
] ;
|
|
190
|
+
sh:property [
|
|
191
|
+
sh:path core:in-workspace ;
|
|
192
|
+
sh:class core:workspace ;
|
|
193
|
+
sh:minCount 1 ;
|
|
194
|
+
sh:maxCount 1 ;
|
|
195
|
+
sh:message "A hold has exactly one workspace."@en
|
|
196
|
+
] ;
|
|
197
|
+
sh:property [
|
|
198
|
+
sh:path billing:of-spender ;
|
|
199
|
+
sh:class core:service ;
|
|
200
|
+
sh:minCount 1 ;
|
|
201
|
+
sh:maxCount 1 ;
|
|
202
|
+
sh:message "A hold has exactly one service."@en
|
|
203
|
+
] ;
|
|
204
|
+
sh:property [
|
|
205
|
+
sh:path billing:has-hold-kind ;
|
|
206
|
+
sh:class core:concept ;
|
|
207
|
+
sh:minCount 1 ;
|
|
208
|
+
sh:maxCount 1 ;
|
|
209
|
+
sh:in ( billing-vocab:hold-kind-run billing-vocab:hold-kind-call billing-vocab:hold-kind-standing ) ;
|
|
210
|
+
sh:message "A hold has exactly one hold kind, from the allowed values."@en
|
|
211
|
+
] ;
|
|
212
|
+
sh:property [
|
|
213
|
+
sh:path billing:has-charge-origin ;
|
|
214
|
+
sh:class core:concept ;
|
|
215
|
+
sh:minCount 1 ;
|
|
216
|
+
sh:maxCount 1 ;
|
|
217
|
+
sh:node [ a sh:NodeShape ; sh:property [ sh:path core:in-scheme ; sh:hasValue billing-vocab:charge-origin ] ] ;
|
|
218
|
+
sh:message "A hold has exactly one charge origin, from its concept scheme."@en
|
|
219
|
+
] ;
|
|
220
|
+
sh:property [
|
|
221
|
+
sh:path core:has-status ;
|
|
222
|
+
sh:class core:concept ;
|
|
223
|
+
sh:minCount 1 ;
|
|
224
|
+
sh:maxCount 1 ;
|
|
225
|
+
sh:in ( billing-vocab:hold-status-open billing-vocab:hold-status-settled billing-vocab:hold-status-released billing-vocab:hold-status-expired ) ;
|
|
226
|
+
sh:message "A hold has exactly one hold status, from the allowed values."@en
|
|
227
|
+
] ;
|
|
228
|
+
sh:property [
|
|
229
|
+
sh:path billing:has-tag ;
|
|
230
|
+
sh:class billing:tag ;
|
|
231
|
+
sh:minCount 0 ;
|
|
232
|
+
sh:maxCount 5 ;
|
|
233
|
+
sh:message "A hold has at most 5 values of tag."@en
|
|
234
|
+
] ;
|
|
235
|
+
sh:property [
|
|
236
|
+
sh:path billing:has-amount ;
|
|
237
|
+
sh:datatype xsd:long ;
|
|
238
|
+
sh:minCount 1 ;
|
|
239
|
+
sh:maxCount 1 ;
|
|
240
|
+
sh:message "A hold has exactly one hold amount."@en
|
|
241
|
+
] ;
|
|
242
|
+
sh:property [
|
|
243
|
+
sh:path billing:with-rate ;
|
|
244
|
+
sh:class billing:rate ;
|
|
245
|
+
sh:minCount 1 ;
|
|
246
|
+
sh:maxCount 1 ;
|
|
247
|
+
sh:message "A hold has exactly one rate."@en
|
|
248
|
+
] ;
|
|
249
|
+
sh:property [
|
|
250
|
+
sh:path billing:has-expiry ;
|
|
251
|
+
sh:datatype xsd:dateTime ;
|
|
252
|
+
sh:minCount 1 ;
|
|
253
|
+
sh:maxCount 1 ;
|
|
254
|
+
sh:message "A hold has exactly one expiry."@en
|
|
255
|
+
] ;
|
|
256
|
+
sh:property [
|
|
257
|
+
sh:path billing:has-plan-credits ;
|
|
258
|
+
sh:datatype xsd:long ;
|
|
259
|
+
sh:minCount 1 ;
|
|
260
|
+
sh:maxCount 1 ;
|
|
261
|
+
sh:message "A hold has exactly one plan credits."@en
|
|
262
|
+
] ;
|
|
263
|
+
sh:property [
|
|
264
|
+
sh:path billing:has-bought-credits ;
|
|
265
|
+
sh:datatype xsd:long ;
|
|
266
|
+
sh:minCount 1 ;
|
|
267
|
+
sh:maxCount 1 ;
|
|
268
|
+
sh:message "A hold has exactly one bought credits."@en
|
|
269
|
+
] ;
|
|
270
|
+
sh:property [
|
|
271
|
+
sh:path billing:has-maximum-cost ;
|
|
272
|
+
sh:datatype xsd:long ;
|
|
273
|
+
sh:minCount 0 ;
|
|
274
|
+
sh:maxCount 1 ;
|
|
275
|
+
sh:message "A hold has at most one maximum cost."@en
|
|
276
|
+
] ;
|
|
277
|
+
sh:property [
|
|
278
|
+
sh:path billing:has-minimum-cost ;
|
|
279
|
+
sh:datatype xsd:long ;
|
|
280
|
+
sh:minCount 0 ;
|
|
281
|
+
sh:maxCount 1 ;
|
|
282
|
+
sh:message "A hold has at most one minimum cost."@en
|
|
283
|
+
] ;
|
|
284
|
+
sh:property [
|
|
285
|
+
sh:path billing:has-charge ;
|
|
286
|
+
sh:class billing:charge ;
|
|
287
|
+
sh:minCount 0 ;
|
|
288
|
+
sh:maxCount 1 ;
|
|
289
|
+
sh:message "A hold has at most one charge."@en
|
|
290
|
+
] ;
|
|
291
|
+
sh:property [
|
|
292
|
+
sh:path billing:has-absorbed-cost ;
|
|
293
|
+
sh:datatype xsd:long ;
|
|
294
|
+
sh:minCount 0 ;
|
|
295
|
+
sh:maxCount 1 ;
|
|
296
|
+
sh:message "A hold has at most one absorbed cost."@en
|
|
297
|
+
] ;
|
|
298
|
+
sh:property [
|
|
299
|
+
sh:path billing:is-absorbed ;
|
|
300
|
+
sh:datatype xsd:boolean ;
|
|
301
|
+
sh:minCount 0 ;
|
|
302
|
+
sh:maxCount 1 ;
|
|
303
|
+
sh:message "A hold has at most one mark absorbed."@en
|
|
304
|
+
] ;
|
|
305
|
+
sh:property [
|
|
306
|
+
sh:path billing:has-absorbed-cost-reason ;
|
|
307
|
+
sh:class core:concept ;
|
|
308
|
+
sh:in ( billing-vocab:absorbed-cost-reason-closed-hold billing-vocab:absorbed-cost-reason-above-amount billing-vocab:absorbed-cost-reason-sample ) ;
|
|
309
|
+
sh:minCount 0 ;
|
|
310
|
+
sh:maxCount 1 ;
|
|
311
|
+
sh:message "A hold has at most one absorbed cost reason, from the allowed values."@en
|
|
312
|
+
] ;
|
|
313
|
+
sh:property [
|
|
314
|
+
sh:path billing:for-run ;
|
|
315
|
+
sh:class core:run ;
|
|
316
|
+
sh:minCount 0 ;
|
|
317
|
+
sh:maxCount 1 ;
|
|
318
|
+
sh:message "A hold has at most one run."@en
|
|
319
|
+
] ;
|
|
320
|
+
sh:property [
|
|
321
|
+
sh:path billing:has-requester ;
|
|
322
|
+
sh:class billing:requester ;
|
|
323
|
+
sh:minCount 0 ;
|
|
324
|
+
sh:maxCount 1 ;
|
|
325
|
+
sh:message "A hold has at most one requester."@en
|
|
326
|
+
] ;
|
|
327
|
+
sh:property [
|
|
328
|
+
sh:path core:started-at ;
|
|
329
|
+
sh:datatype xsd:dateTime ;
|
|
330
|
+
sh:minCount 0 ;
|
|
331
|
+
sh:maxCount 1 ;
|
|
332
|
+
sh:message "A hold has at most one start time."@en
|
|
333
|
+
] ;
|
|
334
|
+
sh:property [
|
|
335
|
+
sh:path core:ended-at ;
|
|
336
|
+
sh:datatype xsd:dateTime ;
|
|
337
|
+
sh:minCount 0 ;
|
|
338
|
+
sh:maxCount 1 ;
|
|
339
|
+
sh:message "A hold has at most one end time."@en
|
|
340
|
+
] ;
|
|
341
|
+
sh:property [
|
|
342
|
+
sh:path billing:has-usage-discount ;
|
|
343
|
+
sh:datatype xsd:long ;
|
|
344
|
+
sh:minCount 0 ;
|
|
345
|
+
sh:maxCount 1 ;
|
|
346
|
+
sh:minInclusive 0 ;
|
|
347
|
+
sh:maxInclusive 10000 ;
|
|
348
|
+
sh:message "A hold has at most one usage discount."@en
|
|
349
|
+
] ;
|
|
350
|
+
sh:property [
|
|
351
|
+
sh:path billing:has-coverable-cost ;
|
|
352
|
+
sh:datatype xsd:long ;
|
|
353
|
+
sh:minCount 0 ;
|
|
354
|
+
sh:maxCount 1 ;
|
|
355
|
+
sh:minInclusive 0 ;
|
|
356
|
+
sh:message "A hold has at most one coverable cost."@en
|
|
357
|
+
] .
|
|
358
|
+
|
|
359
|
+
billing-shapes:run-hold-shape a sh:NodeShape ;
|
|
360
|
+
sh:targetClass billing:run-hold ;
|
|
361
|
+
sh:closed true ;
|
|
362
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
363
|
+
sh:message "A run hold has only the properties of its class."@en ;
|
|
364
|
+
sh:property [
|
|
365
|
+
sh:path billing:for-run ;
|
|
366
|
+
sh:class core:run ;
|
|
367
|
+
sh:minCount 1 ;
|
|
368
|
+
sh:maxCount 1 ;
|
|
369
|
+
sh:message "A run hold has exactly one run."@en
|
|
370
|
+
] ;
|
|
371
|
+
sh:property [
|
|
372
|
+
sh:path billing:has-hold-kind ;
|
|
373
|
+
sh:class core:concept ;
|
|
374
|
+
sh:minCount 1 ;
|
|
375
|
+
sh:maxCount 1 ;
|
|
376
|
+
sh:in ( billing-vocab:hold-kind-run ) ;
|
|
377
|
+
sh:message "A run hold has exactly one hold kind, from the allowed values."@en
|
|
378
|
+
] ;
|
|
379
|
+
sh:property [
|
|
380
|
+
sh:path billing:has-charge-origin ;
|
|
381
|
+
sh:class core:concept ;
|
|
382
|
+
sh:minCount 1 ;
|
|
383
|
+
sh:maxCount 1 ;
|
|
384
|
+
sh:in ( billing-vocab:charge-origin-run ) ;
|
|
385
|
+
sh:message "A run hold has exactly one charge origin, from the allowed values."@en
|
|
386
|
+
] ;
|
|
387
|
+
sh:property [
|
|
388
|
+
sh:path core:id ;
|
|
389
|
+
sh:datatype xsd:string ;
|
|
390
|
+
sh:minCount 1 ;
|
|
391
|
+
sh:maxCount 1 ;
|
|
392
|
+
sh:message "A run hold has exactly one id."@en
|
|
393
|
+
] ;
|
|
394
|
+
sh:property [
|
|
395
|
+
sh:path core:in-workspace ;
|
|
396
|
+
sh:class core:workspace ;
|
|
397
|
+
sh:minCount 1 ;
|
|
398
|
+
sh:maxCount 1 ;
|
|
399
|
+
sh:message "A run hold has exactly one workspace."@en
|
|
400
|
+
] ;
|
|
401
|
+
sh:property [
|
|
402
|
+
sh:path billing:of-spender ;
|
|
403
|
+
sh:class core:service ;
|
|
404
|
+
sh:minCount 1 ;
|
|
405
|
+
sh:maxCount 1 ;
|
|
406
|
+
sh:message "A run hold has exactly one service."@en
|
|
407
|
+
] ;
|
|
408
|
+
sh:property [
|
|
409
|
+
sh:path core:has-status ;
|
|
410
|
+
sh:class core:concept ;
|
|
411
|
+
sh:minCount 1 ;
|
|
412
|
+
sh:maxCount 1 ;
|
|
413
|
+
sh:in ( billing-vocab:hold-status-open billing-vocab:hold-status-settled billing-vocab:hold-status-released billing-vocab:hold-status-expired ) ;
|
|
414
|
+
sh:message "A run hold has exactly one hold status, from the allowed values."@en
|
|
415
|
+
] ;
|
|
416
|
+
sh:property [
|
|
417
|
+
sh:path billing:has-tag ;
|
|
418
|
+
sh:class billing:tag ;
|
|
419
|
+
sh:minCount 0 ;
|
|
420
|
+
sh:maxCount 5 ;
|
|
421
|
+
sh:message "A run hold has at most 5 values of tag."@en
|
|
422
|
+
] ;
|
|
423
|
+
sh:property [
|
|
424
|
+
sh:path billing:has-amount ;
|
|
425
|
+
sh:datatype xsd:long ;
|
|
426
|
+
sh:minCount 1 ;
|
|
427
|
+
sh:maxCount 1 ;
|
|
428
|
+
sh:message "A run hold has exactly one hold amount."@en
|
|
429
|
+
] ;
|
|
430
|
+
sh:property [
|
|
431
|
+
sh:path billing:with-rate ;
|
|
432
|
+
sh:class billing:rate ;
|
|
433
|
+
sh:minCount 1 ;
|
|
434
|
+
sh:maxCount 1 ;
|
|
435
|
+
sh:message "A run hold has exactly one rate."@en
|
|
436
|
+
] ;
|
|
437
|
+
sh:property [
|
|
438
|
+
sh:path billing:has-expiry ;
|
|
439
|
+
sh:datatype xsd:dateTime ;
|
|
440
|
+
sh:minCount 1 ;
|
|
441
|
+
sh:maxCount 1 ;
|
|
442
|
+
sh:message "A run hold has exactly one expiry."@en
|
|
443
|
+
] ;
|
|
444
|
+
sh:property [
|
|
445
|
+
sh:path billing:has-plan-credits ;
|
|
446
|
+
sh:datatype xsd:long ;
|
|
447
|
+
sh:minCount 1 ;
|
|
448
|
+
sh:maxCount 1 ;
|
|
449
|
+
sh:message "A run hold has exactly one plan credits."@en
|
|
450
|
+
] ;
|
|
451
|
+
sh:property [
|
|
452
|
+
sh:path billing:has-bought-credits ;
|
|
453
|
+
sh:datatype xsd:long ;
|
|
454
|
+
sh:minCount 1 ;
|
|
455
|
+
sh:maxCount 1 ;
|
|
456
|
+
sh:message "A run hold has exactly one bought credits."@en
|
|
457
|
+
] ;
|
|
458
|
+
sh:property [
|
|
459
|
+
sh:path billing:has-maximum-cost ;
|
|
460
|
+
sh:datatype xsd:long ;
|
|
461
|
+
sh:minCount 0 ;
|
|
462
|
+
sh:maxCount 1 ;
|
|
463
|
+
sh:message "A run hold has at most one maximum cost."@en
|
|
464
|
+
] ;
|
|
465
|
+
sh:property [
|
|
466
|
+
sh:path billing:has-minimum-cost ;
|
|
467
|
+
sh:datatype xsd:long ;
|
|
468
|
+
sh:minCount 0 ;
|
|
469
|
+
sh:maxCount 1 ;
|
|
470
|
+
sh:message "A run hold has at most one minimum cost."@en
|
|
471
|
+
] ;
|
|
472
|
+
sh:property [
|
|
473
|
+
sh:path billing:has-charge ;
|
|
474
|
+
sh:class billing:charge ;
|
|
475
|
+
sh:minCount 0 ;
|
|
476
|
+
sh:maxCount 1 ;
|
|
477
|
+
sh:message "A run hold has at most one charge."@en
|
|
478
|
+
] ;
|
|
479
|
+
sh:property [
|
|
480
|
+
sh:path billing:has-absorbed-cost ;
|
|
481
|
+
sh:datatype xsd:long ;
|
|
482
|
+
sh:minCount 0 ;
|
|
483
|
+
sh:maxCount 1 ;
|
|
484
|
+
sh:message "A run hold has at most one absorbed cost."@en
|
|
485
|
+
] ;
|
|
486
|
+
sh:property [
|
|
487
|
+
sh:path billing:is-absorbed ;
|
|
488
|
+
sh:datatype xsd:boolean ;
|
|
489
|
+
sh:minCount 0 ;
|
|
490
|
+
sh:maxCount 1 ;
|
|
491
|
+
sh:message "A run hold has at most one mark absorbed."@en
|
|
492
|
+
] ;
|
|
493
|
+
sh:property [
|
|
494
|
+
sh:path billing:has-absorbed-cost-reason ;
|
|
495
|
+
sh:class core:concept ;
|
|
496
|
+
sh:in ( billing-vocab:absorbed-cost-reason-closed-hold billing-vocab:absorbed-cost-reason-above-amount billing-vocab:absorbed-cost-reason-sample ) ;
|
|
497
|
+
sh:minCount 0 ;
|
|
498
|
+
sh:maxCount 1 ;
|
|
499
|
+
sh:message "A run hold has at most one absorbed cost reason, from the allowed values."@en
|
|
500
|
+
] ;
|
|
501
|
+
sh:property [
|
|
502
|
+
sh:path core:started-at ;
|
|
503
|
+
sh:datatype xsd:dateTime ;
|
|
504
|
+
sh:minCount 0 ;
|
|
505
|
+
sh:maxCount 1 ;
|
|
506
|
+
sh:message "A run hold has at most one start time."@en
|
|
507
|
+
] ;
|
|
508
|
+
sh:property [
|
|
509
|
+
sh:path core:ended-at ;
|
|
510
|
+
sh:datatype xsd:dateTime ;
|
|
511
|
+
sh:minCount 0 ;
|
|
512
|
+
sh:maxCount 1 ;
|
|
513
|
+
sh:message "A run hold has at most one end time."@en
|
|
514
|
+
] ;
|
|
515
|
+
sh:property [
|
|
516
|
+
sh:path billing:has-usage-discount ;
|
|
517
|
+
sh:datatype xsd:long ;
|
|
518
|
+
sh:minCount 0 ;
|
|
519
|
+
sh:maxCount 1 ;
|
|
520
|
+
sh:minInclusive 0 ;
|
|
521
|
+
sh:maxInclusive 10000 ;
|
|
522
|
+
sh:message "A run hold has at most one usage discount."@en
|
|
523
|
+
] ;
|
|
524
|
+
sh:property [
|
|
525
|
+
sh:path billing:has-coverable-cost ;
|
|
526
|
+
sh:datatype xsd:long ;
|
|
527
|
+
sh:minCount 0 ;
|
|
528
|
+
sh:maxCount 1 ;
|
|
529
|
+
sh:minInclusive 0 ;
|
|
530
|
+
sh:message "A run hold has at most one coverable cost."@en
|
|
531
|
+
] .
|
|
532
|
+
|
|
533
|
+
billing-shapes:call-hold-shape a sh:NodeShape ;
|
|
534
|
+
sh:targetClass billing:call-hold ;
|
|
535
|
+
sh:closed true ;
|
|
536
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
537
|
+
sh:message "A call hold has only the properties of its class."@en ;
|
|
538
|
+
sh:property [
|
|
539
|
+
sh:path billing:has-requester ;
|
|
540
|
+
sh:class billing:requester ;
|
|
541
|
+
sh:minCount 1 ;
|
|
542
|
+
sh:maxCount 1 ;
|
|
543
|
+
sh:message "A call hold has exactly one requester."@en
|
|
544
|
+
] ;
|
|
545
|
+
sh:property [
|
|
546
|
+
sh:path billing:has-hold-kind ;
|
|
547
|
+
sh:class core:concept ;
|
|
548
|
+
sh:minCount 1 ;
|
|
549
|
+
sh:maxCount 1 ;
|
|
550
|
+
sh:in ( billing-vocab:hold-kind-call ) ;
|
|
551
|
+
sh:message "A call hold has exactly one hold kind, from the allowed values."@en
|
|
552
|
+
] ;
|
|
553
|
+
sh:property [
|
|
554
|
+
sh:path billing:has-charge-origin ;
|
|
555
|
+
sh:class core:concept ;
|
|
556
|
+
sh:minCount 1 ;
|
|
557
|
+
sh:maxCount 1 ;
|
|
558
|
+
sh:in ( billing-vocab:charge-origin-call ) ;
|
|
559
|
+
sh:message "A call hold has exactly one charge origin, from the allowed values."@en
|
|
560
|
+
] ;
|
|
561
|
+
sh:property [
|
|
562
|
+
sh:path core:id ;
|
|
563
|
+
sh:datatype xsd:string ;
|
|
564
|
+
sh:minCount 1 ;
|
|
565
|
+
sh:maxCount 1 ;
|
|
566
|
+
sh:message "A call hold has exactly one id."@en
|
|
567
|
+
] ;
|
|
568
|
+
sh:property [
|
|
569
|
+
sh:path core:in-workspace ;
|
|
570
|
+
sh:class core:workspace ;
|
|
571
|
+
sh:minCount 1 ;
|
|
572
|
+
sh:maxCount 1 ;
|
|
573
|
+
sh:message "A call hold has exactly one workspace."@en
|
|
574
|
+
] ;
|
|
575
|
+
sh:property [
|
|
576
|
+
sh:path billing:of-spender ;
|
|
577
|
+
sh:class core:service ;
|
|
578
|
+
sh:minCount 1 ;
|
|
579
|
+
sh:maxCount 1 ;
|
|
580
|
+
sh:message "A call hold has exactly one service."@en
|
|
581
|
+
] ;
|
|
582
|
+
sh:property [
|
|
583
|
+
sh:path core:has-status ;
|
|
584
|
+
sh:class core:concept ;
|
|
585
|
+
sh:minCount 1 ;
|
|
586
|
+
sh:maxCount 1 ;
|
|
587
|
+
sh:in ( billing-vocab:hold-status-open billing-vocab:hold-status-settled billing-vocab:hold-status-released billing-vocab:hold-status-expired ) ;
|
|
588
|
+
sh:message "A call hold has exactly one hold status, from the allowed values."@en
|
|
589
|
+
] ;
|
|
590
|
+
sh:property [
|
|
591
|
+
sh:path billing:has-tag ;
|
|
592
|
+
sh:class billing:tag ;
|
|
593
|
+
sh:minCount 0 ;
|
|
594
|
+
sh:maxCount 5 ;
|
|
595
|
+
sh:message "A call hold has at most 5 values of tag."@en
|
|
596
|
+
] ;
|
|
597
|
+
sh:property [
|
|
598
|
+
sh:path billing:has-amount ;
|
|
599
|
+
sh:datatype xsd:long ;
|
|
600
|
+
sh:minCount 1 ;
|
|
601
|
+
sh:maxCount 1 ;
|
|
602
|
+
sh:message "A call hold has exactly one hold amount."@en
|
|
603
|
+
] ;
|
|
604
|
+
sh:property [
|
|
605
|
+
sh:path billing:with-rate ;
|
|
606
|
+
sh:class billing:rate ;
|
|
607
|
+
sh:minCount 1 ;
|
|
608
|
+
sh:maxCount 1 ;
|
|
609
|
+
sh:message "A call hold has exactly one rate."@en
|
|
610
|
+
] ;
|
|
611
|
+
sh:property [
|
|
612
|
+
sh:path billing:has-expiry ;
|
|
613
|
+
sh:datatype xsd:dateTime ;
|
|
614
|
+
sh:minCount 1 ;
|
|
615
|
+
sh:maxCount 1 ;
|
|
616
|
+
sh:message "A call hold has exactly one expiry."@en
|
|
617
|
+
] ;
|
|
618
|
+
sh:property [
|
|
619
|
+
sh:path billing:has-plan-credits ;
|
|
620
|
+
sh:datatype xsd:long ;
|
|
621
|
+
sh:minCount 1 ;
|
|
622
|
+
sh:maxCount 1 ;
|
|
623
|
+
sh:message "A call hold has exactly one plan credits."@en
|
|
624
|
+
] ;
|
|
625
|
+
sh:property [
|
|
626
|
+
sh:path billing:has-bought-credits ;
|
|
627
|
+
sh:datatype xsd:long ;
|
|
628
|
+
sh:minCount 1 ;
|
|
629
|
+
sh:maxCount 1 ;
|
|
630
|
+
sh:message "A call hold has exactly one bought credits."@en
|
|
631
|
+
] ;
|
|
632
|
+
sh:property [
|
|
633
|
+
sh:path billing:has-maximum-cost ;
|
|
634
|
+
sh:datatype xsd:long ;
|
|
635
|
+
sh:minCount 0 ;
|
|
636
|
+
sh:maxCount 1 ;
|
|
637
|
+
sh:message "A call hold has at most one maximum cost."@en
|
|
638
|
+
] ;
|
|
639
|
+
sh:property [
|
|
640
|
+
sh:path billing:has-minimum-cost ;
|
|
641
|
+
sh:datatype xsd:long ;
|
|
642
|
+
sh:minCount 0 ;
|
|
643
|
+
sh:maxCount 1 ;
|
|
644
|
+
sh:message "A call hold has at most one minimum cost."@en
|
|
645
|
+
] ;
|
|
646
|
+
sh:property [
|
|
647
|
+
sh:path billing:has-charge ;
|
|
648
|
+
sh:class billing:charge ;
|
|
649
|
+
sh:minCount 0 ;
|
|
650
|
+
sh:maxCount 1 ;
|
|
651
|
+
sh:message "A call hold has at most one charge."@en
|
|
652
|
+
] ;
|
|
653
|
+
sh:property [
|
|
654
|
+
sh:path billing:has-absorbed-cost ;
|
|
655
|
+
sh:datatype xsd:long ;
|
|
656
|
+
sh:minCount 0 ;
|
|
657
|
+
sh:maxCount 1 ;
|
|
658
|
+
sh:message "A call hold has at most one absorbed cost."@en
|
|
659
|
+
] ;
|
|
660
|
+
sh:property [
|
|
661
|
+
sh:path billing:is-absorbed ;
|
|
662
|
+
sh:datatype xsd:boolean ;
|
|
663
|
+
sh:minCount 0 ;
|
|
664
|
+
sh:maxCount 1 ;
|
|
665
|
+
sh:message "A call hold has at most one mark absorbed."@en
|
|
666
|
+
] ;
|
|
667
|
+
sh:property [
|
|
668
|
+
sh:path billing:has-absorbed-cost-reason ;
|
|
669
|
+
sh:class core:concept ;
|
|
670
|
+
sh:in ( billing-vocab:absorbed-cost-reason-closed-hold billing-vocab:absorbed-cost-reason-above-amount billing-vocab:absorbed-cost-reason-sample ) ;
|
|
671
|
+
sh:minCount 0 ;
|
|
672
|
+
sh:maxCount 1 ;
|
|
673
|
+
sh:message "A call hold has at most one absorbed cost reason, from the allowed values."@en
|
|
674
|
+
] ;
|
|
675
|
+
sh:property [
|
|
676
|
+
sh:path core:started-at ;
|
|
677
|
+
sh:datatype xsd:dateTime ;
|
|
678
|
+
sh:minCount 0 ;
|
|
679
|
+
sh:maxCount 1 ;
|
|
680
|
+
sh:message "A call hold has at most one start time."@en
|
|
681
|
+
] ;
|
|
682
|
+
sh:property [
|
|
683
|
+
sh:path core:ended-at ;
|
|
684
|
+
sh:datatype xsd:dateTime ;
|
|
685
|
+
sh:minCount 0 ;
|
|
686
|
+
sh:maxCount 1 ;
|
|
687
|
+
sh:message "A call hold has at most one end time."@en
|
|
688
|
+
] ;
|
|
689
|
+
sh:property [
|
|
690
|
+
sh:path billing:has-usage-discount ;
|
|
691
|
+
sh:datatype xsd:long ;
|
|
692
|
+
sh:minCount 0 ;
|
|
693
|
+
sh:maxCount 1 ;
|
|
694
|
+
sh:minInclusive 0 ;
|
|
695
|
+
sh:maxInclusive 10000 ;
|
|
696
|
+
sh:message "A call hold has at most one usage discount."@en
|
|
697
|
+
] ;
|
|
698
|
+
sh:property [
|
|
699
|
+
sh:path billing:has-coverable-cost ;
|
|
700
|
+
sh:datatype xsd:long ;
|
|
701
|
+
sh:minCount 0 ;
|
|
702
|
+
sh:maxCount 1 ;
|
|
703
|
+
sh:minInclusive 0 ;
|
|
704
|
+
sh:message "A call hold has at most one coverable cost."@en
|
|
705
|
+
] .
|
|
706
|
+
|
|
707
|
+
billing-shapes:standing-hold-shape a sh:NodeShape ;
|
|
708
|
+
sh:targetClass billing:standing-hold ;
|
|
709
|
+
sh:closed true ;
|
|
710
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
711
|
+
sh:message "A standing hold has only the properties of its class."@en ;
|
|
712
|
+
sh:property [
|
|
713
|
+
sh:path billing:has-requester ;
|
|
714
|
+
sh:class billing:requester ;
|
|
715
|
+
sh:minCount 1 ;
|
|
716
|
+
sh:maxCount 1 ;
|
|
717
|
+
sh:message "A standing hold has exactly one requester."@en
|
|
718
|
+
] ;
|
|
719
|
+
sh:property [
|
|
720
|
+
sh:path billing:has-hold-kind ;
|
|
721
|
+
sh:class core:concept ;
|
|
722
|
+
sh:minCount 1 ;
|
|
723
|
+
sh:maxCount 1 ;
|
|
724
|
+
sh:in ( billing-vocab:hold-kind-standing ) ;
|
|
725
|
+
sh:message "A standing hold has exactly one hold kind, from the allowed values."@en
|
|
726
|
+
] ;
|
|
727
|
+
sh:property [
|
|
728
|
+
sh:path billing:has-charge-origin ;
|
|
729
|
+
sh:class core:concept ;
|
|
730
|
+
sh:minCount 1 ;
|
|
731
|
+
sh:maxCount 1 ;
|
|
732
|
+
sh:in ( billing-vocab:charge-origin-call billing-vocab:charge-origin-channel ) ;
|
|
733
|
+
sh:message "A standing hold has exactly one charge origin, from the allowed values."@en
|
|
734
|
+
] ;
|
|
735
|
+
sh:property [
|
|
736
|
+
sh:path core:id ;
|
|
737
|
+
sh:datatype xsd:string ;
|
|
738
|
+
sh:minCount 1 ;
|
|
739
|
+
sh:maxCount 1 ;
|
|
740
|
+
sh:message "A standing hold has exactly one id."@en
|
|
741
|
+
] ;
|
|
742
|
+
sh:property [
|
|
743
|
+
sh:path core:in-workspace ;
|
|
744
|
+
sh:class core:workspace ;
|
|
745
|
+
sh:minCount 1 ;
|
|
746
|
+
sh:maxCount 1 ;
|
|
747
|
+
sh:message "A standing hold has exactly one workspace."@en
|
|
748
|
+
] ;
|
|
749
|
+
sh:property [
|
|
750
|
+
sh:path billing:of-spender ;
|
|
751
|
+
sh:class core:service ;
|
|
752
|
+
sh:minCount 1 ;
|
|
753
|
+
sh:maxCount 1 ;
|
|
754
|
+
sh:message "A standing hold has exactly one service."@en
|
|
755
|
+
] ;
|
|
756
|
+
sh:property [
|
|
757
|
+
sh:path core:has-status ;
|
|
758
|
+
sh:class core:concept ;
|
|
759
|
+
sh:minCount 1 ;
|
|
760
|
+
sh:maxCount 1 ;
|
|
761
|
+
sh:in ( billing-vocab:hold-status-open billing-vocab:hold-status-settled billing-vocab:hold-status-released billing-vocab:hold-status-expired ) ;
|
|
762
|
+
sh:message "A standing hold has exactly one hold status, from the allowed values."@en
|
|
763
|
+
] ;
|
|
764
|
+
sh:property [
|
|
765
|
+
sh:path billing:has-tag ;
|
|
766
|
+
sh:class billing:tag ;
|
|
767
|
+
sh:minCount 0 ;
|
|
768
|
+
sh:maxCount 5 ;
|
|
769
|
+
sh:message "A standing hold has at most 5 values of tag."@en
|
|
770
|
+
] ;
|
|
771
|
+
sh:property [
|
|
772
|
+
sh:path billing:has-amount ;
|
|
773
|
+
sh:datatype xsd:long ;
|
|
774
|
+
sh:minCount 1 ;
|
|
775
|
+
sh:maxCount 1 ;
|
|
776
|
+
sh:message "A standing hold has exactly one hold amount."@en
|
|
777
|
+
] ;
|
|
778
|
+
sh:property [
|
|
779
|
+
sh:path billing:with-rate ;
|
|
780
|
+
sh:class billing:rate ;
|
|
781
|
+
sh:minCount 1 ;
|
|
782
|
+
sh:maxCount 1 ;
|
|
783
|
+
sh:message "A standing hold has exactly one rate."@en
|
|
784
|
+
] ;
|
|
785
|
+
sh:property [
|
|
786
|
+
sh:path billing:has-expiry ;
|
|
787
|
+
sh:datatype xsd:dateTime ;
|
|
788
|
+
sh:minCount 1 ;
|
|
789
|
+
sh:maxCount 1 ;
|
|
790
|
+
sh:message "A standing hold has exactly one expiry."@en
|
|
791
|
+
] ;
|
|
792
|
+
sh:property [
|
|
793
|
+
sh:path billing:has-plan-credits ;
|
|
794
|
+
sh:datatype xsd:long ;
|
|
795
|
+
sh:minCount 1 ;
|
|
796
|
+
sh:maxCount 1 ;
|
|
797
|
+
sh:message "A standing hold has exactly one plan credits."@en
|
|
798
|
+
] ;
|
|
799
|
+
sh:property [
|
|
800
|
+
sh:path billing:has-bought-credits ;
|
|
801
|
+
sh:datatype xsd:long ;
|
|
802
|
+
sh:minCount 1 ;
|
|
803
|
+
sh:maxCount 1 ;
|
|
804
|
+
sh:message "A standing hold has exactly one bought credits."@en
|
|
805
|
+
] ;
|
|
806
|
+
sh:property [
|
|
807
|
+
sh:path billing:has-maximum-cost ;
|
|
808
|
+
sh:datatype xsd:long ;
|
|
809
|
+
sh:minCount 0 ;
|
|
810
|
+
sh:maxCount 1 ;
|
|
811
|
+
sh:message "A standing hold has at most one maximum cost."@en
|
|
812
|
+
] ;
|
|
813
|
+
sh:property [
|
|
814
|
+
sh:path billing:has-minimum-cost ;
|
|
815
|
+
sh:datatype xsd:long ;
|
|
816
|
+
sh:minCount 0 ;
|
|
817
|
+
sh:maxCount 1 ;
|
|
818
|
+
sh:message "A standing hold has at most one minimum cost."@en
|
|
819
|
+
] ;
|
|
820
|
+
sh:property [
|
|
821
|
+
sh:path billing:has-charge ;
|
|
822
|
+
sh:class billing:charge ;
|
|
823
|
+
sh:minCount 0 ;
|
|
824
|
+
sh:maxCount 1 ;
|
|
825
|
+
sh:message "A standing hold has at most one charge."@en
|
|
826
|
+
] ;
|
|
827
|
+
sh:property [
|
|
828
|
+
sh:path billing:has-absorbed-cost ;
|
|
829
|
+
sh:datatype xsd:long ;
|
|
830
|
+
sh:minCount 0 ;
|
|
831
|
+
sh:maxCount 1 ;
|
|
832
|
+
sh:message "A standing hold has at most one absorbed cost."@en
|
|
833
|
+
] ;
|
|
834
|
+
sh:property [
|
|
835
|
+
sh:path billing:is-absorbed ;
|
|
836
|
+
sh:datatype xsd:boolean ;
|
|
837
|
+
sh:minCount 0 ;
|
|
838
|
+
sh:maxCount 1 ;
|
|
839
|
+
sh:message "A standing hold has at most one mark absorbed."@en
|
|
840
|
+
] ;
|
|
841
|
+
sh:property [
|
|
842
|
+
sh:path billing:has-absorbed-cost-reason ;
|
|
843
|
+
sh:class core:concept ;
|
|
844
|
+
sh:in ( billing-vocab:absorbed-cost-reason-closed-hold billing-vocab:absorbed-cost-reason-above-amount billing-vocab:absorbed-cost-reason-sample ) ;
|
|
845
|
+
sh:minCount 0 ;
|
|
846
|
+
sh:maxCount 1 ;
|
|
847
|
+
sh:message "A standing hold has at most one absorbed cost reason, from the allowed values."@en
|
|
848
|
+
] ;
|
|
849
|
+
sh:property [
|
|
850
|
+
sh:path core:started-at ;
|
|
851
|
+
sh:datatype xsd:dateTime ;
|
|
852
|
+
sh:minCount 0 ;
|
|
853
|
+
sh:maxCount 1 ;
|
|
854
|
+
sh:message "A standing hold has at most one start time."@en
|
|
855
|
+
] ;
|
|
856
|
+
sh:property [
|
|
857
|
+
sh:path core:ended-at ;
|
|
858
|
+
sh:datatype xsd:dateTime ;
|
|
859
|
+
sh:minCount 0 ;
|
|
860
|
+
sh:maxCount 1 ;
|
|
861
|
+
sh:message "A standing hold has at most one end time."@en
|
|
862
|
+
] ;
|
|
863
|
+
sh:property [
|
|
864
|
+
sh:path billing:has-usage-discount ;
|
|
865
|
+
sh:datatype xsd:long ;
|
|
866
|
+
sh:minCount 0 ;
|
|
867
|
+
sh:maxCount 1 ;
|
|
868
|
+
sh:minInclusive 0 ;
|
|
869
|
+
sh:maxInclusive 10000 ;
|
|
870
|
+
sh:message "A standing hold has at most one usage discount."@en
|
|
871
|
+
] ;
|
|
872
|
+
sh:property [
|
|
873
|
+
sh:path billing:has-coverable-cost ;
|
|
874
|
+
sh:datatype xsd:long ;
|
|
875
|
+
sh:minCount 0 ;
|
|
876
|
+
sh:maxCount 1 ;
|
|
877
|
+
sh:minInclusive 0 ;
|
|
878
|
+
sh:message "A standing hold has at most one coverable cost."@en
|
|
879
|
+
] .
|
|
880
|
+
|
|
881
|
+
billing-shapes:requester-shape a sh:NodeShape ;
|
|
882
|
+
sh:targetClass billing:requester ;
|
|
883
|
+
sh:closed true ;
|
|
884
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
885
|
+
sh:message "A requester has only the properties of its class."@en ;
|
|
886
|
+
sh:property [
|
|
887
|
+
sh:path billing:has-requester-kind ;
|
|
888
|
+
sh:class core:concept ;
|
|
889
|
+
sh:minCount 1 ;
|
|
890
|
+
sh:maxCount 1 ;
|
|
891
|
+
sh:in ( billing-vocab:requester-kind-key billing-vocab:requester-kind-token billing-vocab:requester-kind-webhook ) ;
|
|
892
|
+
sh:message "A requester has exactly one requester kind, from the allowed values."@en
|
|
893
|
+
] ;
|
|
894
|
+
sh:property [
|
|
895
|
+
sh:path billing:of-key ;
|
|
896
|
+
sh:class core:key ;
|
|
897
|
+
sh:minCount 0 ;
|
|
898
|
+
sh:maxCount 1 ;
|
|
899
|
+
sh:message "A requester has at most one key."@en
|
|
900
|
+
] ;
|
|
901
|
+
sh:property [
|
|
902
|
+
sh:path billing:for-run ;
|
|
903
|
+
sh:class core:run ;
|
|
904
|
+
sh:minCount 0 ;
|
|
905
|
+
sh:maxCount 1 ;
|
|
906
|
+
sh:message "A requester has at most one run."@en
|
|
907
|
+
] ;
|
|
908
|
+
sh:property [
|
|
909
|
+
sh:path billing:from-service ;
|
|
910
|
+
sh:class core:service ;
|
|
911
|
+
sh:minCount 0 ;
|
|
912
|
+
sh:maxCount 1 ;
|
|
913
|
+
sh:message "A requester has at most one service."@en
|
|
914
|
+
] ;
|
|
915
|
+
sh:property [
|
|
916
|
+
sh:path billing:has-webhook-topic ;
|
|
917
|
+
sh:class core:concept ;
|
|
918
|
+
sh:minCount 0 ;
|
|
919
|
+
sh:maxCount 1 ;
|
|
920
|
+
sh:message "A requester has at most one webhook topic."@en
|
|
921
|
+
] ;
|
|
922
|
+
sh:property [
|
|
923
|
+
sh:path ( billing:has-webhook-topic core:in-scheme ) ;
|
|
924
|
+
sh:in ( events-vocab:webhook-topic ) ;
|
|
925
|
+
sh:message "Each webhook topic of a requester is a concept of the scheme webhook topic."@en
|
|
926
|
+
] .
|
|
927
|
+
|
|
928
|
+
billing-shapes:key-requester-shape a sh:NodeShape ;
|
|
929
|
+
sh:targetClass billing:key-requester ;
|
|
930
|
+
sh:closed true ;
|
|
931
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
932
|
+
sh:message "A key requester has only the properties of its class."@en ;
|
|
933
|
+
sh:property [
|
|
934
|
+
sh:path billing:of-key ;
|
|
935
|
+
sh:class core:key ;
|
|
936
|
+
sh:minCount 1 ;
|
|
937
|
+
sh:maxCount 1 ;
|
|
938
|
+
sh:message "A key requester has exactly one key."@en
|
|
939
|
+
] ;
|
|
940
|
+
sh:property [
|
|
941
|
+
sh:path billing:has-requester-kind ;
|
|
942
|
+
sh:class core:concept ;
|
|
943
|
+
sh:minCount 1 ;
|
|
944
|
+
sh:maxCount 1 ;
|
|
945
|
+
sh:in ( billing-vocab:requester-kind-key ) ;
|
|
946
|
+
sh:message "A key requester has exactly one requester kind, from the allowed values."@en
|
|
947
|
+
] .
|
|
948
|
+
|
|
949
|
+
billing-shapes:token-requester-shape a sh:NodeShape ;
|
|
950
|
+
sh:targetClass billing:token-requester ;
|
|
951
|
+
sh:closed true ;
|
|
952
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
953
|
+
sh:message "A token requester has only the properties of its class."@en ;
|
|
954
|
+
sh:property [
|
|
955
|
+
sh:path billing:for-run ;
|
|
956
|
+
sh:class core:run ;
|
|
957
|
+
sh:minCount 1 ;
|
|
958
|
+
sh:maxCount 1 ;
|
|
959
|
+
sh:message "A token requester has exactly one run."@en
|
|
960
|
+
] ;
|
|
961
|
+
sh:property [
|
|
962
|
+
sh:path billing:has-requester-kind ;
|
|
963
|
+
sh:class core:concept ;
|
|
964
|
+
sh:minCount 1 ;
|
|
965
|
+
sh:maxCount 1 ;
|
|
966
|
+
sh:in ( billing-vocab:requester-kind-token ) ;
|
|
967
|
+
sh:message "A token requester has exactly one requester kind, from the allowed values."@en
|
|
968
|
+
] .
|
|
969
|
+
|
|
970
|
+
billing-shapes:webhook-requester-shape a sh:NodeShape ;
|
|
971
|
+
sh:targetClass billing:webhook-requester ;
|
|
972
|
+
sh:closed true ;
|
|
973
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
974
|
+
sh:message "A webhook requester has only the properties of its class."@en ;
|
|
975
|
+
sh:property [
|
|
976
|
+
sh:path billing:from-service ;
|
|
977
|
+
sh:class core:service ;
|
|
978
|
+
sh:minCount 1 ;
|
|
979
|
+
sh:maxCount 1 ;
|
|
980
|
+
sh:message "A webhook requester has exactly one service."@en
|
|
981
|
+
] ;
|
|
982
|
+
sh:property [
|
|
983
|
+
sh:path billing:has-webhook-topic ;
|
|
984
|
+
sh:class core:concept ;
|
|
985
|
+
sh:minCount 1 ;
|
|
986
|
+
sh:maxCount 1 ;
|
|
987
|
+
sh:message "A webhook requester has exactly one webhook topic."@en
|
|
988
|
+
] ;
|
|
989
|
+
sh:property [
|
|
990
|
+
sh:path ( billing:has-webhook-topic core:in-scheme ) ;
|
|
991
|
+
sh:in ( events-vocab:webhook-topic ) ;
|
|
992
|
+
sh:message "Each webhook topic of a webhook requester is a concept of the scheme webhook topic."@en
|
|
993
|
+
] ;
|
|
994
|
+
sh:property [
|
|
995
|
+
sh:path billing:has-requester-kind ;
|
|
996
|
+
sh:class core:concept ;
|
|
997
|
+
sh:minCount 1 ;
|
|
998
|
+
sh:maxCount 1 ;
|
|
999
|
+
sh:in ( billing-vocab:requester-kind-webhook ) ;
|
|
1000
|
+
sh:message "A webhook requester has exactly one requester kind, from the allowed values."@en
|
|
1001
|
+
] .
|
|
1002
|
+
|
|
1003
|
+
billing-shapes:tag-shape a sh:NodeShape ;
|
|
1004
|
+
sh:targetClass billing:tag ;
|
|
1005
|
+
sh:closed true ;
|
|
1006
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1007
|
+
sh:message "A tag has only the properties of its class."@en ;
|
|
1008
|
+
sh:property [
|
|
1009
|
+
sh:path billing:has-tag-key ;
|
|
1010
|
+
sh:datatype xsd:string ;
|
|
1011
|
+
sh:minCount 1 ;
|
|
1012
|
+
sh:maxCount 1 ;
|
|
1013
|
+
sh:message "A tag has exactly one tag key."@en
|
|
1014
|
+
] ;
|
|
1015
|
+
sh:property [
|
|
1016
|
+
sh:path billing:has-tag-value ;
|
|
1017
|
+
sh:datatype xsd:string ;
|
|
1018
|
+
sh:minCount 1 ;
|
|
1019
|
+
sh:maxCount 1 ;
|
|
1020
|
+
sh:message "A tag has exactly one tag value."@en
|
|
1021
|
+
] .
|
|
1022
|
+
|
|
1023
|
+
billing-shapes:setting-shape a sh:NodeShape ;
|
|
1024
|
+
sh:targetClass billing:setting ;
|
|
1025
|
+
sh:closed true ;
|
|
1026
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1027
|
+
sh:message "A setting has only the properties of its class."@en ;
|
|
1028
|
+
sh:property [
|
|
1029
|
+
sh:path billing:has-setting-name ;
|
|
1030
|
+
sh:class core:concept ;
|
|
1031
|
+
sh:minCount 1 ;
|
|
1032
|
+
sh:maxCount 1 ;
|
|
1033
|
+
sh:node [ a sh:NodeShape ; sh:property [ sh:path core:in-scheme ; sh:hasValue billing-vocab:setting-name ] ] ;
|
|
1034
|
+
sh:message "A setting has exactly one setting name, from its concept scheme."@en
|
|
1035
|
+
] ;
|
|
1036
|
+
sh:property [
|
|
1037
|
+
sh:path billing:has-setting-scope ;
|
|
1038
|
+
sh:class core:concept ;
|
|
1039
|
+
sh:minCount 1 ;
|
|
1040
|
+
sh:maxCount 1 ;
|
|
1041
|
+
sh:in ( billing-vocab:setting-scope-global billing-vocab:setting-scope-plan billing-vocab:setting-scope-workspace ) ;
|
|
1042
|
+
sh:message "A setting has exactly one setting scope, from the allowed values."@en
|
|
1043
|
+
] ;
|
|
1044
|
+
sh:property [
|
|
1045
|
+
sh:path core:in-workspace ;
|
|
1046
|
+
sh:class core:workspace ;
|
|
1047
|
+
sh:minCount 0 ;
|
|
1048
|
+
sh:maxCount 1 ;
|
|
1049
|
+
sh:message "A setting has at most one workspace."@en
|
|
1050
|
+
] ;
|
|
1051
|
+
sh:property [
|
|
1052
|
+
sh:path billing:for-plan ;
|
|
1053
|
+
sh:class billing:plan ;
|
|
1054
|
+
sh:minCount 0 ;
|
|
1055
|
+
sh:maxCount 1 ;
|
|
1056
|
+
sh:message "A setting has at most one plan."@en
|
|
1057
|
+
] ;
|
|
1058
|
+
sh:property [
|
|
1059
|
+
sh:path billing:has-quota ;
|
|
1060
|
+
sh:class billing:quota ;
|
|
1061
|
+
sh:nodeKind sh:IRI ;
|
|
1062
|
+
sh:minCount 0 ;
|
|
1063
|
+
sh:message "Each quota of a setting is a record with an IRI."@en
|
|
1064
|
+
] ;
|
|
1065
|
+
sh:property [
|
|
1066
|
+
sh:path core:id ;
|
|
1067
|
+
sh:datatype xsd:string ;
|
|
1068
|
+
sh:minCount 0 ;
|
|
1069
|
+
sh:maxCount 1 ;
|
|
1070
|
+
sh:message "A setting has at most one id."@en
|
|
1071
|
+
] ;
|
|
1072
|
+
sh:property [
|
|
1073
|
+
sh:path billing:has-rate ;
|
|
1074
|
+
sh:datatype xsd:long ;
|
|
1075
|
+
sh:minCount 0 ;
|
|
1076
|
+
sh:maxCount 1 ;
|
|
1077
|
+
sh:message "A setting has at most one rate."@en
|
|
1078
|
+
] ;
|
|
1079
|
+
sh:property [
|
|
1080
|
+
sh:path billing:of-spender ;
|
|
1081
|
+
sh:class core:service ;
|
|
1082
|
+
sh:minCount 0 ;
|
|
1083
|
+
sh:maxCount 1 ;
|
|
1084
|
+
sh:message "A setting has at most one service."@en
|
|
1085
|
+
] ;
|
|
1086
|
+
sh:property [
|
|
1087
|
+
sh:path billing:has-limit ;
|
|
1088
|
+
sh:datatype xsd:long ;
|
|
1089
|
+
sh:minCount 0 ;
|
|
1090
|
+
sh:maxCount 1 ;
|
|
1091
|
+
sh:message "A setting has at most one limit."@en
|
|
1092
|
+
] ;
|
|
1093
|
+
sh:property [
|
|
1094
|
+
sh:path billing:has-threshold ;
|
|
1095
|
+
sh:datatype xsd:long ;
|
|
1096
|
+
sh:minCount 0 ;
|
|
1097
|
+
sh:maxCount 1 ;
|
|
1098
|
+
sh:message "A setting has at most one threshold."@en
|
|
1099
|
+
] ;
|
|
1100
|
+
sh:property [
|
|
1101
|
+
sh:path billing:of-pack ;
|
|
1102
|
+
sh:class billing:pack ;
|
|
1103
|
+
sh:minCount 0 ;
|
|
1104
|
+
sh:maxCount 1 ;
|
|
1105
|
+
sh:message "A setting has at most one pack."@en
|
|
1106
|
+
] ;
|
|
1107
|
+
sh:property [
|
|
1108
|
+
sh:path billing:has-monthly-maximum ;
|
|
1109
|
+
sh:datatype xsd:long ;
|
|
1110
|
+
sh:minCount 0 ;
|
|
1111
|
+
sh:maxCount 1 ;
|
|
1112
|
+
sh:message "A setting has at most one monthly maximum."@en
|
|
1113
|
+
] ;
|
|
1114
|
+
sh:property [
|
|
1115
|
+
sh:path billing:is-on ;
|
|
1116
|
+
sh:datatype xsd:boolean ;
|
|
1117
|
+
sh:minCount 0 ;
|
|
1118
|
+
sh:maxCount 1 ;
|
|
1119
|
+
sh:message "A setting has at most one value of is on."@en
|
|
1120
|
+
] ;
|
|
1121
|
+
sh:property [
|
|
1122
|
+
sh:path billing:has-amount ;
|
|
1123
|
+
sh:datatype xsd:long ;
|
|
1124
|
+
sh:minCount 0 ;
|
|
1125
|
+
sh:maxCount 1 ;
|
|
1126
|
+
sh:message "A setting has at most one hold amount."@en
|
|
1127
|
+
] ;
|
|
1128
|
+
sh:property [
|
|
1129
|
+
sh:path billing:has-credits ;
|
|
1130
|
+
sh:datatype xsd:long ;
|
|
1131
|
+
sh:minCount 0 ;
|
|
1132
|
+
sh:maxCount 1 ;
|
|
1133
|
+
sh:message "A setting has at most one credits."@en
|
|
1134
|
+
] ;
|
|
1135
|
+
sh:property [
|
|
1136
|
+
sh:path billing:has-duration ;
|
|
1137
|
+
sh:datatype xsd:string ;
|
|
1138
|
+
sh:minCount 0 ;
|
|
1139
|
+
sh:maxCount 1 ;
|
|
1140
|
+
sh:message "A setting has at most one duration."@en
|
|
1141
|
+
] ;
|
|
1142
|
+
sh:property [
|
|
1143
|
+
sh:path billing:has-days ;
|
|
1144
|
+
sh:datatype xsd:integer ;
|
|
1145
|
+
sh:minCount 0 ;
|
|
1146
|
+
sh:maxCount 1 ;
|
|
1147
|
+
sh:message "A setting has at most one days."@en
|
|
1148
|
+
] .
|
|
1149
|
+
|
|
1150
|
+
billing-shapes:rate-shape a sh:NodeShape ;
|
|
1151
|
+
sh:targetClass billing:rate ;
|
|
1152
|
+
sh:closed true ;
|
|
1153
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1154
|
+
sh:message "A rate has only the properties of its class."@en ;
|
|
1155
|
+
sh:property [
|
|
1156
|
+
sh:path core:id ;
|
|
1157
|
+
sh:datatype xsd:string ;
|
|
1158
|
+
sh:minCount 1 ;
|
|
1159
|
+
sh:maxCount 1 ;
|
|
1160
|
+
sh:message "A rate has exactly one id."@en
|
|
1161
|
+
] ;
|
|
1162
|
+
sh:property [
|
|
1163
|
+
sh:path billing:has-rate ;
|
|
1164
|
+
sh:datatype xsd:long ;
|
|
1165
|
+
sh:minCount 1 ;
|
|
1166
|
+
sh:maxCount 1 ;
|
|
1167
|
+
sh:message "A rate has exactly one rate."@en
|
|
1168
|
+
] ;
|
|
1169
|
+
sh:property [
|
|
1170
|
+
sh:path billing:of-spender ;
|
|
1171
|
+
sh:class core:service ;
|
|
1172
|
+
sh:minCount 1 ;
|
|
1173
|
+
sh:maxCount 1 ;
|
|
1174
|
+
sh:message "A rate has exactly one service."@en
|
|
1175
|
+
] ;
|
|
1176
|
+
sh:property [
|
|
1177
|
+
sh:path billing:has-setting-name ;
|
|
1178
|
+
sh:class core:concept ;
|
|
1179
|
+
sh:minCount 1 ;
|
|
1180
|
+
sh:maxCount 1 ;
|
|
1181
|
+
sh:in ( billing-vocab:setting-name-rate ) ;
|
|
1182
|
+
sh:message "A rate has exactly one setting name, from the allowed values."@en
|
|
1183
|
+
] ;
|
|
1184
|
+
sh:property [
|
|
1185
|
+
sh:path billing:has-setting-scope ;
|
|
1186
|
+
sh:class core:concept ;
|
|
1187
|
+
sh:minCount 1 ;
|
|
1188
|
+
sh:maxCount 1 ;
|
|
1189
|
+
sh:in ( billing-vocab:setting-scope-global billing-vocab:setting-scope-plan billing-vocab:setting-scope-workspace ) ;
|
|
1190
|
+
sh:message "A rate has exactly one setting scope, from the allowed values."@en
|
|
1191
|
+
] ;
|
|
1192
|
+
sh:property [
|
|
1193
|
+
sh:path core:in-workspace ;
|
|
1194
|
+
sh:class core:workspace ;
|
|
1195
|
+
sh:minCount 0 ;
|
|
1196
|
+
sh:maxCount 1 ;
|
|
1197
|
+
sh:message "A rate has at most one workspace."@en
|
|
1198
|
+
] ;
|
|
1199
|
+
sh:property [
|
|
1200
|
+
sh:path billing:for-plan ;
|
|
1201
|
+
sh:class billing:plan ;
|
|
1202
|
+
sh:minCount 0 ;
|
|
1203
|
+
sh:maxCount 1 ;
|
|
1204
|
+
sh:message "A rate has at most one plan."@en
|
|
1205
|
+
] .
|
|
1206
|
+
|
|
1207
|
+
billing-shapes:monthly-limit-shape a sh:NodeShape ;
|
|
1208
|
+
sh:targetClass billing:monthly-limit ;
|
|
1209
|
+
sh:closed true ;
|
|
1210
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1211
|
+
sh:message "A monthly limit has only the properties of its class."@en ;
|
|
1212
|
+
sh:property [
|
|
1213
|
+
sh:path billing:has-limit ;
|
|
1214
|
+
sh:datatype xsd:long ;
|
|
1215
|
+
sh:minCount 1 ;
|
|
1216
|
+
sh:maxCount 1 ;
|
|
1217
|
+
sh:message "A monthly limit has exactly one limit."@en
|
|
1218
|
+
] ;
|
|
1219
|
+
sh:property [
|
|
1220
|
+
sh:path billing:has-setting-name ;
|
|
1221
|
+
sh:class core:concept ;
|
|
1222
|
+
sh:minCount 1 ;
|
|
1223
|
+
sh:maxCount 1 ;
|
|
1224
|
+
sh:in ( billing-vocab:setting-name-monthly-limit ) ;
|
|
1225
|
+
sh:message "A monthly limit has exactly one setting name, from the allowed values."@en
|
|
1226
|
+
] ;
|
|
1227
|
+
sh:property [
|
|
1228
|
+
sh:path billing:has-setting-scope ;
|
|
1229
|
+
sh:class core:concept ;
|
|
1230
|
+
sh:minCount 1 ;
|
|
1231
|
+
sh:maxCount 1 ;
|
|
1232
|
+
sh:in ( billing-vocab:setting-scope-global billing-vocab:setting-scope-workspace ) ;
|
|
1233
|
+
sh:message "A monthly limit has exactly one setting scope, from the allowed values."@en
|
|
1234
|
+
] ;
|
|
1235
|
+
sh:property [
|
|
1236
|
+
sh:path core:in-workspace ;
|
|
1237
|
+
sh:class core:workspace ;
|
|
1238
|
+
sh:minCount 0 ;
|
|
1239
|
+
sh:maxCount 1 ;
|
|
1240
|
+
sh:message "A monthly limit has at most one workspace."@en
|
|
1241
|
+
] ;
|
|
1242
|
+
sh:property [
|
|
1243
|
+
sh:path billing:for-plan ;
|
|
1244
|
+
sh:class billing:plan ;
|
|
1245
|
+
sh:minCount 0 ;
|
|
1246
|
+
sh:maxCount 1 ;
|
|
1247
|
+
sh:message "A monthly limit has at most one plan."@en
|
|
1248
|
+
] .
|
|
1249
|
+
|
|
1250
|
+
billing-shapes:low-balance-threshold-shape a sh:NodeShape ;
|
|
1251
|
+
sh:targetClass billing:low-balance-threshold ;
|
|
1252
|
+
sh:closed true ;
|
|
1253
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1254
|
+
sh:message "A low-balance threshold has only the properties of its class."@en ;
|
|
1255
|
+
sh:property [
|
|
1256
|
+
sh:path billing:has-threshold ;
|
|
1257
|
+
sh:datatype xsd:long ;
|
|
1258
|
+
sh:minCount 1 ;
|
|
1259
|
+
sh:maxCount 1 ;
|
|
1260
|
+
sh:message "A low-balance threshold has exactly one threshold."@en
|
|
1261
|
+
] ;
|
|
1262
|
+
sh:property [
|
|
1263
|
+
sh:path billing:has-setting-name ;
|
|
1264
|
+
sh:class core:concept ;
|
|
1265
|
+
sh:minCount 1 ;
|
|
1266
|
+
sh:maxCount 1 ;
|
|
1267
|
+
sh:in ( billing-vocab:setting-name-low-balance-threshold ) ;
|
|
1268
|
+
sh:message "A low-balance threshold has exactly one setting name, from the allowed values."@en
|
|
1269
|
+
] ;
|
|
1270
|
+
sh:property [
|
|
1271
|
+
sh:path billing:has-setting-scope ;
|
|
1272
|
+
sh:class core:concept ;
|
|
1273
|
+
sh:minCount 1 ;
|
|
1274
|
+
sh:maxCount 1 ;
|
|
1275
|
+
sh:in ( billing-vocab:setting-scope-global billing-vocab:setting-scope-workspace ) ;
|
|
1276
|
+
sh:message "A low-balance threshold has exactly one setting scope, from the allowed values."@en
|
|
1277
|
+
] ;
|
|
1278
|
+
sh:property [
|
|
1279
|
+
sh:path core:in-workspace ;
|
|
1280
|
+
sh:class core:workspace ;
|
|
1281
|
+
sh:minCount 0 ;
|
|
1282
|
+
sh:maxCount 1 ;
|
|
1283
|
+
sh:message "A low-balance threshold has at most one workspace."@en
|
|
1284
|
+
] ;
|
|
1285
|
+
sh:property [
|
|
1286
|
+
sh:path billing:for-plan ;
|
|
1287
|
+
sh:class billing:plan ;
|
|
1288
|
+
sh:minCount 0 ;
|
|
1289
|
+
sh:maxCount 1 ;
|
|
1290
|
+
sh:message "A low-balance threshold has at most one plan."@en
|
|
1291
|
+
] .
|
|
1292
|
+
|
|
1293
|
+
billing-shapes:automatic-top-up-shape a sh:NodeShape ;
|
|
1294
|
+
sh:targetClass billing:automatic-top-up ;
|
|
1295
|
+
sh:closed true ;
|
|
1296
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1297
|
+
sh:message "An automatic top-up has only the properties of its class."@en ;
|
|
1298
|
+
sh:property [
|
|
1299
|
+
sh:path billing:has-threshold ;
|
|
1300
|
+
sh:datatype xsd:long ;
|
|
1301
|
+
sh:minCount 1 ;
|
|
1302
|
+
sh:maxCount 1 ;
|
|
1303
|
+
sh:message "An automatic top-up has exactly one threshold."@en
|
|
1304
|
+
] ;
|
|
1305
|
+
sh:property [
|
|
1306
|
+
sh:path billing:of-pack ;
|
|
1307
|
+
sh:class billing:pack ;
|
|
1308
|
+
sh:minCount 1 ;
|
|
1309
|
+
sh:maxCount 1 ;
|
|
1310
|
+
sh:message "An automatic top-up has exactly one pack."@en
|
|
1311
|
+
] ;
|
|
1312
|
+
sh:property [
|
|
1313
|
+
sh:path billing:has-monthly-maximum ;
|
|
1314
|
+
sh:datatype xsd:long ;
|
|
1315
|
+
sh:minCount 1 ;
|
|
1316
|
+
sh:maxCount 1 ;
|
|
1317
|
+
sh:message "An automatic top-up has exactly one monthly maximum."@en
|
|
1318
|
+
] ;
|
|
1319
|
+
sh:property [
|
|
1320
|
+
sh:path billing:is-on ;
|
|
1321
|
+
sh:datatype xsd:boolean ;
|
|
1322
|
+
sh:minCount 1 ;
|
|
1323
|
+
sh:maxCount 1 ;
|
|
1324
|
+
sh:message "An automatic top-up has exactly one value of is on."@en
|
|
1325
|
+
] ;
|
|
1326
|
+
sh:property [
|
|
1327
|
+
sh:path billing:has-setting-name ;
|
|
1328
|
+
sh:class core:concept ;
|
|
1329
|
+
sh:minCount 1 ;
|
|
1330
|
+
sh:maxCount 1 ;
|
|
1331
|
+
sh:in ( billing-vocab:setting-name-automatic-top-up ) ;
|
|
1332
|
+
sh:message "An automatic top-up has exactly one setting name, from the allowed values."@en
|
|
1333
|
+
] ;
|
|
1334
|
+
sh:property [
|
|
1335
|
+
sh:path billing:has-setting-scope ;
|
|
1336
|
+
sh:class core:concept ;
|
|
1337
|
+
sh:minCount 1 ;
|
|
1338
|
+
sh:maxCount 1 ;
|
|
1339
|
+
sh:in ( billing-vocab:setting-scope-workspace ) ;
|
|
1340
|
+
sh:message "An automatic top-up has exactly one setting scope, from the allowed values."@en
|
|
1341
|
+
] ;
|
|
1342
|
+
sh:property [
|
|
1343
|
+
sh:path core:in-workspace ;
|
|
1344
|
+
sh:class core:workspace ;
|
|
1345
|
+
sh:minCount 0 ;
|
|
1346
|
+
sh:maxCount 1 ;
|
|
1347
|
+
sh:message "An automatic top-up has at most one workspace."@en
|
|
1348
|
+
] ;
|
|
1349
|
+
sh:property [
|
|
1350
|
+
sh:path billing:for-plan ;
|
|
1351
|
+
sh:class billing:plan ;
|
|
1352
|
+
sh:minCount 0 ;
|
|
1353
|
+
sh:maxCount 1 ;
|
|
1354
|
+
sh:message "An automatic top-up has at most one plan."@en
|
|
1355
|
+
] .
|
|
1356
|
+
|
|
1357
|
+
billing-shapes:standing-hold-size-shape a sh:NodeShape ;
|
|
1358
|
+
sh:targetClass billing:standing-hold-size ;
|
|
1359
|
+
sh:closed true ;
|
|
1360
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1361
|
+
sh:message "A standing hold size has only the properties of its class."@en ;
|
|
1362
|
+
sh:property [
|
|
1363
|
+
sh:path billing:has-amount ;
|
|
1364
|
+
sh:datatype xsd:long ;
|
|
1365
|
+
sh:minCount 1 ;
|
|
1366
|
+
sh:maxCount 1 ;
|
|
1367
|
+
sh:message "A standing hold size has exactly one hold amount."@en
|
|
1368
|
+
] ;
|
|
1369
|
+
sh:property [
|
|
1370
|
+
sh:path billing:has-setting-name ;
|
|
1371
|
+
sh:class core:concept ;
|
|
1372
|
+
sh:minCount 1 ;
|
|
1373
|
+
sh:maxCount 1 ;
|
|
1374
|
+
sh:in ( billing-vocab:setting-name-standing-hold-size ) ;
|
|
1375
|
+
sh:message "A standing hold size has exactly one setting name, from the allowed values."@en
|
|
1376
|
+
] ;
|
|
1377
|
+
sh:property [
|
|
1378
|
+
sh:path billing:has-setting-scope ;
|
|
1379
|
+
sh:class core:concept ;
|
|
1380
|
+
sh:minCount 1 ;
|
|
1381
|
+
sh:maxCount 1 ;
|
|
1382
|
+
sh:in ( billing-vocab:setting-scope-global billing-vocab:setting-scope-workspace ) ;
|
|
1383
|
+
sh:message "A standing hold size has exactly one setting scope, from the allowed values."@en
|
|
1384
|
+
] ;
|
|
1385
|
+
sh:property [
|
|
1386
|
+
sh:path core:in-workspace ;
|
|
1387
|
+
sh:class core:workspace ;
|
|
1388
|
+
sh:minCount 0 ;
|
|
1389
|
+
sh:maxCount 1 ;
|
|
1390
|
+
sh:message "A standing hold size has at most one workspace."@en
|
|
1391
|
+
] ;
|
|
1392
|
+
sh:property [
|
|
1393
|
+
sh:path billing:for-plan ;
|
|
1394
|
+
sh:class billing:plan ;
|
|
1395
|
+
sh:minCount 0 ;
|
|
1396
|
+
sh:maxCount 1 ;
|
|
1397
|
+
sh:message "A standing hold size has at most one plan."@en
|
|
1398
|
+
] .
|
|
1399
|
+
|
|
1400
|
+
billing-shapes:trial-grant-amount-shape a sh:NodeShape ;
|
|
1401
|
+
sh:targetClass billing:trial-grant-amount ;
|
|
1402
|
+
sh:closed true ;
|
|
1403
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1404
|
+
sh:message "A trial grant amount has only the properties of its class."@en ;
|
|
1405
|
+
sh:property [
|
|
1406
|
+
sh:path billing:has-credits ;
|
|
1407
|
+
sh:datatype xsd:long ;
|
|
1408
|
+
sh:minCount 1 ;
|
|
1409
|
+
sh:maxCount 1 ;
|
|
1410
|
+
sh:message "A trial grant amount has exactly one credits."@en
|
|
1411
|
+
] ;
|
|
1412
|
+
sh:property [
|
|
1413
|
+
sh:path billing:has-setting-name ;
|
|
1414
|
+
sh:class core:concept ;
|
|
1415
|
+
sh:minCount 1 ;
|
|
1416
|
+
sh:maxCount 1 ;
|
|
1417
|
+
sh:in ( billing-vocab:setting-name-trial-grant-amount ) ;
|
|
1418
|
+
sh:message "A trial grant amount has exactly one setting name, from the allowed values."@en
|
|
1419
|
+
] ;
|
|
1420
|
+
sh:property [
|
|
1421
|
+
sh:path billing:has-setting-scope ;
|
|
1422
|
+
sh:class core:concept ;
|
|
1423
|
+
sh:minCount 1 ;
|
|
1424
|
+
sh:maxCount 1 ;
|
|
1425
|
+
sh:in ( billing-vocab:setting-scope-global ) ;
|
|
1426
|
+
sh:message "A trial grant amount has exactly one setting scope, from the allowed values."@en
|
|
1427
|
+
] ;
|
|
1428
|
+
sh:property [
|
|
1429
|
+
sh:path core:in-workspace ;
|
|
1430
|
+
sh:class core:workspace ;
|
|
1431
|
+
sh:minCount 0 ;
|
|
1432
|
+
sh:maxCount 1 ;
|
|
1433
|
+
sh:message "A trial grant amount has at most one workspace."@en
|
|
1434
|
+
] ;
|
|
1435
|
+
sh:property [
|
|
1436
|
+
sh:path billing:for-plan ;
|
|
1437
|
+
sh:class billing:plan ;
|
|
1438
|
+
sh:minCount 0 ;
|
|
1439
|
+
sh:maxCount 1 ;
|
|
1440
|
+
sh:message "A trial grant amount has at most one plan."@en
|
|
1441
|
+
] .
|
|
1442
|
+
|
|
1443
|
+
billing-shapes:support-grant-maximum-shape a sh:NodeShape ;
|
|
1444
|
+
sh:targetClass billing:support-grant-maximum ;
|
|
1445
|
+
sh:closed true ;
|
|
1446
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1447
|
+
sh:message "A support grant maximum has only the properties of its class."@en ;
|
|
1448
|
+
sh:property [
|
|
1449
|
+
sh:path billing:has-credits ;
|
|
1450
|
+
sh:datatype xsd:long ;
|
|
1451
|
+
sh:minCount 1 ;
|
|
1452
|
+
sh:maxCount 1 ;
|
|
1453
|
+
sh:message "A support grant maximum has exactly one credits."@en
|
|
1454
|
+
] ;
|
|
1455
|
+
sh:property [
|
|
1456
|
+
sh:path billing:has-setting-name ;
|
|
1457
|
+
sh:class core:concept ;
|
|
1458
|
+
sh:minCount 1 ;
|
|
1459
|
+
sh:maxCount 1 ;
|
|
1460
|
+
sh:in ( billing-vocab:setting-name-support-grant-maximum ) ;
|
|
1461
|
+
sh:message "A support grant maximum has exactly one setting name, from the allowed values."@en
|
|
1462
|
+
] ;
|
|
1463
|
+
sh:property [
|
|
1464
|
+
sh:path billing:has-setting-scope ;
|
|
1465
|
+
sh:class core:concept ;
|
|
1466
|
+
sh:minCount 1 ;
|
|
1467
|
+
sh:maxCount 1 ;
|
|
1468
|
+
sh:in ( billing-vocab:setting-scope-global ) ;
|
|
1469
|
+
sh:message "A support grant maximum has exactly one setting scope, from the allowed values."@en
|
|
1470
|
+
] ;
|
|
1471
|
+
sh:property [
|
|
1472
|
+
sh:path core:in-workspace ;
|
|
1473
|
+
sh:class core:workspace ;
|
|
1474
|
+
sh:minCount 0 ;
|
|
1475
|
+
sh:maxCount 1 ;
|
|
1476
|
+
sh:message "A support grant maximum has at most one workspace."@en
|
|
1477
|
+
] ;
|
|
1478
|
+
sh:property [
|
|
1479
|
+
sh:path billing:for-plan ;
|
|
1480
|
+
sh:class billing:plan ;
|
|
1481
|
+
sh:minCount 0 ;
|
|
1482
|
+
sh:maxCount 1 ;
|
|
1483
|
+
sh:message "A support grant maximum has at most one plan."@en
|
|
1484
|
+
] .
|
|
1485
|
+
|
|
1486
|
+
billing-shapes:trial-duration-shape a sh:NodeShape ;
|
|
1487
|
+
sh:targetClass billing:trial-duration ;
|
|
1488
|
+
sh:closed true ;
|
|
1489
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1490
|
+
sh:message "A trial duration has only the properties of its class."@en ;
|
|
1491
|
+
sh:property [
|
|
1492
|
+
sh:path billing:has-duration ;
|
|
1493
|
+
sh:datatype xsd:string ;
|
|
1494
|
+
sh:minCount 1 ;
|
|
1495
|
+
sh:maxCount 1 ;
|
|
1496
|
+
sh:message "A trial duration has exactly one duration."@en
|
|
1497
|
+
] ;
|
|
1498
|
+
sh:property [
|
|
1499
|
+
sh:path billing:has-setting-name ;
|
|
1500
|
+
sh:class core:concept ;
|
|
1501
|
+
sh:minCount 1 ;
|
|
1502
|
+
sh:maxCount 1 ;
|
|
1503
|
+
sh:in ( billing-vocab:setting-name-trial-duration ) ;
|
|
1504
|
+
sh:message "A trial duration has exactly one setting name, from the allowed values."@en
|
|
1505
|
+
] ;
|
|
1506
|
+
sh:property [
|
|
1507
|
+
sh:path billing:has-setting-scope ;
|
|
1508
|
+
sh:class core:concept ;
|
|
1509
|
+
sh:minCount 1 ;
|
|
1510
|
+
sh:maxCount 1 ;
|
|
1511
|
+
sh:in ( billing-vocab:setting-scope-global ) ;
|
|
1512
|
+
sh:message "A trial duration has exactly one setting scope, from the allowed values."@en
|
|
1513
|
+
] ;
|
|
1514
|
+
sh:property [
|
|
1515
|
+
sh:path core:in-workspace ;
|
|
1516
|
+
sh:class core:workspace ;
|
|
1517
|
+
sh:minCount 0 ;
|
|
1518
|
+
sh:maxCount 1 ;
|
|
1519
|
+
sh:message "A trial duration has at most one workspace."@en
|
|
1520
|
+
] ;
|
|
1521
|
+
sh:property [
|
|
1522
|
+
sh:path billing:for-plan ;
|
|
1523
|
+
sh:class billing:plan ;
|
|
1524
|
+
sh:minCount 0 ;
|
|
1525
|
+
sh:maxCount 1 ;
|
|
1526
|
+
sh:message "A trial duration has at most one plan."@en
|
|
1527
|
+
] .
|
|
1528
|
+
|
|
1529
|
+
billing-shapes:retry-days-shape a sh:NodeShape ;
|
|
1530
|
+
sh:targetClass billing:retry-days ;
|
|
1531
|
+
sh:closed true ;
|
|
1532
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1533
|
+
sh:message "A retry days has only the properties of its class."@en ;
|
|
1534
|
+
sh:property [
|
|
1535
|
+
sh:path billing:has-days ;
|
|
1536
|
+
sh:datatype xsd:integer ;
|
|
1537
|
+
sh:minCount 1 ;
|
|
1538
|
+
sh:maxCount 1 ;
|
|
1539
|
+
sh:message "A retry days has exactly one days."@en
|
|
1540
|
+
] ;
|
|
1541
|
+
sh:property [
|
|
1542
|
+
sh:path billing:has-setting-name ;
|
|
1543
|
+
sh:class core:concept ;
|
|
1544
|
+
sh:minCount 1 ;
|
|
1545
|
+
sh:maxCount 1 ;
|
|
1546
|
+
sh:in ( billing-vocab:setting-name-retry-days ) ;
|
|
1547
|
+
sh:message "A retry days has exactly one setting name, from the allowed values."@en
|
|
1548
|
+
] ;
|
|
1549
|
+
sh:property [
|
|
1550
|
+
sh:path billing:has-setting-scope ;
|
|
1551
|
+
sh:class core:concept ;
|
|
1552
|
+
sh:minCount 1 ;
|
|
1553
|
+
sh:maxCount 1 ;
|
|
1554
|
+
sh:in ( billing-vocab:setting-scope-global ) ;
|
|
1555
|
+
sh:message "A retry days has exactly one setting scope, from the allowed values."@en
|
|
1556
|
+
] ;
|
|
1557
|
+
sh:property [
|
|
1558
|
+
sh:path core:in-workspace ;
|
|
1559
|
+
sh:class core:workspace ;
|
|
1560
|
+
sh:minCount 0 ;
|
|
1561
|
+
sh:maxCount 1 ;
|
|
1562
|
+
sh:message "A retry days has at most one workspace."@en
|
|
1563
|
+
] ;
|
|
1564
|
+
sh:property [
|
|
1565
|
+
sh:path billing:for-plan ;
|
|
1566
|
+
sh:class billing:plan ;
|
|
1567
|
+
sh:minCount 0 ;
|
|
1568
|
+
sh:maxCount 1 ;
|
|
1569
|
+
sh:message "A retry days has at most one plan."@en
|
|
1570
|
+
] .
|
|
1571
|
+
|
|
1572
|
+
billing-shapes:default-quotas-shape a sh:NodeShape ;
|
|
1573
|
+
sh:targetClass billing:default-quotas ;
|
|
1574
|
+
sh:closed true ;
|
|
1575
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1576
|
+
sh:message "A default quotas has only the properties of its class."@en ;
|
|
1577
|
+
sh:property [
|
|
1578
|
+
sh:path billing:has-setting-name ;
|
|
1579
|
+
sh:class core:concept ;
|
|
1580
|
+
sh:minCount 1 ;
|
|
1581
|
+
sh:maxCount 1 ;
|
|
1582
|
+
sh:in ( billing-vocab:setting-name-default-quotas ) ;
|
|
1583
|
+
sh:message "A default quotas has exactly one setting name, from the allowed values."@en
|
|
1584
|
+
] ;
|
|
1585
|
+
sh:property [
|
|
1586
|
+
sh:path billing:has-setting-scope ;
|
|
1587
|
+
sh:class core:concept ;
|
|
1588
|
+
sh:minCount 1 ;
|
|
1589
|
+
sh:maxCount 1 ;
|
|
1590
|
+
sh:in ( billing-vocab:setting-scope-global ) ;
|
|
1591
|
+
sh:message "A default quotas has exactly one setting scope, from the allowed values."@en
|
|
1592
|
+
] ;
|
|
1593
|
+
sh:property [
|
|
1594
|
+
sh:path core:in-workspace ;
|
|
1595
|
+
sh:class core:workspace ;
|
|
1596
|
+
sh:minCount 0 ;
|
|
1597
|
+
sh:maxCount 1 ;
|
|
1598
|
+
sh:message "A default quotas has at most one workspace."@en
|
|
1599
|
+
] ;
|
|
1600
|
+
sh:property [
|
|
1601
|
+
sh:path billing:for-plan ;
|
|
1602
|
+
sh:class billing:plan ;
|
|
1603
|
+
sh:minCount 0 ;
|
|
1604
|
+
sh:maxCount 1 ;
|
|
1605
|
+
sh:message "A default quotas has at most one plan."@en
|
|
1606
|
+
] ;
|
|
1607
|
+
sh:property [
|
|
1608
|
+
sh:path billing:has-quota ;
|
|
1609
|
+
sh:class billing:quota ;
|
|
1610
|
+
sh:nodeKind sh:IRI ;
|
|
1611
|
+
sh:minCount 0 ;
|
|
1612
|
+
sh:message "Each quota of default quotas is a record with an IRI."@en
|
|
1613
|
+
] .
|
|
1614
|
+
|
|
1615
|
+
billing-shapes:expiry-notice-days-shape a sh:NodeShape ;
|
|
1616
|
+
sh:targetClass billing:expiry-notice-days ;
|
|
1617
|
+
sh:closed true ;
|
|
1618
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1619
|
+
sh:message "An expiry notice days has only the properties of its class."@en ;
|
|
1620
|
+
sh:property [
|
|
1621
|
+
sh:path billing:has-days ;
|
|
1622
|
+
sh:datatype xsd:integer ;
|
|
1623
|
+
sh:minCount 1 ;
|
|
1624
|
+
sh:maxCount 1 ;
|
|
1625
|
+
sh:message "An expiry notice days has exactly one days."@en
|
|
1626
|
+
] ;
|
|
1627
|
+
sh:property [
|
|
1628
|
+
sh:path billing:has-setting-name ;
|
|
1629
|
+
sh:class core:concept ;
|
|
1630
|
+
sh:minCount 1 ;
|
|
1631
|
+
sh:maxCount 1 ;
|
|
1632
|
+
sh:in ( billing-vocab:setting-name-expiry-notice-days ) ;
|
|
1633
|
+
sh:message "An expiry notice days has exactly one setting name, from the allowed values."@en
|
|
1634
|
+
] ;
|
|
1635
|
+
sh:property [
|
|
1636
|
+
sh:path billing:has-setting-scope ;
|
|
1637
|
+
sh:class core:concept ;
|
|
1638
|
+
sh:minCount 1 ;
|
|
1639
|
+
sh:maxCount 1 ;
|
|
1640
|
+
sh:in ( billing-vocab:setting-scope-global ) ;
|
|
1641
|
+
sh:message "An expiry notice days has exactly one setting scope, from the allowed values."@en
|
|
1642
|
+
] ;
|
|
1643
|
+
sh:property [
|
|
1644
|
+
sh:path core:in-workspace ;
|
|
1645
|
+
sh:class core:workspace ;
|
|
1646
|
+
sh:minCount 0 ;
|
|
1647
|
+
sh:maxCount 1 ;
|
|
1648
|
+
sh:message "An expiry notice days has at most one workspace."@en
|
|
1649
|
+
] ;
|
|
1650
|
+
sh:property [
|
|
1651
|
+
sh:path billing:for-plan ;
|
|
1652
|
+
sh:class billing:plan ;
|
|
1653
|
+
sh:minCount 0 ;
|
|
1654
|
+
sh:maxCount 1 ;
|
|
1655
|
+
sh:message "An expiry notice days has at most one plan."@en
|
|
1656
|
+
] .
|
|
1657
|
+
|
|
1658
|
+
billing-shapes:plan-shape a sh:NodeShape ;
|
|
1659
|
+
sh:targetClass billing:plan ;
|
|
1660
|
+
sh:closed true ;
|
|
1661
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1662
|
+
sh:message "A plan has only the properties of its class."@en ;
|
|
1663
|
+
sh:property [
|
|
1664
|
+
sh:path core:id ;
|
|
1665
|
+
sh:datatype xsd:string ;
|
|
1666
|
+
sh:minCount 1 ;
|
|
1667
|
+
sh:maxCount 1 ;
|
|
1668
|
+
sh:message "A plan has exactly one id."@en
|
|
1669
|
+
] ;
|
|
1670
|
+
sh:property [
|
|
1671
|
+
sh:path core:has-name ;
|
|
1672
|
+
sh:datatype xsd:string ;
|
|
1673
|
+
sh:minCount 1 ;
|
|
1674
|
+
sh:maxCount 1 ;
|
|
1675
|
+
sh:message "A plan has exactly one name."@en
|
|
1676
|
+
] ;
|
|
1677
|
+
sh:property [
|
|
1678
|
+
sh:path billing:has-plan-interval ;
|
|
1679
|
+
sh:class core:concept ;
|
|
1680
|
+
sh:minCount 1 ;
|
|
1681
|
+
sh:maxCount 1 ;
|
|
1682
|
+
sh:in ( billing-vocab:plan-interval-month billing-vocab:plan-interval-year ) ;
|
|
1683
|
+
sh:message "A plan has exactly one plan interval, from the allowed values."@en
|
|
1684
|
+
] ;
|
|
1685
|
+
sh:property [
|
|
1686
|
+
sh:path billing:grants-each-month ;
|
|
1687
|
+
sh:datatype xsd:long ;
|
|
1688
|
+
sh:minCount 1 ;
|
|
1689
|
+
sh:maxCount 1 ;
|
|
1690
|
+
sh:message "A plan has exactly one grants each month."@en
|
|
1691
|
+
] ;
|
|
1692
|
+
sh:property [
|
|
1693
|
+
sh:path billing:has-price ;
|
|
1694
|
+
sh:class billing:price ;
|
|
1695
|
+
sh:minCount 1 ;
|
|
1696
|
+
sh:message "A plan has at least 1 values of price."@en
|
|
1697
|
+
] ;
|
|
1698
|
+
sh:property [
|
|
1699
|
+
sh:path billing:has-quota ;
|
|
1700
|
+
sh:class billing:quota ;
|
|
1701
|
+
sh:nodeKind sh:IRI ;
|
|
1702
|
+
sh:minCount 0 ;
|
|
1703
|
+
sh:message "Each quota of a plan is a record with an IRI."@en
|
|
1704
|
+
] ;
|
|
1705
|
+
sh:property [
|
|
1706
|
+
sh:path billing:replaces-plan ;
|
|
1707
|
+
sh:class billing:plan ;
|
|
1708
|
+
sh:minCount 0 ;
|
|
1709
|
+
sh:maxCount 1 ;
|
|
1710
|
+
sh:message "A plan has at most one earlier plan."@en
|
|
1711
|
+
] .
|
|
1712
|
+
|
|
1713
|
+
billing-shapes:pack-shape a sh:NodeShape ;
|
|
1714
|
+
sh:targetClass billing:pack ;
|
|
1715
|
+
sh:closed true ;
|
|
1716
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1717
|
+
sh:message "A pack has only the properties of its class."@en ;
|
|
1718
|
+
sh:property [
|
|
1719
|
+
sh:path core:id ;
|
|
1720
|
+
sh:datatype xsd:string ;
|
|
1721
|
+
sh:minCount 1 ;
|
|
1722
|
+
sh:maxCount 1 ;
|
|
1723
|
+
sh:message "A pack has exactly one id."@en
|
|
1724
|
+
] ;
|
|
1725
|
+
sh:property [
|
|
1726
|
+
sh:path core:has-name ;
|
|
1727
|
+
sh:datatype xsd:string ;
|
|
1728
|
+
sh:minCount 1 ;
|
|
1729
|
+
sh:maxCount 1 ;
|
|
1730
|
+
sh:message "A pack has exactly one name."@en
|
|
1731
|
+
] ;
|
|
1732
|
+
sh:property [
|
|
1733
|
+
sh:path billing:has-credits ;
|
|
1734
|
+
sh:datatype xsd:long ;
|
|
1735
|
+
sh:minCount 1 ;
|
|
1736
|
+
sh:maxCount 1 ;
|
|
1737
|
+
sh:message "A pack has exactly one credits."@en
|
|
1738
|
+
] ;
|
|
1739
|
+
sh:property [
|
|
1740
|
+
sh:path billing:has-price ;
|
|
1741
|
+
sh:class billing:price ;
|
|
1742
|
+
sh:minCount 1 ;
|
|
1743
|
+
sh:message "A pack has at least 1 values of price."@en
|
|
1744
|
+
] ;
|
|
1745
|
+
sh:property [
|
|
1746
|
+
sh:path billing:replaces-pack ;
|
|
1747
|
+
sh:class billing:pack ;
|
|
1748
|
+
sh:minCount 0 ;
|
|
1749
|
+
sh:maxCount 1 ;
|
|
1750
|
+
sh:message "A pack has at most one earlier pack."@en
|
|
1751
|
+
] .
|
|
1752
|
+
|
|
1753
|
+
billing-shapes:price-shape a sh:NodeShape ;
|
|
1754
|
+
sh:targetClass billing:price ;
|
|
1755
|
+
sh:closed true ;
|
|
1756
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1757
|
+
sh:message "A price has only the properties of its class."@en ;
|
|
1758
|
+
sh:property [
|
|
1759
|
+
sh:path billing:has-stripe-price-id ;
|
|
1760
|
+
sh:datatype xsd:string ;
|
|
1761
|
+
sh:minCount 0 ;
|
|
1762
|
+
sh:maxCount 1 ;
|
|
1763
|
+
sh:message "A price has at most one Stripe price id."@en
|
|
1764
|
+
] ;
|
|
1765
|
+
sh:property [
|
|
1766
|
+
sh:path billing:in-currency ;
|
|
1767
|
+
sh:class core:concept ;
|
|
1768
|
+
sh:minCount 1 ;
|
|
1769
|
+
sh:maxCount 1 ;
|
|
1770
|
+
sh:node [ a sh:NodeShape ; sh:property [ sh:path core:in-scheme ; sh:hasValue billing-vocab:currency ] ] ;
|
|
1771
|
+
sh:message "A price has exactly one in currency, from its concept scheme."@en
|
|
1772
|
+
] ;
|
|
1773
|
+
sh:property [
|
|
1774
|
+
sh:path billing:has-price-amount ;
|
|
1775
|
+
sh:datatype xsd:long ;
|
|
1776
|
+
sh:minCount 1 ;
|
|
1777
|
+
sh:maxCount 1 ;
|
|
1778
|
+
sh:message "A price has exactly one amount."@en
|
|
1779
|
+
] ;
|
|
1780
|
+
sh:property [
|
|
1781
|
+
sh:path billing:has-credits ;
|
|
1782
|
+
sh:datatype xsd:long ;
|
|
1783
|
+
sh:minCount 1 ;
|
|
1784
|
+
sh:maxCount 1 ;
|
|
1785
|
+
sh:message "A price has exactly one credits."@en
|
|
1786
|
+
] .
|
|
1787
|
+
|
|
1788
|
+
billing-shapes:quota-shape a sh:NodeShape ;
|
|
1789
|
+
sh:targetClass billing:quota ;
|
|
1790
|
+
sh:closed true ;
|
|
1791
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1792
|
+
sh:message "A quota has only the properties of its class."@en ;
|
|
1793
|
+
sh:property [
|
|
1794
|
+
sh:path core:id ;
|
|
1795
|
+
sh:datatype xsd:string ;
|
|
1796
|
+
sh:minCount 1 ;
|
|
1797
|
+
sh:maxCount 1 ;
|
|
1798
|
+
sh:message "A quota has exactly one id."@en
|
|
1799
|
+
] ;
|
|
1800
|
+
sh:property [
|
|
1801
|
+
sh:path billing:has-metric ;
|
|
1802
|
+
sh:datatype xsd:string ;
|
|
1803
|
+
sh:minCount 1 ;
|
|
1804
|
+
sh:maxCount 1 ;
|
|
1805
|
+
sh:message "A quota has exactly one metric."@en
|
|
1806
|
+
] ;
|
|
1807
|
+
sh:property [
|
|
1808
|
+
sh:path billing:has-quota-limit ;
|
|
1809
|
+
sh:datatype xsd:long ;
|
|
1810
|
+
sh:minCount 1 ;
|
|
1811
|
+
sh:maxCount 1 ;
|
|
1812
|
+
sh:message "A quota has exactly one limit."@en
|
|
1813
|
+
] ;
|
|
1814
|
+
sh:property [
|
|
1815
|
+
sh:path billing:in-quota-list ;
|
|
1816
|
+
sh:class billing:quota-list ;
|
|
1817
|
+
sh:maxCount 1 ;
|
|
1818
|
+
sh:message "A quota is in at most one quota list."@en
|
|
1819
|
+
] .
|
|
1820
|
+
|
|
1821
|
+
billing-shapes:quota-list-shape a sh:NodeShape ;
|
|
1822
|
+
sh:targetClass billing:quota-list ;
|
|
1823
|
+
sh:closed true ;
|
|
1824
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1825
|
+
sh:message "A quota list has only the properties of its class."@en ;
|
|
1826
|
+
sh:property [
|
|
1827
|
+
sh:path [ sh:inversePath billing:in-quota-list ] ;
|
|
1828
|
+
sh:class billing:quota ;
|
|
1829
|
+
sh:minCount 1 ;
|
|
1830
|
+
sh:message "A quota list has one or more quotas."@en
|
|
1831
|
+
] .
|
|
1832
|
+
|
|
1833
|
+
billing-shapes:subscription-shape a sh:NodeShape ;
|
|
1834
|
+
sh:targetClass billing:subscription ;
|
|
1835
|
+
sh:closed true ;
|
|
1836
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1837
|
+
sh:message "A subscription has only the properties of its class."@en ;
|
|
1838
|
+
sh:property [
|
|
1839
|
+
sh:path core:id ;
|
|
1840
|
+
sh:datatype xsd:string ;
|
|
1841
|
+
sh:minCount 1 ;
|
|
1842
|
+
sh:maxCount 1 ;
|
|
1843
|
+
sh:message "A subscription has exactly one id."@en
|
|
1844
|
+
] ;
|
|
1845
|
+
sh:property [
|
|
1846
|
+
sh:path core:in-workspace ;
|
|
1847
|
+
sh:class core:workspace ;
|
|
1848
|
+
sh:minCount 1 ;
|
|
1849
|
+
sh:maxCount 1 ;
|
|
1850
|
+
sh:message "A subscription has exactly one workspace."@en
|
|
1851
|
+
] ;
|
|
1852
|
+
sh:property [
|
|
1853
|
+
sh:path billing:for-plan ;
|
|
1854
|
+
sh:class billing:plan ;
|
|
1855
|
+
sh:minCount 1 ;
|
|
1856
|
+
sh:maxCount 1 ;
|
|
1857
|
+
sh:message "A subscription has exactly one plan."@en
|
|
1858
|
+
] ;
|
|
1859
|
+
sh:property [
|
|
1860
|
+
sh:path core:has-status ;
|
|
1861
|
+
sh:class core:concept ;
|
|
1862
|
+
sh:minCount 1 ;
|
|
1863
|
+
sh:maxCount 1 ;
|
|
1864
|
+
sh:in ( billing-vocab:subscription-status-active billing-vocab:subscription-status-past-due billing-vocab:subscription-status-ended ) ;
|
|
1865
|
+
sh:message "A subscription has exactly one subscription status, from the allowed values."@en
|
|
1866
|
+
] ;
|
|
1867
|
+
sh:property [
|
|
1868
|
+
sh:path billing:has-stripe-subscription-id ;
|
|
1869
|
+
sh:datatype xsd:string ;
|
|
1870
|
+
sh:minCount 0 ;
|
|
1871
|
+
sh:maxCount 1 ;
|
|
1872
|
+
sh:message "A subscription has at most one Stripe subscription id."@en
|
|
1873
|
+
] .
|
|
1874
|
+
|
|
1875
|
+
billing-shapes:top-up-shape a sh:NodeShape ;
|
|
1876
|
+
sh:targetClass billing:top-up ;
|
|
1877
|
+
sh:closed true ;
|
|
1878
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1879
|
+
sh:message "A top-up has only the properties of its class."@en ;
|
|
1880
|
+
sh:property [
|
|
1881
|
+
sh:path core:in-workspace ;
|
|
1882
|
+
sh:class core:workspace ;
|
|
1883
|
+
sh:minCount 1 ;
|
|
1884
|
+
sh:maxCount 1 ;
|
|
1885
|
+
sh:message "A top-up has exactly one workspace."@en
|
|
1886
|
+
] ;
|
|
1887
|
+
sh:property [
|
|
1888
|
+
sh:path billing:of-pack ;
|
|
1889
|
+
sh:class billing:pack ;
|
|
1890
|
+
sh:minCount 1 ;
|
|
1891
|
+
sh:maxCount 1 ;
|
|
1892
|
+
sh:message "A top-up has exactly one pack."@en
|
|
1893
|
+
] ;
|
|
1894
|
+
sh:property [
|
|
1895
|
+
sh:path billing:has-top-up-method ;
|
|
1896
|
+
sh:class core:concept ;
|
|
1897
|
+
sh:minCount 1 ;
|
|
1898
|
+
sh:maxCount 1 ;
|
|
1899
|
+
sh:in ( billing-vocab:top-up-method-checkout billing-vocab:top-up-method-automatic ) ;
|
|
1900
|
+
sh:message "A top-up has exactly one top-up method, from the allowed values."@en
|
|
1901
|
+
] ;
|
|
1902
|
+
sh:property [
|
|
1903
|
+
sh:path core:has-status ;
|
|
1904
|
+
sh:class core:concept ;
|
|
1905
|
+
sh:minCount 1 ;
|
|
1906
|
+
sh:maxCount 1 ;
|
|
1907
|
+
sh:in ( billing-vocab:top-up-status-pending billing-vocab:top-up-status-completed billing-vocab:top-up-status-failed ) ;
|
|
1908
|
+
sh:message "A top-up has exactly one top-up status, from the allowed values."@en
|
|
1909
|
+
] ;
|
|
1910
|
+
sh:property [
|
|
1911
|
+
sh:path billing:has-stripe-payment-id ;
|
|
1912
|
+
sh:datatype xsd:string ;
|
|
1913
|
+
sh:minCount 0 ;
|
|
1914
|
+
sh:maxCount 1 ;
|
|
1915
|
+
sh:message "A top-up has at most one Stripe payment id."@en
|
|
1916
|
+
] .
|
|
1917
|
+
|
|
1918
|
+
billing-shapes:statement-shape a sh:NodeShape ;
|
|
1919
|
+
sh:targetClass billing:statement ;
|
|
1920
|
+
sh:closed true ;
|
|
1921
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1922
|
+
sh:message "A statement has only the properties of its class."@en ;
|
|
1923
|
+
sh:property [
|
|
1924
|
+
sh:path billing:has-totals ;
|
|
1925
|
+
sh:datatype xsd:string ;
|
|
1926
|
+
sh:minCount 1 ;
|
|
1927
|
+
sh:maxCount 1 ;
|
|
1928
|
+
sh:message "A statement has exactly one totals."@en
|
|
1929
|
+
] ;
|
|
1930
|
+
sh:property [
|
|
1931
|
+
sh:path core:in-workspace ;
|
|
1932
|
+
sh:class core:workspace ;
|
|
1933
|
+
sh:minCount 1 ;
|
|
1934
|
+
sh:maxCount 1 ;
|
|
1935
|
+
sh:message "A statement has exactly one workspace."@en
|
|
1936
|
+
] ;
|
|
1937
|
+
sh:property [
|
|
1938
|
+
sh:path billing:starts-at ;
|
|
1939
|
+
sh:datatype xsd:dateTime ;
|
|
1940
|
+
sh:minCount 1 ;
|
|
1941
|
+
sh:maxCount 1 ;
|
|
1942
|
+
sh:message "A statement has exactly one starts at."@en
|
|
1943
|
+
] ;
|
|
1944
|
+
sh:property [
|
|
1945
|
+
sh:path billing:ends-at ;
|
|
1946
|
+
sh:datatype xsd:dateTime ;
|
|
1947
|
+
sh:minCount 1 ;
|
|
1948
|
+
sh:maxCount 1 ;
|
|
1949
|
+
sh:message "A statement has exactly one ends at."@en
|
|
1950
|
+
] ;
|
|
1951
|
+
sh:property [
|
|
1952
|
+
sh:path billing:lists-hold ;
|
|
1953
|
+
sh:class billing:hold ;
|
|
1954
|
+
sh:minCount 0 ;
|
|
1955
|
+
sh:message "A statement has values of hold of the right type."@en
|
|
1956
|
+
] .
|
|
1957
|
+
|
|
1958
|
+
billing-shapes:webhook-shape a sh:NodeShape ;
|
|
1959
|
+
sh:targetClass billing:webhook ;
|
|
1960
|
+
sh:closed true ;
|
|
1961
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
1962
|
+
sh:message "A webhook has only the properties of its class."@en ;
|
|
1963
|
+
sh:property [
|
|
1964
|
+
sh:path core:id ;
|
|
1965
|
+
sh:datatype xsd:string ;
|
|
1966
|
+
sh:minCount 1 ;
|
|
1967
|
+
sh:maxCount 1 ;
|
|
1968
|
+
sh:message "A webhook has exactly one id."@en
|
|
1969
|
+
] ;
|
|
1970
|
+
sh:property [
|
|
1971
|
+
sh:path core:generated-at ;
|
|
1972
|
+
sh:datatype xsd:dateTime ;
|
|
1973
|
+
sh:minCount 1 ;
|
|
1974
|
+
sh:maxCount 1 ;
|
|
1975
|
+
sh:message "A webhook has exactly one creation time."@en
|
|
1976
|
+
] ;
|
|
1977
|
+
sh:property [
|
|
1978
|
+
sh:path billing:has-webhook-topic ;
|
|
1979
|
+
sh:class core:concept ;
|
|
1980
|
+
sh:minCount 1 ;
|
|
1981
|
+
sh:maxCount 1 ;
|
|
1982
|
+
sh:in ( billing-vocab:webhook-topic-balance-low billing-vocab:webhook-topic-balance-recovered billing-vocab:webhook-topic-limit-threshold billing-vocab:webhook-topic-credits-expiring billing-vocab:webhook-topic-top-up-completed billing-vocab:webhook-topic-top-up-failed billing-vocab:webhook-topic-plan-changed billing-vocab:webhook-topic-dispute-opened ) ;
|
|
1983
|
+
sh:message "A webhook has exactly one webhook topic, from the allowed values."@en
|
|
1984
|
+
] ;
|
|
1985
|
+
sh:property [
|
|
1986
|
+
sh:path core:in-workspace ;
|
|
1987
|
+
sh:class core:workspace ;
|
|
1988
|
+
sh:minCount 1 ;
|
|
1989
|
+
sh:maxCount 1 ;
|
|
1990
|
+
sh:message "A webhook has exactly one workspace."@en
|
|
1991
|
+
] ;
|
|
1992
|
+
sh:property [
|
|
1993
|
+
sh:path billing:has-sequence-number ;
|
|
1994
|
+
sh:datatype xsd:long ;
|
|
1995
|
+
sh:minCount 1 ;
|
|
1996
|
+
sh:maxCount 1 ;
|
|
1997
|
+
sh:message "A webhook has exactly one sequence number."@en
|
|
1998
|
+
] ;
|
|
1999
|
+
sh:property [
|
|
2000
|
+
sh:path billing:started-automatic-top-up ;
|
|
2001
|
+
sh:datatype xsd:boolean ;
|
|
2002
|
+
sh:minCount 0 ;
|
|
2003
|
+
sh:maxCount 1 ;
|
|
2004
|
+
sh:message "A webhook has at most one value of started automatic top-up."@en
|
|
2005
|
+
] ;
|
|
2006
|
+
sh:property [
|
|
2007
|
+
sh:path billing:at-percent ;
|
|
2008
|
+
sh:class core:concept ;
|
|
2009
|
+
sh:minCount 0 ;
|
|
2010
|
+
sh:maxCount 1 ;
|
|
2011
|
+
sh:in ( billing-vocab:threshold-percent-80 billing-vocab:threshold-percent-100 ) ;
|
|
2012
|
+
sh:message "A webhook has at most one at percent."@en
|
|
2013
|
+
] ;
|
|
2014
|
+
sh:property [
|
|
2015
|
+
sh:path billing:has-expiry ;
|
|
2016
|
+
sh:datatype xsd:dateTime ;
|
|
2017
|
+
sh:minCount 0 ;
|
|
2018
|
+
sh:maxCount 1 ;
|
|
2019
|
+
sh:message "A webhook has at most one expiry."@en
|
|
2020
|
+
] ;
|
|
2021
|
+
sh:property [
|
|
2022
|
+
sh:path billing:of-top-up ;
|
|
2023
|
+
sh:class billing:top-up ;
|
|
2024
|
+
sh:minCount 0 ;
|
|
2025
|
+
sh:maxCount 1 ;
|
|
2026
|
+
sh:message "A webhook has at most one top-up."@en
|
|
2027
|
+
] ;
|
|
2028
|
+
sh:property [
|
|
2029
|
+
sh:path billing:of-subscription ;
|
|
2030
|
+
sh:class billing:subscription ;
|
|
2031
|
+
sh:minCount 0 ;
|
|
2032
|
+
sh:maxCount 1 ;
|
|
2033
|
+
sh:message "A webhook has at most one subscription."@en
|
|
2034
|
+
] ;
|
|
2035
|
+
sh:property [
|
|
2036
|
+
sh:path billing:has-subscription-change ;
|
|
2037
|
+
sh:class core:concept ;
|
|
2038
|
+
sh:minCount 0 ;
|
|
2039
|
+
sh:maxCount 1 ;
|
|
2040
|
+
sh:message "A webhook has at most one subscription change."@en
|
|
2041
|
+
] ;
|
|
2042
|
+
sh:property [
|
|
2043
|
+
sh:path billing:has-plan-change-kind ;
|
|
2044
|
+
sh:class core:concept ;
|
|
2045
|
+
sh:minCount 0 ;
|
|
2046
|
+
sh:maxCount 1 ;
|
|
2047
|
+
sh:message "A webhook has at most one plan change kind."@en
|
|
2048
|
+
] ;
|
|
2049
|
+
sh:property [
|
|
2050
|
+
sh:path billing:has-available-credits ;
|
|
2051
|
+
sh:datatype xsd:long ;
|
|
2052
|
+
sh:minCount 0 ;
|
|
2053
|
+
sh:maxCount 1 ;
|
|
2054
|
+
sh:message "A webhook has at most one value of available credits."@en
|
|
2055
|
+
] .
|
|
2056
|
+
|
|
2057
|
+
billing-shapes:balance-low-shape a sh:NodeShape ;
|
|
2058
|
+
sh:targetClass billing:balance-low ;
|
|
2059
|
+
sh:closed true ;
|
|
2060
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2061
|
+
sh:message "A balance low has only the properties of its class."@en ;
|
|
2062
|
+
sh:property [
|
|
2063
|
+
sh:path core:id ;
|
|
2064
|
+
sh:datatype xsd:string ;
|
|
2065
|
+
sh:minCount 1 ;
|
|
2066
|
+
sh:maxCount 1 ;
|
|
2067
|
+
sh:message "A balance low has exactly one id."@en
|
|
2068
|
+
] ;
|
|
2069
|
+
sh:property [
|
|
2070
|
+
sh:path core:generated-at ;
|
|
2071
|
+
sh:datatype xsd:dateTime ;
|
|
2072
|
+
sh:minCount 1 ;
|
|
2073
|
+
sh:maxCount 1 ;
|
|
2074
|
+
sh:message "A balance low has exactly one creation time."@en
|
|
2075
|
+
] ;
|
|
2076
|
+
sh:property [
|
|
2077
|
+
sh:path billing:has-webhook-topic ;
|
|
2078
|
+
sh:class core:concept ;
|
|
2079
|
+
sh:minCount 1 ;
|
|
2080
|
+
sh:maxCount 1 ;
|
|
2081
|
+
sh:in ( billing-vocab:webhook-topic-balance-low ) ;
|
|
2082
|
+
sh:message "A balance low has exactly one webhook topic of its class."@en
|
|
2083
|
+
] ;
|
|
2084
|
+
sh:property [
|
|
2085
|
+
sh:path billing:started-automatic-top-up ;
|
|
2086
|
+
sh:datatype xsd:boolean ;
|
|
2087
|
+
sh:minCount 1 ;
|
|
2088
|
+
sh:maxCount 1 ;
|
|
2089
|
+
sh:message "A balance low has exactly one value of started automatic top-up."@en
|
|
2090
|
+
] ;
|
|
2091
|
+
sh:property [
|
|
2092
|
+
sh:path core:in-workspace ;
|
|
2093
|
+
sh:class core:workspace ;
|
|
2094
|
+
sh:minCount 1 ;
|
|
2095
|
+
sh:maxCount 1 ;
|
|
2096
|
+
sh:message "A balance low has exactly one workspace."@en
|
|
2097
|
+
] ;
|
|
2098
|
+
sh:property [
|
|
2099
|
+
sh:path billing:has-sequence-number ;
|
|
2100
|
+
sh:datatype xsd:long ;
|
|
2101
|
+
sh:minCount 1 ;
|
|
2102
|
+
sh:maxCount 1 ;
|
|
2103
|
+
sh:message "A balance low has exactly one sequence number."@en
|
|
2104
|
+
] .
|
|
2105
|
+
|
|
2106
|
+
billing-shapes:balance-recovered-shape a sh:NodeShape ;
|
|
2107
|
+
sh:targetClass billing:balance-recovered ;
|
|
2108
|
+
sh:closed true ;
|
|
2109
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2110
|
+
sh:message "A balance recovered has only the properties of its class."@en ;
|
|
2111
|
+
sh:property [
|
|
2112
|
+
sh:path core:id ;
|
|
2113
|
+
sh:datatype xsd:string ;
|
|
2114
|
+
sh:minCount 1 ;
|
|
2115
|
+
sh:maxCount 1 ;
|
|
2116
|
+
sh:message "A balance recovered has exactly one id."@en
|
|
2117
|
+
] ;
|
|
2118
|
+
sh:property [
|
|
2119
|
+
sh:path core:generated-at ;
|
|
2120
|
+
sh:datatype xsd:dateTime ;
|
|
2121
|
+
sh:minCount 1 ;
|
|
2122
|
+
sh:maxCount 1 ;
|
|
2123
|
+
sh:message "A balance recovered has exactly one creation time."@en
|
|
2124
|
+
] ;
|
|
2125
|
+
sh:property [
|
|
2126
|
+
sh:path billing:has-webhook-topic ;
|
|
2127
|
+
sh:class core:concept ;
|
|
2128
|
+
sh:minCount 1 ;
|
|
2129
|
+
sh:maxCount 1 ;
|
|
2130
|
+
sh:in ( billing-vocab:webhook-topic-balance-recovered ) ;
|
|
2131
|
+
sh:message "A balance recovered has exactly one webhook topic of its class."@en
|
|
2132
|
+
] ;
|
|
2133
|
+
sh:property [
|
|
2134
|
+
sh:path billing:has-available-credits ;
|
|
2135
|
+
sh:datatype xsd:long ;
|
|
2136
|
+
sh:minCount 1 ;
|
|
2137
|
+
sh:maxCount 1 ;
|
|
2138
|
+
sh:minInclusive 0 ;
|
|
2139
|
+
sh:message "A balance recovered has exactly one value of available credits."@en
|
|
2140
|
+
] ;
|
|
2141
|
+
sh:property [
|
|
2142
|
+
sh:path core:in-workspace ;
|
|
2143
|
+
sh:class core:workspace ;
|
|
2144
|
+
sh:minCount 1 ;
|
|
2145
|
+
sh:maxCount 1 ;
|
|
2146
|
+
sh:message "A balance recovered has exactly one workspace."@en
|
|
2147
|
+
] ;
|
|
2148
|
+
sh:property [
|
|
2149
|
+
sh:path billing:has-sequence-number ;
|
|
2150
|
+
sh:datatype xsd:long ;
|
|
2151
|
+
sh:minCount 1 ;
|
|
2152
|
+
sh:maxCount 1 ;
|
|
2153
|
+
sh:message "A balance recovered has exactly one sequence number."@en
|
|
2154
|
+
] .
|
|
2155
|
+
|
|
2156
|
+
billing-shapes:limit-threshold-shape a sh:NodeShape ;
|
|
2157
|
+
sh:targetClass billing:limit-threshold ;
|
|
2158
|
+
sh:closed true ;
|
|
2159
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2160
|
+
sh:message "A limit threshold has only the properties of its class."@en ;
|
|
2161
|
+
sh:property [
|
|
2162
|
+
sh:path core:id ;
|
|
2163
|
+
sh:datatype xsd:string ;
|
|
2164
|
+
sh:minCount 1 ;
|
|
2165
|
+
sh:maxCount 1 ;
|
|
2166
|
+
sh:message "A limit threshold has exactly one id."@en
|
|
2167
|
+
] ;
|
|
2168
|
+
sh:property [
|
|
2169
|
+
sh:path core:generated-at ;
|
|
2170
|
+
sh:datatype xsd:dateTime ;
|
|
2171
|
+
sh:minCount 1 ;
|
|
2172
|
+
sh:maxCount 1 ;
|
|
2173
|
+
sh:message "A limit threshold has exactly one creation time."@en
|
|
2174
|
+
] ;
|
|
2175
|
+
sh:property [
|
|
2176
|
+
sh:path billing:has-webhook-topic ;
|
|
2177
|
+
sh:class core:concept ;
|
|
2178
|
+
sh:minCount 1 ;
|
|
2179
|
+
sh:maxCount 1 ;
|
|
2180
|
+
sh:in ( billing-vocab:webhook-topic-limit-threshold ) ;
|
|
2181
|
+
sh:message "A limit threshold has exactly one webhook topic of its class."@en
|
|
2182
|
+
] ;
|
|
2183
|
+
sh:property [
|
|
2184
|
+
sh:path billing:at-percent ;
|
|
2185
|
+
sh:class core:concept ;
|
|
2186
|
+
sh:minCount 1 ;
|
|
2187
|
+
sh:maxCount 1 ;
|
|
2188
|
+
sh:in ( billing-vocab:threshold-percent-80 billing-vocab:threshold-percent-100 ) ;
|
|
2189
|
+
sh:message "A limit threshold has exactly one at percent, from the allowed values."@en
|
|
2190
|
+
] ;
|
|
2191
|
+
sh:property [
|
|
2192
|
+
sh:path core:in-workspace ;
|
|
2193
|
+
sh:class core:workspace ;
|
|
2194
|
+
sh:minCount 1 ;
|
|
2195
|
+
sh:maxCount 1 ;
|
|
2196
|
+
sh:message "A limit threshold has exactly one workspace."@en
|
|
2197
|
+
] ;
|
|
2198
|
+
sh:property [
|
|
2199
|
+
sh:path billing:has-sequence-number ;
|
|
2200
|
+
sh:datatype xsd:long ;
|
|
2201
|
+
sh:minCount 1 ;
|
|
2202
|
+
sh:maxCount 1 ;
|
|
2203
|
+
sh:message "A limit threshold has exactly one sequence number."@en
|
|
2204
|
+
] .
|
|
2205
|
+
|
|
2206
|
+
billing-shapes:credits-expiring-shape a sh:NodeShape ;
|
|
2207
|
+
sh:targetClass billing:credits-expiring ;
|
|
2208
|
+
sh:closed true ;
|
|
2209
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2210
|
+
sh:message "A credits expiring has only the properties of its class."@en ;
|
|
2211
|
+
sh:property [
|
|
2212
|
+
sh:path core:id ;
|
|
2213
|
+
sh:datatype xsd:string ;
|
|
2214
|
+
sh:minCount 1 ;
|
|
2215
|
+
sh:maxCount 1 ;
|
|
2216
|
+
sh:message "A credits expiring has exactly one id."@en
|
|
2217
|
+
] ;
|
|
2218
|
+
sh:property [
|
|
2219
|
+
sh:path core:generated-at ;
|
|
2220
|
+
sh:datatype xsd:dateTime ;
|
|
2221
|
+
sh:minCount 1 ;
|
|
2222
|
+
sh:maxCount 1 ;
|
|
2223
|
+
sh:message "A credits expiring has exactly one creation time."@en
|
|
2224
|
+
] ;
|
|
2225
|
+
sh:property [
|
|
2226
|
+
sh:path billing:has-webhook-topic ;
|
|
2227
|
+
sh:class core:concept ;
|
|
2228
|
+
sh:minCount 1 ;
|
|
2229
|
+
sh:maxCount 1 ;
|
|
2230
|
+
sh:in ( billing-vocab:webhook-topic-credits-expiring ) ;
|
|
2231
|
+
sh:message "A credits expiring has exactly one webhook topic of its class."@en
|
|
2232
|
+
] ;
|
|
2233
|
+
sh:property [
|
|
2234
|
+
sh:path billing:has-expiry ;
|
|
2235
|
+
sh:datatype xsd:dateTime ;
|
|
2236
|
+
sh:minCount 1 ;
|
|
2237
|
+
sh:maxCount 1 ;
|
|
2238
|
+
sh:message "A credits expiring has exactly one expiry."@en
|
|
2239
|
+
] ;
|
|
2240
|
+
sh:property [
|
|
2241
|
+
sh:path core:in-workspace ;
|
|
2242
|
+
sh:class core:workspace ;
|
|
2243
|
+
sh:minCount 1 ;
|
|
2244
|
+
sh:maxCount 1 ;
|
|
2245
|
+
sh:message "A credits expiring has exactly one workspace."@en
|
|
2246
|
+
] ;
|
|
2247
|
+
sh:property [
|
|
2248
|
+
sh:path billing:has-sequence-number ;
|
|
2249
|
+
sh:datatype xsd:long ;
|
|
2250
|
+
sh:minCount 1 ;
|
|
2251
|
+
sh:maxCount 1 ;
|
|
2252
|
+
sh:message "A credits expiring has exactly one sequence number."@en
|
|
2253
|
+
] .
|
|
2254
|
+
|
|
2255
|
+
billing-shapes:top-up-completed-shape a sh:NodeShape ;
|
|
2256
|
+
sh:targetClass billing:top-up-completed ;
|
|
2257
|
+
sh:closed true ;
|
|
2258
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2259
|
+
sh:message "A top up completed has only the properties of its class."@en ;
|
|
2260
|
+
sh:property [
|
|
2261
|
+
sh:path core:id ;
|
|
2262
|
+
sh:datatype xsd:string ;
|
|
2263
|
+
sh:minCount 1 ;
|
|
2264
|
+
sh:maxCount 1 ;
|
|
2265
|
+
sh:message "A top up completed has exactly one id."@en
|
|
2266
|
+
] ;
|
|
2267
|
+
sh:property [
|
|
2268
|
+
sh:path core:generated-at ;
|
|
2269
|
+
sh:datatype xsd:dateTime ;
|
|
2270
|
+
sh:minCount 1 ;
|
|
2271
|
+
sh:maxCount 1 ;
|
|
2272
|
+
sh:message "A top up completed has exactly one creation time."@en
|
|
2273
|
+
] ;
|
|
2274
|
+
sh:property [
|
|
2275
|
+
sh:path billing:has-webhook-topic ;
|
|
2276
|
+
sh:class core:concept ;
|
|
2277
|
+
sh:minCount 1 ;
|
|
2278
|
+
sh:maxCount 1 ;
|
|
2279
|
+
sh:in ( billing-vocab:webhook-topic-top-up-completed ) ;
|
|
2280
|
+
sh:message "A top up completed has exactly one webhook topic of its class."@en
|
|
2281
|
+
] ;
|
|
2282
|
+
sh:property [
|
|
2283
|
+
sh:path billing:of-top-up ;
|
|
2284
|
+
sh:class billing:top-up ;
|
|
2285
|
+
sh:minCount 1 ;
|
|
2286
|
+
sh:maxCount 1 ;
|
|
2287
|
+
sh:message "A top up completed has exactly one top-up."@en
|
|
2288
|
+
] ;
|
|
2289
|
+
sh:property [
|
|
2290
|
+
sh:path core:in-workspace ;
|
|
2291
|
+
sh:class core:workspace ;
|
|
2292
|
+
sh:minCount 1 ;
|
|
2293
|
+
sh:maxCount 1 ;
|
|
2294
|
+
sh:message "A top up completed has exactly one workspace."@en
|
|
2295
|
+
] ;
|
|
2296
|
+
sh:property [
|
|
2297
|
+
sh:path billing:has-sequence-number ;
|
|
2298
|
+
sh:datatype xsd:long ;
|
|
2299
|
+
sh:minCount 1 ;
|
|
2300
|
+
sh:maxCount 1 ;
|
|
2301
|
+
sh:message "A top up completed has exactly one sequence number."@en
|
|
2302
|
+
] .
|
|
2303
|
+
|
|
2304
|
+
billing-shapes:top-up-failed-shape a sh:NodeShape ;
|
|
2305
|
+
sh:targetClass billing:top-up-failed ;
|
|
2306
|
+
sh:closed true ;
|
|
2307
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2308
|
+
sh:message "A top up failed has only the properties of its class."@en ;
|
|
2309
|
+
sh:property [
|
|
2310
|
+
sh:path core:id ;
|
|
2311
|
+
sh:datatype xsd:string ;
|
|
2312
|
+
sh:minCount 1 ;
|
|
2313
|
+
sh:maxCount 1 ;
|
|
2314
|
+
sh:message "A top up failed has exactly one id."@en
|
|
2315
|
+
] ;
|
|
2316
|
+
sh:property [
|
|
2317
|
+
sh:path core:generated-at ;
|
|
2318
|
+
sh:datatype xsd:dateTime ;
|
|
2319
|
+
sh:minCount 1 ;
|
|
2320
|
+
sh:maxCount 1 ;
|
|
2321
|
+
sh:message "A top up failed has exactly one creation time."@en
|
|
2322
|
+
] ;
|
|
2323
|
+
sh:property [
|
|
2324
|
+
sh:path billing:has-webhook-topic ;
|
|
2325
|
+
sh:class core:concept ;
|
|
2326
|
+
sh:minCount 1 ;
|
|
2327
|
+
sh:maxCount 1 ;
|
|
2328
|
+
sh:in ( billing-vocab:webhook-topic-top-up-failed ) ;
|
|
2329
|
+
sh:message "A top up failed has exactly one webhook topic of its class."@en
|
|
2330
|
+
] ;
|
|
2331
|
+
sh:property [
|
|
2332
|
+
sh:path billing:of-top-up ;
|
|
2333
|
+
sh:class billing:top-up ;
|
|
2334
|
+
sh:minCount 1 ;
|
|
2335
|
+
sh:maxCount 1 ;
|
|
2336
|
+
sh:message "A top up failed has exactly one top-up."@en
|
|
2337
|
+
] ;
|
|
2338
|
+
sh:property [
|
|
2339
|
+
sh:path core:in-workspace ;
|
|
2340
|
+
sh:class core:workspace ;
|
|
2341
|
+
sh:minCount 1 ;
|
|
2342
|
+
sh:maxCount 1 ;
|
|
2343
|
+
sh:message "A top up failed has exactly one workspace."@en
|
|
2344
|
+
] ;
|
|
2345
|
+
sh:property [
|
|
2346
|
+
sh:path billing:has-sequence-number ;
|
|
2347
|
+
sh:datatype xsd:long ;
|
|
2348
|
+
sh:minCount 1 ;
|
|
2349
|
+
sh:maxCount 1 ;
|
|
2350
|
+
sh:message "A top up failed has exactly one sequence number."@en
|
|
2351
|
+
] .
|
|
2352
|
+
|
|
2353
|
+
billing-shapes:plan-changed-shape a sh:NodeShape ;
|
|
2354
|
+
sh:targetClass billing:plan-changed ;
|
|
2355
|
+
sh:closed true ;
|
|
2356
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2357
|
+
sh:message "A plan changed has only the properties of its class."@en ;
|
|
2358
|
+
sh:property [
|
|
2359
|
+
sh:path core:id ;
|
|
2360
|
+
sh:datatype xsd:string ;
|
|
2361
|
+
sh:minCount 1 ;
|
|
2362
|
+
sh:maxCount 1 ;
|
|
2363
|
+
sh:message "A plan changed has exactly one id."@en
|
|
2364
|
+
] ;
|
|
2365
|
+
sh:property [
|
|
2366
|
+
sh:path core:generated-at ;
|
|
2367
|
+
sh:datatype xsd:dateTime ;
|
|
2368
|
+
sh:minCount 1 ;
|
|
2369
|
+
sh:maxCount 1 ;
|
|
2370
|
+
sh:message "A plan changed has exactly one creation time."@en
|
|
2371
|
+
] ;
|
|
2372
|
+
sh:property [
|
|
2373
|
+
sh:path billing:has-webhook-topic ;
|
|
2374
|
+
sh:class core:concept ;
|
|
2375
|
+
sh:minCount 1 ;
|
|
2376
|
+
sh:maxCount 1 ;
|
|
2377
|
+
sh:in ( billing-vocab:webhook-topic-plan-changed ) ;
|
|
2378
|
+
sh:message "A plan changed has exactly one webhook topic of its class."@en
|
|
2379
|
+
] ;
|
|
2380
|
+
sh:property [
|
|
2381
|
+
sh:path billing:of-subscription ;
|
|
2382
|
+
sh:class billing:subscription ;
|
|
2383
|
+
sh:minCount 1 ;
|
|
2384
|
+
sh:maxCount 1 ;
|
|
2385
|
+
sh:message "A plan changed has exactly one subscription."@en
|
|
2386
|
+
] ;
|
|
2387
|
+
sh:property [
|
|
2388
|
+
sh:path billing:has-subscription-change ;
|
|
2389
|
+
sh:class core:concept ;
|
|
2390
|
+
sh:minCount 1 ;
|
|
2391
|
+
sh:maxCount 1 ;
|
|
2392
|
+
sh:in ( billing-vocab:subscription-change-started billing-vocab:subscription-change-changed billing-vocab:subscription-change-renewed billing-vocab:subscription-change-past-due billing-vocab:subscription-change-ended ) ;
|
|
2393
|
+
sh:message "A plan changed has exactly one subscription change, from the allowed values."@en
|
|
2394
|
+
] ;
|
|
2395
|
+
sh:property [
|
|
2396
|
+
sh:path billing:has-plan-change-kind ;
|
|
2397
|
+
sh:class core:concept ;
|
|
2398
|
+
sh:minCount 0 ;
|
|
2399
|
+
sh:maxCount 1 ;
|
|
2400
|
+
sh:in ( billing-vocab:plan-change-kind-upgrade billing-vocab:plan-change-kind-downgrade ) ;
|
|
2401
|
+
sh:message "A plan changed has at most one plan change kind, from the allowed values."@en
|
|
2402
|
+
] ;
|
|
2403
|
+
sh:property [
|
|
2404
|
+
sh:path core:in-workspace ;
|
|
2405
|
+
sh:class core:workspace ;
|
|
2406
|
+
sh:minCount 1 ;
|
|
2407
|
+
sh:maxCount 1 ;
|
|
2408
|
+
sh:message "A plan changed has exactly one workspace."@en
|
|
2409
|
+
] ;
|
|
2410
|
+
sh:property [
|
|
2411
|
+
sh:path billing:has-sequence-number ;
|
|
2412
|
+
sh:datatype xsd:long ;
|
|
2413
|
+
sh:minCount 1 ;
|
|
2414
|
+
sh:maxCount 1 ;
|
|
2415
|
+
sh:message "A plan changed has exactly one sequence number."@en
|
|
2416
|
+
] .
|
|
2417
|
+
|
|
2418
|
+
billing-shapes:dispute-opened-shape a sh:NodeShape ;
|
|
2419
|
+
sh:targetClass billing:dispute-opened ;
|
|
2420
|
+
sh:closed true ;
|
|
2421
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2422
|
+
sh:message "A dispute opened has only the properties of its class."@en ;
|
|
2423
|
+
sh:property [
|
|
2424
|
+
sh:path core:id ;
|
|
2425
|
+
sh:datatype xsd:string ;
|
|
2426
|
+
sh:minCount 1 ;
|
|
2427
|
+
sh:maxCount 1 ;
|
|
2428
|
+
sh:message "A dispute opened has exactly one id."@en
|
|
2429
|
+
] ;
|
|
2430
|
+
sh:property [
|
|
2431
|
+
sh:path core:generated-at ;
|
|
2432
|
+
sh:datatype xsd:dateTime ;
|
|
2433
|
+
sh:minCount 1 ;
|
|
2434
|
+
sh:maxCount 1 ;
|
|
2435
|
+
sh:message "A dispute opened has exactly one creation time."@en
|
|
2436
|
+
] ;
|
|
2437
|
+
sh:property [
|
|
2438
|
+
sh:path billing:has-webhook-topic ;
|
|
2439
|
+
sh:class core:concept ;
|
|
2440
|
+
sh:minCount 1 ;
|
|
2441
|
+
sh:maxCount 1 ;
|
|
2442
|
+
sh:in ( billing-vocab:webhook-topic-dispute-opened ) ;
|
|
2443
|
+
sh:message "A dispute opened has exactly one webhook topic of its class."@en
|
|
2444
|
+
] ;
|
|
2445
|
+
sh:property [
|
|
2446
|
+
sh:path billing:has-stripe-payment-id ;
|
|
2447
|
+
sh:datatype xsd:string ;
|
|
2448
|
+
sh:minCount 1 ;
|
|
2449
|
+
sh:maxCount 1 ;
|
|
2450
|
+
sh:message "A dispute opened has exactly one payment id."@en
|
|
2451
|
+
] ;
|
|
2452
|
+
sh:property [
|
|
2453
|
+
sh:path billing:has-amount ;
|
|
2454
|
+
sh:datatype xsd:long ;
|
|
2455
|
+
sh:minCount 1 ;
|
|
2456
|
+
sh:maxCount 1 ;
|
|
2457
|
+
sh:message "A dispute opened has exactly one amount."@en
|
|
2458
|
+
] ;
|
|
2459
|
+
sh:property [
|
|
2460
|
+
sh:path core:in-workspace ;
|
|
2461
|
+
sh:class core:workspace ;
|
|
2462
|
+
sh:minCount 1 ;
|
|
2463
|
+
sh:maxCount 1 ;
|
|
2464
|
+
sh:message "A dispute opened has exactly one workspace."@en
|
|
2465
|
+
] ;
|
|
2466
|
+
sh:property [
|
|
2467
|
+
sh:path billing:has-sequence-number ;
|
|
2468
|
+
sh:datatype xsd:long ;
|
|
2469
|
+
sh:minCount 1 ;
|
|
2470
|
+
sh:maxCount 1 ;
|
|
2471
|
+
sh:message "A dispute opened has exactly one sequence number."@en
|
|
2472
|
+
] .
|
|
2473
|
+
|
|
2474
|
+
billing-shapes:entry-shape a sh:NodeShape ;
|
|
2475
|
+
sh:targetClass billing:entry ;
|
|
2476
|
+
sh:message "An entry has the properties of its class."@en ;
|
|
2477
|
+
sh:property [
|
|
2478
|
+
sh:path core:id ;
|
|
2479
|
+
sh:datatype xsd:string ;
|
|
2480
|
+
sh:minCount 0 ;
|
|
2481
|
+
sh:maxCount 1 ;
|
|
2482
|
+
sh:message "An entry has at most one id."@en
|
|
2483
|
+
] ;
|
|
2484
|
+
sh:property [
|
|
2485
|
+
sh:path billing:of-hold ;
|
|
2486
|
+
sh:class billing:hold ;
|
|
2487
|
+
sh:minCount 0 ;
|
|
2488
|
+
sh:maxCount 1 ;
|
|
2489
|
+
sh:message "An entry has at most one hold."@en
|
|
2490
|
+
] ;
|
|
2491
|
+
sh:property [
|
|
2492
|
+
sh:path billing:of-discount ;
|
|
2493
|
+
sh:class billing:discount ;
|
|
2494
|
+
sh:minCount 0 ;
|
|
2495
|
+
sh:maxCount 1 ;
|
|
2496
|
+
sh:message "An entry has at most one discount."@en
|
|
2497
|
+
] ;
|
|
2498
|
+
sh:property [
|
|
2499
|
+
sh:path core:in-workspace ;
|
|
2500
|
+
sh:class core:workspace ;
|
|
2501
|
+
sh:minCount 1 ;
|
|
2502
|
+
sh:maxCount 1 ;
|
|
2503
|
+
sh:message "An entry has exactly one workspace."@en
|
|
2504
|
+
] ;
|
|
2505
|
+
sh:property [
|
|
2506
|
+
sh:path billing:of-balance ;
|
|
2507
|
+
sh:class billing:balance ;
|
|
2508
|
+
sh:minCount 1 ;
|
|
2509
|
+
sh:maxCount 1 ;
|
|
2510
|
+
sh:message "An entry has exactly one balance."@en
|
|
2511
|
+
] ;
|
|
2512
|
+
sh:property [
|
|
2513
|
+
sh:path billing:has-idempotency-key ;
|
|
2514
|
+
sh:datatype xsd:string ;
|
|
2515
|
+
sh:minCount 1 ;
|
|
2516
|
+
sh:maxCount 1 ;
|
|
2517
|
+
sh:message "An entry has exactly one idempotency key."@en
|
|
2518
|
+
] ;
|
|
2519
|
+
sh:property [
|
|
2520
|
+
sh:path billing:has-plan-credits-change ;
|
|
2521
|
+
sh:datatype xsd:long ;
|
|
2522
|
+
sh:minCount 1 ;
|
|
2523
|
+
sh:maxCount 1 ;
|
|
2524
|
+
sh:message "An entry has exactly one plan credits change."@en
|
|
2525
|
+
] ;
|
|
2526
|
+
sh:property [
|
|
2527
|
+
sh:path billing:has-bought-credits-change ;
|
|
2528
|
+
sh:datatype xsd:long ;
|
|
2529
|
+
sh:minCount 1 ;
|
|
2530
|
+
sh:maxCount 1 ;
|
|
2531
|
+
sh:message "An entry has exactly one bought credits change."@en
|
|
2532
|
+
] ;
|
|
2533
|
+
sh:property [
|
|
2534
|
+
sh:path billing:has-held-credits-change ;
|
|
2535
|
+
sh:datatype xsd:long ;
|
|
2536
|
+
sh:minCount 1 ;
|
|
2537
|
+
sh:maxCount 1 ;
|
|
2538
|
+
sh:message "An entry has exactly one held credits change."@en
|
|
2539
|
+
] ;
|
|
2540
|
+
sh:property [
|
|
2541
|
+
sh:path billing:has-month-charges-change ;
|
|
2542
|
+
sh:datatype xsd:long ;
|
|
2543
|
+
sh:minCount 1 ;
|
|
2544
|
+
sh:maxCount 1 ;
|
|
2545
|
+
sh:message "An entry has exactly one month charges change."@en
|
|
2546
|
+
] ;
|
|
2547
|
+
sh:property [
|
|
2548
|
+
sh:path core:generated-at ;
|
|
2549
|
+
sh:datatype xsd:dateTime ;
|
|
2550
|
+
sh:minCount 0 ;
|
|
2551
|
+
sh:maxCount 1 ;
|
|
2552
|
+
sh:message "An entry has at most one generation time."@en
|
|
2553
|
+
] ;
|
|
2554
|
+
sh:property [
|
|
2555
|
+
sh:path billing:has-entry-kind ;
|
|
2556
|
+
sh:class core:concept ;
|
|
2557
|
+
sh:minCount 1 ;
|
|
2558
|
+
sh:maxCount 1 ;
|
|
2559
|
+
sh:in ( billing-vocab:entry-kind-grant billing-vocab:entry-kind-top-up billing-vocab:entry-kind-hold billing-vocab:entry-kind-settle billing-vocab:entry-kind-release billing-vocab:entry-kind-refund billing-vocab:entry-kind-expire ) ;
|
|
2560
|
+
sh:message "An entry has exactly one entry kind, from the allowed values."@en
|
|
2561
|
+
] ;
|
|
2562
|
+
sh:property [
|
|
2563
|
+
sh:path billing:has-stripe-invoice-id ;
|
|
2564
|
+
sh:datatype xsd:string ;
|
|
2565
|
+
sh:minCount 0 ;
|
|
2566
|
+
sh:maxCount 1 ;
|
|
2567
|
+
sh:message "An entry has at most one Stripe invoice id."@en
|
|
2568
|
+
] .
|
|
2569
|
+
|
|
2570
|
+
billing-shapes:grant-entry-shape a sh:NodeShape ;
|
|
2571
|
+
sh:targetClass billing:grant-entry ;
|
|
2572
|
+
sh:message "A grant entry has the properties of its class."@en ;
|
|
2573
|
+
sh:property [
|
|
2574
|
+
sh:path billing:has-entry-kind ;
|
|
2575
|
+
sh:class core:concept ;
|
|
2576
|
+
sh:minCount 1 ;
|
|
2577
|
+
sh:maxCount 1 ;
|
|
2578
|
+
sh:in ( billing-vocab:entry-kind-grant ) ;
|
|
2579
|
+
sh:message "A grant entry has exactly one entry kind, from the allowed values."@en
|
|
2580
|
+
] ;
|
|
2581
|
+
sh:property [
|
|
2582
|
+
sh:path billing:has-grant-kind ;
|
|
2583
|
+
sh:class core:concept ;
|
|
2584
|
+
sh:minCount 1 ;
|
|
2585
|
+
sh:maxCount 1 ;
|
|
2586
|
+
sh:in ( billing-vocab:grant-kind-plan billing-vocab:grant-kind-trial billing-vocab:grant-kind-admin billing-vocab:grant-kind-bonus ) ;
|
|
2587
|
+
sh:message "A grant entry has exactly one grant kind, from the allowed values."@en
|
|
2588
|
+
] ;
|
|
2589
|
+
sh:property [
|
|
2590
|
+
sh:path billing:to-part ;
|
|
2591
|
+
sh:class core:concept ;
|
|
2592
|
+
sh:minCount 0 ;
|
|
2593
|
+
sh:maxCount 1 ;
|
|
2594
|
+
sh:in ( billing-vocab:balance-part-plan billing-vocab:balance-part-bought ) ;
|
|
2595
|
+
sh:message "A grant entry has at most one part, from the allowed values."@en
|
|
2596
|
+
] ;
|
|
2597
|
+
sh:property [
|
|
2598
|
+
sh:path billing:has-stripe-invoice-id ;
|
|
2599
|
+
sh:datatype xsd:string ;
|
|
2600
|
+
sh:minCount 0 ;
|
|
2601
|
+
sh:maxCount 1 ;
|
|
2602
|
+
sh:message "A grant entry has at most one Stripe invoice id."@en
|
|
2603
|
+
] .
|
|
2604
|
+
|
|
2605
|
+
billing-shapes:top-up-entry-shape a sh:NodeShape ;
|
|
2606
|
+
sh:targetClass billing:top-up-entry ;
|
|
2607
|
+
sh:message "A top-up entry has the properties of its class."@en ;
|
|
2608
|
+
sh:property [
|
|
2609
|
+
sh:path billing:has-entry-kind ;
|
|
2610
|
+
sh:class core:concept ;
|
|
2611
|
+
sh:minCount 1 ;
|
|
2612
|
+
sh:maxCount 1 ;
|
|
2613
|
+
sh:in ( billing-vocab:entry-kind-top-up ) ;
|
|
2614
|
+
sh:message "A top-up entry has exactly one entry kind, from the allowed values."@en
|
|
2615
|
+
] ;
|
|
2616
|
+
sh:property [
|
|
2617
|
+
sh:path billing:has-stripe-invoice-id ;
|
|
2618
|
+
sh:datatype xsd:string ;
|
|
2619
|
+
sh:minCount 0 ;
|
|
2620
|
+
sh:maxCount 1 ;
|
|
2621
|
+
sh:message "A top-up entry has at most one Stripe invoice id."@en
|
|
2622
|
+
] .
|
|
2623
|
+
|
|
2624
|
+
billing-shapes:hold-entry-shape a sh:NodeShape ;
|
|
2625
|
+
sh:targetClass billing:hold-entry ;
|
|
2626
|
+
sh:message "A hold entry has the properties of its class."@en ;
|
|
2627
|
+
sh:property [
|
|
2628
|
+
sh:path billing:has-entry-kind ;
|
|
2629
|
+
sh:class core:concept ;
|
|
2630
|
+
sh:minCount 1 ;
|
|
2631
|
+
sh:maxCount 1 ;
|
|
2632
|
+
sh:in ( billing-vocab:entry-kind-hold ) ;
|
|
2633
|
+
sh:message "A hold entry has exactly one entry kind, from the allowed values."@en
|
|
2634
|
+
] ;
|
|
2635
|
+
sh:property [
|
|
2636
|
+
sh:path billing:of-hold ;
|
|
2637
|
+
sh:class billing:hold ;
|
|
2638
|
+
sh:minCount 1 ;
|
|
2639
|
+
sh:maxCount 1 ;
|
|
2640
|
+
sh:message "A hold entry has exactly one hold."@en
|
|
2641
|
+
] .
|
|
2642
|
+
|
|
2643
|
+
billing-shapes:settle-entry-shape a sh:NodeShape ;
|
|
2644
|
+
sh:targetClass billing:settle-entry ;
|
|
2645
|
+
sh:message "A settle entry has the properties of its class."@en ;
|
|
2646
|
+
sh:property [
|
|
2647
|
+
sh:path billing:has-entry-kind ;
|
|
2648
|
+
sh:class core:concept ;
|
|
2649
|
+
sh:minCount 1 ;
|
|
2650
|
+
sh:maxCount 1 ;
|
|
2651
|
+
sh:in ( billing-vocab:entry-kind-settle ) ;
|
|
2652
|
+
sh:message "A settle entry has exactly one entry kind, from the allowed values."@en
|
|
2653
|
+
] ;
|
|
2654
|
+
sh:property [
|
|
2655
|
+
sh:path billing:of-hold ;
|
|
2656
|
+
sh:class billing:hold ;
|
|
2657
|
+
sh:minCount 1 ;
|
|
2658
|
+
sh:maxCount 1 ;
|
|
2659
|
+
sh:message "A settle entry has exactly one hold."@en
|
|
2660
|
+
] .
|
|
2661
|
+
|
|
2662
|
+
billing-shapes:release-entry-shape a sh:NodeShape ;
|
|
2663
|
+
sh:targetClass billing:release-entry ;
|
|
2664
|
+
sh:message "A release entry has the properties of its class."@en ;
|
|
2665
|
+
sh:property [
|
|
2666
|
+
sh:path billing:has-entry-kind ;
|
|
2667
|
+
sh:class core:concept ;
|
|
2668
|
+
sh:minCount 1 ;
|
|
2669
|
+
sh:maxCount 1 ;
|
|
2670
|
+
sh:in ( billing-vocab:entry-kind-release ) ;
|
|
2671
|
+
sh:message "A release entry has exactly one entry kind, from the allowed values."@en
|
|
2672
|
+
] ;
|
|
2673
|
+
sh:property [
|
|
2674
|
+
sh:path billing:of-hold ;
|
|
2675
|
+
sh:class billing:hold ;
|
|
2676
|
+
sh:minCount 1 ;
|
|
2677
|
+
sh:maxCount 1 ;
|
|
2678
|
+
sh:message "A release entry has exactly one hold."@en
|
|
2679
|
+
] .
|
|
2680
|
+
|
|
2681
|
+
billing-shapes:refund-entry-shape a sh:NodeShape ;
|
|
2682
|
+
sh:targetClass billing:refund-entry ;
|
|
2683
|
+
sh:message "A refund entry has the properties of its class."@en ;
|
|
2684
|
+
sh:property [
|
|
2685
|
+
sh:path billing:has-entry-kind ;
|
|
2686
|
+
sh:class core:concept ;
|
|
2687
|
+
sh:minCount 1 ;
|
|
2688
|
+
sh:maxCount 1 ;
|
|
2689
|
+
sh:in ( billing-vocab:entry-kind-refund ) ;
|
|
2690
|
+
sh:message "A refund entry has exactly one entry kind, from the allowed values."@en
|
|
2691
|
+
] ;
|
|
2692
|
+
sh:property [
|
|
2693
|
+
sh:path billing:has-stripe-invoice-id ;
|
|
2694
|
+
sh:datatype xsd:string ;
|
|
2695
|
+
sh:minCount 0 ;
|
|
2696
|
+
sh:maxCount 1 ;
|
|
2697
|
+
sh:message "A refund entry has at most one Stripe invoice id."@en
|
|
2698
|
+
] .
|
|
2699
|
+
|
|
2700
|
+
billing-shapes:expire-entry-shape a sh:NodeShape ;
|
|
2701
|
+
sh:targetClass billing:expire-entry ;
|
|
2702
|
+
sh:message "An expire entry has the properties of its class."@en ;
|
|
2703
|
+
sh:property [
|
|
2704
|
+
sh:path billing:has-entry-kind ;
|
|
2705
|
+
sh:class core:concept ;
|
|
2706
|
+
sh:minCount 1 ;
|
|
2707
|
+
sh:maxCount 1 ;
|
|
2708
|
+
sh:in ( billing-vocab:entry-kind-expire ) ;
|
|
2709
|
+
sh:message "An expire entry has exactly one entry kind, from the allowed values."@en
|
|
2710
|
+
] .
|
|
2711
|
+
|
|
2712
|
+
billing-shapes:unit-cost-shape a sh:NodeShape ;
|
|
2713
|
+
sh:targetClass billing:unit-cost ;
|
|
2714
|
+
sh:message "A unit cost has the properties of its class."@en ;
|
|
2715
|
+
sh:property [
|
|
2716
|
+
sh:path billing:of-source ;
|
|
2717
|
+
sh:nodeKind sh:IRI ;
|
|
2718
|
+
sh:minCount 1 ;
|
|
2719
|
+
sh:maxCount 1 ;
|
|
2720
|
+
sh:message "A unit cost has exactly one source of paid work."@en
|
|
2721
|
+
] ;
|
|
2722
|
+
sh:property [
|
|
2723
|
+
sh:path billing:has-cost-unit ;
|
|
2724
|
+
sh:class core:concept ;
|
|
2725
|
+
sh:minCount 1 ;
|
|
2726
|
+
sh:maxCount 1 ;
|
|
2727
|
+
sh:message "A unit cost has exactly one cost unit."@en
|
|
2728
|
+
] ;
|
|
2729
|
+
sh:property [
|
|
2730
|
+
sh:path billing:has-cost-per-million-units ;
|
|
2731
|
+
sh:datatype xsd:long ;
|
|
2732
|
+
sh:minCount 0 ;
|
|
2733
|
+
sh:maxCount 1 ;
|
|
2734
|
+
sh:minInclusive 0 ;
|
|
2735
|
+
sh:message "A unit cost has at most one integer number of micro-USD for one million cost units."@en
|
|
2736
|
+
] .
|
|
2737
|
+
|
|
2738
|
+
billing-shapes:discount-shape a sh:NodeShape ;
|
|
2739
|
+
sh:targetClass billing:discount ;
|
|
2740
|
+
sh:closed true ;
|
|
2741
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2742
|
+
sh:message "A discount has only the properties of its class."@en ;
|
|
2743
|
+
sh:property [
|
|
2744
|
+
sh:path core:id ;
|
|
2745
|
+
sh:datatype xsd:string ;
|
|
2746
|
+
sh:minCount 1 ;
|
|
2747
|
+
sh:maxCount 1 ;
|
|
2748
|
+
sh:message "A discount has exactly one id."@en
|
|
2749
|
+
] ;
|
|
2750
|
+
sh:property [
|
|
2751
|
+
sh:path core:in-workspace ;
|
|
2752
|
+
sh:class core:workspace ;
|
|
2753
|
+
sh:minCount 0 ;
|
|
2754
|
+
sh:maxCount 1 ;
|
|
2755
|
+
sh:message "A discount has at most one workspace. A discount of scope global has none."@en
|
|
2756
|
+
] ;
|
|
2757
|
+
sh:property [
|
|
2758
|
+
sh:path billing:has-setting-scope ;
|
|
2759
|
+
sh:class core:concept ;
|
|
2760
|
+
sh:minCount 1 ;
|
|
2761
|
+
sh:maxCount 1 ;
|
|
2762
|
+
sh:in ( billing-vocab:setting-scope-global billing-vocab:setting-scope-workspace ) ;
|
|
2763
|
+
sh:message "A discount has exactly one setting scope, global or workspace."@en
|
|
2764
|
+
] ;
|
|
2765
|
+
sh:property [
|
|
2766
|
+
sh:path billing:has-discount-code ;
|
|
2767
|
+
sh:datatype xsd:string ;
|
|
2768
|
+
sh:minCount 0 ;
|
|
2769
|
+
sh:maxCount 1 ;
|
|
2770
|
+
sh:minLength 1 ;
|
|
2771
|
+
sh:message "A discount has at most one code."@en
|
|
2772
|
+
] ;
|
|
2773
|
+
sh:property [
|
|
2774
|
+
sh:path billing:has-duration-months ;
|
|
2775
|
+
sh:datatype xsd:integer ;
|
|
2776
|
+
sh:minCount 0 ;
|
|
2777
|
+
sh:maxCount 1 ;
|
|
2778
|
+
sh:minInclusive 1 ;
|
|
2779
|
+
sh:message "A discount has at most one duration in months."@en
|
|
2780
|
+
] ;
|
|
2781
|
+
sh:property [
|
|
2782
|
+
sh:path billing:has-redemption-limit ;
|
|
2783
|
+
sh:datatype xsd:long ;
|
|
2784
|
+
sh:minCount 0 ;
|
|
2785
|
+
sh:maxCount 1 ;
|
|
2786
|
+
sh:minInclusive 1 ;
|
|
2787
|
+
sh:message "A discount has at most one redemption limit."@en
|
|
2788
|
+
] ;
|
|
2789
|
+
sh:property [
|
|
2790
|
+
sh:path billing:has-discount-kind ;
|
|
2791
|
+
sh:class core:concept ;
|
|
2792
|
+
sh:minCount 1 ;
|
|
2793
|
+
sh:maxCount 1 ;
|
|
2794
|
+
sh:in ( billing-vocab:discount-kind-usage billing-vocab:discount-kind-subscription billing-vocab:discount-kind-pack billing-vocab:discount-kind-bonus ) ;
|
|
2795
|
+
sh:message "A discount has exactly one discount kind, from the allowed values."@en
|
|
2796
|
+
] ;
|
|
2797
|
+
sh:property [
|
|
2798
|
+
sh:path core:generated-at ;
|
|
2799
|
+
sh:datatype xsd:dateTime ;
|
|
2800
|
+
sh:minCount 0 ;
|
|
2801
|
+
sh:maxCount 1 ;
|
|
2802
|
+
sh:message "A discount has at most one creation time."@en
|
|
2803
|
+
] ;
|
|
2804
|
+
sh:property [
|
|
2805
|
+
sh:path core:has-status ;
|
|
2806
|
+
sh:class core:concept ;
|
|
2807
|
+
sh:minCount 1 ;
|
|
2808
|
+
sh:maxCount 1 ;
|
|
2809
|
+
sh:in ( billing-vocab:discount-status-pending billing-vocab:discount-status-active billing-vocab:discount-status-ended ) ;
|
|
2810
|
+
sh:message "A discount has exactly one discount status, from the allowed values."@en
|
|
2811
|
+
] ;
|
|
2812
|
+
sh:property [
|
|
2813
|
+
sh:path billing:of-spender ;
|
|
2814
|
+
sh:class core:service ;
|
|
2815
|
+
sh:minCount 0 ;
|
|
2816
|
+
sh:maxCount 1 ;
|
|
2817
|
+
sh:message "A discount has at most one service."@en
|
|
2818
|
+
] ;
|
|
2819
|
+
sh:property [
|
|
2820
|
+
sh:path billing:has-discount-value ;
|
|
2821
|
+
sh:datatype xsd:long ;
|
|
2822
|
+
sh:minCount 1 ;
|
|
2823
|
+
sh:maxCount 1 ;
|
|
2824
|
+
sh:minInclusive 1 ;
|
|
2825
|
+
sh:maxInclusive 10000 ;
|
|
2826
|
+
sh:message "A discount has exactly one discount value."@en
|
|
2827
|
+
] ;
|
|
2828
|
+
sh:property [
|
|
2829
|
+
sh:path core:started-at ;
|
|
2830
|
+
sh:datatype xsd:dateTime ;
|
|
2831
|
+
sh:minCount 1 ;
|
|
2832
|
+
sh:maxCount 1 ;
|
|
2833
|
+
sh:message "A discount has exactly one start time."@en
|
|
2834
|
+
] ;
|
|
2835
|
+
sh:property [
|
|
2836
|
+
sh:path core:ended-at ;
|
|
2837
|
+
sh:datatype xsd:dateTime ;
|
|
2838
|
+
sh:minCount 0 ;
|
|
2839
|
+
sh:maxCount 1 ;
|
|
2840
|
+
sh:message "A discount has at most one end time."@en
|
|
2841
|
+
] .
|
|
2842
|
+
|
|
2843
|
+
billing-shapes:discount-redemption-shape a sh:NodeShape ;
|
|
2844
|
+
sh:targetClass billing:discount-redemption ;
|
|
2845
|
+
sh:closed true ;
|
|
2846
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2847
|
+
sh:message "A discount redemption has only the properties of its class."@en ;
|
|
2848
|
+
sh:property [
|
|
2849
|
+
sh:path billing:of-discount ;
|
|
2850
|
+
sh:class billing:discount ;
|
|
2851
|
+
sh:minCount 1 ;
|
|
2852
|
+
sh:maxCount 1 ;
|
|
2853
|
+
sh:message "A discount redemption has exactly one discount."@en
|
|
2854
|
+
] ;
|
|
2855
|
+
sh:property [
|
|
2856
|
+
sh:path core:in-workspace ;
|
|
2857
|
+
sh:class core:workspace ;
|
|
2858
|
+
sh:minCount 1 ;
|
|
2859
|
+
sh:maxCount 1 ;
|
|
2860
|
+
sh:message "A discount redemption has exactly one workspace."@en
|
|
2861
|
+
] ;
|
|
2862
|
+
sh:property [
|
|
2863
|
+
sh:path core:generated-at ;
|
|
2864
|
+
sh:datatype xsd:dateTime ;
|
|
2865
|
+
sh:minCount 1 ;
|
|
2866
|
+
sh:maxCount 1 ;
|
|
2867
|
+
sh:message "A discount redemption has exactly one creation time."@en
|
|
2868
|
+
] .
|
|
2869
|
+
|
|
2870
|
+
billing-shapes:cancel-shape a sh:NodeShape ;
|
|
2871
|
+
sh:targetClass billing:cancel ;
|
|
2872
|
+
sh:closed true ;
|
|
2873
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2874
|
+
sh:property [
|
|
2875
|
+
sh:path billing:has-cancel-reason ;
|
|
2876
|
+
sh:class core:concept ;
|
|
2877
|
+
sh:in ( billing-vocab:cancel-reason-workspace-closing ) ;
|
|
2878
|
+
sh:minCount 1 ;
|
|
2879
|
+
sh:maxCount 1 ;
|
|
2880
|
+
sh:message "A cancel has exactly one cancel reason, from the allowed values."@en
|
|
2881
|
+
] ;
|
|
2882
|
+
sh:property [
|
|
2883
|
+
sh:path billing:has-cancel-status ;
|
|
2884
|
+
sh:class core:concept ;
|
|
2885
|
+
sh:in ( billing-vocab:cancel-status-cancelling billing-vocab:cancel-status-none ) ;
|
|
2886
|
+
sh:minCount 1 ;
|
|
2887
|
+
sh:maxCount 1 ;
|
|
2888
|
+
sh:message "A cancel has exactly one cancel status, from the allowed values."@en
|
|
2889
|
+
] ;
|
|
2890
|
+
sh:property [
|
|
2891
|
+
sh:path core:in-workspace ;
|
|
2892
|
+
sh:class core:workspace ;
|
|
2893
|
+
sh:minCount 1 ;
|
|
2894
|
+
sh:maxCount 1 ;
|
|
2895
|
+
sh:message "A cancel has exactly one workspace."@en
|
|
2896
|
+
] .
|
|
2897
|
+
|
|
2898
|
+
billing-shapes:checkout-shape a sh:NodeShape ;
|
|
2899
|
+
sh:targetClass billing:checkout ;
|
|
2900
|
+
sh:closed true ;
|
|
2901
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2902
|
+
sh:message "A checkout has only the properties of its class."@en ;
|
|
2903
|
+
sh:property [
|
|
2904
|
+
sh:path core:in-workspace ;
|
|
2905
|
+
sh:class core:workspace ;
|
|
2906
|
+
sh:minCount 1 ;
|
|
2907
|
+
sh:maxCount 1 ;
|
|
2908
|
+
sh:message "A checkout has exactly one workspace."@en
|
|
2909
|
+
] .
|
|
2910
|
+
|
|
2911
|
+
billing-shapes:portal-shape a sh:NodeShape ;
|
|
2912
|
+
sh:targetClass billing:portal ;
|
|
2913
|
+
sh:closed true ;
|
|
2914
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2915
|
+
sh:message "A portal has only the properties of its class."@en ;
|
|
2916
|
+
sh:property [
|
|
2917
|
+
sh:path core:in-workspace ;
|
|
2918
|
+
sh:class core:workspace ;
|
|
2919
|
+
sh:minCount 1 ;
|
|
2920
|
+
sh:maxCount 1 ;
|
|
2921
|
+
sh:message "A portal has exactly one workspace."@en
|
|
2922
|
+
] .
|
|
2923
|
+
|
|
2924
|
+
billing-shapes:usage-shape a sh:NodeShape ;
|
|
2925
|
+
sh:targetClass billing:usage ;
|
|
2926
|
+
sh:closed true ;
|
|
2927
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
2928
|
+
sh:message "A usage record has only the properties of its class."@en ;
|
|
2929
|
+
sh:property [
|
|
2930
|
+
sh:path core:in-workspace ;
|
|
2931
|
+
sh:class core:workspace ;
|
|
2932
|
+
sh:minCount 1 ;
|
|
2933
|
+
sh:maxCount 1 ;
|
|
2934
|
+
sh:message "A usage record belongs to exactly one workspace."@en
|
|
2935
|
+
] ;
|
|
2936
|
+
sh:property [
|
|
2937
|
+
sh:path billing:for-day ;
|
|
2938
|
+
sh:datatype xsd:dateTime ;
|
|
2939
|
+
sh:minCount 1 ;
|
|
2940
|
+
sh:maxCount 1 ;
|
|
2941
|
+
sh:message "A usage record has exactly one UTC day."@en
|
|
2942
|
+
] ;
|
|
2943
|
+
sh:property [
|
|
2944
|
+
sh:path billing:has-metric ;
|
|
2945
|
+
sh:datatype xsd:string ;
|
|
2946
|
+
sh:minCount 1 ;
|
|
2947
|
+
sh:maxCount 1 ;
|
|
2948
|
+
sh:message "A usage record has exactly one metric."@en
|
|
2949
|
+
] ;
|
|
2950
|
+
sh:property [
|
|
2951
|
+
sh:path billing:for-source ;
|
|
2952
|
+
sh:datatype xsd:string ;
|
|
2953
|
+
sh:minCount 1 ;
|
|
2954
|
+
sh:maxCount 1 ;
|
|
2955
|
+
sh:message "A usage record has exactly one source, or an empty string."@en
|
|
2956
|
+
] ;
|
|
2957
|
+
sh:property [
|
|
2958
|
+
sh:path billing:for-key ;
|
|
2959
|
+
sh:datatype xsd:string ;
|
|
2960
|
+
sh:minCount 1 ;
|
|
2961
|
+
sh:maxCount 1 ;
|
|
2962
|
+
sh:message "A usage record has exactly one key, or an empty string."@en
|
|
2963
|
+
] ;
|
|
2964
|
+
sh:property [
|
|
2965
|
+
sh:path billing:has-usage-value ;
|
|
2966
|
+
sh:datatype xsd:long ;
|
|
2967
|
+
sh:minCount 1 ;
|
|
2968
|
+
sh:maxCount 1 ;
|
|
2969
|
+
sh:message "A usage record has exactly one value."@en
|
|
2970
|
+
] .
|
|
2971
|
+
|
|
2972
|
+
billing-shapes:audit-row-shape a sh:NodeShape ;
|
|
2973
|
+
sh:targetClass billing:audit-row ;
|
|
2974
|
+
sh:message "An audit row has the properties of its class."@en ;
|
|
2975
|
+
sh:property [
|
|
2976
|
+
sh:path core:id ;
|
|
2977
|
+
sh:datatype xsd:string ;
|
|
2978
|
+
sh:minCount 1 ;
|
|
2979
|
+
sh:maxCount 1 ;
|
|
2980
|
+
sh:message "An audit row has exactly one id."@en
|
|
2981
|
+
] ;
|
|
2982
|
+
sh:property [
|
|
2983
|
+
sh:path core:in-workspace ;
|
|
2984
|
+
sh:class core:workspace ;
|
|
2985
|
+
sh:minCount 0 ;
|
|
2986
|
+
sh:maxCount 1 ;
|
|
2987
|
+
sh:message "An audit row has at most one workspace."@en
|
|
2988
|
+
] ;
|
|
2989
|
+
sh:property [
|
|
2990
|
+
sh:path billing:of-record ;
|
|
2991
|
+
sh:class core:entity ;
|
|
2992
|
+
sh:minCount 0 ;
|
|
2993
|
+
sh:maxCount 1 ;
|
|
2994
|
+
sh:message "An audit row has at most one record."@en
|
|
2995
|
+
] ;
|
|
2996
|
+
sh:property [
|
|
2997
|
+
sh:path billing:has-audit-actor ;
|
|
2998
|
+
sh:class core:concept ;
|
|
2999
|
+
sh:minCount 1 ;
|
|
3000
|
+
sh:maxCount 1 ;
|
|
3001
|
+
sh:in ( billing-vocab:audit-actor-staff billing-vocab:audit-actor-user billing-vocab:audit-actor-service ) ;
|
|
3002
|
+
sh:message "An audit row has exactly one audit actor, from the allowed values."@en
|
|
3003
|
+
] ;
|
|
3004
|
+
sh:property [
|
|
3005
|
+
sh:path billing:has-old-value ;
|
|
3006
|
+
sh:datatype xsd:string ;
|
|
3007
|
+
sh:minCount 0 ;
|
|
3008
|
+
sh:maxCount 1 ;
|
|
3009
|
+
sh:message "An audit row has at most one old value."@en
|
|
3010
|
+
] ;
|
|
3011
|
+
sh:property [
|
|
3012
|
+
sh:path billing:has-new-value ;
|
|
3013
|
+
sh:datatype xsd:string ;
|
|
3014
|
+
sh:minCount 0 ;
|
|
3015
|
+
sh:maxCount 1 ;
|
|
3016
|
+
sh:message "An audit row has at most one new value."@en
|
|
3017
|
+
] ;
|
|
3018
|
+
sh:property [
|
|
3019
|
+
sh:path billing:has-idempotency-key ;
|
|
3020
|
+
sh:datatype xsd:string ;
|
|
3021
|
+
sh:minCount 1 ;
|
|
3022
|
+
sh:maxCount 1 ;
|
|
3023
|
+
sh:message "An audit row has exactly one idempotency key."@en
|
|
3024
|
+
] ;
|
|
3025
|
+
sh:property [
|
|
3026
|
+
sh:path billing:has-grant-reason ;
|
|
3027
|
+
sh:class core:concept ;
|
|
3028
|
+
sh:minCount 0 ;
|
|
3029
|
+
sh:maxCount 1 ;
|
|
3030
|
+
sh:in ( billing-vocab:grant-reason-goodwill billing-vocab:grant-reason-correction billing-vocab:grant-reason-test ) ;
|
|
3031
|
+
sh:message "An audit row has at most one grant reason, from the allowed values."@en
|
|
3032
|
+
] ;
|
|
3033
|
+
sh:property [
|
|
3034
|
+
sh:path core:generated-at ;
|
|
3035
|
+
sh:datatype xsd:dateTime ;
|
|
3036
|
+
sh:minCount 1 ;
|
|
3037
|
+
sh:maxCount 1 ;
|
|
3038
|
+
sh:message "An audit row has exactly one creation time."@en
|
|
3039
|
+
] .
|
|
3040
|
+
|
|
3041
|
+
billing-shapes:outbox-row-shape a sh:NodeShape ;
|
|
3042
|
+
sh:targetClass billing:outbox-row ;
|
|
3043
|
+
sh:message "An outbox row has the properties of its class."@en ;
|
|
3044
|
+
sh:property [ sh:path ai:has-correlation-id ; sh:datatype xsd:string ; sh:maxCount 1 ; sh:message "An outbox row has at most one trace id."@en ] ;
|
|
3045
|
+
sh:property [
|
|
3046
|
+
sh:path core:id ;
|
|
3047
|
+
sh:datatype xsd:string ;
|
|
3048
|
+
sh:minCount 1 ;
|
|
3049
|
+
sh:maxCount 1 ;
|
|
3050
|
+
sh:message "An outbox row has exactly one id."@en
|
|
3051
|
+
] ;
|
|
3052
|
+
sh:property [
|
|
3053
|
+
sh:path core:in-workspace ;
|
|
3054
|
+
sh:class core:workspace ;
|
|
3055
|
+
sh:minCount 1 ;
|
|
3056
|
+
sh:maxCount 1 ;
|
|
3057
|
+
sh:message "An outbox row has exactly one workspace."@en
|
|
3058
|
+
] ;
|
|
3059
|
+
sh:property [
|
|
3060
|
+
sh:path billing:has-webhook-topic ;
|
|
3061
|
+
sh:class core:concept ;
|
|
3062
|
+
sh:minCount 1 ;
|
|
3063
|
+
sh:maxCount 1 ;
|
|
3064
|
+
sh:node [ a sh:NodeShape ; sh:property [ sh:path core:in-scheme ; sh:hasValue billing-vocab:webhook-topic ] ] ;
|
|
3065
|
+
sh:message "An outbox row has exactly one webhook topic, from its concept scheme."@en
|
|
3066
|
+
] ;
|
|
3067
|
+
sh:property [
|
|
3068
|
+
sh:path billing:has-sequence-number ;
|
|
3069
|
+
sh:datatype xsd:long ;
|
|
3070
|
+
sh:minCount 1 ;
|
|
3071
|
+
sh:maxCount 1 ;
|
|
3072
|
+
sh:message "An outbox row has exactly one sequence number."@en
|
|
3073
|
+
] ;
|
|
3074
|
+
sh:property [
|
|
3075
|
+
sh:path core:has-status ;
|
|
3076
|
+
sh:class core:concept ;
|
|
3077
|
+
sh:minCount 1 ;
|
|
3078
|
+
sh:maxCount 1 ;
|
|
3079
|
+
sh:in ( billing-vocab:outbox-row-status-pending billing-vocab:outbox-row-status-sent billing-vocab:outbox-row-status-stopped ) ;
|
|
3080
|
+
sh:message "An outbox row has exactly one outbox row status, from the allowed values."@en
|
|
3081
|
+
] ;
|
|
3082
|
+
sh:property [
|
|
3083
|
+
sh:path core:generated-at ;
|
|
3084
|
+
sh:datatype xsd:dateTime ;
|
|
3085
|
+
sh:minCount 1 ;
|
|
3086
|
+
sh:maxCount 1 ;
|
|
3087
|
+
sh:message "An outbox row has exactly one creation time."@en
|
|
3088
|
+
] ;
|
|
3089
|
+
sh:property [
|
|
3090
|
+
sh:path billing:has-channel-name ;
|
|
3091
|
+
sh:datatype xsd:string ;
|
|
3092
|
+
sh:minCount 1 ;
|
|
3093
|
+
sh:maxCount 1 ;
|
|
3094
|
+
sh:message "An outbox row has exactly one channel name."@en
|
|
3095
|
+
] .
|
|
3096
|
+
|
|
3097
|
+
billing-shapes:pre-signup-cost-shape a sh:NodeShape ;
|
|
3098
|
+
sh:targetClass billing:pre-signup-cost ;
|
|
3099
|
+
sh:closed true ;
|
|
3100
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
3101
|
+
sh:message "A pre-signup cost has only the properties of its class."@en ;
|
|
3102
|
+
sh:property [
|
|
3103
|
+
sh:path core:id ;
|
|
3104
|
+
sh:datatype xsd:string ;
|
|
3105
|
+
sh:minCount 1 ;
|
|
3106
|
+
sh:maxCount 1 ;
|
|
3107
|
+
sh:message "A pre-signup cost has exactly one id, as a text."
|
|
3108
|
+
] ;
|
|
3109
|
+
sh:property [
|
|
3110
|
+
sh:path billing:of-cost-source ;
|
|
3111
|
+
sh:class core:concept ;
|
|
3112
|
+
sh:minCount 1 ;
|
|
3113
|
+
sh:maxCount 1 ;
|
|
3114
|
+
sh:in ( billing-vocab:cost-source-pre-signup ) ;
|
|
3115
|
+
sh:message "A pre-signup cost has exactly one cost source, and its source is pre-signup."@en
|
|
3116
|
+
] ;
|
|
3117
|
+
sh:property [
|
|
3118
|
+
sh:path billing:of-onboarding-session-id ;
|
|
3119
|
+
sh:datatype xsd:string ;
|
|
3120
|
+
sh:minCount 1 ;
|
|
3121
|
+
sh:maxCount 1 ;
|
|
3122
|
+
sh:message "A pre-signup cost belongs to exactly one onboarding session."@en
|
|
3123
|
+
] ;
|
|
3124
|
+
sh:property [
|
|
3125
|
+
sh:path billing:has-onboarding-step ;
|
|
3126
|
+
sh:datatype xsd:string ;
|
|
3127
|
+
sh:minCount 1 ;
|
|
3128
|
+
sh:maxCount 1 ;
|
|
3129
|
+
sh:message "A pre-signup cost names exactly one step of its onboarding session."@en
|
|
3130
|
+
] ;
|
|
3131
|
+
sh:property [
|
|
3132
|
+
sh:path billing:has-provider ;
|
|
3133
|
+
sh:datatype xsd:string ;
|
|
3134
|
+
sh:minCount 1 ;
|
|
3135
|
+
sh:maxCount 1 ;
|
|
3136
|
+
sh:message "A pre-signup cost names exactly one provider."@en
|
|
3137
|
+
] ;
|
|
3138
|
+
sh:property [
|
|
3139
|
+
sh:path billing:has-cost ;
|
|
3140
|
+
sh:datatype xsd:long ;
|
|
3141
|
+
sh:minCount 1 ;
|
|
3142
|
+
sh:maxCount 1 ;
|
|
3143
|
+
sh:message "A pre-signup cost has exactly one amount in micro-USD."@en
|
|
3144
|
+
] ;
|
|
3145
|
+
sh:property [
|
|
3146
|
+
sh:path core:generated-at ;
|
|
3147
|
+
sh:datatype xsd:dateTime ;
|
|
3148
|
+
sh:minCount 1 ;
|
|
3149
|
+
sh:maxCount 1 ;
|
|
3150
|
+
sh:message "A pre-signup cost has exactly one creation time."@en
|
|
3151
|
+
] .
|