@quickpipeaiab/domain 0.11.0 → 0.13.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/vocab/auth.ttl CHANGED
@@ -5,8 +5,8 @@
5
5
 
6
6
  <https://id.quickpipe.ai/domain/vocab/auth>
7
7
  a owl:Ontology ;
8
- owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/vocab/auth> ;
9
- owl:versionInfo "0.11.0" ;
8
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/vocab/auth> ;
9
+ owl:versionInfo "0.13.0" ;
10
10
  core:title "QuickPipe domain model: concept schemes of auth"@en ;
11
11
  core:preferred-prefix "auth-vocab" ;
12
12
  core:preferred-namespace "https://id.quickpipe.ai/domain/vocab/auth#" .
@@ -25,7 +25,8 @@ auth-vocab:session-status-active a owl:NamedIndividual , core:concept ;
25
25
  core:label "active"@en ;
26
26
  core:definition "The user is signed in, and the refresh token of the session gets new user tokens."@en ;
27
27
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
28
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
28
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
29
+ core:owner core:auth .
29
30
 
30
31
  auth-vocab:session-status-ended a owl:NamedIndividual , core:concept ;
31
32
  core:in-scheme auth-vocab:session-status ;
@@ -33,13 +34,14 @@ auth-vocab:session-status-ended a owl:NamedIndividual , core:concept ;
33
34
  core:label "ended"@en ;
34
35
  core:definition "The user signed out, or the refresh token had no use for 30 days."@en ;
35
36
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
36
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
37
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
38
+ core:owner core:auth .
37
39
 
38
40
  [] a owl:AllDifferent ;
39
41
  owl:distinctMembers ( auth-vocab:session-status-active auth-vocab:session-status-ended ) .
40
42
 
41
43
  auth-vocab:token-kind a owl:NamedIndividual , core:concept-scheme ;
42
- core:label "token kind of auth"@en ;
44
+ core:label "token kind"@en ;
43
45
  core:definition "How `auth` gave an access token"@en ;
44
46
  core:division core-vocab:division-disjoint-closed ;
45
47
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
@@ -52,7 +54,8 @@ auth-vocab:token-kind-user a owl:NamedIndividual , core:concept ;
52
54
  core:label "user"@en ;
53
55
  core:definition "An access token from an authorization code with PKCE, or from a refresh. It lives 5 minutes."@en ;
54
56
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
55
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
57
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
58
+ core:owner core:auth .
56
59
 
57
60
  auth-vocab:token-kind-machine a owl:NamedIndividual , core:concept ;
58
61
  core:in-scheme auth-vocab:token-kind ;
@@ -60,7 +63,8 @@ auth-vocab:token-kind-machine a owl:NamedIndividual , core:concept ;
60
63
  core:label "machine"@en ;
61
64
  core:definition "An access token from client credentials. It lives 15 minutes."@en ;
62
65
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
63
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
66
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
67
+ core:owner core:auth .
64
68
 
65
69
  auth-vocab:token-kind-exchanged a owl:NamedIndividual , core:concept ;
66
70
  core:in-scheme auth-vocab:token-kind ;
@@ -68,7 +72,8 @@ auth-vocab:token-kind-exchanged a owl:NamedIndividual , core:concept ;
68
72
  core:label "exchanged"@en ;
69
73
  core:definition "An access token from a token exchange. Its life depends on its exchange kind."@en ;
70
74
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
71
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
75
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
76
+ core:owner core:auth .
72
77
 
73
78
  auth-vocab:token-kind-agent-key a owl:NamedIndividual , core:concept ;
74
79
  core:in-scheme auth-vocab:token-kind ;
@@ -76,7 +81,8 @@ auth-vocab:token-kind-agent-key a owl:NamedIndividual , core:concept ;
76
81
  core:label "agent-key"@en ;
77
82
  core:definition "An access token from the client credentials of an agent key credential. It lives 15 minutes."@en ;
78
83
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
79
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
84
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
85
+ core:owner core:auth .
80
86
 
81
87
  [] a owl:AllDifferent ;
82
88
  owl:distinctMembers ( auth-vocab:token-kind-user auth-vocab:token-kind-machine auth-vocab:token-kind-exchanged auth-vocab:token-kind-agent-key ) .
@@ -95,7 +101,8 @@ auth-vocab:exchange-kind-user-call a owl:NamedIndividual , core:concept ;
95
101
  core:label "user-call"@en ;
96
102
  core:definition "`desk` acts for the user. The token lives 2 minutes."@en ;
97
103
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
98
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
104
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
105
+ core:owner core:auth .
99
106
 
100
107
  auth-vocab:exchange-kind-run a owl:NamedIndividual , core:concept ;
101
108
  core:in-scheme auth-vocab:exchange-kind ;
@@ -103,7 +110,8 @@ auth-vocab:exchange-kind-run a owl:NamedIndividual , core:concept ;
103
110
  core:label "run"@en ;
104
111
  core:definition "`kai-agent` acts for the user in one run. The token lives 15 minutes or less."@en ;
105
112
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
106
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
113
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
114
+ core:owner core:auth .
107
115
 
108
116
  auth-vocab:exchange-kind-impersonation a owl:NamedIndividual , core:concept ;
109
117
  core:in-scheme auth-vocab:exchange-kind ;
@@ -111,7 +119,8 @@ auth-vocab:exchange-kind-impersonation a owl:NamedIndividual , core:concept ;
111
119
  core:label "impersonation"@en ;
112
120
  core:definition "A staff user acts for the user. The token lives 1 hour or less."@en ;
113
121
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
114
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
122
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
123
+ core:owner core:auth .
115
124
 
116
125
  auth-vocab:exchange-kind-subscription a owl:NamedIndividual , core:concept ;
117
126
  core:in-scheme auth-vocab:exchange-kind ;
@@ -119,7 +128,8 @@ auth-vocab:exchange-kind-subscription a owl:NamedIndividual , core:concept ;
119
128
  core:label "subscription"@en ;
120
129
  core:definition "`kai-agent` acts for itself in one run that a webhook starts and that has no user. The token lives 15 minutes or less."@en ;
121
130
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
122
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
131
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
132
+ core:owner core:auth .
123
133
 
124
134
  auth-vocab:exchange-kind-flow a owl:NamedIndividual , core:concept ;
125
135
  core:in-scheme auth-vocab:exchange-kind ;
@@ -127,7 +137,8 @@ auth-vocab:exchange-kind-flow a owl:NamedIndividual , core:concept ;
127
137
  core:label "flow"@en ;
128
138
  core:definition "`desk` acts for the user in one action of a Koa flow, when the user may not be present. The token lives 2 minutes."@en ;
129
139
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
130
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
140
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
141
+ core:owner core:auth .
131
142
 
132
143
  [] a owl:AllDifferent ;
133
144
  owl:distinctMembers ( auth-vocab:exchange-kind-user-call auth-vocab:exchange-kind-run auth-vocab:exchange-kind-subscription auth-vocab:exchange-kind-impersonation auth-vocab:exchange-kind-flow ) .
@@ -146,7 +157,8 @@ auth-vocab:scope-kind-plain a owl:NamedIndividual , core:concept ;
146
157
  core:label "plain"@en ;
147
158
  core:definition "The machine client acts for itself. A call for one workspace names the workspace as a parameter."@en ;
148
159
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
149
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
160
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
161
+ core:owner core:auth .
150
162
 
151
163
  auth-vocab:scope-kind-act-for-workspace a owl:NamedIndividual , core:concept ;
152
164
  core:in-scheme auth-vocab:scope-kind ;
@@ -154,7 +166,8 @@ auth-vocab:scope-kind-act-for-workspace a owl:NamedIndividual , core:concept ;
154
166
  core:label "act-for-workspace"@en ;
155
167
  core:definition "The machine client acts for a user of a workspace that the call names. Only `desk` has these scopes. The one exception is `kai-agent`, only for a run with no user action."@en ;
156
168
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
157
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
169
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
170
+ core:owner core:auth .
158
171
 
159
172
  [] a owl:AllDifferent ;
160
173
  owl:distinctMembers ( auth-vocab:scope-kind-plain auth-vocab:scope-kind-act-for-workspace ) .
@@ -173,7 +186,8 @@ auth-vocab:client-trust-verified a owl:NamedIndividual , core:concept ;
173
186
  core:label "verified"@en ;
174
187
  core:definition "A staff user checked the name of the OAuth client."@en ;
175
188
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
176
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
189
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
190
+ core:owner core:auth .
177
191
 
178
192
  auth-vocab:client-trust-unverified a owl:NamedIndividual , core:concept ;
179
193
  core:in-scheme auth-vocab:client-trust ;
@@ -181,7 +195,77 @@ auth-vocab:client-trust-unverified a owl:NamedIndividual , core:concept ;
181
195
  core:label "unverified"@en ;
182
196
  core:definition "No staff user checked the name of the OAuth client. The consent screen shows a warning."@en ;
183
197
  core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
184
- core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> .
198
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
199
+ core:owner core:auth .
185
200
 
186
201
  [] a owl:AllDifferent ;
187
202
  owl:distinctMembers ( auth-vocab:client-trust-verified auth-vocab:client-trust-unverified ) .
203
+
204
+ auth-vocab:sign-in-method a owl:NamedIndividual , core:concept-scheme ;
205
+ core:label "sign-in method"@en ;
206
+ core:definition "A method with which a user proves who the user is at sign-in"@en ;
207
+ core:division core-vocab:division-disjoint-open ;
208
+ core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Operation of `auth`" ;
209
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
210
+ core:owner core:auth .
211
+
212
+ auth-vocab:sign-in-method-google a owl:NamedIndividual , core:concept ;
213
+ core:in-scheme auth-vocab:sign-in-method ;
214
+ core:notation "google" ;
215
+ core:label "google"@en ;
216
+ core:definition "The user signs in with a Google account. `Zitadel` has it as an identity provider."@en ;
217
+ core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Operation of `auth`" ;
218
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
219
+ core:owner core:auth .
220
+
221
+ auth-vocab:sign-in-method-magic-link a owl:NamedIndividual , core:concept ;
222
+ core:in-scheme auth-vocab:sign-in-method ;
223
+ core:notation "magic-link" ;
224
+ core:label "magic-link"@en ;
225
+ core:definition "The user signs in with a link that `auth` sends to the email address of the user."@en ;
226
+ core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Operation of `auth`" ;
227
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
228
+ core:owner core:auth .
229
+
230
+ auth-vocab:sign-in-method-linkedin a owl:NamedIndividual , core:concept ;
231
+ core:in-scheme auth-vocab:sign-in-method ;
232
+ core:notation "linkedin" ;
233
+ core:label "linkedin"@en ;
234
+ core:definition "The user signs in with a LinkedIn account."@en ;
235
+ core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Operation of `auth`" ;
236
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
237
+ core:owner core:auth .
238
+
239
+ [] a owl:AllDifferent ;
240
+ owl:distinctMembers ( auth-vocab:sign-in-method-google auth-vocab:sign-in-method-magic-link auth-vocab:sign-in-method-linkedin ) .
241
+
242
+ auth-vocab:second-factor-requirement a owl:NamedIndividual , core:concept-scheme ;
243
+ core:label "second factor requirement"@en ;
244
+ core:definition "The rule of the login policy of the organization of a workspace at a password sign-in"@en ;
245
+ core:division core-vocab:division-disjoint-closed ;
246
+ core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Operation of `auth`" ;
247
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
248
+ core:owner core:auth .
249
+
250
+ auth-vocab:second-factor-requirement-required a owl:NamedIndividual , core:concept ;
251
+ core:in-scheme auth-vocab:second-factor-requirement ;
252
+ core:notation "required" ;
253
+ core:label "required"@en ;
254
+ core:definition "A password sign-in asks a member with no registered second factor to add one, and then to give it. The first value of a workspace."@en ;
255
+ core:hint "Each member adds a second factor at the first password sign-in, and gives it at each sign-in."@en ;
256
+ core:source "docs/specs/auth/docs/internal/decisions/0017-second-factor-of-a-workspace.md#Decision" ;
257
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
258
+ core:owner core:auth .
259
+
260
+ auth-vocab:second-factor-requirement-optional a owl:NamedIndividual , core:concept ;
261
+ core:in-scheme auth-vocab:second-factor-requirement ;
262
+ core:notation "optional" ;
263
+ core:label "optional"@en ;
264
+ core:definition "The password sign-in of a member with no registered second factor finishes with no second factor step. A member with a registered second factor still gives it."@en ;
265
+ core:hint "A member with no second factor signs in with the password only. A member with a second factor still gives it."@en ;
266
+ core:source "docs/specs/auth/docs/internal/decisions/0017-second-factor-of-a-workspace.md#Decision" ;
267
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
268
+ core:owner core:auth .
269
+
270
+ [] a owl:AllDifferent ;
271
+ owl:distinctMembers ( auth-vocab:second-factor-requirement-required auth-vocab:second-factor-requirement-optional ) .
package/vocab/billing.ttl CHANGED
@@ -11,8 +11,8 @@
11
11
  @prefix sh: <http://www.w3.org/ns/shacl#> .
12
12
 
13
13
  <https://id.quickpipe.ai/domain/vocab/billing> a owl:Ontology ;
14
- owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/vocab/billing> ;
15
- owl:versionInfo "0.11.0" ;
14
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/vocab/billing> ;
15
+ owl:versionInfo "0.13.0" ;
16
16
  core:title "QuickPipe domain model: concept schemes of billing"@en ;
17
17
  core:preferred-prefix "billing-vocab" ;
18
18
  core:preferred-namespace "https://id.quickpipe.ai/domain/vocab/billing#" .
@@ -769,126 +769,214 @@ billing-vocab:setting-name a owl:NamedIndividual , core:concept-scheme ;
769
769
 
770
770
  billing-vocab:setting-name-rate a owl:NamedIndividual , core:concept ;
771
771
  core:in-scheme billing-vocab:setting-name ;
772
- core:notation "Rate" ;
773
- core:label "Rate"@en ;
772
+ core:notation "rate" ;
773
+ core:label "rate"@en ;
774
774
  core:definition "The setting name of the class rate."@en ;
775
775
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
776
776
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
777
777
 
778
778
  billing-vocab:setting-name-monthly-limit a owl:NamedIndividual , core:concept ;
779
779
  core:in-scheme billing-vocab:setting-name ;
780
- core:notation "Monthly limit" ;
781
- core:label "Monthly limit"@en ;
780
+ core:notation "monthly-limit" ;
781
+ core:label "monthly-limit"@en ;
782
782
  core:definition "The setting name of the class monthly limit."@en ;
783
783
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
784
784
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
785
785
 
786
786
  billing-vocab:setting-name-low-balance-threshold a owl:NamedIndividual , core:concept ;
787
787
  core:in-scheme billing-vocab:setting-name ;
788
- core:notation "Low-balance threshold" ;
789
- core:label "Low-balance threshold"@en ;
788
+ core:notation "low-balance-threshold" ;
789
+ core:label "low-balance-threshold"@en ;
790
790
  core:definition "The setting name of the class low-balance threshold."@en ;
791
791
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
792
792
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
793
793
 
794
794
  billing-vocab:setting-name-automatic-top-up a owl:NamedIndividual , core:concept ;
795
795
  core:in-scheme billing-vocab:setting-name ;
796
- core:notation "Automatic top-up" ;
797
- core:label "Automatic top-up"@en ;
796
+ core:notation "automatic-top-up" ;
797
+ core:label "automatic-top-up"@en ;
798
798
  core:definition "The setting name of the class automatic top-up."@en ;
799
799
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
800
800
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
801
801
 
802
802
  billing-vocab:setting-name-standing-hold-size a owl:NamedIndividual , core:concept ;
803
803
  core:in-scheme billing-vocab:setting-name ;
804
- core:notation "Standing hold size" ;
805
- core:label "Standing hold size"@en ;
804
+ core:notation "standing-hold-size" ;
805
+ core:label "standing-hold-size"@en ;
806
806
  core:definition "The setting name of the class standing hold size."@en ;
807
807
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
808
808
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
809
809
 
810
810
  billing-vocab:setting-name-trial-grant-amount a owl:NamedIndividual , core:concept ;
811
811
  core:in-scheme billing-vocab:setting-name ;
812
- core:notation "Trial grant amount" ;
813
- core:label "Trial grant amount"@en ;
812
+ core:notation "trial-grant-amount" ;
813
+ core:label "trial-grant-amount"@en ;
814
814
  core:definition "The setting name of the class trial grant amount."@en ;
815
815
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
816
816
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
817
817
 
818
818
  billing-vocab:setting-name-trial-duration a owl:NamedIndividual , core:concept ;
819
819
  core:in-scheme billing-vocab:setting-name ;
820
- core:notation "Trial duration" ;
821
- core:label "Trial duration"@en ;
820
+ core:notation "trial-duration" ;
821
+ core:label "trial-duration"@en ;
822
822
  core:definition "The setting name of the class trial duration."@en ;
823
823
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
824
824
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
825
825
 
826
826
  billing-vocab:setting-name-retry-days a owl:NamedIndividual , core:concept ;
827
827
  core:in-scheme billing-vocab:setting-name ;
828
- core:notation "Retry days" ;
829
- core:label "Retry days"@en ;
828
+ core:notation "retry-days" ;
829
+ core:label "retry-days"@en ;
830
830
  core:definition "The setting name of the class retry days."@en ;
831
831
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
832
832
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
833
833
 
834
834
  billing-vocab:setting-name-default-quotas a owl:NamedIndividual , core:concept ;
835
835
  core:in-scheme billing-vocab:setting-name ;
836
- core:notation "Default quotas" ;
837
- core:label "Default quotas"@en ;
836
+ core:notation "default-quotas" ;
837
+ core:label "default-quotas"@en ;
838
838
  core:definition "The setting name of the class default quotas."@en ;
839
839
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
840
840
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
841
841
 
842
842
  billing-vocab:setting-name-support-grant-maximum a owl:NamedIndividual , core:concept ;
843
843
  core:in-scheme billing-vocab:setting-name ;
844
- core:notation "Support grant maximum" ;
845
- core:label "Support grant maximum"@en ;
844
+ core:notation "support-grant-maximum" ;
845
+ core:label "support-grant-maximum"@en ;
846
846
  core:definition "The setting name of the class support grant maximum."@en ;
847
847
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
848
848
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
849
849
 
850
850
  billing-vocab:setting-name-expiry-notice-days a owl:NamedIndividual , core:concept ;
851
851
  core:in-scheme billing-vocab:setting-name ;
852
- core:notation "Expiry notice days" ;
853
- core:label "Expiry notice days"@en ;
852
+ core:notation "expiry-notice-days" ;
853
+ core:label "expiry-notice-days"@en ;
854
854
  core:definition "The setting name of the class expiry notice days."@en ;
855
855
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
856
856
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
857
857
 
858
858
  billing-vocab:setting-name-discount-maximum a owl:NamedIndividual , core:concept ;
859
859
  core:in-scheme billing-vocab:setting-name ;
860
- core:notation "Discount maximum" ;
861
- core:label "Discount maximum"@en ;
860
+ core:notation "discount-maximum" ;
861
+ core:label "discount-maximum"@en ;
862
862
  core:definition "The setting name of the class discount maximum."@en ;
863
863
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
864
864
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
865
865
 
866
866
  billing-vocab:setting-name-sample-maximum a owl:NamedIndividual , core:concept ;
867
867
  core:in-scheme billing-vocab:setting-name ;
868
- core:notation "Sample maximum" ;
869
- core:label "Sample maximum"@en ;
868
+ core:notation "sample-maximum" ;
869
+ core:label "sample-maximum"@en ;
870
870
  core:definition "The setting name of the class sample maximum."@en ;
871
871
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
872
872
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
873
873
 
874
874
  billing-vocab:setting-name-default-plan-limits a owl:NamedIndividual , core:concept ;
875
875
  core:in-scheme billing-vocab:setting-name ;
876
- core:notation "Default plan limits" ;
877
- core:label "Default plan limits"@en ;
876
+ core:notation "default-plan-limits" ;
877
+ core:label "default-plan-limits"@en ;
878
878
  core:definition "The setting name of the class default plan limits."@en ;
879
879
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
880
880
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
881
881
 
882
882
  billing-vocab:setting-name-plan-limit-override a owl:NamedIndividual , core:concept ;
883
883
  core:in-scheme billing-vocab:setting-name ;
884
- core:notation "Plan limit override" ;
885
- core:label "Plan limit override"@en ;
884
+ core:notation "plan-limit-override" ;
885
+ core:label "plan-limit-override"@en ;
886
886
  core:definition "The setting name of the class plan limit override."@en ;
887
887
  core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
888
888
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
889
889
 
890
+ billing-vocab:setting-name-monthly-limit a owl:NamedIndividual , core:concept ;
891
+ core:in-scheme billing-vocab:setting-name ;
892
+ core:notation "monthly-limit" ;
893
+ core:label "monthly-limit"@en ;
894
+ core:definition "The setting name of the largest sum of the month charges and the held credits that one workspace can have."@en ;
895
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
896
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
897
+
898
+ billing-vocab:setting-name-low-balance-threshold a owl:NamedIndividual , core:concept ;
899
+ core:in-scheme billing-vocab:setting-name ;
900
+ core:notation "low-balance-threshold" ;
901
+ core:label "low-balance-threshold"@en ;
902
+ core:definition "The setting name of the available credits below which `billing` sends `balance.low`."@en ;
903
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
904
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
905
+
906
+ billing-vocab:setting-name-standing-hold-size a owl:NamedIndividual , core:concept ;
907
+ core:in-scheme billing-vocab:setting-name ;
908
+ core:notation "standing-hold-size" ;
909
+ core:label "standing-hold-size"@en ;
910
+ core:definition "The setting name of the amount of a hold of kind `standing`."@en ;
911
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
912
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
913
+
914
+ billing-vocab:setting-name-trial-grant-amount a owl:NamedIndividual , core:concept ;
915
+ core:in-scheme billing-vocab:setting-name ;
916
+ core:notation "trial-grant-amount" ;
917
+ core:label "trial-grant-amount"@en ;
918
+ core:definition "The setting name of the credits of the grant of kind `trial`."@en ;
919
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
920
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
921
+
922
+ billing-vocab:setting-name-trial-duration a owl:NamedIndividual , core:concept ;
923
+ core:in-scheme billing-vocab:setting-name ;
924
+ core:notation "trial-duration" ;
925
+ core:label "trial-duration"@en ;
926
+ core:definition "The setting name of the time from the grant of kind `trial` to its expiry."@en ;
927
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
928
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
929
+
930
+ billing-vocab:setting-name-retry-days a owl:NamedIndividual , core:concept ;
931
+ core:in-scheme billing-vocab:setting-name ;
932
+ core:notation "retry-days" ;
933
+ core:label "retry-days"@en ;
934
+ core:definition "The setting name of the days in which Stripe tries a failed payment of a subscription again."@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
+
938
+ billing-vocab:setting-name-expiry-notice-days a owl:NamedIndividual , core:concept ;
939
+ core:in-scheme billing-vocab:setting-name ;
940
+ core:notation "expiry-notice-days" ;
941
+ core:label "expiry-notice-days"@en ;
942
+ core:definition "The setting name of the days before the expiry of the part `plan` at which `billing` sends `credits.expiring`."@en ;
943
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
944
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
945
+
946
+ billing-vocab:setting-name-discount-maximum a owl:NamedIndividual , core:concept ;
947
+ core:in-scheme billing-vocab:setting-name ;
948
+ core:notation "discount-maximum" ;
949
+ core:label "discount-maximum"@en ;
950
+ core:definition "The setting name of the largest value of a discount that one staff user can make active."@en ;
951
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
952
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
953
+
954
+ billing-vocab:setting-name-support-grant-maximum a owl:NamedIndividual , core:concept ;
955
+ core:in-scheme billing-vocab:setting-name ;
956
+ core:notation "support-grant-maximum" ;
957
+ core:label "support-grant-maximum"@en ;
958
+ core:definition "The setting name of the largest amount of one goodwill grant: a grant of kind `admin` that a staff user with the access-role `support` makes."@en ;
959
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
960
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
961
+
962
+ billing-vocab:setting-name-sample-maximum a owl:NamedIndividual , core:concept ;
963
+ core:in-scheme billing-vocab:setting-name ;
964
+ core:notation "sample-maximum" ;
965
+ core:label "sample-maximum"@en ;
966
+ core:definition "The setting name of the largest number of absorbed holds of one workspace in one calendar day in UTC, as [0031](0031-absorbed-holds.md) tells."@en ;
967
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Settings and access" ;
968
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
969
+
970
+ billing-vocab:setting-name-discount-approvals a owl:NamedIndividual , core:concept ;
971
+ core:in-scheme billing-vocab:setting-name ;
972
+ core:notation "discount-approvals" ;
973
+ core:label "discount-approvals"@en ;
974
+ core:definition "The setting name of the number of staff users with the access-role `finance` that must approve a discount, as [0035](0035-promotions.md) item 14 tells."@en ;
975
+ core:source "docs/specs/billing/docs/internal/decisions/0035-promotions.md#Decision" ;
976
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
977
+
890
978
  [] 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 ) .
979
+ 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 billing-vocab:setting-name-monthly-limit billing-vocab:setting-name-low-balance-threshold 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-expiry-notice-days billing-vocab:setting-name-discount-maximum billing-vocab:setting-name-support-grant-maximum billing-vocab:setting-name-sample-maximum billing-vocab:setting-name-discount-approvals ) .
892
980
 
893
981
  # key scope
894
982
 
@@ -1581,7 +1669,7 @@ billing-vocab:cost-source a owl:NamedIndividual , core:concept-scheme ;
1581
1669
  core:label "cost source"@en ;
1582
1670
  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
1671
  core:division core-vocab:division-disjoint-closed ;
1584
- core:source "docs/decisions/0032-welcome-sign-up.md#Paid work before sign-in" ;
1672
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
1585
1673
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
1586
1674
  core:owner core:billing .
1587
1675
 
@@ -1590,7 +1678,7 @@ billing-vocab:cost-source-post-signup a owl:NamedIndividual , core:concept ;
1590
1678
  core:notation "post-signup" ;
1591
1679
  core:label "post-signup"@en ;
1592
1680
  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" ;
1681
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
1594
1682
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
1595
1683
 
1596
1684
  billing-vocab:cost-source-pre-signup a owl:NamedIndividual , core:concept ;
@@ -1599,8 +1687,37 @@ billing-vocab:cost-source-pre-signup a owl:NamedIndividual , core:concept ;
1599
1687
  core:label "pre-signup"@en ;
1600
1688
  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
1689
  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" ;
1690
+ core:source "docs/specs/billing/docs/internal/decisions/0003-concepts.md#Spenders and holds" ;
1603
1691
  core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
1604
1692
 
1605
1693
  [] a owl:AllDifferent ;
1606
1694
  owl:distinctMembers ( billing-vocab:cost-source-post-signup billing-vocab:cost-source-pre-signup ) .
1695
+
1696
+ # buyer kind
1697
+
1698
+ billing-vocab:buyer-kind a owl:NamedIndividual , core:concept-scheme ;
1699
+ core:label "buyer kind"@en ;
1700
+ core:definition "The legal kind of the payer of a workspace. A buyer with a VAT number is `business`. Each other buyer is `consumer`."@en ;
1701
+ core:source "docs/specs/billing/docs/internal/decisions/0025-currency-and-buyers.md#Buyers" ;
1702
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> ;
1703
+ core:owner core:billing ;
1704
+ core:division core-vocab:division-disjoint-closed .
1705
+
1706
+ billing-vocab:buyer-kind-business a owl:NamedIndividual , core:concept ;
1707
+ core:in-scheme billing-vocab:buyer-kind ;
1708
+ core:notation "business" ;
1709
+ core:label "business"@en ;
1710
+ core:definition "A buyer with a VAT number."@en ;
1711
+ core:source "docs/specs/billing/docs/internal/decisions/0025-currency-and-buyers.md#Buyers" ;
1712
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
1713
+
1714
+ billing-vocab:buyer-kind-consumer a owl:NamedIndividual , core:concept ;
1715
+ core:in-scheme billing-vocab:buyer-kind ;
1716
+ core:notation "consumer" ;
1717
+ core:label "consumer"@en ;
1718
+ core:definition "A buyer with no VAT number."@en ;
1719
+ core:source "docs/specs/billing/docs/internal/decisions/0025-currency-and-buyers.md#Buyers" ;
1720
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/billing> .
1721
+
1722
+ [] a owl:AllDifferent ;
1723
+ owl:distinctMembers ( billing-vocab:buyer-kind-business billing-vocab:buyer-kind-consumer ) .
@@ -6,8 +6,8 @@
6
6
 
7
7
  <https://id.quickpipe.ai/domain/vocab/campaigns>
8
8
  a owl:Ontology ;
9
- owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/vocab/campaigns> ;
10
- owl:versionInfo "0.11.0" ;
9
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/vocab/campaigns> ;
10
+ owl:versionInfo "0.13.0" ;
11
11
  core:title "QuickPipe domain model: concept schemes of campaigns"@en .
12
12
 
13
13
  # Status of a campaign and of a cadence.
@@ -244,6 +244,14 @@ campaigns-vocab:end-reason-campaign-archived a owl:NamedIndividual , core:concep
244
244
  core:source "docs/specs/outreach/docs/internal/decisions/0003-concepts.md#Enrollments" ;
245
245
  core:defined-by <https://id.quickpipe.ai/domain/vocab/campaigns> .
246
246
 
247
+ campaigns-vocab:end-reason-sender-released a owl:NamedIndividual , core:concept ;
248
+ core:in-scheme campaigns-vocab:end-reason ;
249
+ core:notation "sender-released" ;
250
+ core:label "sender-released"@en ;
251
+ core:definition "The LinkedIn sender of the enrollment is released, and a step of the enrollment waits for it"@en ;
252
+ core:source "docs/specs/outreach/docs/internal/decisions/0003-concepts.md#Enrollments" ;
253
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/campaigns> .
254
+
247
255
  campaigns-vocab:end-reason-merged a owl:NamedIndividual , core:concept ;
248
256
  core:in-scheme campaigns-vocab:end-reason ;
249
257
  core:notation "merged" ;
@@ -253,7 +261,7 @@ campaigns-vocab:end-reason-merged a owl:NamedIndividual , core:concept ;
253
261
  core:defined-by <https://id.quickpipe.ai/domain/vocab/campaigns> .
254
262
 
255
263
  [] a owl:AllDifferent ;
256
- owl:distinctMembers ( campaigns-vocab:end-reason-completed campaigns-vocab:end-reason-replied campaigns-vocab:end-reason-bounced campaigns-vocab:end-reason-unsubscribed campaigns-vocab:end-reason-suppressed campaigns-vocab:end-reason-stopped campaigns-vocab:end-reason-not-owner campaigns-vocab:end-reason-campaign-archived campaigns-vocab:end-reason-merged ) .
264
+ owl:distinctMembers ( campaigns-vocab:end-reason-completed campaigns-vocab:end-reason-replied campaigns-vocab:end-reason-bounced campaigns-vocab:end-reason-unsubscribed campaigns-vocab:end-reason-suppressed campaigns-vocab:end-reason-stopped campaigns-vocab:end-reason-not-owner campaigns-vocab:end-reason-campaign-archived campaigns-vocab:end-reason-merged campaigns-vocab:end-reason-sender-released ) .
257
265
 
258
266
  campaigns-vocab:refusal-reason a owl:NamedIndividual , core:concept-scheme ;
259
267
  core:label "refusal reason"@en ;
@@ -287,6 +295,14 @@ campaigns-vocab:refusal-reason-suppressed a owl:NamedIndividual , core:concept ;
287
295
  core:source "docs/specs/outreach/docs/internal/decisions/0003-concepts.md#Enrollments" ;
288
296
  core:defined-by <https://id.quickpipe.ai/domain/vocab/campaigns> .
289
297
 
298
+ campaigns-vocab:refusal-reason-weekly-cap a owl:NamedIndividual , core:concept ;
299
+ core:in-scheme campaigns-vocab:refusal-reason ;
300
+ core:notation "weekly-cap" ;
301
+ core:label "weekly-cap"@en ;
302
+ core:definition "The lead record already got the weekly cap of messages, so a send now has no room"@en ;
303
+ core:source "docs/specs/outreach/docs/internal/decisions/0003-concepts.md#Enrollments" ;
304
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/campaigns> .
305
+
290
306
  campaigns-vocab:refusal-reason-not-active a owl:NamedIndividual , core:concept ;
291
307
  core:in-scheme campaigns-vocab:refusal-reason ;
292
308
  core:notation "not-active" ;
@@ -295,8 +311,24 @@ campaigns-vocab:refusal-reason-not-active a owl:NamedIndividual , core:concept ;
295
311
  core:source "docs/specs/outreach/docs/internal/decisions/0003-concepts.md#Enrollments" ;
296
312
  core:defined-by <https://id.quickpipe.ai/domain/vocab/campaigns> .
297
313
 
314
+ campaigns-vocab:refusal-reason-bounced a owl:NamedIndividual , core:concept ;
315
+ core:in-scheme campaigns-vocab:refusal-reason ;
316
+ core:notation "bounced" ;
317
+ core:label "bounced"@en ;
318
+ core:definition "The lead record has a stop with the verb `bounced`, so a new enrollment has no room"@en ;
319
+ core:source "docs/specs/outreach/docs/internal/decisions/0006-cadence-scheduler.md#The forwarded channel events" ;
320
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/campaigns> .
321
+
322
+ campaigns-vocab:refusal-reason-unsubscribed a owl:NamedIndividual , core:concept ;
323
+ core:in-scheme campaigns-vocab:refusal-reason ;
324
+ core:notation "unsubscribed" ;
325
+ core:label "unsubscribed"@en ;
326
+ core:definition "The lead record has a stop with the verb `unsubscribed`, so a new enrollment has no room"@en ;
327
+ core:source "docs/specs/outreach/docs/internal/decisions/0006-cadence-scheduler.md#The forwarded channel events" ;
328
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/campaigns> .
329
+
298
330
  [] a owl:AllDifferent ;
299
- owl:distinctMembers ( campaigns-vocab:refusal-reason-not-owner campaigns-vocab:refusal-reason-in-campaign campaigns-vocab:refusal-reason-suppressed campaigns-vocab:refusal-reason-not-active ) .
331
+ owl:distinctMembers ( campaigns-vocab:refusal-reason-not-owner campaigns-vocab:refusal-reason-in-campaign campaigns-vocab:refusal-reason-suppressed campaigns-vocab:refusal-reason-not-active campaigns-vocab:refusal-reason-weekly-cap campaigns-vocab:refusal-reason-bounced campaigns-vocab:refusal-reason-unsubscribed ) .
300
332
 
301
333
  campaigns-vocab:pause-reason a owl:NamedIndividual , core:concept-scheme ;
302
334
  core:label "pause reason of an enrollment"@en ;
@@ -534,6 +566,14 @@ campaigns-vocab:enrollment-flag-channel-failure a owl:NamedIndividual , core:con
534
566
  core:source "docs/specs/outreach/docs/internal/decisions/0003-concepts.md#Enrollments" ;
535
567
  core:defined-by <https://id.quickpipe.ai/domain/vocab/campaigns> .
536
568
 
569
+ campaigns-vocab:enrollment-flag-send-now a owl:NamedIndividual , core:concept ;
570
+ core:in-scheme campaigns-vocab:enrollment-flag ;
571
+ core:notation "send-now" ;
572
+ core:label "send-now"@en ;
573
+ core:definition "The first step is due now and skips the send window once"@en ;
574
+ core:source "docs/specs/outreach/docs/internal/decisions/0003-concepts.md#Enrollments" ;
575
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/campaigns> .
576
+
537
577
  campaigns-vocab:variable-group a owl:NamedIndividual , core:concept-scheme ;
538
578
  core:label "variable group"@en ;
539
579
  core:definition "The source of a variable of a template"@en ;