@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/auth.ttl
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
@prefix core: <https://id.quickpipe.ai/domain/core#> .
|
|
2
|
+
@prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
|
|
3
|
+
@prefix auth: <https://id.quickpipe.ai/domain/auth#> .
|
|
4
|
+
@prefix auth-vocab: <https://id.quickpipe.ai/domain/vocab/auth#> .
|
|
5
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
6
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
7
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
8
|
+
|
|
9
|
+
<https://id.quickpipe.ai/domain/auth>
|
|
10
|
+
a owl:Ontology ;
|
|
11
|
+
owl:versionIRI <https://id.quickpipe.ai/domain/0.10.0/auth> ;
|
|
12
|
+
owl:versionInfo "0.10.0" ;
|
|
13
|
+
core:title "QuickPipe domain model: auth"@en ;
|
|
14
|
+
core:preferred-prefix "auth" ;
|
|
15
|
+
core:preferred-namespace "https://id.quickpipe.ai/domain/auth#" ;
|
|
16
|
+
owl:imports <https://id.quickpipe.ai/domain/core> ,
|
|
17
|
+
<https://id.quickpipe.ai/domain/vocab/auth> .
|
|
18
|
+
|
|
19
|
+
# Clients.
|
|
20
|
+
|
|
21
|
+
auth:machine-client a owl:Class ;
|
|
22
|
+
rdfs:subClassOf core:service ;
|
|
23
|
+
core:label "machine client"@en ;
|
|
24
|
+
core:definition "A service of QuickPipe that gets machine tokens from `auth` with a client credentials JWT. It has one key in Doppler. Its name is unique."@en ;
|
|
25
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
|
|
26
|
+
core:defined-by <https://id.quickpipe.ai/domain/auth> ;
|
|
27
|
+
core:owner core:auth .
|
|
28
|
+
|
|
29
|
+
# Sessions and tokens.
|
|
30
|
+
|
|
31
|
+
auth:session a owl:Class ;
|
|
32
|
+
rdfs:subClassOf core:entity ;
|
|
33
|
+
core:label "session"@en ;
|
|
34
|
+
core:definition "The sign-in of one user in one browser. It starts at sign-in and has one refresh token."@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/auth> ;
|
|
37
|
+
core:owner core:auth ;
|
|
38
|
+
core:retention "P30D" ;
|
|
39
|
+
core:retention-clock core-vocab:retention-clock-since-last-activity ;
|
|
40
|
+
core:controller-role core-vocab:controller-role-controller .
|
|
41
|
+
|
|
42
|
+
auth:access-token a owl:Class ;
|
|
43
|
+
rdfs:subClassOf core:key ;
|
|
44
|
+
core:label "access token"@en ;
|
|
45
|
+
core:definition "A JWT that `auth` signs with a signature key. It has a subject, an audience, an expiry and the claims of its token kind."@en ;
|
|
46
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
|
|
47
|
+
core:defined-by <https://id.quickpipe.ai/domain/auth> ;
|
|
48
|
+
core:owner core:auth ;
|
|
49
|
+
core:division core-vocab:division-disjoint-closed .
|
|
50
|
+
|
|
51
|
+
auth:exchanged-token a owl:Class ;
|
|
52
|
+
owl:equivalentClass [ a owl:Class ; owl:intersectionOf ( auth:access-token [ a owl:Restriction ; owl:onProperty auth:has-token-kind ; owl:hasValue auth-vocab:token-kind-exchanged ] ) ] ;
|
|
53
|
+
core:label "exchanged token"@en ;
|
|
54
|
+
core:definition "An access token that `auth` gives in a token exchange (RFC 8693). It has a subject and an actor."@en ;
|
|
55
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
|
|
56
|
+
core:defined-by <https://id.quickpipe.ai/domain/auth> ;
|
|
57
|
+
core:owner core:auth .
|
|
58
|
+
|
|
59
|
+
[] a owl:AllDisjointClasses ;
|
|
60
|
+
owl:members ( auth:session auth:access-token auth:machine-scope auth:oauth-client auth:signature-key ) .
|
|
61
|
+
|
|
62
|
+
# Properties.
|
|
63
|
+
|
|
64
|
+
auth:has-token-kind a owl:ObjectProperty , owl:FunctionalProperty ;
|
|
65
|
+
rdfs:domain auth:access-token ;
|
|
66
|
+
rdfs:range core:concept ;
|
|
67
|
+
core:label "has token kind"@en ;
|
|
68
|
+
core:definition "How `auth` gave an access token, from the scheme of token kinds of `auth`."@en ;
|
|
69
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Sessions and tokens" ;
|
|
70
|
+
core:defined-by <https://id.quickpipe.ai/domain/auth> ;
|
|
71
|
+
core:owner core:auth .
|
|
72
|
+
|
|
73
|
+
auth:has-exchange-kind a owl:ObjectProperty , owl:FunctionalProperty ;
|
|
74
|
+
rdfs:domain auth:exchanged-token ;
|
|
75
|
+
rdfs:range core:concept ;
|
|
76
|
+
core:label "has exchange kind"@en ;
|
|
77
|
+
core:definition "The reason of the token exchange that gave an exchanged token, from the scheme of exchange kinds."@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/auth> ;
|
|
80
|
+
core:owner core:auth .
|
|
81
|
+
|
|
82
|
+
# Scopes, OAuth clients and signature keys.
|
|
83
|
+
|
|
84
|
+
auth:machine-scope a owl:Class ;
|
|
85
|
+
rdfs:subClassOf core:entity ;
|
|
86
|
+
core:label "machine scope"@en ;
|
|
87
|
+
core:definition "A permission of a machine client at one target service, in the form `resource:action`, for example `holds:write`. It is a project role of the target service."@en ;
|
|
88
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
|
|
89
|
+
core:defined-by <https://id.quickpipe.ai/domain/auth> ;
|
|
90
|
+
core:owner core:auth .
|
|
91
|
+
auth:oauth-client a owl:Class ;
|
|
92
|
+
rdfs:subClassOf core:entity ;
|
|
93
|
+
core:retention "P0D" ;
|
|
94
|
+
core:retention-clock core-vocab:retention-clock-since-closed ;
|
|
95
|
+
core:controller-role core-vocab:controller-role-controller ;
|
|
96
|
+
core:label "OAuth client"@en ;
|
|
97
|
+
core:definition "A client agent app that an OAuth flow registers in `auth`. Its client id is unique."@en ;
|
|
98
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
|
|
99
|
+
core:defined-by <https://id.quickpipe.ai/domain/auth> ;
|
|
100
|
+
core:owner core:auth .
|
|
101
|
+
auth:signature-key a owl:Class ;
|
|
102
|
+
rdfs:subClassOf core:entity ;
|
|
103
|
+
core:label "signature key"@en ;
|
|
104
|
+
core:definition "A key pair with which `auth` signs access tokens. Its key id is unique. The JWKS publishes its public part."@en ;
|
|
105
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
|
|
106
|
+
core:defined-by <https://id.quickpipe.ai/domain/auth> ;
|
|
107
|
+
core:owner core:auth .
|
|
108
|
+
auth:has-scope-kind a owl:ObjectProperty , owl:FunctionalProperty ;
|
|
109
|
+
rdfs:domain auth:machine-scope ;
|
|
110
|
+
rdfs:range core:concept ;
|
|
111
|
+
core:label "has scope kind"@en ;
|
|
112
|
+
core:definition "The power of a machine scope, from the scheme of scope kinds."@en ;
|
|
113
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
|
|
114
|
+
core:defined-by <https://id.quickpipe.ai/domain/auth> ;
|
|
115
|
+
core:owner core:auth .
|
|
116
|
+
auth:has-client-trust a owl:ObjectProperty , owl:FunctionalProperty ;
|
|
117
|
+
rdfs:domain auth:oauth-client ;
|
|
118
|
+
rdfs:range core:concept ;
|
|
119
|
+
core:label "has client trust"@en ;
|
|
120
|
+
core:definition "The trust of `auth` in the name of an OAuth client, from the scheme of client trusts."@en ;
|
|
121
|
+
core:source "docs/specs/auth/docs/internal/decisions/0003-concepts.md#Clients and credentials" ;
|
|
122
|
+
core:defined-by <https://id.quickpipe.ai/domain/auth> ;
|
|
123
|
+
core:owner core:auth .
|