@quickpipeaiab/domain 0.0.0-stage → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai.ttl +3653 -0
- package/auth.ttl +123 -0
- package/billing.ttl +3732 -0
- package/campaigns.ttl +3273 -0
- package/core.ttl +811 -0
- package/crm.ttl +439 -0
- package/desk.ttl +3874 -0
- package/domain.ttl +45 -0
- package/email.ttl +1572 -0
- package/events.ttl +2430 -0
- package/identity.ttl +2699 -0
- package/imports/external.ttl +54 -0
- package/leads.ttl +3560 -0
- package/linkedin.ttl +860 -0
- package/mcp-gateway.ttl +77 -0
- package/package.json +30 -3
- package/scoring.ttl +2138 -0
- package/shapes/ai.ttl +662 -0
- package/shapes/billing.ttl +3149 -0
- package/shapes/campaigns.ttl +958 -0
- package/shapes/core.ttl +135 -0
- package/shapes/crm.ttl +216 -0
- package/shapes/desk.ttl +1652 -0
- package/shapes/email.ttl +448 -0
- package/shapes/events.ttl +1201 -0
- package/shapes/identity.ttl +957 -0
- package/shapes/leads.ttl +1809 -0
- package/shapes/linkedin.ttl +113 -0
- package/shapes/scoring.ttl +555 -0
- package/vocab/ai.ttl +2107 -0
- package/vocab/auth.ttl +187 -0
- package/vocab/billing.ttl +1606 -0
- package/vocab/campaigns.ttl +738 -0
- package/vocab/core.ttl +648 -0
- package/vocab/crm.ttl +320 -0
- package/vocab/desk.ttl +2921 -0
- package/vocab/email.ttl +210 -0
- package/vocab/events.ttl +776 -0
- package/vocab/identity.ttl +1555 -0
- package/vocab/leads.ttl +2105 -0
- package/vocab/linkedin.ttl +98 -0
- package/vocab/mcp-gateway.ttl +66 -0
- package/vocab/scoring.ttl +572 -0
- package/README.md +0 -3
|
@@ -0,0 +1,1606 @@
|
|
|
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 core: <https://id.quickpipe.ai/domain/core#> .
|
|
6
|
+
@prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
|
|
7
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
8
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
9
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
10
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
11
|
+
@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
12
|
+
|
|
13
|
+
<https://id.quickpipe.ai/domain/vocab/billing> a owl:Ontology ;
|
|
14
|
+
owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/vocab/billing> ;
|
|
15
|
+
owl:versionInfo "0.9.0" ;
|
|
16
|
+
core:title "QuickPipe domain model: concept schemes of billing"@en ;
|
|
17
|
+
core:preferred-prefix "billing-vocab" ;
|
|
18
|
+
core:preferred-namespace "https://id.quickpipe.ai/domain/vocab/billing#" .
|
|
19
|
+
|
|
20
|
+
# balance part
|
|
21
|
+
|
|
22
|
+
billing-vocab:balance-part a owl:NamedIndividual , core:concept-scheme ;
|
|
23
|
+
core:label "balance part"@en ;
|
|
24
|
+
core:definition "The part of a balance that keeps credits with one expiry rule"@en ;
|
|
25
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
26
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
27
|
+
core:owner core:billing ;
|
|
28
|
+
core:division core-vocab:division-disjoint-closed .
|
|
29
|
+
|
|
30
|
+
billing-vocab:balance-part-plan a owl:NamedIndividual , core:concept ;
|
|
31
|
+
core:in-scheme billing-vocab:balance-part ;
|
|
32
|
+
core:notation "plan" ;
|
|
33
|
+
core:label "plan"@en ;
|
|
34
|
+
core:definition "Gets credits from grants of kind `plan` and `trial`, and grants of kind `admin` that name it. Its credits expire at the expiry of the balance."@en ;
|
|
35
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
36
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
37
|
+
|
|
38
|
+
billing-vocab:balance-part-bought a owl:NamedIndividual , core:concept ;
|
|
39
|
+
core:in-scheme billing-vocab:balance-part ;
|
|
40
|
+
core:notation "bought" ;
|
|
41
|
+
core:label "bought"@en ;
|
|
42
|
+
core:definition "Gets credits from top-ups, and grants of kind `admin` that name it. It has no expiry."@en ;
|
|
43
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
44
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
45
|
+
|
|
46
|
+
billing-vocab:error-code-discount-not-found a owl:NamedIndividual , core:concept ;
|
|
47
|
+
core:in-scheme billing-vocab:error-code ;
|
|
48
|
+
core:notation "discount_not_found" ;
|
|
49
|
+
core:label "discount_not_found"@en ;
|
|
50
|
+
core:definition "No discount row has the discount id of the admin request. The status is `404`."@en ;
|
|
51
|
+
core:source "docs/specs/billing/docs/internal/decisions/0035-promotions.md#Decision" ;
|
|
52
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
53
|
+
|
|
54
|
+
billing-vocab:error-code-discount-ended a owl:NamedIndividual , core:concept ;
|
|
55
|
+
core:in-scheme billing-vocab:error-code ;
|
|
56
|
+
core:notation "discount_ended" ;
|
|
57
|
+
core:label "discount_ended"@en ;
|
|
58
|
+
core:definition "The discount has the status `ended`, so the call cannot approve it. The status is `409`."@en ;
|
|
59
|
+
core:source "docs/specs/billing/docs/internal/decisions/0035-promotions.md#Decision" ;
|
|
60
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
61
|
+
|
|
62
|
+
[] a owl:AllDifferent ;
|
|
63
|
+
owl:distinctMembers ( billing-vocab:balance-part-plan billing-vocab:balance-part-bought ) .
|
|
64
|
+
|
|
65
|
+
# balance status
|
|
66
|
+
|
|
67
|
+
billing-vocab:balance-status a owl:NamedIndividual , core:concept-scheme ;
|
|
68
|
+
core:label "balance status"@en ;
|
|
69
|
+
core:definition "The state of a balance"@en ;
|
|
70
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
71
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
72
|
+
core:owner core:billing ;
|
|
73
|
+
core:division core-vocab:division-disjoint-closed .
|
|
74
|
+
|
|
75
|
+
billing-vocab:balance-status-open a owl:NamedIndividual , core:concept ;
|
|
76
|
+
core:in-scheme billing-vocab:balance-status ;
|
|
77
|
+
core:notation "open" ;
|
|
78
|
+
core:label "open"@en ;
|
|
79
|
+
core:definition "The first call that names a workspace creates its balance, with no credits, no plan and the status `open`."@en ;
|
|
80
|
+
core:source "docs/specs/billing/docs/internal/decisions/0011-workspaces.md#Decision" ;
|
|
81
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
82
|
+
|
|
83
|
+
billing-vocab:balance-status-closed a owl:NamedIndividual , core:concept ;
|
|
84
|
+
core:in-scheme billing-vocab:balance-status ;
|
|
85
|
+
core:notation "closed" ;
|
|
86
|
+
core:label "closed"@en ;
|
|
87
|
+
core:definition "A closed balance refuses each hold with `balance_closed`. Its entries stay for the retention time of [0019](0019-data-and-retention.md)."@en ;
|
|
88
|
+
core:source "docs/specs/billing/docs/internal/decisions/0011-workspaces.md#Decision" ;
|
|
89
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
90
|
+
|
|
91
|
+
[] a owl:AllDifferent ;
|
|
92
|
+
owl:distinctMembers ( billing-vocab:balance-status-open billing-vocab:balance-status-closed ) .
|
|
93
|
+
|
|
94
|
+
# entry kind
|
|
95
|
+
|
|
96
|
+
billing-vocab:entry-kind a owl:NamedIndividual , core:concept-scheme ;
|
|
97
|
+
core:label "entry kind"@en ;
|
|
98
|
+
core:definition "The cause of an entry"@en ;
|
|
99
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
100
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
101
|
+
core:owner core:billing ;
|
|
102
|
+
core:division core-vocab:division-disjoint-closed .
|
|
103
|
+
|
|
104
|
+
billing-vocab:entry-kind-grant a owl:NamedIndividual , core:concept ;
|
|
105
|
+
core:in-scheme billing-vocab:entry-kind ;
|
|
106
|
+
core:notation "grant" ;
|
|
107
|
+
core:label "grant"@en ;
|
|
108
|
+
core:definition "Adds credits to one part"@en ;
|
|
109
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
110
|
+
core:hint "Credits were added to the balance."@en ;
|
|
111
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
112
|
+
|
|
113
|
+
billing-vocab:entry-kind-top-up a owl:NamedIndividual , core:concept ;
|
|
114
|
+
core:in-scheme billing-vocab:entry-kind ;
|
|
115
|
+
core:notation "top-up" ;
|
|
116
|
+
core:label "top-up"@en ;
|
|
117
|
+
core:definition "Adds credits to the part `bought`"@en ;
|
|
118
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
119
|
+
core:hint "Bought credits were added to the balance."@en ;
|
|
120
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
121
|
+
|
|
122
|
+
billing-vocab:entry-kind-hold a owl:NamedIndividual , core:concept ;
|
|
123
|
+
core:in-scheme billing-vocab:entry-kind ;
|
|
124
|
+
core:notation "hold" ;
|
|
125
|
+
core:label "hold"@en ;
|
|
126
|
+
core:definition "Moves credits from the parts to the held credits"@en ;
|
|
127
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
128
|
+
core:hint "Credits were set aside for work that is not finished."@en ;
|
|
129
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
130
|
+
|
|
131
|
+
billing-vocab:entry-kind-settle a owl:NamedIndividual , core:concept ;
|
|
132
|
+
core:in-scheme billing-vocab:entry-kind ;
|
|
133
|
+
core:notation "settle" ;
|
|
134
|
+
core:label "settle"@en ;
|
|
135
|
+
core:definition "Removes the charge from the held credits and adds it to the month charges"@en ;
|
|
136
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
137
|
+
core:hint "The work finished and the set aside credits were charged."@en ;
|
|
138
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
139
|
+
|
|
140
|
+
billing-vocab:entry-kind-release a owl:NamedIndividual , core:concept ;
|
|
141
|
+
core:in-scheme billing-vocab:entry-kind ;
|
|
142
|
+
core:notation "release" ;
|
|
143
|
+
core:label "release"@en ;
|
|
144
|
+
core:definition "Moves the rest of a hold back to the parts that the hold took"@en ;
|
|
145
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
146
|
+
core:hint "Set aside credits that the work did not use came back to the balance."@en ;
|
|
147
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
148
|
+
|
|
149
|
+
billing-vocab:entry-kind-refund a owl:NamedIndividual , core:concept ;
|
|
150
|
+
core:in-scheme billing-vocab:entry-kind ;
|
|
151
|
+
core:notation "refund" ;
|
|
152
|
+
core:label "refund"@en ;
|
|
153
|
+
core:definition "Removes the credits of a refunded payment from the part `bought`"@en ;
|
|
154
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
155
|
+
core:hint "Credits were removed because a payment was refunded."@en ;
|
|
156
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
157
|
+
|
|
158
|
+
billing-vocab:entry-kind-expire a owl:NamedIndividual , core:concept ;
|
|
159
|
+
core:in-scheme billing-vocab:entry-kind ;
|
|
160
|
+
core:notation "expire" ;
|
|
161
|
+
core:label "expire"@en ;
|
|
162
|
+
core:definition "Removes the credits of the part `plan` at the expiry"@en ;
|
|
163
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
164
|
+
core:hint "Plan credits were removed because their time ended."@en ;
|
|
165
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
166
|
+
|
|
167
|
+
[] a owl:AllDifferent ;
|
|
168
|
+
owl:distinctMembers ( 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 ) .
|
|
169
|
+
|
|
170
|
+
# grant kind
|
|
171
|
+
|
|
172
|
+
billing-vocab:grant-kind a owl:NamedIndividual , core:concept-scheme ;
|
|
173
|
+
core:label "grant kind"@en ;
|
|
174
|
+
core:definition "The reason of an entry of kind `grant`"@en ;
|
|
175
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
176
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
177
|
+
core:owner core:billing ;
|
|
178
|
+
core:division core-vocab:division-disjoint-closed .
|
|
179
|
+
|
|
180
|
+
billing-vocab:grant-kind-plan a owl:NamedIndividual , core:concept ;
|
|
181
|
+
core:in-scheme billing-vocab:grant-kind ;
|
|
182
|
+
core:notation "plan" ;
|
|
183
|
+
core:label "plan"@en ;
|
|
184
|
+
core:definition "At the start of each grant period, the plan job writes a grant of kind `plan` to the part `plan`."@en ;
|
|
185
|
+
core:source "docs/specs/billing/docs/internal/decisions/0012-plans-and-subscriptions.md#Decision" ;
|
|
186
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
187
|
+
|
|
188
|
+
billing-vocab:grant-kind-trial a owl:NamedIndividual , core:concept ;
|
|
189
|
+
core:in-scheme billing-vocab:grant-kind ;
|
|
190
|
+
core:notation "trial" ;
|
|
191
|
+
core:label "trial"@en ;
|
|
192
|
+
core:definition "The trial grant is an entry `grant` with the grant kind `trial`, to the part `plan`."@en ;
|
|
193
|
+
core:source "docs/specs/billing/docs/internal/decisions/0013-trial.md#Decision" ;
|
|
194
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
195
|
+
|
|
196
|
+
billing-vocab:grant-kind-admin a owl:NamedIndividual , core:concept ;
|
|
197
|
+
core:in-scheme billing-vocab:grant-kind ;
|
|
198
|
+
core:notation "admin" ;
|
|
199
|
+
core:label "admin"@en ;
|
|
200
|
+
core:definition "An ops correction is an entry of kind `grant` with the grant kind `admin`, and an audit row."@en ;
|
|
201
|
+
core:source "docs/specs/billing/docs/internal/decisions/0004-prepaid-credits.md#Decision" ;
|
|
202
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
203
|
+
|
|
204
|
+
billing-vocab:grant-kind-bonus a owl:NamedIndividual , core:concept ;
|
|
205
|
+
core:in-scheme billing-vocab:grant-kind ;
|
|
206
|
+
core:notation "bonus" ;
|
|
207
|
+
core:label "bonus"@en ;
|
|
208
|
+
core:definition "A grant of more credits from a discount of kind `bonus`, on a plan grant or on a top-up. It has the writer of its plan grant or top-up."@en ;
|
|
209
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
210
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
211
|
+
|
|
212
|
+
[] a owl:AllDifferent ;
|
|
213
|
+
owl:distinctMembers ( billing-vocab:grant-kind-plan billing-vocab:grant-kind-trial billing-vocab:grant-kind-admin billing-vocab:grant-kind-bonus ) .
|
|
214
|
+
|
|
215
|
+
# cost unit
|
|
216
|
+
|
|
217
|
+
billing-vocab:cost-unit a owl:NamedIndividual , core:concept-scheme ;
|
|
218
|
+
core:label "cost unit"@en ;
|
|
219
|
+
core:definition "The unit that a unit cost counts"@en ;
|
|
220
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
221
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
222
|
+
core:owner core:billing ;
|
|
223
|
+
core:division core-vocab:division-disjoint-open .
|
|
224
|
+
|
|
225
|
+
billing-vocab:cost-unit-token-kind a owl:NamedIndividual , core:concept ;
|
|
226
|
+
core:in-scheme billing-vocab:cost-unit ;
|
|
227
|
+
core:notation "token kind" ;
|
|
228
|
+
core:label "token kind"@en ;
|
|
229
|
+
core:definition "One token of one token kind"@en ;
|
|
230
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
231
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
232
|
+
|
|
233
|
+
billing-vocab:cost-unit-call a owl:NamedIndividual , core:concept ;
|
|
234
|
+
core:in-scheme billing-vocab:cost-unit ;
|
|
235
|
+
core:notation "call" ;
|
|
236
|
+
core:label "call"@en ;
|
|
237
|
+
core:definition "One call"@en ;
|
|
238
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
239
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
240
|
+
|
|
241
|
+
billing-vocab:cost-unit-result a owl:NamedIndividual , core:concept ;
|
|
242
|
+
core:in-scheme billing-vocab:cost-unit ;
|
|
243
|
+
core:notation "result" ;
|
|
244
|
+
core:label "result"@en ;
|
|
245
|
+
core:definition "One result"@en ;
|
|
246
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
247
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
248
|
+
|
|
249
|
+
billing-vocab:cost-unit-message a owl:NamedIndividual , core:concept ;
|
|
250
|
+
core:in-scheme billing-vocab:cost-unit ;
|
|
251
|
+
core:notation "message" ;
|
|
252
|
+
core:label "message"@en ;
|
|
253
|
+
core:definition "One message"@en ;
|
|
254
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
255
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
256
|
+
|
|
257
|
+
billing-vocab:cost-unit-minute a owl:NamedIndividual , core:concept ;
|
|
258
|
+
core:in-scheme billing-vocab:cost-unit ;
|
|
259
|
+
core:notation "minute" ;
|
|
260
|
+
core:label "minute"@en ;
|
|
261
|
+
core:definition "One minute"@en ;
|
|
262
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
263
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
264
|
+
|
|
265
|
+
[] a owl:AllDifferent ;
|
|
266
|
+
owl:distinctMembers ( billing-vocab:cost-unit-token-kind billing-vocab:cost-unit-call billing-vocab:cost-unit-result billing-vocab:cost-unit-message billing-vocab:cost-unit-minute ) .
|
|
267
|
+
|
|
268
|
+
# charge origin
|
|
269
|
+
|
|
270
|
+
billing-vocab:charge-origin a owl:NamedIndividual , core:concept-scheme ;
|
|
271
|
+
core:label "charge origin"@en ;
|
|
272
|
+
core:definition "The reason for the paid work of a spender for one hold"@en ;
|
|
273
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
274
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
275
|
+
core:owner core:billing ;
|
|
276
|
+
core:division core-vocab:division-disjoint-open .
|
|
277
|
+
|
|
278
|
+
billing-vocab:charge-origin-run a owl:NamedIndividual , core:concept ;
|
|
279
|
+
core:in-scheme billing-vocab:charge-origin ;
|
|
280
|
+
core:notation "run" ;
|
|
281
|
+
core:label "run"@en ;
|
|
282
|
+
core:definition "A run of a spender"@en ;
|
|
283
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
284
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
285
|
+
|
|
286
|
+
billing-vocab:charge-origin-call a owl:NamedIndividual , core:concept ;
|
|
287
|
+
core:in-scheme billing-vocab:charge-origin ;
|
|
288
|
+
core:notation "call" ;
|
|
289
|
+
core:label "call"@en ;
|
|
290
|
+
core:definition "A call to a spender outside a run of that spender, through a key, a token or a webhook"@en ;
|
|
291
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
292
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
293
|
+
|
|
294
|
+
billing-vocab:charge-origin-channel a owl:NamedIndividual , core:concept ;
|
|
295
|
+
core:in-scheme billing-vocab:charge-origin ;
|
|
296
|
+
core:notation "channel" ;
|
|
297
|
+
core:label "channel"@en ;
|
|
298
|
+
core:definition "A message or a call through a channel service"@en ;
|
|
299
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
300
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
301
|
+
|
|
302
|
+
[] a owl:AllDifferent ;
|
|
303
|
+
owl:distinctMembers ( billing-vocab:charge-origin-run billing-vocab:charge-origin-call billing-vocab:charge-origin-channel ) .
|
|
304
|
+
|
|
305
|
+
# hold kind
|
|
306
|
+
|
|
307
|
+
billing-vocab:hold-kind a owl:NamedIndividual , core:concept-scheme ;
|
|
308
|
+
core:label "hold kind"@en ;
|
|
309
|
+
core:definition "What one hold pays for"@en ;
|
|
310
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
311
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
312
|
+
core:owner core:billing ;
|
|
313
|
+
core:division core-vocab:division-disjoint-closed .
|
|
314
|
+
|
|
315
|
+
billing-vocab:hold-kind-run a owl:NamedIndividual , core:concept ;
|
|
316
|
+
core:in-scheme billing-vocab:hold-kind ;
|
|
317
|
+
core:notation "run" ;
|
|
318
|
+
core:label "run"@en ;
|
|
319
|
+
core:definition "One run of a spender, or one run segment of `kai-agent`"@en ;
|
|
320
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
321
|
+
core:hint "The hold pays for one run."@en ;
|
|
322
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
323
|
+
|
|
324
|
+
billing-vocab:hold-kind-call a owl:NamedIndividual , core:concept ;
|
|
325
|
+
core:in-scheme billing-vocab:hold-kind ;
|
|
326
|
+
core:notation "call" ;
|
|
327
|
+
core:label "call"@en ;
|
|
328
|
+
core:definition "One call to a spender outside a run"@en ;
|
|
329
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
330
|
+
core:hint "The hold pays for one call outside a run."@en ;
|
|
331
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
332
|
+
|
|
333
|
+
billing-vocab:hold-kind-standing a owl:NamedIndividual , core:concept ;
|
|
334
|
+
core:in-scheme billing-vocab:hold-kind ;
|
|
335
|
+
core:notation "standing" ;
|
|
336
|
+
core:label "standing"@en ;
|
|
337
|
+
core:definition "Many small calls of one workspace and one charge origin, as [0006](0006-holds.md) tells"@en ;
|
|
338
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
339
|
+
core:hint "The hold pays for many small calls of the same workspace and origin."@en ;
|
|
340
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
341
|
+
|
|
342
|
+
[] a owl:AllDifferent ;
|
|
343
|
+
owl:distinctMembers ( billing-vocab:hold-kind-run billing-vocab:hold-kind-call billing-vocab:hold-kind-standing ) .
|
|
344
|
+
|
|
345
|
+
# hold status
|
|
346
|
+
|
|
347
|
+
billing-vocab:hold-status a owl:NamedIndividual , core:concept-scheme ;
|
|
348
|
+
core:label "hold status"@en ;
|
|
349
|
+
core:definition "The state of a hold"@en ;
|
|
350
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
351
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
352
|
+
core:owner core:billing ;
|
|
353
|
+
core:division core-vocab:division-disjoint-closed .
|
|
354
|
+
|
|
355
|
+
billing-vocab:hold-status-open a owl:NamedIndividual , core:concept ;
|
|
356
|
+
core:in-scheme billing-vocab:hold-status ;
|
|
357
|
+
core:notation "open" ;
|
|
358
|
+
core:label "open"@en ;
|
|
359
|
+
core:definition "The hold keeps its credits"@en ;
|
|
360
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
361
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
362
|
+
|
|
363
|
+
billing-vocab:hold-status-settled a owl:NamedIndividual , core:concept ;
|
|
364
|
+
core:in-scheme billing-vocab:hold-status ;
|
|
365
|
+
core:notation "settled" ;
|
|
366
|
+
core:label "settled"@en ;
|
|
367
|
+
core:definition "A settle closed the hold. A release returned the rest."@en ;
|
|
368
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
369
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
370
|
+
|
|
371
|
+
billing-vocab:hold-status-released a owl:NamedIndividual , core:concept ;
|
|
372
|
+
core:in-scheme billing-vocab:hold-status ;
|
|
373
|
+
core:notation "released" ;
|
|
374
|
+
core:label "released"@en ;
|
|
375
|
+
core:definition "A release from the spender closed the hold with no charge"@en ;
|
|
376
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
377
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
378
|
+
|
|
379
|
+
billing-vocab:hold-status-expired a owl:NamedIndividual , core:concept ;
|
|
380
|
+
core:in-scheme billing-vocab:hold-status ;
|
|
381
|
+
core:notation "expired" ;
|
|
382
|
+
core:label "expired"@en ;
|
|
383
|
+
core:definition "The worker released the hold in full at its expiry"@en ;
|
|
384
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
385
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
386
|
+
|
|
387
|
+
[] a owl:AllDifferent ;
|
|
388
|
+
owl:distinctMembers ( billing-vocab:hold-status-open billing-vocab:hold-status-settled billing-vocab:hold-status-released billing-vocab:hold-status-expired ) .
|
|
389
|
+
|
|
390
|
+
# tag key
|
|
391
|
+
|
|
392
|
+
billing-vocab:tag-key a owl:NamedIndividual , core:concept-scheme ;
|
|
393
|
+
core:label "tag key allow-list"@en ;
|
|
394
|
+
core:definition "The allow-list of the keys of a tag"@en ;
|
|
395
|
+
core:source "docs/specs/billing/docs/internal/decisions/0019-data-and-retention.md#Decision" ;
|
|
396
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
397
|
+
core:owner core:billing ;
|
|
398
|
+
core:division core-vocab:division-disjoint-closed .
|
|
399
|
+
|
|
400
|
+
billing-vocab:tag-key-campaign a owl:NamedIndividual , core:concept ;
|
|
401
|
+
core:in-scheme billing-vocab:tag-key ;
|
|
402
|
+
core:notation "campaign" ;
|
|
403
|
+
core:label "campaign"@en ;
|
|
404
|
+
core:definition "A key of a tag for a campaign"@en ;
|
|
405
|
+
core:source "docs/specs/billing/docs/internal/decisions/0019-data-and-retention.md#Decision" ;
|
|
406
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
407
|
+
|
|
408
|
+
billing-vocab:tag-key-experiment a owl:NamedIndividual , core:concept ;
|
|
409
|
+
core:in-scheme billing-vocab:tag-key ;
|
|
410
|
+
core:notation "experiment" ;
|
|
411
|
+
core:label "experiment"@en ;
|
|
412
|
+
core:definition "A key of a tag for an experiment of `leads`"@en ;
|
|
413
|
+
core:source "docs/specs/leads/docs/internal/decisions/0034-experiment-tags.md#Decision" ;
|
|
414
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
415
|
+
|
|
416
|
+
billing-vocab:tag-key-source a owl:NamedIndividual , core:concept ;
|
|
417
|
+
core:in-scheme billing-vocab:tag-key ;
|
|
418
|
+
core:notation "source" ;
|
|
419
|
+
core:label "source"@en ;
|
|
420
|
+
core:definition "A key of a tag for a source of paid work"@en ;
|
|
421
|
+
core:source "docs/specs/billing/docs/internal/decisions/0019-data-and-retention.md#Decision" ;
|
|
422
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
423
|
+
|
|
424
|
+
billing-vocab:tag-key-task a owl:NamedIndividual , core:concept ;
|
|
425
|
+
core:in-scheme billing-vocab:tag-key ;
|
|
426
|
+
core:notation "task" ;
|
|
427
|
+
core:label "task"@en ;
|
|
428
|
+
core:definition "A key of a tag for a task of `kai-agent`"@en ;
|
|
429
|
+
core:source "docs/specs/kai-agent/docs/internal/decisions/0041-concepts.md#Decision" ;
|
|
430
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
431
|
+
|
|
432
|
+
[] a owl:AllDifferent ;
|
|
433
|
+
owl:distinctMembers ( billing-vocab:tag-key-campaign billing-vocab:tag-key-experiment billing-vocab:tag-key-source billing-vocab:tag-key-task ) .
|
|
434
|
+
|
|
435
|
+
# requester kind
|
|
436
|
+
|
|
437
|
+
billing-vocab:requester-kind a owl:NamedIndividual , core:concept-scheme ;
|
|
438
|
+
core:label "requester kind"@en ;
|
|
439
|
+
core:definition "The form of the requester of a hold"@en ;
|
|
440
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
441
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
442
|
+
core:owner core:billing ;
|
|
443
|
+
core:division core-vocab:division-disjoint-closed .
|
|
444
|
+
|
|
445
|
+
billing-vocab:requester-kind-key a owl:NamedIndividual , core:concept ;
|
|
446
|
+
core:in-scheme billing-vocab:requester-kind ;
|
|
447
|
+
core:notation "key" ;
|
|
448
|
+
core:label "key"@en ;
|
|
449
|
+
core:definition "The hold records the key id of the caller of the spender"@en ;
|
|
450
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
451
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
452
|
+
|
|
453
|
+
billing-vocab:requester-kind-token a owl:NamedIndividual , core:concept ;
|
|
454
|
+
core:in-scheme billing-vocab:requester-kind ;
|
|
455
|
+
core:notation "token" ;
|
|
456
|
+
core:label "token"@en ;
|
|
457
|
+
core:definition "The hold records the `kaiRunId` of a start token"@en ;
|
|
458
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
459
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
460
|
+
|
|
461
|
+
billing-vocab:requester-kind-webhook a owl:NamedIndividual , core:concept ;
|
|
462
|
+
core:in-scheme billing-vocab:requester-kind ;
|
|
463
|
+
core:notation "webhook" ;
|
|
464
|
+
core:label "webhook"@en ;
|
|
465
|
+
core:definition "The hold records the service that sent the webhook and the webhook topic, for example `lead-scoring` and `visit.business`"@en ;
|
|
466
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
|
|
467
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
468
|
+
|
|
469
|
+
[] a owl:AllDifferent ;
|
|
470
|
+
owl:distinctMembers ( billing-vocab:requester-kind-key billing-vocab:requester-kind-token billing-vocab:requester-kind-webhook ) .
|
|
471
|
+
|
|
472
|
+
# plan interval
|
|
473
|
+
|
|
474
|
+
billing-vocab:plan-interval a owl:NamedIndividual , core:concept-scheme ;
|
|
475
|
+
core:label "plan interval"@en ;
|
|
476
|
+
core:definition "The length of a subscription period of a plan"@en ;
|
|
477
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
478
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
479
|
+
core:owner core:billing ;
|
|
480
|
+
core:division core-vocab:division-disjoint-closed .
|
|
481
|
+
|
|
482
|
+
billing-vocab:plan-interval-month a owl:NamedIndividual , core:concept ;
|
|
483
|
+
core:in-scheme billing-vocab:plan-interval ;
|
|
484
|
+
core:notation "month" ;
|
|
485
|
+
core:label "month"@en ;
|
|
486
|
+
core:definition "A subscription period of one month"@en ;
|
|
487
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
488
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
489
|
+
|
|
490
|
+
billing-vocab:plan-interval-year a owl:NamedIndividual , core:concept ;
|
|
491
|
+
core:in-scheme billing-vocab:plan-interval ;
|
|
492
|
+
core:notation "year" ;
|
|
493
|
+
core:label "year"@en ;
|
|
494
|
+
core:definition "A subscription period of one year. A plan of interval `year` also grants each month. Each grant period is one month."@en ;
|
|
495
|
+
core:source "docs/specs/billing/docs/internal/decisions/0012-plans-and-subscriptions.md#Decision" ;
|
|
496
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
497
|
+
|
|
498
|
+
[] a owl:AllDifferent ;
|
|
499
|
+
owl:distinctMembers ( billing-vocab:plan-interval-month billing-vocab:plan-interval-year ) .
|
|
500
|
+
|
|
501
|
+
# currency
|
|
502
|
+
|
|
503
|
+
billing-vocab:currency a owl:NamedIndividual , core:concept-scheme ;
|
|
504
|
+
core:label "currency"@en ;
|
|
505
|
+
core:definition "The currency of a price, as an ISO 4217 code"@en ;
|
|
506
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
507
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
508
|
+
core:owner core:billing ;
|
|
509
|
+
core:division core-vocab:division-disjoint-open .
|
|
510
|
+
|
|
511
|
+
billing-vocab:currency-usd a owl:NamedIndividual , core:concept ;
|
|
512
|
+
core:in-scheme billing-vocab:currency ;
|
|
513
|
+
core:notation "USD" ;
|
|
514
|
+
core:label "USD"@en ;
|
|
515
|
+
core:definition "The US dollar"@en ;
|
|
516
|
+
core:source "docs/specs/billing/docs/internal/decisions/0014-payments.md#Decision" ;
|
|
517
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
518
|
+
|
|
519
|
+
billing-vocab:currency-eur a owl:NamedIndividual , core:concept ;
|
|
520
|
+
core:in-scheme billing-vocab:currency ;
|
|
521
|
+
core:notation "EUR" ;
|
|
522
|
+
core:label "EUR"@en ;
|
|
523
|
+
core:definition "The euro"@en ;
|
|
524
|
+
core:source "docs/specs/billing/docs/internal/decisions/0014-payments.md#Decision" ;
|
|
525
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
526
|
+
|
|
527
|
+
billing-vocab:currency-sek a owl:NamedIndividual , core:concept ;
|
|
528
|
+
core:in-scheme billing-vocab:currency ;
|
|
529
|
+
core:notation "SEK" ;
|
|
530
|
+
core:label "SEK"@en ;
|
|
531
|
+
core:definition "The Swedish krona"@en ;
|
|
532
|
+
core:source "docs/specs/billing/docs/internal/decisions/0014-payments.md#Decision" ;
|
|
533
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
534
|
+
|
|
535
|
+
[] a owl:AllDifferent ;
|
|
536
|
+
owl:distinctMembers ( billing-vocab:currency-usd billing-vocab:currency-eur billing-vocab:currency-sek ) .
|
|
537
|
+
|
|
538
|
+
# subscription status
|
|
539
|
+
|
|
540
|
+
billing-vocab:subscription-status a owl:NamedIndividual , core:concept-scheme ;
|
|
541
|
+
core:label "subscription status"@en ;
|
|
542
|
+
core:definition "The state of a subscription"@en ;
|
|
543
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
544
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
545
|
+
core:owner core:billing ;
|
|
546
|
+
core:division core-vocab:division-disjoint-closed .
|
|
547
|
+
|
|
548
|
+
billing-vocab:subscription-status-active a owl:NamedIndividual , core:concept ;
|
|
549
|
+
core:in-scheme billing-vocab:subscription-status ;
|
|
550
|
+
core:notation "active" ;
|
|
551
|
+
core:label "active"@en ;
|
|
552
|
+
core:definition "The subscription links the workspace to its plan, and its payments are made"@en ;
|
|
553
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
554
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
555
|
+
|
|
556
|
+
billing-vocab:subscription-status-past-due a owl:NamedIndividual , core:concept ;
|
|
557
|
+
core:in-scheme billing-vocab:subscription-status ;
|
|
558
|
+
core:notation "past-due" ;
|
|
559
|
+
core:label "past-due"@en ;
|
|
560
|
+
core:definition "When a payment fails, the subscription gets the status `past-due` while Stripe tries again for the retry days."@en ;
|
|
561
|
+
core:source "docs/specs/billing/docs/internal/decisions/0012-plans-and-subscriptions.md#Decision" ;
|
|
562
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
563
|
+
|
|
564
|
+
billing-vocab:subscription-status-ended a owl:NamedIndividual , core:concept ;
|
|
565
|
+
core:in-scheme billing-vocab:subscription-status ;
|
|
566
|
+
core:notation "ended" ;
|
|
567
|
+
core:label "ended"@en ;
|
|
568
|
+
core:definition "After the last failed try, the subscription gets the status `ended`, as after a cancel."@en ;
|
|
569
|
+
core:source "docs/specs/billing/docs/internal/decisions/0012-plans-and-subscriptions.md#Decision" ;
|
|
570
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
571
|
+
|
|
572
|
+
[] a owl:AllDifferent ;
|
|
573
|
+
owl:distinctMembers ( billing-vocab:subscription-status-active billing-vocab:subscription-status-past-due billing-vocab:subscription-status-ended ) .
|
|
574
|
+
|
|
575
|
+
# subscription change
|
|
576
|
+
|
|
577
|
+
billing-vocab:subscription-change a owl:NamedIndividual , core:concept-scheme ;
|
|
578
|
+
core:label "subscription change"@en ;
|
|
579
|
+
core:definition "The event that `plan.changed` tells"@en ;
|
|
580
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
581
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
582
|
+
core:owner core:billing ;
|
|
583
|
+
core:division core-vocab:division-disjoint-closed .
|
|
584
|
+
|
|
585
|
+
billing-vocab:subscription-change-started a owl:NamedIndividual , core:concept ;
|
|
586
|
+
core:in-scheme billing-vocab:subscription-change ;
|
|
587
|
+
core:notation "started" ;
|
|
588
|
+
core:label "started"@en ;
|
|
589
|
+
core:definition "A start gives the first grant and the quotas at once. `billing` sends `plan.changed` with the change `started`."@en ;
|
|
590
|
+
core:source "docs/specs/billing/docs/internal/decisions/0012-plans-and-subscriptions.md#Decision" ;
|
|
591
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
592
|
+
|
|
593
|
+
billing-vocab:subscription-change-changed a owl:NamedIndividual , core:concept ;
|
|
594
|
+
core:in-scheme billing-vocab:subscription-change ;
|
|
595
|
+
core:notation "changed" ;
|
|
596
|
+
core:label "changed"@en ;
|
|
597
|
+
core:definition "A change from one plan to a different plan, an upgrade or a downgrade"@en ;
|
|
598
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
599
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
600
|
+
|
|
601
|
+
billing-vocab:subscription-change-renewed a owl:NamedIndividual , core:concept ;
|
|
602
|
+
core:in-scheme billing-vocab:subscription-change ;
|
|
603
|
+
core:notation "renewed" ;
|
|
604
|
+
core:label "renewed"@en ;
|
|
605
|
+
core:definition "A new subscription period gives a grant only when Stripe reports its invoice as paid. Then `billing` sends the change `renewed`."@en ;
|
|
606
|
+
core:source "docs/specs/billing/docs/internal/decisions/0012-plans-and-subscriptions.md#Decision" ;
|
|
607
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
608
|
+
|
|
609
|
+
billing-vocab:subscription-change-past-due a owl:NamedIndividual , core:concept ;
|
|
610
|
+
core:in-scheme billing-vocab:subscription-change ;
|
|
611
|
+
core:notation "past-due" ;
|
|
612
|
+
core:label "past-due"@en ;
|
|
613
|
+
core:definition "`past-due` is a subscription status and a subscription change. The status is the state. The change is the event that starts the state."@en ;
|
|
614
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
615
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
616
|
+
|
|
617
|
+
billing-vocab:subscription-change-ended a owl:NamedIndividual , core:concept ;
|
|
618
|
+
core:in-scheme billing-vocab:subscription-change ;
|
|
619
|
+
core:notation "ended" ;
|
|
620
|
+
core:label "ended"@en ;
|
|
621
|
+
core:definition "The event that gives the subscription the status `ended`"@en ;
|
|
622
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
623
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
624
|
+
|
|
625
|
+
[] a owl:AllDifferent ;
|
|
626
|
+
owl:distinctMembers ( 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 ) .
|
|
627
|
+
|
|
628
|
+
# plan change kind
|
|
629
|
+
|
|
630
|
+
billing-vocab:plan-change-kind a owl:NamedIndividual , core:concept-scheme ;
|
|
631
|
+
core:label "plan change kind"@en ;
|
|
632
|
+
core:definition "The type of a change from one plan to a different plan"@en ;
|
|
633
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
634
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
635
|
+
core:owner core:billing ;
|
|
636
|
+
core:division core-vocab:division-disjoint-closed .
|
|
637
|
+
|
|
638
|
+
billing-vocab:plan-change-kind-upgrade a owl:NamedIndividual , core:concept ;
|
|
639
|
+
core:in-scheme billing-vocab:plan-change-kind ;
|
|
640
|
+
core:notation "upgrade" ;
|
|
641
|
+
core:label "upgrade"@en ;
|
|
642
|
+
core:definition "The plan change kind of the class upgrade of a plan."@en ;
|
|
643
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
644
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
645
|
+
|
|
646
|
+
billing-vocab:plan-change-kind-downgrade a owl:NamedIndividual , core:concept ;
|
|
647
|
+
core:in-scheme billing-vocab:plan-change-kind ;
|
|
648
|
+
core:notation "downgrade" ;
|
|
649
|
+
core:label "downgrade"@en ;
|
|
650
|
+
core:definition "The plan change kind of the class downgrade of a plan."@en ;
|
|
651
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
652
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
653
|
+
|
|
654
|
+
[] a owl:AllDifferent ;
|
|
655
|
+
owl:distinctMembers ( billing-vocab:plan-change-kind-upgrade billing-vocab:plan-change-kind-downgrade ) .
|
|
656
|
+
|
|
657
|
+
# top-up method
|
|
658
|
+
|
|
659
|
+
billing-vocab:top-up-method a owl:NamedIndividual , core:concept-scheme ;
|
|
660
|
+
core:label "top-up method"@en ;
|
|
661
|
+
core:definition "How a top-up starts"@en ;
|
|
662
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
663
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
664
|
+
core:owner core:billing ;
|
|
665
|
+
core:division core-vocab:division-disjoint-closed .
|
|
666
|
+
|
|
667
|
+
billing-vocab:top-up-method-checkout a owl:NamedIndividual , core:concept ;
|
|
668
|
+
core:in-scheme billing-vocab:top-up-method ;
|
|
669
|
+
core:notation "checkout" ;
|
|
670
|
+
core:label "checkout"@en ;
|
|
671
|
+
core:definition "`desk` calls `POST /checkouts` for a plan or a pack. `billing` returns the URL of a Stripe Checkout page."@en ;
|
|
672
|
+
core:source "docs/specs/billing/docs/internal/decisions/0014-payments.md#Decision" ;
|
|
673
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
674
|
+
|
|
675
|
+
billing-vocab:top-up-method-automatic a owl:NamedIndividual , core:concept ;
|
|
676
|
+
core:in-scheme billing-vocab:top-up-method ;
|
|
677
|
+
core:notation "automatic" ;
|
|
678
|
+
core:label "automatic"@en ;
|
|
679
|
+
core:definition "When the available credits go below the threshold, the worker starts a top-up of method `automatic`."@en ;
|
|
680
|
+
core:source "docs/specs/billing/docs/internal/decisions/0015-automatic-top-up.md#Decision" ;
|
|
681
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
682
|
+
|
|
683
|
+
[] a owl:AllDifferent ;
|
|
684
|
+
owl:distinctMembers ( billing-vocab:top-up-method-checkout billing-vocab:top-up-method-automatic ) .
|
|
685
|
+
|
|
686
|
+
# top-up status
|
|
687
|
+
|
|
688
|
+
billing-vocab:top-up-status a owl:NamedIndividual , core:concept-scheme ;
|
|
689
|
+
core:label "top-up status"@en ;
|
|
690
|
+
core:definition "The state of a top-up"@en ;
|
|
691
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
692
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
693
|
+
core:owner core:billing ;
|
|
694
|
+
core:division core-vocab:division-disjoint-closed .
|
|
695
|
+
|
|
696
|
+
billing-vocab:top-up-status-pending a owl:NamedIndividual , core:concept ;
|
|
697
|
+
core:in-scheme billing-vocab:top-up-status ;
|
|
698
|
+
core:notation "pending" ;
|
|
699
|
+
core:label "pending"@en ;
|
|
700
|
+
core:definition "The top-up waits for the payment"@en ;
|
|
701
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
702
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
703
|
+
|
|
704
|
+
billing-vocab:top-up-status-completed a owl:NamedIndividual , core:concept ;
|
|
705
|
+
core:in-scheme billing-vocab:top-up-status ;
|
|
706
|
+
core:notation "completed" ;
|
|
707
|
+
core:label "completed"@en ;
|
|
708
|
+
core:definition "Stripe reports a paid pack, and `billing` writes an entry `top-up` to the part `bought`."@en ;
|
|
709
|
+
core:source "docs/specs/billing/docs/internal/decisions/0014-payments.md#Decision" ;
|
|
710
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
711
|
+
|
|
712
|
+
billing-vocab:top-up-status-failed a owl:NamedIndividual , core:concept ;
|
|
713
|
+
core:in-scheme billing-vocab:top-up-status ;
|
|
714
|
+
core:notation "failed" ;
|
|
715
|
+
core:label "failed"@en ;
|
|
716
|
+
core:definition "The payment of the top-up failed"@en ;
|
|
717
|
+
core:source "docs/specs/billing/docs/internal/decisions/0015-automatic-top-up.md#Decision" ;
|
|
718
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
719
|
+
|
|
720
|
+
[] a owl:AllDifferent ;
|
|
721
|
+
owl:distinctMembers ( billing-vocab:top-up-status-pending billing-vocab:top-up-status-completed billing-vocab:top-up-status-failed ) .
|
|
722
|
+
|
|
723
|
+
# setting scope
|
|
724
|
+
|
|
725
|
+
billing-vocab:setting-scope a owl:NamedIndividual , core:concept-scheme ;
|
|
726
|
+
core:label "setting scope"@en ;
|
|
727
|
+
core:definition "The level of a setting. The most specific scope wins: `workspace`, then `plan`, then `global`."@en ;
|
|
728
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
729
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
730
|
+
core:owner core:billing ;
|
|
731
|
+
core:division core-vocab:division-disjoint-closed .
|
|
732
|
+
|
|
733
|
+
billing-vocab:setting-scope-global a owl:NamedIndividual , core:concept ;
|
|
734
|
+
core:in-scheme billing-vocab:setting-scope ;
|
|
735
|
+
core:notation "global" ;
|
|
736
|
+
core:label "global"@en ;
|
|
737
|
+
core:definition "The setting applies to each workspace that has no value of a more specific scope"@en ;
|
|
738
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
739
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
740
|
+
|
|
741
|
+
billing-vocab:setting-scope-plan a owl:NamedIndividual , core:concept ;
|
|
742
|
+
core:in-scheme billing-vocab:setting-scope ;
|
|
743
|
+
core:notation "plan" ;
|
|
744
|
+
core:label "plan"@en ;
|
|
745
|
+
core:definition "The plan scope uses the plan of the active subscription of the workspace."@en ;
|
|
746
|
+
core:source "docs/specs/billing/docs/internal/decisions/0005-rates-and-charges.md#Decision" ;
|
|
747
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
748
|
+
|
|
749
|
+
billing-vocab:setting-scope-workspace a owl:NamedIndividual , core:concept ;
|
|
750
|
+
core:in-scheme billing-vocab:setting-scope ;
|
|
751
|
+
core:notation "workspace" ;
|
|
752
|
+
core:label "workspace"@en ;
|
|
753
|
+
core:definition "Each balance, hold, subscription and setting of scope `workspace` belongs to one workspace."@en ;
|
|
754
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Concepts of other models" ;
|
|
755
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
756
|
+
|
|
757
|
+
[] a owl:AllDifferent ;
|
|
758
|
+
owl:distinctMembers ( billing-vocab:setting-scope-global billing-vocab:setting-scope-plan billing-vocab:setting-scope-workspace ) .
|
|
759
|
+
|
|
760
|
+
# setting name
|
|
761
|
+
|
|
762
|
+
billing-vocab:setting-name a owl:NamedIndividual , core:concept-scheme ;
|
|
763
|
+
core:label "setting name"@en ;
|
|
764
|
+
core:definition "The name of a setting. The settings of `billing` are in the table of settings."@en ;
|
|
765
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
766
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
767
|
+
core:owner core:billing ;
|
|
768
|
+
core:division core-vocab:division-disjoint-open .
|
|
769
|
+
|
|
770
|
+
billing-vocab:setting-name-rate a owl:NamedIndividual , core:concept ;
|
|
771
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
772
|
+
core:notation "Rate" ;
|
|
773
|
+
core:label "Rate"@en ;
|
|
774
|
+
core:definition "The setting name of the class rate."@en ;
|
|
775
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
776
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
777
|
+
|
|
778
|
+
billing-vocab:setting-name-monthly-limit a owl:NamedIndividual , core:concept ;
|
|
779
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
780
|
+
core:notation "Monthly limit" ;
|
|
781
|
+
core:label "Monthly limit"@en ;
|
|
782
|
+
core:definition "The setting name of the class monthly limit."@en ;
|
|
783
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
784
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
785
|
+
|
|
786
|
+
billing-vocab:setting-name-low-balance-threshold a owl:NamedIndividual , core:concept ;
|
|
787
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
788
|
+
core:notation "Low-balance threshold" ;
|
|
789
|
+
core:label "Low-balance threshold"@en ;
|
|
790
|
+
core:definition "The setting name of the class low-balance threshold."@en ;
|
|
791
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
792
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
793
|
+
|
|
794
|
+
billing-vocab:setting-name-automatic-top-up a owl:NamedIndividual , core:concept ;
|
|
795
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
796
|
+
core:notation "Automatic top-up" ;
|
|
797
|
+
core:label "Automatic top-up"@en ;
|
|
798
|
+
core:definition "The setting name of the class automatic top-up."@en ;
|
|
799
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
800
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
801
|
+
|
|
802
|
+
billing-vocab:setting-name-standing-hold-size a owl:NamedIndividual , core:concept ;
|
|
803
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
804
|
+
core:notation "Standing hold size" ;
|
|
805
|
+
core:label "Standing hold size"@en ;
|
|
806
|
+
core:definition "The setting name of the class standing hold size."@en ;
|
|
807
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
808
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
809
|
+
|
|
810
|
+
billing-vocab:setting-name-trial-grant-amount a owl:NamedIndividual , core:concept ;
|
|
811
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
812
|
+
core:notation "Trial grant amount" ;
|
|
813
|
+
core:label "Trial grant amount"@en ;
|
|
814
|
+
core:definition "The setting name of the class trial grant amount."@en ;
|
|
815
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
816
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
817
|
+
|
|
818
|
+
billing-vocab:setting-name-trial-duration a owl:NamedIndividual , core:concept ;
|
|
819
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
820
|
+
core:notation "Trial duration" ;
|
|
821
|
+
core:label "Trial duration"@en ;
|
|
822
|
+
core:definition "The setting name of the class trial duration."@en ;
|
|
823
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
824
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
825
|
+
|
|
826
|
+
billing-vocab:setting-name-retry-days a owl:NamedIndividual , core:concept ;
|
|
827
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
828
|
+
core:notation "Retry days" ;
|
|
829
|
+
core:label "Retry days"@en ;
|
|
830
|
+
core:definition "The setting name of the class retry days."@en ;
|
|
831
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
832
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
833
|
+
|
|
834
|
+
billing-vocab:setting-name-default-quotas a owl:NamedIndividual , core:concept ;
|
|
835
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
836
|
+
core:notation "Default quotas" ;
|
|
837
|
+
core:label "Default quotas"@en ;
|
|
838
|
+
core:definition "The setting name of the class default quotas."@en ;
|
|
839
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
840
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
841
|
+
|
|
842
|
+
billing-vocab:setting-name-support-grant-maximum a owl:NamedIndividual , core:concept ;
|
|
843
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
844
|
+
core:notation "Support grant maximum" ;
|
|
845
|
+
core:label "Support grant maximum"@en ;
|
|
846
|
+
core:definition "The setting name of the class support grant maximum."@en ;
|
|
847
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
848
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
849
|
+
|
|
850
|
+
billing-vocab:setting-name-expiry-notice-days a owl:NamedIndividual , core:concept ;
|
|
851
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
852
|
+
core:notation "Expiry notice days" ;
|
|
853
|
+
core:label "Expiry notice days"@en ;
|
|
854
|
+
core:definition "The setting name of the class expiry notice days."@en ;
|
|
855
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
856
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
857
|
+
|
|
858
|
+
billing-vocab:setting-name-discount-maximum a owl:NamedIndividual , core:concept ;
|
|
859
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
860
|
+
core:notation "Discount maximum" ;
|
|
861
|
+
core:label "Discount maximum"@en ;
|
|
862
|
+
core:definition "The setting name of the class discount maximum."@en ;
|
|
863
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
864
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
865
|
+
|
|
866
|
+
billing-vocab:setting-name-sample-maximum a owl:NamedIndividual , core:concept ;
|
|
867
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
868
|
+
core:notation "Sample maximum" ;
|
|
869
|
+
core:label "Sample maximum"@en ;
|
|
870
|
+
core:definition "The setting name of the class sample maximum."@en ;
|
|
871
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
872
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
873
|
+
|
|
874
|
+
billing-vocab:setting-name-default-plan-limits a owl:NamedIndividual , core:concept ;
|
|
875
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
876
|
+
core:notation "Default plan limits" ;
|
|
877
|
+
core:label "Default plan limits"@en ;
|
|
878
|
+
core:definition "The setting name of the class default plan limits."@en ;
|
|
879
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
880
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
881
|
+
|
|
882
|
+
billing-vocab:setting-name-plan-limit-override a owl:NamedIndividual , core:concept ;
|
|
883
|
+
core:in-scheme billing-vocab:setting-name ;
|
|
884
|
+
core:notation "Plan limit override" ;
|
|
885
|
+
core:label "Plan limit override"@en ;
|
|
886
|
+
core:definition "The setting name of the class plan limit override."@en ;
|
|
887
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
888
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
889
|
+
|
|
890
|
+
[] a owl:AllDifferent ;
|
|
891
|
+
owl:distinctMembers ( billing-vocab:setting-name-rate billing-vocab:setting-name-monthly-limit billing-vocab:setting-name-low-balance-threshold billing-vocab:setting-name-automatic-top-up billing-vocab:setting-name-standing-hold-size billing-vocab:setting-name-trial-grant-amount billing-vocab:setting-name-trial-duration billing-vocab:setting-name-retry-days billing-vocab:setting-name-default-quotas billing-vocab:setting-name-expiry-notice-days billing-vocab:setting-name-support-grant-maximum billing-vocab:setting-name-discount-maximum billing-vocab:setting-name-sample-maximum billing-vocab:setting-name-default-plan-limits billing-vocab:setting-name-plan-limit-override ) .
|
|
892
|
+
|
|
893
|
+
# key scope
|
|
894
|
+
|
|
895
|
+
billing-vocab:machine-scope a owl:NamedIndividual , core:concept-scheme ;
|
|
896
|
+
core:label "machine scope of billing"@en ;
|
|
897
|
+
core:definition "A project role of `billing` in `auth` that an access token carries"@en ;
|
|
898
|
+
core:division core-vocab:division-open ;
|
|
899
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
900
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
901
|
+
core:owner core:billing .
|
|
902
|
+
|
|
903
|
+
billing-vocab:machine-scope-holds-write a owl:NamedIndividual , core:concept ;
|
|
904
|
+
core:in-scheme billing-vocab:machine-scope ;
|
|
905
|
+
core:notation "holds:write" ;
|
|
906
|
+
core:label "holds:write"@en ;
|
|
907
|
+
core:definition "`POST /holds`, `GET /holds/{holdId}`, `POST /holds/{holdId}/settle` and `POST /holds/{holdId}/release`. Given to the spenders: `kai-agent`, `leads`, `email` and `linkedin`."@en ;
|
|
908
|
+
core:source "docs/specs/billing/docs/internal/decisions/0008-service-keys-and-api.md#Decision" ;
|
|
909
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
910
|
+
|
|
911
|
+
billing-vocab:machine-scope-quotes-read a owl:NamedIndividual , core:concept ;
|
|
912
|
+
core:in-scheme billing-vocab:machine-scope ;
|
|
913
|
+
core:notation "quotes:read" ;
|
|
914
|
+
core:label "quotes:read"@en ;
|
|
915
|
+
core:definition "`POST /quotes`. Given to the spenders."@en ;
|
|
916
|
+
core:source "docs/specs/billing/docs/internal/decisions/0008-service-keys-and-api.md#Decision" ;
|
|
917
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
918
|
+
|
|
919
|
+
billing-vocab:machine-scope-billing-act-for-workspace a owl:NamedIndividual , core:concept ;
|
|
920
|
+
core:in-scheme billing-vocab:machine-scope ;
|
|
921
|
+
core:notation "billing:act-for-workspace" ;
|
|
922
|
+
core:label "billing:act-for-workspace"@en ;
|
|
923
|
+
core:definition "The product routes, with a token from a token exchange for one workspace and one user. Given to `desk` only."@en ;
|
|
924
|
+
core:source "docs/specs/billing/docs/internal/decisions/0008-service-keys-and-api.md#Decision" ;
|
|
925
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
926
|
+
|
|
927
|
+
[] a owl:AllDifferent ;
|
|
928
|
+
owl:distinctMembers ( billing-vocab:machine-scope-holds-write billing-vocab:machine-scope-quotes-read billing-vocab:machine-scope-billing-act-for-workspace ) .
|
|
929
|
+
|
|
930
|
+
# audit actor
|
|
931
|
+
|
|
932
|
+
billing-vocab:audit-actor a owl:NamedIndividual , core:concept-scheme ;
|
|
933
|
+
core:label "audit actor"@en ;
|
|
934
|
+
core:definition "Who made the change of an audit row"@en ;
|
|
935
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
936
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
937
|
+
core:owner core:billing ;
|
|
938
|
+
core:division core-vocab:division-disjoint-closed .
|
|
939
|
+
|
|
940
|
+
billing-vocab:audit-actor-staff a owl:NamedIndividual , core:concept ;
|
|
941
|
+
core:in-scheme billing-vocab:audit-actor ;
|
|
942
|
+
core:notation "staff" ;
|
|
943
|
+
core:label "staff"@en ;
|
|
944
|
+
core:definition "The audit row records the id of a staff user of the organization `quickpipe`. When the staff user acts for a user of a workspace, it also records the id of that user."@en ;
|
|
945
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
946
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
947
|
+
|
|
948
|
+
billing-vocab:audit-actor-user a owl:NamedIndividual , core:concept ;
|
|
949
|
+
core:in-scheme billing-vocab:audit-actor ;
|
|
950
|
+
core:notation "user" ;
|
|
951
|
+
core:label "user"@en ;
|
|
952
|
+
core:definition "The audit row records the id of the user of a workspace, from a call of `desk` with the scope `billing:act-for-workspace`."@en ;
|
|
953
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
954
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
955
|
+
|
|
956
|
+
billing-vocab:audit-actor-service a owl:NamedIndividual , core:concept ;
|
|
957
|
+
core:in-scheme billing-vocab:audit-actor ;
|
|
958
|
+
core:notation "service" ;
|
|
959
|
+
core:label "service"@en ;
|
|
960
|
+
core:definition "The audit row records the id of the machine client."@en ;
|
|
961
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
962
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
963
|
+
|
|
964
|
+
billing-vocab:audit-actor-stripe a owl:NamedIndividual , core:concept ;
|
|
965
|
+
core:in-scheme billing-vocab:audit-actor ;
|
|
966
|
+
core:notation "stripe" ;
|
|
967
|
+
core:label "stripe"@en ;
|
|
968
|
+
core:definition "The audit row records the id of the Stripe event that wrote the plan grant or the subscription change."@en ;
|
|
969
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
|
|
970
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
971
|
+
|
|
972
|
+
[] a owl:AllDifferent ;
|
|
973
|
+
owl:distinctMembers ( billing-vocab:audit-actor-staff billing-vocab:audit-actor-user billing-vocab:audit-actor-service billing-vocab:audit-actor-stripe ) .
|
|
974
|
+
|
|
975
|
+
# error code
|
|
976
|
+
|
|
977
|
+
billing-vocab:error-code a owl:NamedIndividual , core:concept-scheme ;
|
|
978
|
+
core:label "error code of billing"@en ;
|
|
979
|
+
core:definition "The `code` of a problem response of `billing`: the codes of `billing` and the codes of the platform that `billing` sends."@en ;
|
|
980
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
981
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
982
|
+
core:owner core:billing ;
|
|
983
|
+
core:division core-vocab:division-disjoint-open ;
|
|
984
|
+
core:narrows-scheme core-vocab:error-code .
|
|
985
|
+
|
|
986
|
+
core-vocab:error-code-invalid-token core:in-scheme billing-vocab:error-code .
|
|
987
|
+
core-vocab:error-code-upstream-failed core:in-scheme billing-vocab:error-code .
|
|
988
|
+
core-vocab:error-code-scope-missing core:in-scheme billing-vocab:error-code .
|
|
989
|
+
core-vocab:error-code-invalid-input core:in-scheme billing-vocab:error-code .
|
|
990
|
+
core-vocab:error-code-idempotency-conflict core:in-scheme billing-vocab:error-code .
|
|
991
|
+
|
|
992
|
+
billing-vocab:error-code-credits-insufficient a owl:NamedIndividual , core:concept ;
|
|
993
|
+
core:in-scheme billing-vocab:error-code ;
|
|
994
|
+
core:notation "credits_insufficient" ;
|
|
995
|
+
core:label "credits_insufficient"@en ;
|
|
996
|
+
core:definition "The available credits are less than the amount, or the part `bought` is below zero. The status is `402`."@en ;
|
|
997
|
+
core:source "docs/specs/billing/docs/internal/decisions/0009-fail-closed.md#Decision" ;
|
|
998
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
999
|
+
|
|
1000
|
+
billing-vocab:error-code-limit-reached a owl:NamedIndividual , core:concept ;
|
|
1001
|
+
core:in-scheme billing-vocab:error-code ;
|
|
1002
|
+
core:notation "limit_reached" ;
|
|
1003
|
+
core:label "limit_reached"@en ;
|
|
1004
|
+
core:definition "The month charges, the held credits and the amount are more than the monthly limit. The status is `402`."@en ;
|
|
1005
|
+
core:source "docs/specs/billing/docs/internal/decisions/0009-fail-closed.md#Decision" ;
|
|
1006
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1007
|
+
|
|
1008
|
+
billing-vocab:error-code-billing-unavailable a owl:NamedIndividual , core:concept ;
|
|
1009
|
+
core:in-scheme billing-vocab:error-code ;
|
|
1010
|
+
core:notation "billing_unavailable" ;
|
|
1011
|
+
core:label "billing_unavailable"@en ;
|
|
1012
|
+
core:definition "`billing` cannot write the hold, or the spender cannot reach `billing`. The status is `503`."@en ;
|
|
1013
|
+
core:source "docs/specs/billing/docs/internal/decisions/0009-fail-closed.md#Decision" ;
|
|
1014
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1015
|
+
|
|
1016
|
+
billing-vocab:error-code-balance-closed a owl:NamedIndividual , core:concept ;
|
|
1017
|
+
core:in-scheme billing-vocab:error-code ;
|
|
1018
|
+
core:notation "balance_closed" ;
|
|
1019
|
+
core:label "balance_closed"@en ;
|
|
1020
|
+
core:definition "The balance has the status `closed`. The status is `409`."@en ;
|
|
1021
|
+
core:source "docs/specs/billing/docs/internal/decisions/0009-fail-closed.md#Decision" ;
|
|
1022
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1023
|
+
|
|
1024
|
+
billing-vocab:error-code-hold-not-found a owl:NamedIndividual , core:concept ;
|
|
1025
|
+
core:in-scheme billing-vocab:error-code ;
|
|
1026
|
+
core:notation "hold_not_found" ;
|
|
1027
|
+
core:label "hold_not_found"@en ;
|
|
1028
|
+
core:definition "No hold has the hold id of the request. The status is `404`."@en ;
|
|
1029
|
+
core:source "docs/specs/billing/docs/internal/decisions/0008-service-keys-and-api.md#Decision" ;
|
|
1030
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1031
|
+
|
|
1032
|
+
billing-vocab:error-code-hold-closed a owl:NamedIndividual , core:concept ;
|
|
1033
|
+
core:in-scheme billing-vocab:error-code ;
|
|
1034
|
+
core:notation "hold_closed" ;
|
|
1035
|
+
core:label "hold_closed"@en ;
|
|
1036
|
+
core:definition "`billing` refuses a different settle or release of a closed hold with `hold_closed`. The status is `409`."@en ;
|
|
1037
|
+
core:source "docs/specs/billing/docs/internal/decisions/0006-holds.md#Expiry" ;
|
|
1038
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1039
|
+
|
|
1040
|
+
billing-vocab:error-code-workspace-not-found a owl:NamedIndividual , core:concept ;
|
|
1041
|
+
core:in-scheme billing-vocab:error-code ;
|
|
1042
|
+
core:notation "workspace_not_found" ;
|
|
1043
|
+
core:label "workspace_not_found"@en ;
|
|
1044
|
+
core:definition "No balance row has the workspace id of the admin request. The status is `404`."@en ;
|
|
1045
|
+
core:source "docs/specs/billing/docs/internal/decisions/0034-quota-sync.md#Decision" ;
|
|
1046
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1047
|
+
|
|
1048
|
+
[] a owl:AllDifferent ;
|
|
1049
|
+
owl:distinctMembers ( billing-vocab:error-code-credits-insufficient billing-vocab:error-code-limit-reached billing-vocab:error-code-billing-unavailable billing-vocab:error-code-balance-closed billing-vocab:error-code-hold-not-found billing-vocab:error-code-hold-closed billing-vocab:error-code-workspace-not-found billing-vocab:error-code-discount-not-found billing-vocab:error-code-discount-ended core-vocab:error-code-idempotency-conflict core-vocab:error-code-invalid-input core-vocab:error-code-invalid-token core-vocab:error-code-upstream-failed core-vocab:error-code-scope-missing ) .
|
|
1050
|
+
|
|
1051
|
+
# webhook topic of billing
|
|
1052
|
+
|
|
1053
|
+
billing-vocab:webhook-topic a owl:NamedIndividual , core:concept-scheme ;
|
|
1054
|
+
core:label "webhook topic of billing"@en ;
|
|
1055
|
+
core:definition "The type of a webhook that `billing` sends to `desk`. The list can grow, and a client must ignore a topic that it does not know."@en ;
|
|
1056
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1057
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1058
|
+
core:owner core:billing ;
|
|
1059
|
+
core:division core-vocab:division-disjoint-open .
|
|
1060
|
+
|
|
1061
|
+
billing-vocab:webhook-topic-balance-low a owl:NamedIndividual , core:concept ;
|
|
1062
|
+
core:in-scheme billing-vocab:webhook-topic ;
|
|
1063
|
+
core:notation "balance.low" ;
|
|
1064
|
+
core:label "balance.low"@en ;
|
|
1065
|
+
core:definition "The webhook topic of the webhook class billing:balance-low."@en ;
|
|
1066
|
+
core:source "docs/specs/billing/docs/internal/decisions/0016-webhooks.md#Decision" , "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1067
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1068
|
+
|
|
1069
|
+
billing-vocab:webhook-topic-balance-recovered a owl:NamedIndividual , core:concept ;
|
|
1070
|
+
core:in-scheme billing-vocab:webhook-topic ;
|
|
1071
|
+
core:notation "balance.recovered" ;
|
|
1072
|
+
core:label "balance.recovered"@en ;
|
|
1073
|
+
core:definition "The webhook topic of the webhook class billing:balance-recovered."@en ;
|
|
1074
|
+
core:source "docs/specs/billing/docs/internal/decisions/0016-webhooks.md#Decision" , "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1075
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1076
|
+
|
|
1077
|
+
billing-vocab:webhook-topic-limit-threshold a owl:NamedIndividual , core:concept ;
|
|
1078
|
+
core:in-scheme billing-vocab:webhook-topic ;
|
|
1079
|
+
core:notation "limit.threshold" ;
|
|
1080
|
+
core:label "limit.threshold"@en ;
|
|
1081
|
+
core:definition "The webhook topic of the webhook class billing:limit-threshold."@en ;
|
|
1082
|
+
core:source "docs/specs/billing/docs/internal/decisions/0016-webhooks.md#Decision" , "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1083
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1084
|
+
|
|
1085
|
+
billing-vocab:webhook-topic-credits-expiring a owl:NamedIndividual , core:concept ;
|
|
1086
|
+
core:in-scheme billing-vocab:webhook-topic ;
|
|
1087
|
+
core:notation "credits.expiring" ;
|
|
1088
|
+
core:label "credits.expiring"@en ;
|
|
1089
|
+
core:definition "The webhook topic of the webhook class billing:credits-expiring."@en ;
|
|
1090
|
+
core:source "docs/specs/billing/docs/internal/decisions/0016-webhooks.md#Decision" , "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1091
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1092
|
+
|
|
1093
|
+
billing-vocab:webhook-topic-top-up-completed a owl:NamedIndividual , core:concept ;
|
|
1094
|
+
core:in-scheme billing-vocab:webhook-topic ;
|
|
1095
|
+
core:notation "top-up.completed" ;
|
|
1096
|
+
core:label "top-up.completed"@en ;
|
|
1097
|
+
core:definition "The webhook topic of the webhook class billing:top-up-completed."@en ;
|
|
1098
|
+
core:source "docs/specs/billing/docs/internal/decisions/0016-webhooks.md#Decision" , "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1099
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1100
|
+
|
|
1101
|
+
billing-vocab:webhook-topic-top-up-failed a owl:NamedIndividual , core:concept ;
|
|
1102
|
+
core:in-scheme billing-vocab:webhook-topic ;
|
|
1103
|
+
core:notation "top-up.failed" ;
|
|
1104
|
+
core:label "top-up.failed"@en ;
|
|
1105
|
+
core:definition "The webhook topic of the webhook class billing:top-up-failed."@en ;
|
|
1106
|
+
core:source "docs/specs/billing/docs/internal/decisions/0016-webhooks.md#Decision" , "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1107
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1108
|
+
|
|
1109
|
+
billing-vocab:webhook-topic-plan-changed a owl:NamedIndividual , core:concept ;
|
|
1110
|
+
core:in-scheme billing-vocab:webhook-topic ;
|
|
1111
|
+
core:notation "plan.changed" ;
|
|
1112
|
+
core:label "plan.changed"@en ;
|
|
1113
|
+
core:definition "The webhook topic of the webhook class billing:plan-changed."@en ;
|
|
1114
|
+
core:source "docs/specs/billing/docs/internal/decisions/0016-webhooks.md#Decision" , "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1115
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1116
|
+
|
|
1117
|
+
billing-vocab:webhook-topic-dispute-opened a owl:NamedIndividual , core:concept ;
|
|
1118
|
+
core:in-scheme billing-vocab:webhook-topic ;
|
|
1119
|
+
core:notation "dispute.opened" ;
|
|
1120
|
+
core:label "dispute.opened"@en ;
|
|
1121
|
+
core:definition "A payment of the workspace gets a dispute."@en ;
|
|
1122
|
+
core:source "docs/specs/billing/docs/internal/decisions/0016-webhooks.md#Decision" , "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1123
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1124
|
+
|
|
1125
|
+
[] a owl:AllDifferent ;
|
|
1126
|
+
owl:distinctMembers ( 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 ) .
|
|
1127
|
+
|
|
1128
|
+
billing-vocab:plan-limit a owl:NamedIndividual , core:concept-scheme ;
|
|
1129
|
+
core:label "plan limit"@en ;
|
|
1130
|
+
core:definition "A limit that a plan gives to a workspace for work in a different service"@en ;
|
|
1131
|
+
core:division core-vocab:division-disjoint-open ;
|
|
1132
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1133
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1134
|
+
core:owner core:billing .
|
|
1135
|
+
|
|
1136
|
+
billing-vocab:plan-limit-watch-lists a owl:NamedIndividual , core:concept ;
|
|
1137
|
+
core:in-scheme billing-vocab:plan-limit ;
|
|
1138
|
+
core:notation "watch-lists" ;
|
|
1139
|
+
core:label "watch-lists"@en ;
|
|
1140
|
+
core:definition "The largest number of watch lists of a workspace in `desk`."@en ;
|
|
1141
|
+
core:source "docs/specs/billing/docs/internal/decisions/0027-plan-limits.md#Decision" ;
|
|
1142
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1143
|
+
|
|
1144
|
+
billing-vocab:plan-limit-subjects-per-list a owl:NamedIndividual , core:concept ;
|
|
1145
|
+
core:in-scheme billing-vocab:plan-limit ;
|
|
1146
|
+
core:notation "subjects-per-list" ;
|
|
1147
|
+
core:label "subjects-per-list"@en ;
|
|
1148
|
+
core:definition "The largest number of account records and lead records in one watch list."@en ;
|
|
1149
|
+
core:source "docs/specs/billing/docs/internal/decisions/0027-plan-limits.md#Decision" ;
|
|
1150
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1151
|
+
|
|
1152
|
+
billing-vocab:plan-limit-watch-frequencies a owl:NamedIndividual , core:concept ;
|
|
1153
|
+
core:in-scheme billing-vocab:plan-limit ;
|
|
1154
|
+
core:notation "watch-frequencies" ;
|
|
1155
|
+
core:label "watch-frequencies"@en ;
|
|
1156
|
+
core:definition "The watch frequencies of a watch list that the workspace can select, for example daily or weekly."@en ;
|
|
1157
|
+
core:source "docs/specs/billing/docs/internal/decisions/0027-plan-limits.md#Decision" ;
|
|
1158
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1159
|
+
|
|
1160
|
+
billing-vocab:plan-limit-agent-call-rate a owl:NamedIndividual , core:concept ;
|
|
1161
|
+
core:in-scheme billing-vocab:plan-limit ;
|
|
1162
|
+
core:notation "agent-call-rate" ;
|
|
1163
|
+
core:label "agent-call-rate"@en ;
|
|
1164
|
+
core:definition "The largest number of calls of client agents of a workspace in one window."@en ;
|
|
1165
|
+
core:source "docs/specs/billing/docs/internal/decisions/0027-plan-limits.md#Decision" ;
|
|
1166
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1167
|
+
|
|
1168
|
+
billing-vocab:plan-limit-connected-agents a owl:NamedIndividual , core:concept ;
|
|
1169
|
+
core:in-scheme billing-vocab:plan-limit ;
|
|
1170
|
+
core:notation "connected-agents" ;
|
|
1171
|
+
core:label "connected-agents"@en ;
|
|
1172
|
+
core:definition "The largest number of active agent keys of a workspace."@en ;
|
|
1173
|
+
core:source "docs/specs/billing/docs/internal/decisions/0027-plan-limits.md#Decision" ;
|
|
1174
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1175
|
+
|
|
1176
|
+
billing-vocab:plan-limit-seats a owl:NamedIndividual , core:concept ;
|
|
1177
|
+
core:in-scheme billing-vocab:plan-limit ;
|
|
1178
|
+
core:notation "seats" ;
|
|
1179
|
+
core:label "seats"@en ;
|
|
1180
|
+
core:definition "The largest number of teammates of a workspace, active or invited."@en ;
|
|
1181
|
+
core:source "docs/specs/billing/docs/internal/decisions/0027-plan-limits.md#Decision" ;
|
|
1182
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1183
|
+
|
|
1184
|
+
[] a owl:AllDifferent ;
|
|
1185
|
+
owl:distinctMembers ( billing-vocab:plan-limit-watch-lists billing-vocab:plan-limit-subjects-per-list billing-vocab:plan-limit-watch-frequencies billing-vocab:plan-limit-agent-call-rate billing-vocab:plan-limit-connected-agents billing-vocab:plan-limit-seats ) .
|
|
1186
|
+
|
|
1187
|
+
billing-vocab:top-up-failure-reason a owl:NamedIndividual , core:concept-scheme ;
|
|
1188
|
+
core:label "top-up failure reason"@en ;
|
|
1189
|
+
core:definition "Why a top-up got the status `failed`"@en ;
|
|
1190
|
+
core:division core-vocab:division-disjoint-open ;
|
|
1191
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1192
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1193
|
+
core:owner core:billing .
|
|
1194
|
+
|
|
1195
|
+
billing-vocab:top-up-failure-reason-authentication-required a owl:NamedIndividual , core:concept ;
|
|
1196
|
+
core:in-scheme billing-vocab:top-up-failure-reason ;
|
|
1197
|
+
core:notation "authentication-required" ;
|
|
1198
|
+
core:label "authentication-required"@en ;
|
|
1199
|
+
core:definition "The bank of the buyer asks the buyer to confirm the payment."@en ;
|
|
1200
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1201
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1202
|
+
|
|
1203
|
+
billing-vocab:top-up-failure-reason-payment-failed a owl:NamedIndividual , core:concept ;
|
|
1204
|
+
core:in-scheme billing-vocab:top-up-failure-reason ;
|
|
1205
|
+
core:notation "payment-failed" ;
|
|
1206
|
+
core:label "payment-failed"@en ;
|
|
1207
|
+
core:definition "The payment failed for a different reason."@en ;
|
|
1208
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1209
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1210
|
+
|
|
1211
|
+
[] a owl:AllDifferent ;
|
|
1212
|
+
owl:distinctMembers ( billing-vocab:top-up-failure-reason-authentication-required billing-vocab:top-up-failure-reason-payment-failed ) .
|
|
1213
|
+
|
|
1214
|
+
billing-vocab:discount-kind a owl:NamedIndividual , core:concept-scheme ;
|
|
1215
|
+
core:label "discount kind"@en ;
|
|
1216
|
+
core:definition "What a discount changes"@en ;
|
|
1217
|
+
core:division core-vocab:division-disjoint-closed ;
|
|
1218
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Discounts" ;
|
|
1219
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1220
|
+
core:owner core:billing .
|
|
1221
|
+
|
|
1222
|
+
billing-vocab:discount-kind-usage a owl:NamedIndividual , core:concept ;
|
|
1223
|
+
core:in-scheme billing-vocab:discount-kind ;
|
|
1224
|
+
core:notation "usage" ;
|
|
1225
|
+
core:label "usage"@en ;
|
|
1226
|
+
core:definition "A percentage off the charge of one spender, after the rate"@en ;
|
|
1227
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Discounts" ;
|
|
1228
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1229
|
+
|
|
1230
|
+
billing-vocab:discount-kind-subscription a owl:NamedIndividual , core:concept ;
|
|
1231
|
+
core:in-scheme billing-vocab:discount-kind ;
|
|
1232
|
+
core:notation "subscription" ;
|
|
1233
|
+
core:label "subscription"@en ;
|
|
1234
|
+
core:definition "A percentage off the price of a plan"@en ;
|
|
1235
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Discounts" ;
|
|
1236
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1237
|
+
|
|
1238
|
+
billing-vocab:discount-kind-pack a owl:NamedIndividual , core:concept ;
|
|
1239
|
+
core:in-scheme billing-vocab:discount-kind ;
|
|
1240
|
+
core:notation "pack" ;
|
|
1241
|
+
core:label "pack"@en ;
|
|
1242
|
+
core:definition "A percentage off the price of a pack"@en ;
|
|
1243
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Discounts" ;
|
|
1244
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1245
|
+
|
|
1246
|
+
billing-vocab:discount-kind-bonus a owl:NamedIndividual , core:concept ;
|
|
1247
|
+
core:in-scheme billing-vocab:discount-kind ;
|
|
1248
|
+
core:notation "bonus" ;
|
|
1249
|
+
core:label "bonus"@en ;
|
|
1250
|
+
core:definition "A percentage of more credits on a plan grant or a top-up"@en ;
|
|
1251
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Discounts" ;
|
|
1252
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1253
|
+
|
|
1254
|
+
[] a owl:AllDifferent ;
|
|
1255
|
+
owl:distinctMembers ( billing-vocab:discount-kind-usage billing-vocab:discount-kind-subscription billing-vocab:discount-kind-pack billing-vocab:discount-kind-bonus ) .
|
|
1256
|
+
|
|
1257
|
+
billing-vocab:discount-status a owl:NamedIndividual , core:concept-scheme ;
|
|
1258
|
+
core:label "discount status"@en ;
|
|
1259
|
+
core:definition "The state of a discount"@en ;
|
|
1260
|
+
core:division core-vocab:division-disjoint-closed ;
|
|
1261
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Discounts" ;
|
|
1262
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1263
|
+
core:owner core:billing .
|
|
1264
|
+
|
|
1265
|
+
billing-vocab:discount-status-pending a owl:NamedIndividual , core:concept ;
|
|
1266
|
+
core:in-scheme billing-vocab:discount-status ;
|
|
1267
|
+
core:notation "pending" ;
|
|
1268
|
+
core:label "pending"@en ;
|
|
1269
|
+
core:definition "The value is above the discount maximum, and a second staff user must approve it"@en ;
|
|
1270
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Discounts" ;
|
|
1271
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1272
|
+
|
|
1273
|
+
billing-vocab:discount-status-active a owl:NamedIndividual , core:concept ;
|
|
1274
|
+
core:in-scheme billing-vocab:discount-status ;
|
|
1275
|
+
core:notation "active" ;
|
|
1276
|
+
core:label "active"@en ;
|
|
1277
|
+
core:definition "The discount applies from its start"@en ;
|
|
1278
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Discounts" ;
|
|
1279
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1280
|
+
|
|
1281
|
+
billing-vocab:discount-status-ended a owl:NamedIndividual , core:concept ;
|
|
1282
|
+
core:in-scheme billing-vocab:discount-status ;
|
|
1283
|
+
core:notation "ended" ;
|
|
1284
|
+
core:label "ended"@en ;
|
|
1285
|
+
core:definition "The discount reached its end, or a staff user ended it"@en ;
|
|
1286
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Discounts" ;
|
|
1287
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1288
|
+
|
|
1289
|
+
[] a owl:AllDifferent ;
|
|
1290
|
+
owl:distinctMembers ( billing-vocab:discount-status-pending billing-vocab:discount-status-active billing-vocab:discount-status-ended ) .
|
|
1291
|
+
|
|
1292
|
+
billing-vocab:dispute-status a owl:NamedIndividual , core:concept-scheme ;
|
|
1293
|
+
core:label "dispute status"@en ;
|
|
1294
|
+
core:definition "The state of a dispute"@en ;
|
|
1295
|
+
core:division core-vocab:division-disjoint-closed ;
|
|
1296
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1297
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1298
|
+
core:owner core:billing .
|
|
1299
|
+
|
|
1300
|
+
billing-vocab:dispute-status-open a owl:NamedIndividual , core:concept ;
|
|
1301
|
+
core:in-scheme billing-vocab:dispute-status ;
|
|
1302
|
+
core:notation "open" ;
|
|
1303
|
+
core:label "open"@en ;
|
|
1304
|
+
core:definition "The bank of the buyer claims the payment back, and no decision exists yet."@en ;
|
|
1305
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1306
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1307
|
+
|
|
1308
|
+
billing-vocab:dispute-status-won a owl:NamedIndividual , core:concept ;
|
|
1309
|
+
core:in-scheme billing-vocab:dispute-status ;
|
|
1310
|
+
core:notation "won" ;
|
|
1311
|
+
core:label "won"@en ;
|
|
1312
|
+
core:definition "The bank decided for the workspace. The payment stays."@en ;
|
|
1313
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1314
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1315
|
+
|
|
1316
|
+
billing-vocab:dispute-status-lost a owl:NamedIndividual , core:concept ;
|
|
1317
|
+
core:in-scheme billing-vocab:dispute-status ;
|
|
1318
|
+
core:notation "lost" ;
|
|
1319
|
+
core:label "lost"@en ;
|
|
1320
|
+
core:definition "The bank decided for the buyer. `billing` writes an entry of kind `refund`."@en ;
|
|
1321
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1322
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1323
|
+
|
|
1324
|
+
[] a owl:AllDifferent ;
|
|
1325
|
+
owl:distinctMembers ( billing-vocab:dispute-status-open billing-vocab:dispute-status-won billing-vocab:dispute-status-lost ) .
|
|
1326
|
+
|
|
1327
|
+
# grant reason
|
|
1328
|
+
|
|
1329
|
+
billing-vocab:grant-reason a owl:NamedIndividual , core:concept-scheme ;
|
|
1330
|
+
core:label "grant reason"@en ;
|
|
1331
|
+
core:definition "Why a staff user writes a grant of kind `admin`. The audit row of the grant keeps it."@en ;
|
|
1332
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
1333
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1334
|
+
core:owner core:billing ;
|
|
1335
|
+
core:division core-vocab:division-disjoint-open .
|
|
1336
|
+
|
|
1337
|
+
billing-vocab:grant-reason-goodwill a owl:NamedIndividual , core:concept ;
|
|
1338
|
+
core:in-scheme billing-vocab:grant-reason ;
|
|
1339
|
+
core:notation "goodwill" ;
|
|
1340
|
+
core:label "goodwill"@en ;
|
|
1341
|
+
core:definition "Credits for a workspace after a problem with the service. A staff user with the access-role `support` uses only this grant reason."@en ;
|
|
1342
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
1343
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1344
|
+
|
|
1345
|
+
billing-vocab:grant-reason-correction a owl:NamedIndividual , core:concept ;
|
|
1346
|
+
core:in-scheme billing-vocab:grant-reason ;
|
|
1347
|
+
core:notation "correction" ;
|
|
1348
|
+
core:label "correction"@en ;
|
|
1349
|
+
core:definition "A staff correction of a balance, as [0004](0004-prepaid-credits.md) tells"@en ;
|
|
1350
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
1351
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1352
|
+
|
|
1353
|
+
billing-vocab:grant-reason-test a owl:NamedIndividual , core:concept ;
|
|
1354
|
+
core:in-scheme billing-vocab:grant-reason ;
|
|
1355
|
+
core:notation "test" ;
|
|
1356
|
+
core:label "test"@en ;
|
|
1357
|
+
core:definition "Credits for a test workspace in `dev` or `stg`, as [0020](0020-delivery-phases.md) tells"@en ;
|
|
1358
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Money" ;
|
|
1359
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1360
|
+
|
|
1361
|
+
[] a owl:AllDifferent ;
|
|
1362
|
+
owl:distinctMembers ( billing-vocab:grant-reason-goodwill billing-vocab:grant-reason-correction billing-vocab:grant-reason-test ) .
|
|
1363
|
+
|
|
1364
|
+
# outbox row status
|
|
1365
|
+
|
|
1366
|
+
billing-vocab:outbox-row-status a owl:NamedIndividual , core:concept-scheme ;
|
|
1367
|
+
core:label "outbox row status"@en ;
|
|
1368
|
+
core:definition "The state of an outbox row"@en ;
|
|
1369
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1370
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1371
|
+
core:owner core:billing ;
|
|
1372
|
+
core:division core-vocab:division-disjoint-closed .
|
|
1373
|
+
|
|
1374
|
+
billing-vocab:outbox-row-status-pending a owl:NamedIndividual , core:concept ;
|
|
1375
|
+
core:in-scheme billing-vocab:outbox-row-status ;
|
|
1376
|
+
core:notation "pending" ;
|
|
1377
|
+
core:label "pending"@en ;
|
|
1378
|
+
core:definition "The worker must send the row, now or at its next retry"@en ;
|
|
1379
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1380
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1381
|
+
|
|
1382
|
+
billing-vocab:outbox-row-status-sent a owl:NamedIndividual , core:concept ;
|
|
1383
|
+
core:in-scheme billing-vocab:outbox-row-status ;
|
|
1384
|
+
core:notation "sent" ;
|
|
1385
|
+
core:label "sent"@en ;
|
|
1386
|
+
core:definition "The receiver accepted the row"@en ;
|
|
1387
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1388
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1389
|
+
|
|
1390
|
+
billing-vocab:outbox-row-status-stopped a owl:NamedIndividual , core:concept ;
|
|
1391
|
+
core:in-scheme billing-vocab:outbox-row-status ;
|
|
1392
|
+
core:notation "stopped" ;
|
|
1393
|
+
core:label "stopped"@en ;
|
|
1394
|
+
core:definition "The receiver did not accept the row in 72 hours, as [0016](0016-webhooks.md) tells"@en ;
|
|
1395
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Contract" ;
|
|
1396
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1397
|
+
|
|
1398
|
+
[] a owl:AllDifferent ;
|
|
1399
|
+
owl:distinctMembers ( billing-vocab:outbox-row-status-pending billing-vocab:outbox-row-status-sent billing-vocab:outbox-row-status-stopped ) .
|
|
1400
|
+
|
|
1401
|
+
# absorbed cost reason
|
|
1402
|
+
|
|
1403
|
+
billing-vocab:absorbed-cost-reason a owl:NamedIndividual , core:concept-scheme ;
|
|
1404
|
+
core:label "absorbed cost reason"@en ;
|
|
1405
|
+
core:definition "The cause of an absorbed cost. The metric absorbed cost has it as an attribute."@en ;
|
|
1406
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Metrics" ;
|
|
1407
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1408
|
+
core:owner core:billing ;
|
|
1409
|
+
core:division core-vocab:division-disjoint-closed .
|
|
1410
|
+
|
|
1411
|
+
billing-vocab:absorbed-cost-reason-closed-hold a owl:NamedIndividual , core:concept ;
|
|
1412
|
+
core:in-scheme billing-vocab:absorbed-cost-reason ;
|
|
1413
|
+
core:notation "closed-hold" ;
|
|
1414
|
+
core:label "closed-hold"@en ;
|
|
1415
|
+
core:definition "The cost of a settle after its hold closed. `billing` refuses the settle with `hold_closed`, as [0006](0006-holds.md) tells."@en ;
|
|
1416
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Metrics" ;
|
|
1417
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1418
|
+
|
|
1419
|
+
billing-vocab:absorbed-cost-reason-above-amount a owl:NamedIndividual , core:concept ;
|
|
1420
|
+
core:in-scheme billing-vocab:absorbed-cost-reason ;
|
|
1421
|
+
core:notation "above-amount" ;
|
|
1422
|
+
core:label "above-amount"@en ;
|
|
1423
|
+
core:definition "The part of the cost of a settle that the amount of its hold does not cover, as [0006](0006-holds.md) tells"@en ;
|
|
1424
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Metrics" ;
|
|
1425
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1426
|
+
|
|
1427
|
+
billing-vocab:absorbed-cost-reason-sample a owl:NamedIndividual , core:concept ;
|
|
1428
|
+
core:in-scheme billing-vocab:absorbed-cost-reason ;
|
|
1429
|
+
core:notation "sample" ;
|
|
1430
|
+
core:label "sample"@en ;
|
|
1431
|
+
core:definition "The cost of an absorbed hold, as [0031](0031-absorbed-holds.md) tells"@en ;
|
|
1432
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Metrics" ;
|
|
1433
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1434
|
+
|
|
1435
|
+
[] a owl:AllDifferent ;
|
|
1436
|
+
owl:distinctMembers ( billing-vocab:absorbed-cost-reason-closed-hold billing-vocab:absorbed-cost-reason-above-amount billing-vocab:absorbed-cost-reason-sample ) .
|
|
1437
|
+
|
|
1438
|
+
# workspace subscription status
|
|
1439
|
+
|
|
1440
|
+
billing-vocab:workspace-subscription-status a owl:NamedIndividual , core:concept-scheme ;
|
|
1441
|
+
core:label "workspace subscription status"@en ;
|
|
1442
|
+
core:definition "The subscription state of a workspace, as `GET /subscription` tells."@en ;
|
|
1443
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1444
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1445
|
+
core:owner core:billing ;
|
|
1446
|
+
core:division core-vocab:division-disjoint-closed .
|
|
1447
|
+
|
|
1448
|
+
billing-vocab:workspace-subscription-status-none a owl:NamedIndividual , core:concept ;
|
|
1449
|
+
core:in-scheme billing-vocab:workspace-subscription-status ;
|
|
1450
|
+
core:notation "none" ;
|
|
1451
|
+
core:label "none"@en ;
|
|
1452
|
+
core:definition "The workspace has no trial that runs and no subscription."@en ;
|
|
1453
|
+
core:source "docs/specs/billing/docs/internal/decisions/0017-lead-scoring-quotas.md#Decision" ;
|
|
1454
|
+
core:hint "The workspace has no trial and no subscription."@en ;
|
|
1455
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1456
|
+
|
|
1457
|
+
billing-vocab:workspace-subscription-status-trial a owl:NamedIndividual , core:concept ;
|
|
1458
|
+
core:in-scheme billing-vocab:workspace-subscription-status ;
|
|
1459
|
+
core:notation "trial" ;
|
|
1460
|
+
core:label "trial"@en ;
|
|
1461
|
+
core:definition "The grant of kind `trial` has not expired and the workspace has no subscription."@en ;
|
|
1462
|
+
core:source "docs/specs/billing/docs/internal/decisions/0017-lead-scoring-quotas.md#Decision" ;
|
|
1463
|
+
core:hint "The workspace uses its free trial credits and has no subscription."@en ;
|
|
1464
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1465
|
+
|
|
1466
|
+
billing-vocab:workspace-subscription-status-active a owl:NamedIndividual , core:concept ;
|
|
1467
|
+
core:in-scheme billing-vocab:workspace-subscription-status ;
|
|
1468
|
+
core:notation "active" ;
|
|
1469
|
+
core:label "active"@en ;
|
|
1470
|
+
core:definition "The subscription of the workspace has the subscription status `active`."@en ;
|
|
1471
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1472
|
+
core:hint "The workspace has a subscription that is paid up."@en ;
|
|
1473
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1474
|
+
|
|
1475
|
+
billing-vocab:workspace-subscription-status-past-due a owl:NamedIndividual , core:concept ;
|
|
1476
|
+
core:in-scheme billing-vocab:workspace-subscription-status ;
|
|
1477
|
+
core:notation "past-due" ;
|
|
1478
|
+
core:label "past-due"@en ;
|
|
1479
|
+
core:definition "The subscription of the workspace has the subscription status `past-due`."@en ;
|
|
1480
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1481
|
+
core:hint "The last subscription payment failed, so the workspace must pay."@en ;
|
|
1482
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1483
|
+
|
|
1484
|
+
billing-vocab:workspace-subscription-status-ended a owl:NamedIndividual , core:concept ;
|
|
1485
|
+
core:in-scheme billing-vocab:workspace-subscription-status ;
|
|
1486
|
+
core:notation "ended" ;
|
|
1487
|
+
core:label "ended"@en ;
|
|
1488
|
+
core:definition "The subscription of the workspace has the subscription status `ended`."@en ;
|
|
1489
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1490
|
+
core:hint "The subscription of the workspace ended."@en ;
|
|
1491
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1492
|
+
|
|
1493
|
+
[] a owl:AllDifferent ;
|
|
1494
|
+
owl:distinctMembers ( billing-vocab:workspace-subscription-status-none billing-vocab:workspace-subscription-status-trial billing-vocab:workspace-subscription-status-active billing-vocab:workspace-subscription-status-past-due billing-vocab:workspace-subscription-status-ended ) .
|
|
1495
|
+
|
|
1496
|
+
# cancel reason
|
|
1497
|
+
|
|
1498
|
+
billing-vocab:cancel-reason a owl:NamedIndividual , core:concept-scheme ;
|
|
1499
|
+
core:label "cancel reason"@en ;
|
|
1500
|
+
core:definition "Why `desk` asks `billing` to cancel a subscription"@en ;
|
|
1501
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1502
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1503
|
+
core:owner core:billing ;
|
|
1504
|
+
core:division core-vocab:division-disjoint-closed .
|
|
1505
|
+
|
|
1506
|
+
billing-vocab:cancel-reason-workspace-closing a owl:NamedIndividual , core:concept ;
|
|
1507
|
+
core:in-scheme billing-vocab:cancel-reason ;
|
|
1508
|
+
core:notation "workspace-closing" ;
|
|
1509
|
+
core:label "workspace-closing"@en ;
|
|
1510
|
+
core:definition "`desk` asks for the cancel because the workspace closes."@en ;
|
|
1511
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1512
|
+
core:hint "The workspace closes, so its subscription is cancelled."@en ;
|
|
1513
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
# cancel status
|
|
1517
|
+
|
|
1518
|
+
billing-vocab:cancel-status a owl:NamedIndividual , core:concept-scheme ;
|
|
1519
|
+
core:label "cancel status"@en ;
|
|
1520
|
+
core:definition "The result of a cancel request"@en ;
|
|
1521
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1522
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1523
|
+
core:owner core:billing ;
|
|
1524
|
+
core:division core-vocab:division-disjoint-closed .
|
|
1525
|
+
|
|
1526
|
+
billing-vocab:cancel-status-cancelling a owl:NamedIndividual , core:concept ;
|
|
1527
|
+
core:in-scheme billing-vocab:cancel-status ;
|
|
1528
|
+
core:notation "cancelling" ;
|
|
1529
|
+
core:label "cancelling"@en ;
|
|
1530
|
+
core:definition "The subscription ends at the end of its subscription period."@en ;
|
|
1531
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1532
|
+
core:hint "The subscription stays until the end of its paid period, then it ends."@en ;
|
|
1533
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1534
|
+
|
|
1535
|
+
billing-vocab:cancel-status-none a owl:NamedIndividual , core:concept ;
|
|
1536
|
+
core:in-scheme billing-vocab:cancel-status ;
|
|
1537
|
+
core:notation "none" ;
|
|
1538
|
+
core:label "none"@en ;
|
|
1539
|
+
core:definition "The workspace has no subscription that is not `ended`."@en ;
|
|
1540
|
+
core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Plans and payments" ;
|
|
1541
|
+
core:hint "The workspace has no subscription to cancel."@en ;
|
|
1542
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1543
|
+
|
|
1544
|
+
[] a owl:AllDifferent ;
|
|
1545
|
+
owl:distinctMembers ( billing-vocab:cancel-status-cancelling billing-vocab:cancel-status-none ) .
|
|
1546
|
+
|
|
1547
|
+
# threshold percent
|
|
1548
|
+
|
|
1549
|
+
billing-vocab:threshold-percent a owl:NamedIndividual , core:concept-scheme ;
|
|
1550
|
+
core:label "threshold percent"@en ;
|
|
1551
|
+
core:definition "The percent of the monthly limit at which `billing` sends `limit.threshold`"@en ;
|
|
1552
|
+
core:source "docs/specs/billing/docs/internal/decisions/0007-monthly-limit.md#Decision" ;
|
|
1553
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1554
|
+
core:owner core:billing ;
|
|
1555
|
+
core:division core-vocab:division-disjoint-closed .
|
|
1556
|
+
|
|
1557
|
+
billing-vocab:threshold-percent-80 a owl:NamedIndividual , core:concept ;
|
|
1558
|
+
core:in-scheme billing-vocab:threshold-percent ;
|
|
1559
|
+
core:notation "80" ;
|
|
1560
|
+
core:label "80"@en ;
|
|
1561
|
+
core:definition "The month charges plus the held credits reach 80% of the monthly limit."@en ;
|
|
1562
|
+
core:hint "You used 80% of the monthly limit."@en ;
|
|
1563
|
+
core:source "docs/specs/billing/docs/internal/decisions/0007-monthly-limit.md#Decision" ;
|
|
1564
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1565
|
+
|
|
1566
|
+
billing-vocab:threshold-percent-100 a owl:NamedIndividual , core:concept ;
|
|
1567
|
+
core:in-scheme billing-vocab:threshold-percent ;
|
|
1568
|
+
core:notation "100" ;
|
|
1569
|
+
core:label "100"@en ;
|
|
1570
|
+
core:definition "The month charges plus the held credits reach 100% of the monthly limit."@en ;
|
|
1571
|
+
core:hint "You used all of the monthly limit."@en ;
|
|
1572
|
+
core:source "docs/specs/billing/docs/internal/decisions/0007-monthly-limit.md#Decision" ;
|
|
1573
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1574
|
+
|
|
1575
|
+
[] a owl:AllDifferent ;
|
|
1576
|
+
owl:distinctMembers ( billing-vocab:threshold-percent-80 billing-vocab:threshold-percent-100 ) .
|
|
1577
|
+
|
|
1578
|
+
# Cost source (platform 0032).
|
|
1579
|
+
|
|
1580
|
+
billing-vocab:cost-source a owl:NamedIndividual , core:concept-scheme ;
|
|
1581
|
+
core:label "cost source"@en ;
|
|
1582
|
+
core:definition "Who pays the cost of a paid call: the workspace after its sign-up, or the organization of the platform before it"@en ;
|
|
1583
|
+
core:division core-vocab:division-disjoint-closed ;
|
|
1584
|
+
core:source "docs/decisions/0032-welcome-sign-up.md#Paid work before sign-in" ;
|
|
1585
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
|
|
1586
|
+
core:owner core:billing .
|
|
1587
|
+
|
|
1588
|
+
billing-vocab:cost-source-post-signup a owl:NamedIndividual , core:concept ;
|
|
1589
|
+
core:in-scheme billing-vocab:cost-source ;
|
|
1590
|
+
core:notation "post-signup" ;
|
|
1591
|
+
core:label "post-signup"@en ;
|
|
1592
|
+
core:definition "A workspace pays the cost of the call with its credits, through a hold of `billing`."@en ;
|
|
1593
|
+
core:source "docs/decisions/0032-welcome-sign-up.md#Paid work before sign-in" ;
|
|
1594
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1595
|
+
|
|
1596
|
+
billing-vocab:cost-source-pre-signup a owl:NamedIndividual , core:concept ;
|
|
1597
|
+
core:in-scheme billing-vocab:cost-source ;
|
|
1598
|
+
core:notation "pre-signup" ;
|
|
1599
|
+
core:label "pre-signup"@en ;
|
|
1600
|
+
core:definition "The organization of the platform pays the cost of a paid call that a person made before sign-up. The call belongs to an onboarding session, and the cost links to the new workspace at its complete step."@en ;
|
|
1601
|
+
core:hint "The platform pays for a call that a person made before sign-up."@en ;
|
|
1602
|
+
core:source "docs/decisions/0032-welcome-sign-up.md#Paid work before sign-in" ;
|
|
1603
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
|
|
1604
|
+
|
|
1605
|
+
[] a owl:AllDifferent ;
|
|
1606
|
+
owl:distinctMembers ( billing-vocab:cost-source-post-signup billing-vocab:cost-source-pre-signup ) .
|