@quickpipeaiab/domain 0.9.0 → 0.11.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/identity.ttl CHANGED
@@ -8,8 +8,8 @@
8
8
 
9
9
  <https://id.quickpipe.ai/domain/identity>
10
10
  a owl:Ontology ;
11
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/identity> ;
12
- owl:versionInfo "0.9.0" ;
11
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/identity> ;
12
+ owl:versionInfo "0.11.0" ;
13
13
  core:title "QuickPipe domain model: identity"@en ;
14
14
  core:preferred-prefix "identity" ;
15
15
  core:preferred-namespace "https://id.quickpipe.ai/domain/identity#" ;
@@ -8,7 +8,7 @@
8
8
 
9
9
  <https://id.quickpipe.ai/domain/imports/external>
10
10
  a owl:Ontology ;
11
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/imports/external> .
11
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/imports/external> .
12
12
 
13
13
  prov:Entity a owl:Class .
14
14
  prov:Activity a owl:Class .
package/leads.ttl CHANGED
@@ -13,8 +13,8 @@
13
13
 
14
14
  <https://id.quickpipe.ai/domain/leads>
15
15
  a owl:Ontology ;
16
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/leads> ;
17
- owl:versionInfo "0.9.0" ;
16
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/leads> ;
17
+ owl:versionInfo "0.11.0" ;
18
18
  core:title "QuickPipe domain model: leads"@en ;
19
19
  core:preferred-prefix "leads" ;
20
20
  core:preferred-namespace "https://id.quickpipe.ai/domain/leads#" ;
@@ -3558,3 +3558,24 @@ leads:column-setting-audit-created-at a owl:NamedIndividual , core:column ;
3558
3558
  core:source "docs/specs/leads/docs/internal/decisions/0024-settings-and-admin.md#Decision" ;
3559
3559
  core:defined-by <https://id.quickpipe.ai/domain/leads> ;
3560
3560
  core:owner core:leads .
3561
+
3562
+ leads:column-pipeline-runs-tags a owl:NamedIndividual , core:column ;
3563
+ core:of-table leads:table-pipeline-runs ;
3564
+ core:has-name "tags" ;
3565
+ core:not-modelled-reason "The at most 5 tags of a run that `GET /spend` of `leads` reports. The model has no property for the run tags."@en ;
3566
+ core:label "pipeline.runs.tags"@en ;
3567
+ core:definition "At most 5 tags of the run, which `GET /spend` of `leads` reports for the spend report."@en ;
3568
+ core:source "docs/specs/leads/docs/internal/decisions/0011-spend.md#Decision" ;
3569
+ core:defined-by <https://id.quickpipe.ai/domain/leads> ;
3570
+ core:owner core:leads .
3571
+
3572
+ leads:metric-fill-rate a owl:NamedIndividual , core:metric-instrument ;
3573
+ core:has-name "lookup.fill_rate" ;
3574
+ core:has-instrument-type core-vocab:instrument-type-histogram ;
3575
+ core:in-unit core-vocab:unit-one ;
3576
+ core:planned-in "docs/specs/leads/docs/internal/decisions/0029-metrics-and-alerts.md#Decision" ;
3577
+ core:label "lookup.fill_rate"@en ;
3578
+ core:definition "The share of the items of a run that one lookup, one field or one binding filled, as `leads` reports it in its metrics."@en ;
3579
+ core:source "docs/specs/leads/docs/internal/decisions/0029-metrics-and-alerts.md#Decision" ;
3580
+ core:defined-by <https://id.quickpipe.ai/domain/leads> ;
3581
+ core:owner core:leads .
package/linkedin.ttl CHANGED
@@ -10,8 +10,8 @@
10
10
 
11
11
  <https://id.quickpipe.ai/domain/linkedin>
12
12
  a owl:Ontology ;
13
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/linkedin> ;
14
- owl:versionInfo "0.9.0" ;
13
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/linkedin> ;
14
+ owl:versionInfo "0.11.0" ;
15
15
  core:title "QuickPipe domain model: linkedin"@en ;
16
16
  core:preferred-prefix "linkedin" ;
17
17
  core:preferred-namespace "https://id.quickpipe.ai/domain/linkedin#" ;
package/mcp-gateway.ttl CHANGED
@@ -8,8 +8,8 @@
8
8
 
9
9
  <https://id.quickpipe.ai/domain/mcp-gateway>
10
10
  a owl:Ontology ;
11
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/mcp-gateway> ;
12
- owl:versionInfo "0.9.0" ;
11
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/mcp-gateway> ;
12
+ owl:versionInfo "0.11.0" ;
13
13
  core:title "QuickPipe domain model: mcp-gateway"@en ;
14
14
  core:preferred-prefix "mcp-gateway" ;
15
15
  core:preferred-namespace "https://id.quickpipe.ai/domain/mcp-gateway#" ;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quickpipeaiab/domain",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "description": "QuickPipe domain model: OWL 2 modules, SKOS concept schemes and SHACL shapes",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
package/scoring.ttl CHANGED
@@ -12,8 +12,8 @@
12
12
 
13
13
  <https://id.quickpipe.ai/domain/scoring>
14
14
  a owl:Ontology ;
15
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/scoring> ;
16
- owl:versionInfo "0.9.0" ;
15
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/scoring> ;
16
+ owl:versionInfo "0.11.0" ;
17
17
  core:title "QuickPipe domain model: scoring"@en ;
18
18
  core:preferred-prefix "scoring" ;
19
19
  core:preferred-namespace "https://id.quickpipe.ai/domain/scoring#" ;
package/shapes/ai.ttl CHANGED
@@ -6,6 +6,8 @@
6
6
  @prefix identity-vocab: <https://id.quickpipe.ai/domain/vocab/identity#> .
7
7
  @prefix identity: <https://id.quickpipe.ai/domain/identity#> .
8
8
  @prefix core: <https://id.quickpipe.ai/domain/core#> .
9
+ @prefix leads: <https://id.quickpipe.ai/domain/leads#> .
10
+ @prefix desk: <https://id.quickpipe.ai/domain/desk#> .
9
11
  @prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
10
12
  @prefix owl: <http://www.w3.org/2002/07/owl#> .
11
13
  @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@@ -14,8 +16,8 @@
14
16
 
15
17
  <https://id.quickpipe.ai/domain/shapes/ai>
16
18
  a owl:Ontology ;
17
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/ai> ;
18
- owl:versionInfo "0.9.0" ;
19
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/ai> ;
20
+ owl:versionInfo "0.11.0" ;
19
21
  core:title "QuickPipe domain model: shapes of ai"@en .
20
22
 
21
23
  # Membership of a value in an open scheme (platform decision 0003 Q15).
@@ -482,7 +484,8 @@ ai-shapes:identifier-index-shape a sh:NodeShape ;
482
484
  sh:ignoredProperties ( rdf:type ) ;
483
485
  sh:property
484
486
  [ sh:path ai:of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ] ,
485
- [ sh:path ai:has-identifier ; sh:class identity:identifier ; sh:minCount 1 ] .
487
+ [ sh:path ai:has-identifier ; sh:class identity:identifier ; sh:minCount 1 ] ,
488
+ [ sh:path core:in-workspace ; sh:class core:workspace ; sh:maxCount 1 ] .
486
489
 
487
490
  ai-shapes:schedule-shape a sh:NodeShape ;
488
491
  sh:targetClass ai:schedule ;
@@ -660,3 +663,68 @@ ai-shapes:flow-message-shape a sh:NodeShape ;
660
663
  [ sh:path ai:has-message-kind ; sh:class core:concept ; sh:in ( ai-vocab:flow-message-kind-text ai-vocab:flow-message-kind-choice ai-vocab:flow-message-kind-back ai-vocab:flow-message-kind-retry ai-vocab:flow-message-kind-ask ai-vocab:flow-message-kind-edit ) ; sh:minCount 1 ; sh:maxCount 1 ] ,
661
664
  [ sh:path ai:has-message-text ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
662
665
  [ sh:path ai:chooses-option ; sh:datatype xsd:string ] .
666
+
667
+ ai-shapes:tool-approval-shape a sh:NodeShape ;
668
+ sh:targetClass ai:tool-approval ;
669
+ sh:closed true ;
670
+ sh:ignoredProperties ( rdf:type ) ;
671
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
672
+ sh:message "A tool approval has exactly one id."@en ] ;
673
+ sh:property [ sh:path ai:of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ;
674
+ sh:message "A tool approval belongs to exactly one run."@en ] ;
675
+ sh:property [ sh:path ai:has-tool-risk ; sh:class core:concept ; sh:maxCount 1 ;
676
+ sh:message "A tool approval has at most one tool risk of the scheme of tool risk."@en ] ;
677
+ sh:property [ sh:path desk:has-approval-level ; sh:class core:concept ; sh:maxCount 1 ;
678
+ sh:message "A tool approval has at most one approval level."@en ] ;
679
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
680
+ sh:message "A tool approval has exactly one time of creation."@en ] ;
681
+ sh:property [ sh:path core:ended-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
682
+ sh:message "A tool approval has at most one time of the answer."@en ] .
683
+
684
+ ai-shapes:client-tool-call-shape a sh:NodeShape ;
685
+ sh:targetClass ai:client-tool-call ;
686
+ sh:closed true ;
687
+ sh:ignoredProperties ( rdf:type ) ;
688
+ sh:property [ sh:path ai:of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ;
689
+ sh:message "A client tool call belongs to exactly one run."@en ] ;
690
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
691
+ sh:message "A client tool call has exactly one time of creation."@en ] .
692
+
693
+ ai-shapes:erasure-marker-shape a sh:NodeShape ;
694
+ sh:targetClass ai:erasure-marker ;
695
+ sh:closed true ;
696
+ sh:ignoredProperties ( rdf:type ) ;
697
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
698
+ sh:message "An erasure marker has exactly one id."@en ] ;
699
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
700
+ sh:message "An erasure marker belongs to exactly one workspace."@en ] ;
701
+ sh:property [ sh:path core:for-user ; sh:class core:user ; sh:maxCount 1 ;
702
+ sh:message "An erasure marker names at most one user."@en ] ;
703
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
704
+ sh:message "An erasure marker has exactly one time of creation."@en ] .
705
+
706
+ ai-shapes:subject-request-shape a sh:NodeShape ;
707
+ sh:targetClass ai:subject-request ;
708
+ sh:closed true ;
709
+ sh:ignoredProperties ( rdf:type ) ;
710
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
711
+ sh:message "A subject request has exactly one id."@en ] ;
712
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
713
+ sh:message "A subject request belongs to exactly one workspace."@en ] ;
714
+ sh:property [ sh:path core:has-status ; sh:class core:concept ; sh:maxCount 1 ;
715
+ sh:message "A subject request has at most one status."@en ] ;
716
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
717
+ sh:message "A subject request has exactly one time of creation."@en ] ;
718
+ sh:property [ sh:path core:ended-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
719
+ sh:message "A subject request has at most one time of the answer."@en ] .
720
+
721
+ ai-shapes:subject-answer-shape a sh:NodeShape ;
722
+ sh:targetClass ai:subject-answer ;
723
+ sh:closed true ;
724
+ sh:ignoredProperties ( rdf:type ) ;
725
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
726
+ sh:message "A subject answer has exactly one id."@en ] ;
727
+ sh:property [ sh:path ai:answers-subject-request ; sh:class ai:subject-request ; sh:minCount 1 ; sh:maxCount 1 ;
728
+ sh:message "A subject answer answers exactly one subject request."@en ] ;
729
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
730
+ sh:message "A subject answer has exactly one time of creation."@en ] .
@@ -5,6 +5,7 @@
5
5
  @prefix events: <https://id.quickpipe.ai/domain/events#> .
6
6
  @prefix events-vocab: <https://id.quickpipe.ai/domain/vocab/events#> .
7
7
  @prefix core: <https://id.quickpipe.ai/domain/core#> .
8
+ @prefix ai: <https://id.quickpipe.ai/domain/ai#> .
8
9
  @prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
9
10
  @prefix owl: <http://www.w3.org/2002/07/owl#> .
10
11
  @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@@ -13,8 +14,8 @@
13
14
  @prefix sh: <http://www.w3.org/ns/shacl#> .
14
15
 
15
16
  <https://id.quickpipe.ai/domain/shapes/billing> a owl:Ontology ;
16
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/billing> ;
17
- owl:versionInfo "0.9.0" ;
17
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/billing> ;
18
+ owl:versionInfo "0.11.0" ;
18
19
  core:title "QuickPipe domain model: shapes of billing"@en ;
19
20
  core:preferred-prefix "billing-shapes" .
20
21
 
@@ -3040,6 +3041,7 @@ billing-shapes:audit-row-shape a sh:NodeShape ;
3040
3041
  billing-shapes:outbox-row-shape a sh:NodeShape ;
3041
3042
  sh:targetClass billing:outbox-row ;
3042
3043
  sh:message "An outbox row has the properties of its class."@en ;
3044
+ sh:property [ sh:path ai:has-correlation-id ; sh:datatype xsd:string ; sh:maxCount 1 ; sh:message "An outbox row has at most one trace id."@en ] ;
3043
3045
  sh:property [
3044
3046
  sh:path core:id ;
3045
3047
  sh:datatype xsd:string ;
@@ -15,8 +15,8 @@
15
15
 
16
16
  <https://id.quickpipe.ai/domain/shapes/campaigns>
17
17
  a owl:Ontology ;
18
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/campaigns> ;
19
- owl:versionInfo "0.9.0" ;
18
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/campaigns> ;
19
+ owl:versionInfo "0.11.0" ;
20
20
  core:title "QuickPipe domain model: shapes of campaigns"@en ;
21
21
  sh:declare
22
22
  [ sh:prefix "core" ; sh:namespace "https://id.quickpipe.ai/domain/core#"^^xsd:anyURI ] ,
package/shapes/core.ttl CHANGED
@@ -7,8 +7,8 @@
7
7
 
8
8
  <https://id.quickpipe.ai/domain/shapes/core>
9
9
  a owl:Ontology ;
10
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/core> ;
11
- owl:versionInfo "0.9.0" ;
10
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/core> ;
11
+ owl:versionInfo "0.11.0" ;
12
12
  core:title "QuickPipe domain model: shapes of core"@en .
13
13
 
14
14
  core-shapes:database-schema-shape a sh:NodeShape ;
package/shapes/crm.ttl CHANGED
@@ -12,8 +12,8 @@
12
12
 
13
13
  <https://id.quickpipe.ai/domain/shapes/crm>
14
14
  a owl:Ontology ;
15
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/crm> ;
16
- owl:versionInfo "0.9.0" ;
15
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/crm> ;
16
+ owl:versionInfo "0.11.0" ;
17
17
  core:title "QuickPipe domain model: shapes of crm"@en .
18
18
 
19
19
  crm-shapes:lead-record-shape a sh:NodeShape ;
package/shapes/desk.ttl CHANGED
@@ -1,4 +1,5 @@
1
1
  @prefix core: <https://id.quickpipe.ai/domain/core#> .
2
+ @prefix leads: <https://id.quickpipe.ai/domain/leads#> .
2
3
  @prefix ai: <https://id.quickpipe.ai/domain/ai#> .
3
4
  @prefix auth: <https://id.quickpipe.ai/domain/auth#> .
4
5
  @prefix billing: <https://id.quickpipe.ai/domain/billing#> .
@@ -15,8 +16,8 @@
15
16
 
16
17
  <https://id.quickpipe.ai/domain/shapes/desk>
17
18
  a owl:Ontology ;
18
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/desk> ;
19
- owl:versionInfo "0.9.0" ;
19
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/desk> ;
20
+ owl:versionInfo "0.11.0" ;
20
21
  core:title "QuickPipe domain model: shapes of desk"@en .
21
22
 
22
23
  desk-shapes:watch-list-shape a sh:NodeShape ;
@@ -187,6 +188,7 @@ desk-shapes:webhook-shape a sh:NodeShape ;
187
188
  sh:closed true ;
188
189
  sh:ignoredProperties ( rdf:type ) ;
189
190
  sh:message "A webhook of desk has only the properties of its class."@en ;
191
+ sh:property [ sh:path ai:has-correlation-id ; sh:datatype xsd:string ; sh:maxCount 1 ; sh:message "A webhook has at most one trace id."@en ] ;
190
192
  sh:property [
191
193
  sh:path core:id ;
192
194
  sh:datatype xsd:string ;
@@ -1650,3 +1652,137 @@ desk-shapes:interview-shape a sh:NodeShape ;
1650
1652
  sh:path desk:keeps-value-reference-storage ; sh:hasValue desk-vocab:value-reference-storage-content ;
1651
1653
  sh:message "An interview holds its content, because no other owner has the facts."
1652
1654
  ] .
1655
+
1656
+ desk-shapes:held-call-shape a sh:NodeShape ;
1657
+ sh:targetClass desk:held-call ;
1658
+ sh:closed true ;
1659
+ sh:ignoredProperties ( rdf:type ) ;
1660
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
1661
+ sh:message "A held call has exactly one id, which is also the id of its approval request."@en ] ;
1662
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1663
+ sh:message "A held call belongs to exactly one workspace."@en ] ;
1664
+ sh:property [ sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ;
1665
+ sh:message "A held call names exactly one user on whose behalf the client agent calls."@en ] ;
1666
+ sh:property [ sh:path desk:has-approval-level ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
1667
+ sh:message "A held call has exactly one approval level."@en ] ;
1668
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1669
+ sh:message "A held call has exactly one time at which desk held it."@en ] ;
1670
+ sh:property [ sh:path core:ended-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
1671
+ sh:message "A held call has at most one time of the end."@en ] .
1672
+
1673
+ desk-shapes:merge-shape a sh:NodeShape ;
1674
+ sh:targetClass desk:merge ;
1675
+ sh:closed true ;
1676
+ sh:ignoredProperties ( rdf:type ) ;
1677
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
1678
+ sh:message "A merge has exactly one id, which the undo route takes."@en ] ;
1679
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1680
+ sh:message "A merge belongs to exactly one workspace."@en ] ;
1681
+ sh:property [ sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ;
1682
+ sh:message "A merge names exactly one teammate who ran it."@en ] ;
1683
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1684
+ sh:message "A merge has exactly one time of creation."@en ] ;
1685
+ sh:property [ sh:path desk:has-merge-object ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
1686
+ sh:message "A merge combines one kind of record, from the scheme of merge objects."@en ] .
1687
+
1688
+ desk-shapes:lead-campaign-write-shape a sh:NodeShape ;
1689
+ sh:targetClass desk:lead-campaign-write ;
1690
+ sh:closed true ;
1691
+ sh:ignoredProperties ( rdf:type ) ;
1692
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
1693
+ sh:message "A lead campaign write has exactly one id."@en ] ;
1694
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1695
+ sh:message "A lead campaign write belongs to exactly one workspace."@en ] ;
1696
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1697
+ sh:message "A lead campaign write has exactly one time of creation."@en ] .
1698
+
1699
+ desk-shapes:segment-shape a sh:NodeShape ;
1700
+ sh:targetClass desk:segment ;
1701
+ sh:closed true ;
1702
+ sh:ignoredProperties ( rdf:type ) ;
1703
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
1704
+ sh:message "A segment has exactly one desk segment id."@en ] ;
1705
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1706
+ sh:message "A segment belongs to exactly one workspace."@en ] ;
1707
+ sh:property [ sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ;
1708
+ sh:message "A segment names exactly one user who saved it."@en ] ;
1709
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1710
+ sh:message "A segment has exactly one time of creation."@en ] .
1711
+
1712
+ desk-shapes:tier-notice-shape a sh:NodeShape ;
1713
+ sh:targetClass desk:tier-notice ;
1714
+ sh:closed true ;
1715
+ sh:ignoredProperties ( rdf:type ) ;
1716
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
1717
+ sh:message "A tier notice has exactly one id."@en ] ;
1718
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1719
+ sh:message "A tier notice belongs to exactly one workspace."@en ] ;
1720
+ sh:property [ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1721
+ sh:message "A tier notice has exactly one time of the change of the stage."@en ] ;
1722
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1723
+ sh:message "A tier notice has exactly one time at which desk made it."@en ] .
1724
+
1725
+ desk-shapes:mailbox-notice-shape a sh:NodeShape ;
1726
+ sh:targetClass desk:mailbox-notice ;
1727
+ sh:closed true ;
1728
+ sh:ignoredProperties ( rdf:type ) ;
1729
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
1730
+ sh:message "A mailbox notice has exactly one id."@en ] ;
1731
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1732
+ sh:message "A mailbox notice belongs to exactly one workspace."@en ] ;
1733
+ sh:property [ sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ;
1734
+ sh:message "A mailbox notice names exactly one teammate who owns the mailbox."@en ] ;
1735
+ sh:property [ sh:path core:has-status ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
1736
+ sh:message "A mailbox notice has exactly one status."@en ] ;
1737
+ sh:property [ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1738
+ sh:message "A mailbox notice has exactly one time at which it opened."@en ] ;
1739
+ sh:property [ sh:path core:ended-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
1740
+ sh:message "A mailbox notice has at most one time at which the teammate dismissed it."@en ] ;
1741
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1742
+ sh:message "A mailbox notice has exactly one time at which desk made it."@en ] .
1743
+
1744
+ desk-shapes:workspace-life-audit-row-shape a sh:NodeShape ;
1745
+ sh:targetClass desk:workspace-life-audit-row ;
1746
+ sh:closed true ;
1747
+ sh:ignoredProperties ( rdf:type ) ;
1748
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
1749
+ sh:message "A workspace life audit row has exactly one id."@en ] ;
1750
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1751
+ sh:message "A workspace life audit row belongs to exactly one workspace."@en ] ;
1752
+ sh:property [ sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ;
1753
+ sh:message "A workspace life audit row names exactly one user who closed or reopened the workspace."@en ] ;
1754
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1755
+ sh:message "A workspace life audit row has exactly one time of creation."@en ] .
1756
+
1757
+ desk-shapes:offer-shape a sh:NodeShape ;
1758
+ sh:targetClass desk:offer ;
1759
+ sh:closed true ;
1760
+ sh:ignoredProperties ( rdf:type ) ;
1761
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
1762
+ sh:message "An offer has exactly one id. It is the deskOfferId."@en ] ;
1763
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1764
+ sh:message "An offer belongs to exactly one workspace."@en ] ;
1765
+ sh:property [ sh:path desk:has-offer-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
1766
+ sh:message "An offer has exactly one name."@en ] ;
1767
+ sh:property [ sh:path desk:has-offer-default ; sh:datatype xsd:boolean ; sh:minCount 1 ; sh:maxCount 1 ;
1768
+ sh:message "An offer says whether it is the default offer of its workspace."@en ] ;
1769
+ sh:property [ sh:path desk:targets-industry ; sh:class leads:industry ;
1770
+ sh:message "An offer targets zero, one or more industries of the catalog of leads."@en ] ;
1771
+ sh:property [ sh:path desk:targets-headcount ; sh:class leads:range ; sh:maxCount 1 ;
1772
+ sh:message "An offer has at most one range of headcount."@en ] ;
1773
+ sh:property [ sh:path desk:targets-function ; sh:class leads:function ;
1774
+ sh:message "An offer targets zero, one or more functions."@en ] ;
1775
+ sh:property [ sh:path desk:targets-seniority ; sh:class leads:seniority ;
1776
+ sh:message "An offer targets zero, one or more seniorities."@en ] ;
1777
+ sh:property [ sh:path desk:targets-region ; sh:class leads:region ;
1778
+ sh:message "An offer targets zero, one or more regions."@en ] ;
1779
+ sh:property [ sh:path desk:has-best-customer ; sh:datatype xsd:string ;
1780
+ sh:message "An offer has at most 5 domains of best customers."@en ] ;
1781
+ sh:property [ sh:path core:for-user ; sh:class core:user ; sh:maxCount 1 ;
1782
+ sh:message "An offer names at most one teammate who made it."@en ] ;
1783
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1784
+ sh:message "An offer has exactly one time of creation."@en ] ;
1785
+ sh:property [ sh:path core:invalidated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
1786
+ sh:message "An offer has at most one time of deletion."@en ] ;
1787
+ sh:property [ sh:path desk:pins-value-reference ; sh:class desk:value-reference ;
1788
+ sh:message "An offer pins zero, one or more value references, for example its account set."@en ] .
package/shapes/email.ttl CHANGED
@@ -14,8 +14,8 @@
14
14
 
15
15
  <https://id.quickpipe.ai/domain/shapes/email>
16
16
  a owl:Ontology ;
17
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/email> ;
18
- owl:versionInfo "0.9.0" ;
17
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/email> ;
18
+ owl:versionInfo "0.11.0" ;
19
19
  core:title "QuickPipe domain model: shapes of email"@en .
20
20
 
21
21
  email-shapes:mailbox-shape a sh:NodeShape ;
@@ -318,6 +318,14 @@ email-shapes:thread-shape a sh:NodeShape ;
318
318
  sh:property [
319
319
  sh:path email:for-enrollment ; sh:nodeKind sh:IRI ; sh:minCount 1 ; sh:maxCount 1 ;
320
320
  sh:message "A thread belongs to exactly one enrollment."
321
+ ] ;
322
+ sh:property [
323
+ sh:path email:has-message-subject ; sh:datatype xsd:string ; sh:maxCount 1 ;
324
+ sh:message "A thread has at most one subject."
325
+ ] ;
326
+ sh:property [
327
+ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
328
+ sh:message "A thread has at most one time of creation."
321
329
  ] .
322
330
 
323
331
  email-shapes:reply-shape a sh:NodeShape ;
@@ -336,6 +344,18 @@ email-shapes:reply-shape a sh:NodeShape ;
336
344
  sh:path email:in-thread ; sh:class email:thread ; sh:minCount 1 ; sh:maxCount 1 ;
337
345
  sh:message "A reply belongs to exactly one thread."
338
346
  ] ;
347
+ sh:property [
348
+ sh:path email:has-mailbox-message-id ; sh:datatype xsd:string ; sh:maxCount 1 ;
349
+ sh:message "A reply has at most one mailbox message id."
350
+ ] ;
351
+ sh:property [
352
+ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
353
+ sh:message "A reply has at most one time of receipt."
354
+ ] ;
355
+ sh:property [
356
+ sh:path email:has-text ; sh:datatype xsd:string ; sh:maxCount 1 ;
357
+ sh:message "A reply has at most one body."
358
+ ] ;
339
359
  sh:property [
340
360
  sh:path email:has-reply-label ; sh:class core:concept ; sh:maxCount 1 ;
341
361
  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 ) ;
@@ -400,7 +420,6 @@ email-shapes:answer-shape a sh:NodeShape ;
400
420
  sh:message "An answer has exactly one time of the next send."
401
421
  ] .
402
422
 
403
-
404
423
  email-shapes:unit-cost-shape a sh:NodeShape ;
405
424
  sh:targetClass email:unit-cost ;
406
425
  sh:closed true ;
@@ -446,3 +465,13 @@ email-shapes:standing-hold-shape a sh:NodeShape ;
446
465
  sh:path email:refused-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;
447
466
  sh:message "A standing hold of email has at most one time of the last refusal."
448
467
  ] .
468
+
469
+ email-shapes:open-shape a sh:NodeShape ;
470
+ sh:targetClass email:open ;
471
+ sh:closed true ;
472
+ sh:ignoredProperties ( rdf:type ) ;
473
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
474
+ sh:message "An open belongs to exactly one workspace."@en ] ;
475
+ sh:property [ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
476
+ sh:message "An open has exactly one time at which the person opened the message."@en ] .
477
+
package/shapes/events.ttl CHANGED
@@ -1,4 +1,5 @@
1
1
  @prefix core: <https://id.quickpipe.ai/domain/core#> .
2
+ @prefix ai: <https://id.quickpipe.ai/domain/ai#> .
2
3
  @prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
3
4
  @prefix events: <https://id.quickpipe.ai/domain/events#> .
4
5
  @prefix events-vocab: <https://id.quickpipe.ai/domain/vocab/events#> .
@@ -16,8 +17,8 @@
16
17
 
17
18
  <https://id.quickpipe.ai/domain/shapes/events>
18
19
  a owl:Ontology ;
19
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/events> ;
20
- owl:versionInfo "0.9.0" ;
20
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/events> ;
21
+ owl:versionInfo "0.11.0" ;
21
22
  core:title "QuickPipe domain model: shapes of events"@en .
22
23
 
23
24
  events-shapes:ingested-event-shape a sh:NodeShape ;
@@ -1106,6 +1107,7 @@ events-shapes:webhook-message-shape a sh:NodeShape ;
1106
1107
  sh:targetClass events:webhook-message ;
1107
1108
  sh:closed true ;
1108
1109
  sh:ignoredProperties ( rdf:type ) ;
1110
+ sh:property [ sh:path ai:has-correlation-id ; sh:datatype xsd:string ; sh:maxCount 1 ; sh:message "A message has at most one trace id."@en ] ;
1109
1111
  sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "It has exactly one value of core:id, of the correct type."@en ] ;
1110
1112
  sh:property [ sh:path events:has-topic ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "A message has exactly one topic of the scheme of webhook topics."@en ] ;
1111
1113
  sh:property [ sh:path ( events:has-topic core:in-scheme ) ; sh:in ( events-vocab:webhook-topic ) ; sh:message "Each value of events:has-topic is a concept of the scheme webhook-topic."@en ] ;
@@ -1199,3 +1201,75 @@ events-shapes:source-options-shape a sh:NodeShape ;
1199
1201
  sh:targetClass identity:source ;
1200
1202
  sh:property [ sh:path events:has-visits ; sh:datatype xsd:boolean ; sh:maxCount 1 ; sh:message "A source has at most one value of the option visits."@en ] ;
1201
1203
  sh:property [ sh:path events:has-traffic ; sh:datatype xsd:boolean ; sh:maxCount 1 ; sh:message "A source has at most one value of the option traffic."@en ] .
1204
+
1205
+ events-shapes:aggregate-bucket-shape a sh:NodeShape ;
1206
+ sh:targetClass events:aggregate-bucket ;
1207
+ sh:closed true ;
1208
+ sh:ignoredProperties ( rdf:type ) ;
1209
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1210
+ sh:message "An aggregate bucket belongs to exactly one workspace."@en ] ;
1211
+ sh:property [ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1212
+ sh:message "An aggregate bucket has exactly one time of its first event or signal."@en ] ;
1213
+ sh:property [ sh:path core:ended-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1214
+ sh:message "An aggregate bucket has exactly one time of its last event or signal."@en ] .
1215
+
1216
+ events-shapes:aggregate-name-shape a sh:NodeShape ;
1217
+ sh:targetClass events:aggregate-name ;
1218
+ sh:closed true ;
1219
+ sh:ignoredProperties ( rdf:type ) ;
1220
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1221
+ sh:message "An aggregate name belongs to exactly one workspace."@en ] ;
1222
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1223
+ sh:message "An aggregate name has exactly one time of creation."@en ] .
1224
+
1225
+ events-shapes:webhook-delivery-shape a sh:NodeShape ;
1226
+ sh:targetClass events:webhook-delivery ;
1227
+ sh:closed true ;
1228
+ sh:ignoredProperties ( rdf:type ) ;
1229
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1230
+ sh:message "A webhook delivery belongs to exactly one workspace."@en ] ;
1231
+ sh:property [ sh:path core:has-status ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
1232
+ sh:message "A webhook delivery has exactly one status."@en ] ;
1233
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1234
+ sh:message "A webhook delivery has exactly one time of creation."@en ] .
1235
+
1236
+ events-shapes:processed-event-shape a sh:NodeShape ;
1237
+ sh:targetClass events:processed-event ;
1238
+ sh:closed true ;
1239
+ sh:ignoredProperties ( rdf:type ) ;
1240
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1241
+ sh:message "A processed event belongs to exactly one workspace."@en ] .
1242
+
1243
+ events-shapes:retention-period-shape a sh:NodeShape ;
1244
+ sh:targetClass events:retention-period ;
1245
+ sh:closed true ;
1246
+ sh:ignoredProperties ( rdf:type ) ;
1247
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1248
+ sh:message "A retention period belongs to exactly one workspace."@en ] .
1249
+
1250
+ events-shapes:backfill-job-shape a sh:NodeShape ;
1251
+ sh:targetClass events:backfill-job ;
1252
+ sh:closed true ;
1253
+ sh:ignoredProperties ( rdf:type ) ;
1254
+ sh:property [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ;
1255
+ sh:message "A backfill job has exactly one id."@en ] ;
1256
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1257
+ sh:message "A backfill job belongs to exactly one workspace."@en ] ;
1258
+ sh:property [ sh:path core:has-status ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ;
1259
+ sh:message "A backfill job has exactly one status."@en ] ;
1260
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1261
+ sh:message "A backfill job has exactly one time of creation."@en ] .
1262
+
1263
+ events-shapes:campaign-version-shape a sh:NodeShape ;
1264
+ sh:targetClass events:campaign-version ;
1265
+ sh:closed true ;
1266
+ sh:ignoredProperties ( rdf:type ) ;
1267
+ sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
1268
+ sh:message "A campaign version belongs to exactly one workspace."@en ] ;
1269
+ sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
1270
+ sh:message "A campaign version has exactly one time of creation."@en ] .
1271
+
1272
+ events-shapes:merge-move-shape a sh:NodeShape ;
1273
+ sh:targetClass events:merge-move ;
1274
+ sh:closed true ;
1275
+ sh:ignoredProperties ( rdf:type ) .
@@ -11,8 +11,8 @@
11
11
 
12
12
  <https://id.quickpipe.ai/domain/shapes/identity>
13
13
  a owl:Ontology ;
14
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/identity> ;
15
- owl:versionInfo "0.9.0" ;
14
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/identity> ;
15
+ owl:versionInfo "0.11.0" ;
16
16
  core:title "QuickPipe domain model: shapes of identity"@en ;
17
17
  sh:declare
18
18
  [ sh:prefix "core" ; sh:namespace "https://id.quickpipe.ai/domain/core#"^^xsd:anyURI ] ,
package/shapes/leads.ttl CHANGED
@@ -16,8 +16,8 @@
16
16
 
17
17
  <https://id.quickpipe.ai/domain/shapes/leads>
18
18
  a owl:Ontology ;
19
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/leads> ;
20
- owl:versionInfo "0.9.0" ;
19
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/leads> ;
20
+ owl:versionInfo "0.11.0" ;
21
21
  core:title "QuickPipe domain model: shapes of leads"@en .
22
22
 
23
23
  leads-shapes:token-shape a sh:NodeShape ;
@@ -12,8 +12,8 @@
12
12
 
13
13
  <https://id.quickpipe.ai/domain/shapes/linkedin>
14
14
  a owl:Ontology ;
15
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/linkedin> ;
16
- owl:versionInfo "0.9.0" ;
15
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/linkedin> ;
16
+ owl:versionInfo "0.11.0" ;
17
17
  core:title "QuickPipe domain model: shapes of linkedin"@en .
18
18
 
19
19
  linkedin-shapes:sender-shape a sh:NodeShape ;
@@ -13,8 +13,8 @@
13
13
 
14
14
  <https://id.quickpipe.ai/domain/shapes/scoring>
15
15
  a owl:Ontology ;
16
- owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/scoring> ;
17
- owl:versionInfo "0.9.0" ;
16
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/scoring> ;
17
+ owl:versionInfo "0.11.0" ;
18
18
  core:title "QuickPipe domain model: shapes of scoring"@en ;
19
19
  sh:declare
20
20
  [ sh:prefix "core" ; sh:namespace "https://id.quickpipe.ai/domain/core#"^^xsd:anyURI ] ,