@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.
@@ -0,0 +1,113 @@
1
+ @prefix core: <https://id.quickpipe.ai/domain/core#> .
2
+ @prefix desk: <https://id.quickpipe.ai/domain/desk#> .
3
+ @prefix linkedin: <https://id.quickpipe.ai/domain/linkedin#> .
4
+ @prefix campaigns: <https://id.quickpipe.ai/domain/campaigns#> .
5
+ @prefix campaigns-vocab: <https://id.quickpipe.ai/domain/vocab/campaigns#> .
6
+ @prefix linkedin-vocab: <https://id.quickpipe.ai/domain/vocab/linkedin#> .
7
+ @prefix linkedin-shapes: <https://id.quickpipe.ai/domain/shapes/linkedin#> .
8
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
9
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
10
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
11
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12
+
13
+ <https://id.quickpipe.ai/domain/shapes/linkedin>
14
+ a owl:Ontology ;
15
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.10.0/shapes/linkedin> ;
16
+ owl:versionInfo "0.10.0" ;
17
+ core:title "QuickPipe domain model: shapes of linkedin"@en .
18
+
19
+ linkedin-shapes:sender-shape a sh:NodeShape ;
20
+ sh:targetClass linkedin:sender ;
21
+ sh:closed true ;
22
+ sh:ignoredProperties ( rdf:type ) ;
23
+ sh:property [
24
+ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
25
+ sh:message "A sender has exactly one id."
26
+ ] ;
27
+ sh:property [
28
+ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
29
+ sh:message "A sender belongs to exactly one workspace."
30
+ ] ;
31
+ sh:property [
32
+ sh:path desk:of-teammate ; sh:class desk:teammate ; sh:minCount 1 ; sh:maxCount 1 ;
33
+ sh:message "A sender belongs to exactly one teammate."
34
+ ] ;
35
+ sh:property [
36
+ sh:path core:has-status ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
37
+ sh:in ( linkedin-vocab:sender-status-active linkedin-vocab:sender-status-paused linkedin-vocab:sender-status-restricted linkedin-vocab:sender-status-disconnected linkedin-vocab:sender-status-released ) ;
38
+ sh:message "A sender has exactly one status: active, paused, restricted, disconnected or released."
39
+ ] ;
40
+ sh:property [
41
+ sh:path campaigns:has-account-pause-reason ; sh:class core:concept ; sh:maxCount 1 ;
42
+ sh:in ( campaigns-vocab:account-pause-reason-credits campaigns-vocab:account-pause-reason-teammate ) ;
43
+ sh:message "A sender has at most one pause reason: credits or teammate."
44
+ ] ;
45
+ sh:property [
46
+ sh:path campaigns:bills-action ; sh:class core:concept ;
47
+ sh:in ( campaigns-vocab:billable-action-send campaigns-vocab:billable-action-invite campaigns-vocab:billable-action-message campaigns-vocab:billable-action-profile-view ) ;
48
+ sh:message "The billable actions of A sender are send, invite, message or profile-view."
49
+ ] ;
50
+ sh:property [
51
+ sh:path campaigns:has-monthly-cost ; sh:datatype xsd:long ; sh:minInclusive 0 ; sh:maxCount 1 ;
52
+ sh:message "A sender has at most one monthly cost, an integer of micro-USD from 0."
53
+ ] ;
54
+ sh:property [
55
+ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
56
+ sh:message "A sender has at most one write time."
57
+ ] .
58
+
59
+ linkedin-shapes:daily-limit-shape a sh:NodeShape ;
60
+ sh:targetClass linkedin:daily-limit ;
61
+ sh:closed true ;
62
+ sh:ignoredProperties ( rdf:type ) ;
63
+ sh:property [
64
+ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
65
+ sh:message "A daily limit belongs to exactly one workspace."
66
+ ] ;
67
+ sh:property [
68
+ sh:path linkedin:of-sender ; sh:class linkedin:sender ; sh:minCount 1 ; sh:maxCount 1 ;
69
+ sh:message "A daily limit applies to exactly one sender."
70
+ ] ;
71
+ sh:property [
72
+ sh:path linkedin:for-action-kind ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
73
+ sh:in ( linkedin-vocab:action-kind-invite linkedin-vocab:action-kind-message linkedin-vocab:action-kind-profile-view ) ;
74
+ sh:message "A daily limit counts exactly one action kind: invite, message or profile-view."
75
+ ] ;
76
+ sh:property [
77
+ sh:path linkedin:has-maximum ; sh:datatype xsd:nonNegativeInteger ; sh:minCount 1 ; sh:maxCount 1 ;
78
+ sh:message "A daily limit has exactly one maximum, an integer from 0."
79
+ ] .
80
+
81
+ linkedin-shapes:action-shape a sh:NodeShape ;
82
+ sh:targetClass linkedin:action ;
83
+ sh:closed true ;
84
+ sh:ignoredProperties ( rdf:type ) ;
85
+ sh:property [
86
+ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
87
+ sh:message "An action has exactly one id."
88
+ ] ;
89
+ sh:property [
90
+ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
91
+ sh:message "An action belongs to exactly one workspace."
92
+ ] ;
93
+ sh:property [
94
+ sh:path linkedin:by-sender ; sh:class linkedin:sender ; sh:minCount 1 ; sh:maxCount 1 ;
95
+ sh:message "An action has exactly one sender."
96
+ ] ;
97
+ sh:property [
98
+ sh:path linkedin:has-action-kind ; sh:class core:concept ; sh:maxCount 1 ;
99
+ sh:in ( linkedin-vocab:action-kind-invite linkedin-vocab:action-kind-message linkedin-vocab:action-kind-profile-view ) ;
100
+ sh:message "An action has at most one action kind: invite, message or profile-view."
101
+ ] ;
102
+ sh:property [
103
+ sh:path campaigns:in-enrollment ; sh:class campaigns:enrollment ; sh:maxCount 1 ;
104
+ sh:message "An action has at most one enrollment."
105
+ ] ;
106
+ sh:property [
107
+ sh:path campaigns:for-step ; sh:class campaigns:step ; sh:maxCount 1 ;
108
+ sh:message "An action has at most one step."
109
+ ] ;
110
+ sh:property [
111
+ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
112
+ sh:message "An action has at most one write time."
113
+ ] .