@quickpipeaiab/domain 0.0.0-stage → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai.ttl +4257 -0
- package/auth.ttl +123 -0
- package/billing.ttl +3743 -0
- package/campaigns.ttl +3273 -0
- package/core.ttl +811 -0
- package/crm.ttl +439 -0
- package/desk.ttl +5000 -0
- package/domain.ttl +45 -0
- package/email.ttl +1862 -0
- package/events.ttl +3279 -0
- package/identity.ttl +2699 -0
- package/imports/external.ttl +54 -0
- package/leads.ttl +3581 -0
- package/linkedin.ttl +860 -0
- package/mcp-gateway.ttl +77 -0
- package/package.json +30 -3
- package/scoring.ttl +2138 -0
- package/shapes/ai.ttl +730 -0
- package/shapes/billing.ttl +3151 -0
- package/shapes/campaigns.ttl +958 -0
- package/shapes/core.ttl +135 -0
- package/shapes/crm.ttl +216 -0
- package/shapes/desk.ttl +1788 -0
- package/shapes/email.ttl +477 -0
- package/shapes/events.ttl +1275 -0
- package/shapes/identity.ttl +957 -0
- package/shapes/leads.ttl +1809 -0
- package/shapes/linkedin.ttl +113 -0
- package/shapes/scoring.ttl +555 -0
- package/vocab/ai.ttl +2136 -0
- package/vocab/auth.ttl +187 -0
- package/vocab/billing.ttl +1606 -0
- package/vocab/campaigns.ttl +746 -0
- package/vocab/core.ttl +648 -0
- package/vocab/crm.ttl +320 -0
- package/vocab/desk.ttl +3093 -0
- package/vocab/email.ttl +234 -0
- package/vocab/events.ttl +776 -0
- package/vocab/identity.ttl +1555 -0
- package/vocab/leads.ttl +2113 -0
- package/vocab/linkedin.ttl +98 -0
- package/vocab/mcp-gateway.ttl +66 -0
- package/vocab/scoring.ttl +572 -0
- package/README.md +0 -3
package/vocab/auth.ttl
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
@prefix core: <https://id.quickpipe.ai/domain/core#> .
|
|
2
|
+
@prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
|
|
3
|
+
@prefix auth-vocab: <https://id.quickpipe.ai/domain/vocab/auth#> .
|
|
4
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
5
|
+
|
|
6
|
+
<https://id.quickpipe.ai/domain/vocab/auth>
|
|
7
|
+
a owl:Ontology ;
|
|
8
|
+
owl:versionIRI <https://id.quickpipe.ai/domain/0.10.0/vocab/auth> ;
|
|
9
|
+
owl:versionInfo "0.10.0" ;
|
|
10
|
+
core:title "QuickPipe domain model: concept schemes of auth"@en ;
|
|
11
|
+
core:preferred-prefix "auth-vocab" ;
|
|
12
|
+
core:preferred-namespace "https://id.quickpipe.ai/domain/vocab/auth#" .
|
|
13
|
+
|
|
14
|
+
auth-vocab:session-status a owl:NamedIndividual , core:concept-scheme ;
|
|
15
|
+
core:label "session status"@en ;
|
|
16
|
+
core:definition "The state of a session"@en ;
|
|
17
|
+
core:division core-vocab:division-disjoint-closed ;
|
|
18
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
|
|
19
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
|
|
20
|
+
core:owner core:auth .
|
|
21
|
+
|
|
22
|
+
auth-vocab:session-status-active a owl:NamedIndividual , core:concept ;
|
|
23
|
+
core:in-scheme auth-vocab:session-status ;
|
|
24
|
+
core:notation "active" ;
|
|
25
|
+
core:label "active"@en ;
|
|
26
|
+
core:definition "The user is signed in, and the refresh token of the session gets new user tokens."@en ;
|
|
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> .
|
|
29
|
+
|
|
30
|
+
auth-vocab:session-status-ended a owl:NamedIndividual , core:concept ;
|
|
31
|
+
core:in-scheme auth-vocab:session-status ;
|
|
32
|
+
core:notation "ended" ;
|
|
33
|
+
core:label "ended"@en ;
|
|
34
|
+
core:definition "The user signed out, or the refresh token had no use for 30 days."@en ;
|
|
35
|
+
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
|
+
|
|
38
|
+
[] a owl:AllDifferent ;
|
|
39
|
+
owl:distinctMembers ( auth-vocab:session-status-active auth-vocab:session-status-ended ) .
|
|
40
|
+
|
|
41
|
+
auth-vocab:token-kind a owl:NamedIndividual , core:concept-scheme ;
|
|
42
|
+
core:label "token kind of auth"@en ;
|
|
43
|
+
core:definition "How `auth` gave an access token"@en ;
|
|
44
|
+
core:division core-vocab:division-disjoint-closed ;
|
|
45
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
|
|
46
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
|
|
47
|
+
core:owner core:auth .
|
|
48
|
+
|
|
49
|
+
auth-vocab:token-kind-user a owl:NamedIndividual , core:concept ;
|
|
50
|
+
core:in-scheme auth-vocab:token-kind ;
|
|
51
|
+
core:notation "user" ;
|
|
52
|
+
core:label "user"@en ;
|
|
53
|
+
core:definition "An access token from an authorization code with PKCE, or from a refresh. It lives 5 minutes."@en ;
|
|
54
|
+
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> .
|
|
56
|
+
|
|
57
|
+
auth-vocab:token-kind-machine a owl:NamedIndividual , core:concept ;
|
|
58
|
+
core:in-scheme auth-vocab:token-kind ;
|
|
59
|
+
core:notation "machine" ;
|
|
60
|
+
core:label "machine"@en ;
|
|
61
|
+
core:definition "An access token from client credentials. It lives 15 minutes."@en ;
|
|
62
|
+
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> .
|
|
64
|
+
|
|
65
|
+
auth-vocab:token-kind-exchanged a owl:NamedIndividual , core:concept ;
|
|
66
|
+
core:in-scheme auth-vocab:token-kind ;
|
|
67
|
+
core:notation "exchanged" ;
|
|
68
|
+
core:label "exchanged"@en ;
|
|
69
|
+
core:definition "An access token from a token exchange. Its life depends on its exchange kind."@en ;
|
|
70
|
+
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> .
|
|
72
|
+
|
|
73
|
+
auth-vocab:token-kind-agent-key a owl:NamedIndividual , core:concept ;
|
|
74
|
+
core:in-scheme auth-vocab:token-kind ;
|
|
75
|
+
core:notation "agent-key" ;
|
|
76
|
+
core:label "agent-key"@en ;
|
|
77
|
+
core:definition "An access token from the client credentials of an agent key credential. It lives 15 minutes."@en ;
|
|
78
|
+
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> .
|
|
80
|
+
|
|
81
|
+
[] a owl:AllDifferent ;
|
|
82
|
+
owl:distinctMembers ( auth-vocab:token-kind-user auth-vocab:token-kind-machine auth-vocab:token-kind-exchanged auth-vocab:token-kind-agent-key ) .
|
|
83
|
+
|
|
84
|
+
auth-vocab:exchange-kind a owl:NamedIndividual , core:concept-scheme ;
|
|
85
|
+
core:label "exchange kind"@en ;
|
|
86
|
+
core:definition "The reason of a token exchange"@en ;
|
|
87
|
+
core:division core-vocab:division-disjoint-closed ;
|
|
88
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
|
|
89
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
|
|
90
|
+
core:owner core:auth .
|
|
91
|
+
|
|
92
|
+
auth-vocab:exchange-kind-user-call a owl:NamedIndividual , core:concept ;
|
|
93
|
+
core:in-scheme auth-vocab:exchange-kind ;
|
|
94
|
+
core:notation "user-call" ;
|
|
95
|
+
core:label "user-call"@en ;
|
|
96
|
+
core:definition "`desk` acts for the user. The token lives 2 minutes."@en ;
|
|
97
|
+
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> .
|
|
99
|
+
|
|
100
|
+
auth-vocab:exchange-kind-run a owl:NamedIndividual , core:concept ;
|
|
101
|
+
core:in-scheme auth-vocab:exchange-kind ;
|
|
102
|
+
core:notation "run" ;
|
|
103
|
+
core:label "run"@en ;
|
|
104
|
+
core:definition "`kai-agent` acts for the user in one run. The token lives 15 minutes or less."@en ;
|
|
105
|
+
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> .
|
|
107
|
+
|
|
108
|
+
auth-vocab:exchange-kind-impersonation a owl:NamedIndividual , core:concept ;
|
|
109
|
+
core:in-scheme auth-vocab:exchange-kind ;
|
|
110
|
+
core:notation "impersonation" ;
|
|
111
|
+
core:label "impersonation"@en ;
|
|
112
|
+
core:definition "A staff user acts for the user. The token lives 1 hour or less."@en ;
|
|
113
|
+
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> .
|
|
115
|
+
|
|
116
|
+
auth-vocab:exchange-kind-subscription a owl:NamedIndividual , core:concept ;
|
|
117
|
+
core:in-scheme auth-vocab:exchange-kind ;
|
|
118
|
+
core:notation "subscription" ;
|
|
119
|
+
core:label "subscription"@en ;
|
|
120
|
+
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
|
+
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> .
|
|
123
|
+
|
|
124
|
+
auth-vocab:exchange-kind-flow a owl:NamedIndividual , core:concept ;
|
|
125
|
+
core:in-scheme auth-vocab:exchange-kind ;
|
|
126
|
+
core:notation "flow" ;
|
|
127
|
+
core:label "flow"@en ;
|
|
128
|
+
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
|
+
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> .
|
|
131
|
+
|
|
132
|
+
[] a owl:AllDifferent ;
|
|
133
|
+
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 ) .
|
|
134
|
+
|
|
135
|
+
auth-vocab:scope-kind a owl:NamedIndividual , core:concept-scheme ;
|
|
136
|
+
core:label "scope kind"@en ;
|
|
137
|
+
core:definition "The power of a machine scope"@en ;
|
|
138
|
+
core:division core-vocab:division-disjoint-closed ;
|
|
139
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
|
|
140
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
|
|
141
|
+
core:owner core:auth .
|
|
142
|
+
|
|
143
|
+
auth-vocab:scope-kind-plain a owl:NamedIndividual , core:concept ;
|
|
144
|
+
core:in-scheme auth-vocab:scope-kind ;
|
|
145
|
+
core:notation "plain" ;
|
|
146
|
+
core:label "plain"@en ;
|
|
147
|
+
core:definition "The machine client acts for itself. A call for one workspace names the workspace as a parameter."@en ;
|
|
148
|
+
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> .
|
|
150
|
+
|
|
151
|
+
auth-vocab:scope-kind-act-for-workspace a owl:NamedIndividual , core:concept ;
|
|
152
|
+
core:in-scheme auth-vocab:scope-kind ;
|
|
153
|
+
core:notation "act-for-workspace" ;
|
|
154
|
+
core:label "act-for-workspace"@en ;
|
|
155
|
+
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
|
+
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> .
|
|
158
|
+
|
|
159
|
+
[] a owl:AllDifferent ;
|
|
160
|
+
owl:distinctMembers ( auth-vocab:scope-kind-plain auth-vocab:scope-kind-act-for-workspace ) .
|
|
161
|
+
|
|
162
|
+
auth-vocab:client-trust a owl:NamedIndividual , core:concept-scheme ;
|
|
163
|
+
core:label "client trust"@en ;
|
|
164
|
+
core:definition "The trust of `auth` in the name of an OAuth client"@en ;
|
|
165
|
+
core:division core-vocab:division-disjoint-closed ;
|
|
166
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
|
|
167
|
+
core:defined-by <https://id.quickpipe.ai/domain/vocab/auth> ;
|
|
168
|
+
core:owner core:auth .
|
|
169
|
+
|
|
170
|
+
auth-vocab:client-trust-verified a owl:NamedIndividual , core:concept ;
|
|
171
|
+
core:in-scheme auth-vocab:client-trust ;
|
|
172
|
+
core:notation "verified" ;
|
|
173
|
+
core:label "verified"@en ;
|
|
174
|
+
core:definition "A staff user checked the name of the OAuth client."@en ;
|
|
175
|
+
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> .
|
|
177
|
+
|
|
178
|
+
auth-vocab:client-trust-unverified a owl:NamedIndividual , core:concept ;
|
|
179
|
+
core:in-scheme auth-vocab:client-trust ;
|
|
180
|
+
core:notation "unverified" ;
|
|
181
|
+
core:label "unverified"@en ;
|
|
182
|
+
core:definition "No staff user checked the name of the OAuth client. The consent screen shows a warning."@en ;
|
|
183
|
+
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> .
|
|
185
|
+
|
|
186
|
+
[] a owl:AllDifferent ;
|
|
187
|
+
owl:distinctMembers ( auth-vocab:client-trust-verified auth-vocab:client-trust-unverified ) .
|