@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/shapes/core.ttl
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
@prefix core: <https://id.quickpipe.ai/domain/core#> .
|
|
2
|
+
@prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
|
|
3
|
+
@prefix core-shapes: <https://id.quickpipe.ai/domain/shapes/core#> .
|
|
4
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
5
|
+
@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
6
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
7
|
+
|
|
8
|
+
<https://id.quickpipe.ai/domain/shapes/core>
|
|
9
|
+
a owl:Ontology ;
|
|
10
|
+
owl:versionIRI <https://id.quickpipe.ai/domain/0.10.0/shapes/core> ;
|
|
11
|
+
owl:versionInfo "0.10.0" ;
|
|
12
|
+
core:title "QuickPipe domain model: shapes of core"@en .
|
|
13
|
+
|
|
14
|
+
core-shapes:database-schema-shape a sh:NodeShape ;
|
|
15
|
+
sh:targetClass core:database-schema ;
|
|
16
|
+
sh:property
|
|
17
|
+
[ sh:path core:has-name ; sh:minCount 1 ; sh:maxCount 1 ; sh:pattern "^[a-z][a-z0-9_]*$" ;
|
|
18
|
+
sh:message "A database schema has one name in lowercase letters, digits and underscores."@en ] ,
|
|
19
|
+
[ sh:path core:owner ; sh:class core:service ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
20
|
+
sh:message "A database schema has one owner service."@en ] .
|
|
21
|
+
|
|
22
|
+
core-shapes:table-shape a sh:NodeShape ;
|
|
23
|
+
sh:targetClass core:table ;
|
|
24
|
+
sh:property
|
|
25
|
+
[ sh:path core:in-database-schema ; sh:class core:database-schema ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
26
|
+
sh:message "A table is in one database schema."@en ] ,
|
|
27
|
+
[ sh:path core:has-name ; sh:minCount 1 ; sh:maxCount 1 ; sh:pattern "^[a-z][a-z0-9_]*$" ;
|
|
28
|
+
sh:message "A table has one name in lowercase letters, digits and underscores."@en ] ,
|
|
29
|
+
[ sh:path core:has-row-class ; sh:class owl:Class ; sh:maxCount 1 ;
|
|
30
|
+
sh:message "The row class of a table is one class of the model."@en ] ,
|
|
31
|
+
[ sh:path core:planned-in ; sh:nodeKind sh:Literal ; sh:maxCount 1 ; sh:pattern "^docs/[a-z0-9/._-]+\\.md#.+$" ;
|
|
32
|
+
sh:message "A planned item names one decision record: a path in docs/ to a Markdown file, with a section."@en ] ,
|
|
33
|
+
[ sh:path core:not-modelled-reason ; sh:nodeKind sh:Literal ; sh:maxCount 1 ] ,
|
|
34
|
+
[ sh:path core:owner ; sh:class core:service ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
35
|
+
sh:message "A table has one owner service."@en ] ;
|
|
36
|
+
sh:xone ( [ sh:path core:has-row-class ; sh:minCount 1 ] [ sh:path core:not-modelled-reason ; sh:minCount 1 ] ) ;
|
|
37
|
+
sh:message "A table has a row class or a reason why the model has no class for its rows, not both."@en .
|
|
38
|
+
|
|
39
|
+
core-shapes:column-shape a sh:NodeShape ;
|
|
40
|
+
sh:targetClass core:column ;
|
|
41
|
+
sh:property
|
|
42
|
+
[ sh:path core:of-table ; sh:class core:table ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
43
|
+
sh:message "A column is in one table."@en ] ,
|
|
44
|
+
[ sh:path core:has-name ; sh:minCount 1 ; sh:maxCount 1 ; sh:pattern "^[a-z][a-z0-9_]*$" ;
|
|
45
|
+
sh:message "A column has one name in lowercase letters, digits and underscores."@en ] ,
|
|
46
|
+
[ sh:path core:stores-property ; sh:maxCount 1 ; sh:or ( [ sh:class owl:ObjectProperty ] [ sh:class owl:DatatypeProperty ] ) ;
|
|
47
|
+
sh:message "A column keeps the value of one object property or one datatype property of the model."@en ] ,
|
|
48
|
+
[ sh:path core:not-modelled-reason ; sh:nodeKind sh:Literal ; sh:maxCount 1 ] ,
|
|
49
|
+
[ sh:path core:in-primary-key ; sh:datatype <http://www.w3.org/2001/XMLSchema#boolean> ; sh:maxCount 1 ] ,
|
|
50
|
+
[ sh:path core:owner ; sh:class core:service ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
51
|
+
sh:message "A column has one owner service."@en ] ;
|
|
52
|
+
sh:xone ( [ sh:path core:stores-property ; sh:minCount 1 ] [ sh:path core:not-modelled-reason ; sh:minCount 1 ] ) ;
|
|
53
|
+
sh:message "A column keeps a property of the row class or has a reason why it keeps none, not both."@en .
|
|
54
|
+
|
|
55
|
+
core-shapes:metric-instrument-shape a sh:NodeShape ;
|
|
56
|
+
sh:targetClass core:metric-instrument ;
|
|
57
|
+
sh:property
|
|
58
|
+
[ sh:path core:planned-in ; sh:nodeKind sh:Literal ; sh:maxCount 1 ; sh:pattern "^docs/[a-z0-9/._-]+\\.md#.+$" ;
|
|
59
|
+
sh:message "A planned item names one decision record: a path in docs/ to a Markdown file, with a section."@en ] ,
|
|
60
|
+
[ sh:path core:has-name ; sh:minCount 1 ; sh:maxCount 1 ; sh:pattern "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*)+$" ;
|
|
61
|
+
sh:message "A metric instrument has one name: two or more words of lowercase letters, digits and underscores, with a dot between them."@en ] ,
|
|
62
|
+
[ sh:path core:has-instrument-type ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
63
|
+
sh:in ( core-vocab:instrument-type-counter core-vocab:instrument-type-up-down-counter core-vocab:instrument-type-histogram core-vocab:instrument-type-gauge ) ;
|
|
64
|
+
sh:message "A metric instrument has one instrument type."@en ] ,
|
|
65
|
+
[ sh:path core:in-unit ; sh:minCount 1 ; sh:maxCount 1 ; sh:node core-shapes:unit-concept-shape ;
|
|
66
|
+
sh:message "A metric instrument has one unit from the scheme of units."@en ] ,
|
|
67
|
+
[ sh:path core:has-metric-attribute ; sh:class core:metric-attribute ;
|
|
68
|
+
sh:message "An attribute of a metric instrument is a metric attribute."@en ] ,
|
|
69
|
+
[ sh:path core:owner ; sh:class core:service ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
70
|
+
sh:message "A metric instrument has one owner service."@en ] ,
|
|
71
|
+
[ sh:path core:source ; sh:nodeKind sh:Literal ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
72
|
+
sh:message "A metric instrument has one source record."@en ] .
|
|
73
|
+
|
|
74
|
+
core-shapes:unit-concept-shape a sh:NodeShape ;
|
|
75
|
+
sh:property [ sh:path core:in-scheme ; sh:hasValue core-vocab:unit ] .
|
|
76
|
+
|
|
77
|
+
core-shapes:metric-attribute-shape a sh:NodeShape ;
|
|
78
|
+
sh:targetClass core:metric-attribute ;
|
|
79
|
+
sh:property
|
|
80
|
+
[ sh:path core:has-name ; sh:minCount 1 ; sh:maxCount 1 ; sh:pattern "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*)*$" ;
|
|
81
|
+
sh:message "A metric attribute has one key in lowercase letters, digits, underscores and dots."@en ] ,
|
|
82
|
+
[ sh:path core:takes-values-from ; sh:minCount 1 ; sh:maxCount 1 ; sh:or ( [ sh:class owl:Class ] [ sh:class core:concept-scheme ] ) ;
|
|
83
|
+
sh:message "The values of a metric attribute come from one concept scheme or one class of the model."@en ] ,
|
|
84
|
+
[ sh:path core:owner ; sh:class core:service ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
85
|
+
sh:message "A metric attribute has one owner service."@en ] .
|
|
86
|
+
|
|
87
|
+
core-shapes:error-code-target a sh:SPARQLTarget ;
|
|
88
|
+
sh:select """
|
|
89
|
+
SELECT DISTINCT ?this WHERE {
|
|
90
|
+
?this <https://id.quickpipe.ai/domain/core#in-scheme>/<https://id.quickpipe.ai/domain/core#narrows-scheme>* <https://id.quickpipe.ai/domain/vocab/core#error-code> .
|
|
91
|
+
}
|
|
92
|
+
""" .
|
|
93
|
+
|
|
94
|
+
core-shapes:error-code-shape a sh:NodeShape ;
|
|
95
|
+
sh:target core-shapes:error-code-target ;
|
|
96
|
+
sh:property
|
|
97
|
+
[ sh:path core:notation ; sh:minCount 1 ; sh:maxCount 1 ; sh:pattern "^[a-z][a-z0-9_]*$" ;
|
|
98
|
+
sh:message "An error code has one notation: the wire code in lowercase letters, digits and underscores."@en ] ,
|
|
99
|
+
[ sh:path core:also-sent-as ; sh:pattern "^[a-z][a-z0-9_]*$" ;
|
|
100
|
+
sh:message "A second wire code of an error code is a wire code in lowercase letters, digits and underscores."@en ] ,
|
|
101
|
+
[ sh:path core:definition ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
102
|
+
sh:message "An error code has one definition."@en ] ,
|
|
103
|
+
[ sh:path core:definition ; sh:pattern "(The status is `[1-5][0-9][0-9]`|It has no HTTP status\\.)" ;
|
|
104
|
+
sh:message "The definition of an error code tells its HTTP status (The status is `NNN`.), or says: It has no HTTP status."@en ] ,
|
|
105
|
+
[ sh:path core:source ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
106
|
+
sh:message "An error code has one source record."@en ] ;
|
|
107
|
+
sh:sparql [
|
|
108
|
+
a sh:SPARQLConstraint ;
|
|
109
|
+
sh:message "An error code is a member of an owl:AllDifferent."@en ;
|
|
110
|
+
sh:select """
|
|
111
|
+
SELECT $this WHERE {
|
|
112
|
+
FILTER NOT EXISTS {
|
|
113
|
+
{ $this ^<http://www.w3.org/1999/02/22-rdf-syntax-ns#first>/^<http://www.w3.org/2002/07/owl#distinctMembers> ?group }
|
|
114
|
+
UNION
|
|
115
|
+
{ $this ^<http://www.w3.org/1999/02/22-rdf-syntax-ns#first>/^<http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>+/^<http://www.w3.org/2002/07/owl#distinctMembers> ?group }
|
|
116
|
+
?group a <http://www.w3.org/2002/07/owl#AllDifferent> .
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
""" ] .
|
|
120
|
+
|
|
121
|
+
core-shapes:hint-shape a sh:NodeShape ;
|
|
122
|
+
sh:targetSubjectsOf core:hint ;
|
|
123
|
+
sh:property
|
|
124
|
+
[ sh:path core:hint ; sh:maxCount 1 ;
|
|
125
|
+
sh:message "A term has at most one hint."@en ] ,
|
|
126
|
+
[ sh:path core:hint ; sh:datatype rdf:langString ;
|
|
127
|
+
sh:message "A hint is a text with a language tag."@en ] ,
|
|
128
|
+
[ sh:path core:hint ; sh:maxLength 200 ;
|
|
129
|
+
sh:message "A hint has at most 200 characters."@en ] ,
|
|
130
|
+
[ sh:path core:hint ; sh:pattern "^\\S+(\\s+\\S+){0,24}$" ;
|
|
131
|
+
sh:message "A hint has at most 25 words."@en ] ,
|
|
132
|
+
[ sh:path core:hint ; sh:pattern "^[^`]*$" ;
|
|
133
|
+
sh:message "A hint has no backtick: it is plain text."@en ] ,
|
|
134
|
+
[ sh:path core:hint ; sh:pattern "^(?!.*(https?://|www\\.)).*$" ; sh:flags "i" ;
|
|
135
|
+
sh:message "A hint has no URL."@en ] .
|
package/shapes/crm.ttl
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
@prefix core: <https://id.quickpipe.ai/domain/core#> .
|
|
2
|
+
@prefix crm: <https://id.quickpipe.ai/domain/crm#> .
|
|
3
|
+
@prefix crm-vocab: <https://id.quickpipe.ai/domain/vocab/crm#> .
|
|
4
|
+
@prefix crm-shapes: <https://id.quickpipe.ai/domain/shapes/crm#> .
|
|
5
|
+
@prefix desk: <https://id.quickpipe.ai/domain/desk#> .
|
|
6
|
+
@prefix leads-vocab: <https://id.quickpipe.ai/domain/vocab/leads#> .
|
|
7
|
+
@prefix ai-vocab: <https://id.quickpipe.ai/domain/vocab/ai#> .
|
|
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/crm>
|
|
14
|
+
a owl:Ontology ;
|
|
15
|
+
owl:versionIRI <https://id.quickpipe.ai/domain/0.10.0/shapes/crm> ;
|
|
16
|
+
owl:versionInfo "0.10.0" ;
|
|
17
|
+
core:title "QuickPipe domain model: shapes of crm"@en .
|
|
18
|
+
|
|
19
|
+
crm-shapes:lead-record-shape a sh:NodeShape ;
|
|
20
|
+
sh:targetClass crm:lead-record ;
|
|
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 lead record has exactly one id. The id is the leadId."
|
|
26
|
+
] ;
|
|
27
|
+
sh:property [
|
|
28
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
29
|
+
sh:message "A lead record belongs to exactly one workspace."
|
|
30
|
+
] ;
|
|
31
|
+
sh:property [
|
|
32
|
+
sh:path crm:has-first-name ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
33
|
+
sh:message "A lead record has at most one first name, as a text."
|
|
34
|
+
] ;
|
|
35
|
+
sh:property [
|
|
36
|
+
sh:path crm:has-job-title ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
37
|
+
sh:message "A lead record has at most one job title, as a text."
|
|
38
|
+
] ;
|
|
39
|
+
sh:property [
|
|
40
|
+
sh:path crm:works-at ; sh:class crm:account-record ; sh:maxCount 1 ;
|
|
41
|
+
sh:message "A lead record works at zero or one account record."
|
|
42
|
+
] ;
|
|
43
|
+
sh:property [
|
|
44
|
+
sh:path crm:has-owner-seller ; sh:class desk:teammate ; sh:maxCount 1 ;
|
|
45
|
+
sh:message "A lead record has at most one owner seller."
|
|
46
|
+
] ;
|
|
47
|
+
sh:property [
|
|
48
|
+
sh:path crm:found-by-run ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
49
|
+
sh:message "A lead record has at most one value for found by run, and the value is of the type xsd:string."
|
|
50
|
+
] ;
|
|
51
|
+
sh:property [
|
|
52
|
+
sh:path crm:found-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
|
|
53
|
+
sh:message "A lead record has at most one value for found at, and the value is of the type xsd:dateTime."
|
|
54
|
+
] ;
|
|
55
|
+
sh:property [
|
|
56
|
+
sh:path crm:has-campaigns ; sh:datatype xsd:string ;
|
|
57
|
+
sh:message "A lead record has its campaigns as campaign ids in text."
|
|
58
|
+
] ;
|
|
59
|
+
sh:property [
|
|
60
|
+
sh:path crm:has-phone ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
61
|
+
sh:message "A lead record has at most one phone, as a text."
|
|
62
|
+
] ;
|
|
63
|
+
sh:property [
|
|
64
|
+
sh:path crm:has-time-zone ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
65
|
+
sh:message "A lead record has at most one time zone, as a text."
|
|
66
|
+
] ;
|
|
67
|
+
sh:property [
|
|
68
|
+
sh:path crm:has-last-reply-label ; sh:class core:concept ; sh:maxCount 1 ;
|
|
69
|
+
sh:in ( ai-vocab:reply-label-interested ai-vocab:reply-label-not-now ai-vocab:reply-label-not-interested ai-vocab:reply-label-out-of-office ai-vocab:reply-label-unsubscribe ) ;
|
|
70
|
+
sh:message "A lead record has at most one last reply label: interested, not-now, not-interested, out-of-office or unsubscribe."
|
|
71
|
+
] ;
|
|
72
|
+
sh:property [
|
|
73
|
+
sh:path crm:last-replied-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
|
|
74
|
+
sh:message "A lead record has at most one last reply time."
|
|
75
|
+
] ;
|
|
76
|
+
sh:property [
|
|
77
|
+
sh:path crm:has-email-verdict ; sh:node crm-shapes:email-verdict-value-shape ; sh:maxCount 1 ;
|
|
78
|
+
sh:message "A lead record has at most one email verdict."
|
|
79
|
+
] ;
|
|
80
|
+
sh:property [
|
|
81
|
+
sh:path crm:enriched-by-run ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
82
|
+
sh:message "A lead record has at most one value for enriched by run, and the value is of the type xsd:string."
|
|
83
|
+
] ;
|
|
84
|
+
sh:property [
|
|
85
|
+
sh:path crm:enriched-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
|
|
86
|
+
sh:message "A lead record has at most one value for enriched at, and the value is of the type xsd:dateTime."
|
|
87
|
+
] .
|
|
88
|
+
|
|
89
|
+
crm-shapes:account-record-shape a sh:NodeShape ;
|
|
90
|
+
sh:targetClass crm:account-record ;
|
|
91
|
+
sh:closed true ;
|
|
92
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
93
|
+
sh:property [
|
|
94
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
95
|
+
sh:message "An account record has exactly one id."
|
|
96
|
+
] ;
|
|
97
|
+
sh:property [
|
|
98
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
99
|
+
sh:message "An account record belongs to exactly one workspace."
|
|
100
|
+
] ;
|
|
101
|
+
sh:property [
|
|
102
|
+
sh:path crm:has-account-name ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
103
|
+
sh:message "An account record has at most one name, as a text."
|
|
104
|
+
] ;
|
|
105
|
+
sh:property [
|
|
106
|
+
sh:path crm:has-owner-seller ; sh:class desk:teammate ; sh:maxCount 1 ;
|
|
107
|
+
sh:message "An account record has at most one owner seller."
|
|
108
|
+
] ;
|
|
109
|
+
sh:property [
|
|
110
|
+
sh:path crm:found-by-run ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
111
|
+
sh:message "An account record has at most one value for found by run, and the value is of the type xsd:string."
|
|
112
|
+
] ;
|
|
113
|
+
sh:property [
|
|
114
|
+
sh:path crm:found-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
|
|
115
|
+
sh:message "An account record has at most one value for found at, and the value is of the type xsd:dateTime."
|
|
116
|
+
] ;
|
|
117
|
+
sh:property [
|
|
118
|
+
sh:path crm:has-industry ; sh:datatype xsd:string ; sh:pattern "^[0-9]{2,6}$" ; sh:maxCount 1 ;
|
|
119
|
+
sh:message "An account record has at most one industry, and the industry is a NAICS code of 2 to 6 digits."
|
|
120
|
+
] ;
|
|
121
|
+
sh:property [
|
|
122
|
+
sh:path crm:has-city ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
123
|
+
sh:message "An account record has at most one city, as a text."
|
|
124
|
+
] ;
|
|
125
|
+
sh:property [
|
|
126
|
+
sh:path crm:has-website ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
127
|
+
sh:message "An account record has at most one website, as a text."
|
|
128
|
+
] ;
|
|
129
|
+
sh:property [
|
|
130
|
+
sh:path crm:enriched-by-run ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
131
|
+
sh:message "An account record has at most one value for enriched by run, and the value is of the type xsd:string."
|
|
132
|
+
] ;
|
|
133
|
+
sh:property [
|
|
134
|
+
sh:path crm:enriched-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
|
|
135
|
+
sh:message "An account record has at most one value for enriched at, and the value is of the type xsd:dateTime."
|
|
136
|
+
] ;
|
|
137
|
+
sh:property [
|
|
138
|
+
sh:path crm:has-fit ; sh:datatype xsd:decimal ; sh:minInclusive 0 ; sh:maxInclusive 1 ; sh:maxCount 1 ;
|
|
139
|
+
sh:message "An account record has at most one fit, and the fit is an xsd:decimal from 0 to 1."
|
|
140
|
+
] ;
|
|
141
|
+
sh:property [
|
|
142
|
+
sh:path crm:has-fit-segment ; sh:datatype xsd:string ; sh:maxCount 1 ;
|
|
143
|
+
sh:message "An account record has at most one fit segment, and the value is of the type xsd:string."
|
|
144
|
+
] .
|
|
145
|
+
|
|
146
|
+
crm-shapes:deal-shape a sh:NodeShape ;
|
|
147
|
+
sh:targetClass crm:deal ;
|
|
148
|
+
sh:closed true ;
|
|
149
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
150
|
+
sh:property [
|
|
151
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
152
|
+
sh:message "A deal has exactly one id."
|
|
153
|
+
] ;
|
|
154
|
+
sh:property [
|
|
155
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
156
|
+
sh:message "A deal belongs to exactly one workspace."
|
|
157
|
+
] ;
|
|
158
|
+
sh:property [
|
|
159
|
+
sh:path crm:for-account-record ; sh:class crm:account-record ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
160
|
+
sh:message "A deal has exactly one account record."
|
|
161
|
+
] ;
|
|
162
|
+
sh:property [
|
|
163
|
+
sh:path crm:at-deal-stage ; sh:class crm:deal-stage ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
164
|
+
sh:message "A deal has exactly one deal stage."
|
|
165
|
+
] .
|
|
166
|
+
|
|
167
|
+
crm-shapes:meeting-shape a sh:NodeShape ;
|
|
168
|
+
sh:targetClass crm:meeting ;
|
|
169
|
+
sh:closed true ;
|
|
170
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
171
|
+
sh:property [
|
|
172
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
173
|
+
sh:message "A meeting has exactly one id."
|
|
174
|
+
] ;
|
|
175
|
+
sh:property [
|
|
176
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
177
|
+
sh:message "A meeting belongs to exactly one workspace."
|
|
178
|
+
] .
|
|
179
|
+
|
|
180
|
+
crm-shapes:timeline-item-shape a sh:NodeShape ;
|
|
181
|
+
sh:targetClass crm:timeline-item ;
|
|
182
|
+
sh:closed true ;
|
|
183
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
184
|
+
sh:property [
|
|
185
|
+
sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
186
|
+
sh:message "A timeline item has exactly one id."
|
|
187
|
+
] ;
|
|
188
|
+
sh:property [
|
|
189
|
+
sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
190
|
+
sh:message "A timeline item belongs to exactly one workspace."
|
|
191
|
+
] ;
|
|
192
|
+
sh:property [
|
|
193
|
+
sh:path crm:has-item-kind ; sh:node crm-shapes:item-kind-value-shape ; sh:minCount 1 ; sh:maxCount 1 ;
|
|
194
|
+
sh:message "A timeline item has exactly one item kind."
|
|
195
|
+
] ;
|
|
196
|
+
sh:property [
|
|
197
|
+
sh:path crm:has-reply-label ; sh:class core:concept ; sh:maxCount 1 ;
|
|
198
|
+
sh:in ( ai-vocab:reply-label-interested ai-vocab:reply-label-not-now ai-vocab:reply-label-not-interested ai-vocab:reply-label-out-of-office ai-vocab:reply-label-unsubscribe ) ;
|
|
199
|
+
sh:message "A timeline item has at most one reply label: interested, not-now, not-interested, out-of-office or unsubscribe."
|
|
200
|
+
] .
|
|
201
|
+
|
|
202
|
+
crm-shapes:item-kind-value-shape a sh:NodeShape ;
|
|
203
|
+
sh:class core:concept ;
|
|
204
|
+
sh:property [
|
|
205
|
+
sh:path core:in-scheme ;
|
|
206
|
+
sh:hasValue crm-vocab:item-kind ;
|
|
207
|
+
sh:message "An item kind is a concept of the scheme of item kinds."
|
|
208
|
+
] .
|
|
209
|
+
|
|
210
|
+
crm-shapes:email-verdict-value-shape a sh:NodeShape ;
|
|
211
|
+
sh:class core:concept ;
|
|
212
|
+
sh:property [
|
|
213
|
+
sh:path core:in-scheme ;
|
|
214
|
+
sh:hasValue leads-vocab:email-verdict ;
|
|
215
|
+
sh:message "An email verdict of a lead record is a concept of the scheme of email verdicts of leads."
|
|
216
|
+
] .
|