@quickpipeaiab/domain 0.11.0 → 0.13.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/email.ttl CHANGED
@@ -11,8 +11,8 @@
11
11
 
12
12
  <https://id.quickpipe.ai/domain/email>
13
13
  a owl:Ontology ;
14
- owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/email> ;
15
- owl:versionInfo "0.11.0" ;
14
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/email> ;
15
+ owl:versionInfo "0.13.0" ;
16
16
  core:title "QuickPipe domain model: email"@en ;
17
17
  core:preferred-prefix "email" ;
18
18
  core:preferred-namespace "https://id.quickpipe.ai/domain/email#" ;
@@ -1517,6 +1517,56 @@ email:column-mailboxes-bounces-cursor a owl:NamedIndividual , core:column ;
1517
1517
  core:defined-by <https://id.quickpipe.ai/domain/email> ;
1518
1518
  core:owner core:email .
1519
1519
 
1520
+ email:column-mailboxes-ramp-limit a owl:NamedIndividual , core:column ;
1521
+ core:of-table email:table-email-mailboxes ;
1522
+ core:has-name "ramp_limit" ;
1523
+ core:not-modelled-reason "The ramp limit is work state of the hourly ramp job. The mailbox record shows the allowed limit as ramp."@en ;
1524
+ core:label "email.mailboxes.ramp_limit"@en ;
1525
+ core:definition "The largest number of sends in one day that the ramp-up lets the mailbox make. The allowed limit is the smaller of this value and the daily limit."@en ;
1526
+ core:source "docs/specs/email/docs/internal/decisions/0019-sender-pools.md#Decision" ;
1527
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1528
+ core:owner core:email .
1529
+
1530
+ email:column-mailboxes-ramp-day a owl:NamedIndividual , core:column ;
1531
+ core:of-table email:table-email-mailboxes ;
1532
+ core:has-name "ramp_day" ;
1533
+ core:not-modelled-reason "The ramp day is work state of the hourly ramp job. The mailbox record shows it as ramp."@en ;
1534
+ core:label "email.mailboxes.ramp_day"@en ;
1535
+ core:definition "The number of days since the ramp-up of the mailbox started."@en ;
1536
+ core:source "docs/specs/email/docs/internal/decisions/0019-sender-pools.md#Decision" ;
1537
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1538
+ core:owner core:email .
1539
+
1540
+ email:column-mailboxes-ramp-frozen a owl:NamedIndividual , core:column ;
1541
+ core:of-table email:table-email-mailboxes ;
1542
+ core:has-name "ramp_frozen" ;
1543
+ core:not-modelled-reason "The freeze flag is work state of the hourly ramp job. The mailbox record shows it as ramp."@en ;
1544
+ core:label "email.mailboxes.ramp_frozen"@en ;
1545
+ core:definition "True while the 7-day bounce rate is above the warn limit, so the ramp-up does not grow."@en ;
1546
+ core:source "docs/specs/email/docs/internal/decisions/0019-sender-pools.md#Decision" ;
1547
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1548
+ core:owner core:email .
1549
+
1550
+ email:column-mailboxes-ramp-advanced-on a owl:NamedIndividual , core:column ;
1551
+ core:of-table email:table-email-mailboxes ;
1552
+ core:has-name "ramp_advanced_on" ;
1553
+ core:not-modelled-reason "The day of the last move is work state of the hourly ramp job, so that it moves a mailbox once in a UTC day."@en ;
1554
+ core:label "email.mailboxes.ramp_advanced_on"@en ;
1555
+ core:definition "The UTC day on which the ramp job last moved the mailbox."@en ;
1556
+ core:source "docs/specs/email/docs/internal/decisions/0019-sender-pools.md#Decision" ;
1557
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1558
+ core:owner core:email .
1559
+
1560
+ email:column-step-calls-slot-at a owl:NamedIndividual , core:column ;
1561
+ core:of-table email:table-email-step-calls ;
1562
+ core:has-name "slot_at" ;
1563
+ core:not-modelled-reason "The send slot is work state of the step call. The step call answer daily-limit carries it as retryAt."@en ;
1564
+ core:label "email.step_calls.slot_at"@en ;
1565
+ core:definition "The time that `email` keeps for the step, so that two sends of the mailbox are 2 to 6 minutes apart."@en ;
1566
+ core:source "docs/specs/email/docs/internal/decisions/0019-sender-pools.md#Decision" ;
1567
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1568
+ core:owner core:email .
1569
+
1520
1570
  # The bounces of the mailboxes (email 0012).
1521
1571
 
1522
1572
  email:table-email-bounces a owl:NamedIndividual , core:table ;
@@ -1726,6 +1776,16 @@ email:column-email-threads-subject a owl:NamedIndividual , core:column ;
1726
1776
  core:defined-by <https://id.quickpipe.ai/domain/email> ;
1727
1777
  core:owner core:email .
1728
1778
 
1779
+ email:column-email-threads-recipient a owl:NamedIndividual , core:column ;
1780
+ core:of-table email:table-email-threads ;
1781
+ core:has-name "recipient" ;
1782
+ core:not-modelled-reason "The lower case address that the first send of the thread went to. The model has no property from a thread to an address."@en ;
1783
+ core:label "email.threads.recipient"@en ;
1784
+ core:definition "The lower case address of the person that the first send of the thread went to. `email` matches a message from this address outside a thread with the thread."@en ;
1785
+ core:source "docs/specs/email/docs/internal/decisions/0018-unsubscribe-and-footer.md#Decision" ;
1786
+ core:defined-by <https://id.quickpipe.ai/domain/email> ;
1787
+ core:owner core:email .
1788
+
1729
1789
  email:column-email-threads-campaign-id a owl:NamedIndividual , core:column ;
1730
1790
  core:of-table email:table-email-threads ;
1731
1791
  core:has-name "campaign_id" ;
package/events.ttl CHANGED
@@ -12,8 +12,8 @@
12
12
 
13
13
  <https://id.quickpipe.ai/domain/events>
14
14
  a owl:Ontology ;
15
- owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/events> ;
16
- owl:versionInfo "0.11.0" ;
15
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/events> ;
16
+ owl:versionInfo "0.13.0" ;
17
17
  core:title "QuickPipe domain model: events"@en ;
18
18
  core:preferred-prefix "events" ;
19
19
  core:preferred-namespace "https://id.quickpipe.ai/domain/events#" ;
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.11.0/identity> ;
12
- owl:versionInfo "0.11.0" ;
11
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/identity> ;
12
+ owl:versionInfo "0.13.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#" ;
@@ -896,7 +896,7 @@ identity:has-key-prefix a owl:DatatypeProperty , owl:FunctionalProperty ;
896
896
  rdfs:domain identity:key ;
897
897
  rdfs:range xsd:string ;
898
898
  core:label "has key prefix"@en ;
899
- core:definition "The first 12 characters of the key, which the service stores for search."@en ;
899
+ core:definition "The first 20 characters of the key, which the service stores for search."@en ;
900
900
  core:source "docs/specs/lead-scoring/PLAN.md#14. Privacy and security" ;
901
901
  core:defined-by <https://id.quickpipe.ai/domain/identity> ;
902
902
  core:owner core:lead-scoring ;
@@ -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.11.0/imports/external> .
11
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.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.11.0/leads> ;
17
- owl:versionInfo "0.11.0" ;
16
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/leads> ;
17
+ owl:versionInfo "0.13.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#" ;
@@ -697,7 +697,7 @@ leads:cheapest-path a owl:Class ;
697
697
 
698
698
  leads:visitor-identification a owl:Class ;
699
699
  rdfs:subClassOf billing:setting ;
700
- owl:equivalentClass [ a owl:Class ; owl:intersectionOf ( billing:setting [ a owl:Restriction ; owl:onProperty leads:is-set-to ; owl:someValuesFrom core:concept ] ) ] ;
700
+ owl:equivalentClass [ a owl:Class ; owl:intersectionOf ( billing:setting [ a owl:Restriction ; owl:onProperty core:has-name ; owl:hasValue "visitor-identification" ] [ a owl:Restriction ; owl:onProperty leads:is-set-to ; owl:someValuesFrom core:concept ] ) ] ;
701
701
  core:label "visitor identification"@en ;
702
702
  core:definition "A setting that tells if `leads` runs `account.identify-ip` for the visits of a workspace, with an optional daily maximum"@en ;
703
703
  core:source "docs/specs/leads/docs/internal/decisions/0003-concepts.md#Settings" ;
@@ -705,6 +705,66 @@ leads:visitor-identification a owl:Class ;
705
705
  core:owner core:leads ;
706
706
  core:has-contract true .
707
707
 
708
+ leads:setting-calibration-budget a owl:Class ;
709
+ rdfs:subClassOf billing:setting ;
710
+ owl:equivalentClass [ a owl:Class ; owl:intersectionOf ( billing:setting [ a owl:Restriction ; owl:onProperty core:has-name ; owl:hasValue "calibration-budget" ] ) ] ;
711
+ core:label "calibration budget setting"@en ;
712
+ core:definition "A setting of scope `global`: the budget in micro-USD that limits the cost of the battles of calibration. `leads` enforces it, and it never goes to `billing`."@en ;
713
+ core:source "docs/specs/leads/docs/internal/decisions/0024-settings-and-admin.md#Decision" ;
714
+ core:defined-by <https://id.quickpipe.ai/domain/leads> ;
715
+ core:owner core:leads ;
716
+ core:has-contract true .
717
+
718
+ leads:setting-visitor-daily-maximum a owl:Class ;
719
+ rdfs:subClassOf billing:setting ;
720
+ owl:equivalentClass [ a owl:Class ; owl:intersectionOf ( billing:setting [ a owl:Restriction ; owl:onProperty core:has-name ; owl:hasValue "visitor-daily-maximum" ] ) ] ;
721
+ core:label "visitor daily maximum setting"@en ;
722
+ core:definition "A setting of scope `workspace`: the largest charge for visitor identification of one workspace in one day, in micro-USD."@en ;
723
+ core:source "docs/specs/leads/docs/internal/decisions/0024-settings-and-admin.md#Decision" ;
724
+ core:defined-by <https://id.quickpipe.ai/domain/leads> ;
725
+ core:owner core:leads ;
726
+ core:has-contract true .
727
+
728
+ leads:setting-apollo-daily-credits a owl:Class ;
729
+ rdfs:subClassOf billing:setting ;
730
+ owl:equivalentClass [ a owl:Class ; owl:intersectionOf ( billing:setting [ a owl:Restriction ; owl:onProperty core:has-name ; owl:hasValue "apollo-daily-credits" ] ) ] ;
731
+ core:label "apollo daily credits setting"@en ;
732
+ core:definition "A setting of scope `workspace`: the largest count of Apollo credits that the runs of one workspace use in one day, as a whole number of 1 or more."@en ;
733
+ core:source "docs/specs/leads/docs/internal/decisions/0024-settings-and-admin.md#Decision" ;
734
+ core:defined-by <https://id.quickpipe.ai/domain/leads> ;
735
+ core:owner core:leads ;
736
+ core:has-contract true .
737
+
738
+ leads:setting-reuse-cost a owl:Class ;
739
+ rdfs:subClassOf billing:setting ;
740
+ owl:equivalentClass [ a owl:Class ; owl:intersectionOf ( billing:setting [ a owl:Restriction ; owl:onProperty core:has-name ; owl:hasValue "reuse-cost" ] ) ] ;
741
+ core:label "reuse cost setting"@en ;
742
+ core:definition "A setting of scope `global`: the charge in micro-USD for the reuse of a cached result, 1 or more."@en ;
743
+ core:source "docs/specs/leads/docs/internal/decisions/0024-settings-and-admin.md#Decision" ;
744
+ core:defined-by <https://id.quickpipe.ai/domain/leads> ;
745
+ core:owner core:leads ;
746
+ core:has-contract true .
747
+
748
+ leads:setting-choice-wait a owl:Class ;
749
+ rdfs:subClassOf billing:setting ;
750
+ owl:equivalentClass [ a owl:Class ; owl:intersectionOf ( billing:setting [ a owl:Restriction ; owl:onProperty core:has-name ; owl:hasValue "choice-wait" ] ) ] ;
751
+ core:label "choice wait setting"@en ;
752
+ core:definition "A setting of scope `global`: the number of hours that a run waits for a choice, 1 or more."@en ;
753
+ core:source "docs/specs/leads/docs/internal/decisions/0024-settings-and-admin.md#Decision" ;
754
+ core:defined-by <https://id.quickpipe.ai/domain/leads> ;
755
+ core:owner core:leads ;
756
+ core:has-contract true .
757
+
758
+ leads:setting-transport a owl:Class ;
759
+ rdfs:subClassOf billing:setting ;
760
+ owl:equivalentClass [ a owl:Class ; owl:intersectionOf ( billing:setting [ a owl:Restriction ; owl:onProperty core:has-name ; owl:hasValue "transport" ] ) ] ;
761
+ core:label "transport setting"@en ;
762
+ core:definition "A setting of scope `global` or `workspace`: the transport of one source, `treg` or `direct`."@en ;
763
+ core:source "docs/specs/leads/docs/internal/decisions/0024-settings-and-admin.md#Decision" ;
764
+ core:defined-by <https://id.quickpipe.ai/domain/leads> ;
765
+ core:owner core:leads ;
766
+ core:has-contract true .
767
+
708
768
  leads:empty-step a owl:Class ;
709
769
  rdfs:subClassOf core:event ;
710
770
  owl:equivalentClass [ a owl:Class ; owl:intersectionOf ( core:event [ a owl:Restriction ; owl:onProperty leads:of-step ; owl:someValuesFrom leads:step ] ) ] ;
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.11.0/linkedin> ;
14
- owl:versionInfo "0.11.0" ;
13
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/linkedin> ;
14
+ owl:versionInfo "0.13.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#" ;
@@ -112,6 +112,29 @@ linkedin:by-sender a owl:ObjectProperty , owl:FunctionalProperty ;
112
112
 
113
113
  # Tables in the schema linkedin.
114
114
 
115
+ linkedin:reply a owl:Class ;
116
+ rdfs:subClassOf core:entity ;
117
+ core:retention "P0D" ;
118
+ core:retention-clock core-vocab:retention-clock-since-closed ;
119
+ core:controller-role core-vocab:controller-role-processor ;
120
+ core:label "reply of linkedin"@en ;
121
+ core:definition "One message from a lead on LinkedIn to a sender, after an action of the sender"@en ;
122
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
123
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
124
+ core:owner core:linkedin .
125
+
126
+ linkedin:reply-received a owl:Class ;
127
+ rdfs:subClassOf core:event ;
128
+ core:retention "P3D" ;
129
+ core:retention-clock core-vocab:retention-clock-since-created ;
130
+ core:controller-role core-vocab:controller-role-processor ;
131
+ core:label "reply received of linkedin"@en ;
132
+ core:definition "The webhook of `linkedin` for a reply of a lead to a sender. `desk` writes the reply with its label on the timeline in `crm`."@en ;
133
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
134
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
135
+ core:owner core:linkedin ;
136
+ core:has-contract true .
137
+
115
138
  linkedin:schema-linkedin a owl:NamedIndividual , core:database-schema ;
116
139
  core:has-name "linkedin" ;
117
140
  core:label "linkedin schema"@en ;
@@ -525,6 +548,107 @@ linkedin:column-actions-created-at a owl:NamedIndividual , core:column ;
525
548
  core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
526
549
  core:owner core:linkedin .
527
550
 
551
+ linkedin:column-actions-profile a owl:NamedIndividual , core:column ;
552
+ core:of-table linkedin:table-linkedin-actions ;
553
+ core:has-name "profile" ;
554
+ core:not-modelled-reason "The LinkedIn profile of the lead record of the action, in the form of the normalizer linkedinProfile. A reply with no action id finds its action with it. The model has no property for it."@en ;
555
+ core:label "linkedin.actions.profile"@en ;
556
+ core:definition "The LinkedIn profile of the action, as the normalizer gives it. An action from before this column has no value."@en ;
557
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
558
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
559
+ core:owner core:linkedin .
560
+
561
+ linkedin:table-linkedin-replies a owl:NamedIndividual , core:table ;
562
+ core:in-database-schema linkedin:schema-linkedin ;
563
+ core:has-name "replies" ;
564
+ core:has-row-class linkedin:reply ;
565
+ core:label "linkedin.replies"@en ;
566
+ core:definition "The table of the replies of `linkedin`: one row for each reply of a lead to a sender, with its lead record, its label and its time."@en ;
567
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
568
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
569
+ core:owner core:linkedin .
570
+
571
+ linkedin:column-replies-id a owl:NamedIndividual , core:column ;
572
+ core:of-table linkedin:table-linkedin-replies ;
573
+ core:has-name "id" ;
574
+ core:in-primary-key true ;
575
+ core:stores-property core:id ;
576
+ core:label "linkedin.replies.id"@en ;
577
+ core:definition "The id of the reply of a lead on LinkedIn."@en ;
578
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
579
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
580
+ core:owner core:linkedin .
581
+
582
+ linkedin:column-replies-workspace a owl:NamedIndividual , core:column ;
583
+ core:of-table linkedin:table-linkedin-replies ;
584
+ core:has-name "workspace" ;
585
+ core:stores-property core:in-workspace ;
586
+ core:label "linkedin.replies.workspace"@en ;
587
+ core:definition "The workspace of the reply of a lead on LinkedIn."@en ;
588
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
589
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
590
+ core:owner core:linkedin .
591
+
592
+ linkedin:column-replies-sender-id a owl:NamedIndividual , core:column ;
593
+ core:of-table linkedin:table-linkedin-replies ;
594
+ core:has-name "sender_id" ;
595
+ core:not-modelled-reason "The sender that got the reply. The model has `linkedin:by-sender` for an action, and no property from a reply to a sender."@en ;
596
+ core:label "linkedin.replies.sender_id"@en ;
597
+ core:definition "The id of the sender that got the reply. It is part of the unique key of the reply."@en ;
598
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
599
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
600
+ core:owner core:linkedin .
601
+
602
+ linkedin:column-replies-provider-id a owl:NamedIndividual , core:column ;
603
+ core:of-table linkedin:table-linkedin-replies ;
604
+ core:has-name "provider_id" ;
605
+ core:not-modelled-reason "The id of the reply in the provider port. It is an opaque key for the dedupe, and the model has no property for it."@en ;
606
+ core:label "linkedin.replies.provider_id"@en ;
607
+ core:definition "The opaque id of the reply in the provider port. It is part of the unique key of the reply."@en ;
608
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
609
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
610
+ core:owner core:linkedin .
611
+
612
+ linkedin:column-replies-lead-id a owl:NamedIndividual , core:column ;
613
+ core:of-table linkedin:table-linkedin-replies ;
614
+ core:has-name "lead_id" ;
615
+ core:not-modelled-reason "The lead record of the reply. The model states the reply on the sender, and has no property for the lead record."@en ;
616
+ core:label "linkedin.replies.lead_id"@en ;
617
+ core:definition "The id of the lead record of the action that the reply matches."@en ;
618
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
619
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
620
+ core:owner core:linkedin .
621
+
622
+ linkedin:column-replies-label a owl:NamedIndividual , core:column ;
623
+ core:of-table linkedin:table-linkedin-replies ;
624
+ core:has-name "label" ;
625
+ core:not-modelled-reason "The reply label of kai-agent. The model has the reply label for an email reply only."@en ;
626
+ core:label "linkedin.replies.label"@en ;
627
+ core:definition "The reply label of the task reply.label of kai-agent. A reply with no label has no value."@en ;
628
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
629
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
630
+ core:owner core:linkedin .
631
+
632
+ linkedin:column-replies-received-at a owl:NamedIndividual , core:column ;
633
+ core:of-table linkedin:table-linkedin-replies ;
634
+ core:has-name "received_at" ;
635
+ core:stores-property core:started-at ;
636
+ core:label "linkedin.replies.received_at"@en ;
637
+ core:definition "The time at which the provider got the reply."@en ;
638
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
639
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
640
+ core:owner core:linkedin .
641
+
642
+ linkedin:column-replies-created-at a owl:NamedIndividual , core:column ;
643
+ core:of-table linkedin:table-linkedin-replies ;
644
+ core:has-name "created_at" ;
645
+ core:stores-property core:generated-at ;
646
+ core:label "linkedin.replies.created_at"@en ;
647
+ core:definition "The time at which `linkedin` kept the reply."@en ;
648
+ core:source "docs/specs/linkedin/docs/internal/decisions/0007-replies-and-labels.md#Decision" ;
649
+ core:defined-by <https://id.quickpipe.ai/domain/linkedin> ;
650
+ core:owner core:linkedin .
651
+
528
652
  linkedin:table-linkedin-unit-costs a owl:NamedIndividual , core:table ;
529
653
  core:in-database-schema linkedin:schema-linkedin ;
530
654
  core:has-name "unit_costs" ;
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.11.0/mcp-gateway> ;
12
- owl:versionInfo "0.11.0" ;
11
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/mcp-gateway> ;
12
+ owl:versionInfo "0.13.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.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "QuickPipe domain model: OWL 2 modules, SKOS concept schemes and SHACL shapes",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -19,6 +19,7 @@
19
19
  "shapes": "../../tools/py.sh python scripts/shapes.py",
20
20
  "invalid": "../../tools/py.sh python scripts/invalid.py",
21
21
  "codes": "../../tools/py.sh python scripts/codes.py",
22
+ "behavior": "../../tools/py.sh python scripts/behavior.py",
22
23
  "tables": "QUICKPIPE_TOOLS_HOST=1 ../../tools/py.sh python scripts/tables.py",
23
24
  "metrics": "../../tools/py.sh python scripts/metrics.py",
24
25
  "competency": "../../tools/py.sh python scripts/competency.py",
@@ -27,7 +28,7 @@
27
28
  "drift": "../../tools/py.sh python scripts/drift.py",
28
29
  "docs": "../../tools/py.sh python scripts/docs.py",
29
30
  "docs:html": "../../tools/py.sh python scripts/docs.py --html",
30
- "test:hint": "cd scripts && ../../../tools/py.sh python -W ignore -m unittest test_hint test_keys test_codes test_tables test_metrics test_bundle test_reasoner",
31
+ "test:hint": "cd scripts && ../../../tools/py.sh python -W ignore -m unittest test_hint test_kai_agent_terms test_auth_terms test_billing_concepts test_keys test_codes test_desk_codes test_outreach_refusals test_outreach_codes test_email_mailbox_cause test_leads_settings test_desk_plan_items test_desk_merge_state test_mcp_catalog_terms test_behavior test_tables test_metrics test_bundle test_reasoner",
31
32
  "check:model": "python3 scripts/check_model.py"
32
33
  }
33
34
  }
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.11.0/scoring> ;
16
- owl:versionInfo "0.11.0" ;
15
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/scoring> ;
16
+ owl:versionInfo "0.13.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#" ;
@@ -251,12 +251,37 @@ scoring:workspace-template a owl:Class ;
251
251
 
252
252
  scoring:template-version a owl:Class ;
253
253
  rdfs:subClassOf core:entity ;
254
+ core:division core-vocab:division-open ;
254
255
  core:label "template version"@en ;
255
256
  core:definition "One version of a template, with a decision, tests, signals and the default mappings, and a kind. A released template version does not change. CI compares its hash with the file on `main`. `\"deprecated\": true` in `meta.json` hides a template for new campaigns."@en ;
256
257
  core:source "docs/specs/lead-scoring/docs/internal/decisions/0067-templates-in-repository.md#Decision" ;
257
258
  core:defined-by <https://id.quickpipe.ai/domain/scoring> ;
258
259
  core:owner core:lead-scoring .
259
260
 
261
+ scoring:template-copy a owl:Class ;
262
+ rdfs:subClassOf scoring:template-version ;
263
+ core:label "template copy"@en ;
264
+ core:definition "The copy of a template version that a workspace holds as its own decision. A new campaign, a new workspace and a saved private template make a copy. The copy records `fromTemplate: { id, version }` and is not a link: a new version of the template never changes the copy."@en ;
265
+ core:source "docs/specs/lead-scoring/docs/internal/decisions/0051-templates-copied.md#Decision" ;
266
+ core:defined-by <https://id.quickpipe.ai/domain/scoring> ;
267
+ core:owner core:lead-scoring .
268
+
269
+ scoring:template-update a owl:Class ;
270
+ rdfs:subClassOf core:entity ;
271
+ core:label "template update"@en ;
272
+ core:definition "The offer of the newest template version that does not have `\"deprecated\": true` to a decision that copied an older version. It has a difference between the graph of the copy and the graph of the newer version, and a dry-run on the history of the workspace. The workspace decides: the apply publishes the newer version as a new version of the decision."@en ;
273
+ core:source "docs/specs/lead-scoring/docs/internal/decisions/0067-templates-in-repository.md#Decision" ;
274
+ core:defined-by <https://id.quickpipe.ai/domain/scoring> ;
275
+ core:owner core:lead-scoring .
276
+
277
+ scoring:seed-step a owl:Class ;
278
+ rdfs:subClassOf core:activity ;
279
+ core:label "seed step"@en ;
280
+ core:definition "The step of each deploy (`seed:templates`) that writes the template versions of the files to the platform workspace, after the migrations and before the new build starts. A stored version keeps its content. A file with a content that no stored row has becomes the next version of its template."@en ;
281
+ core:source "docs/specs/lead-scoring/docs/internal/decisions/0119-seed-writes-a-new-version.md#Decision" ;
282
+ core:defined-by <https://id.quickpipe.ai/domain/scoring> ;
283
+ core:owner core:lead-scoring .
284
+
260
285
  # Evaluations and the activities on versions (PLAN.md sections 5, 10.2, 10.6 and 10.7).
261
286
 
262
287
  scoring:evaluation a owl:Class ;
@@ -561,10 +586,10 @@ scoring:buyer-group a owl:Class ;
561
586
  [] a owl:AllDisjointClasses ;
562
587
  owl:members ( scoring:signal scoring:mapping scoring:mapping-version scoring:mapping-entry
563
588
  scoring:decision scoring:decision-version scoring:status-period scoring:decision-test scoring:assertion
564
- scoring:template scoring:template-version
589
+ scoring:template scoring:template-version scoring:template-update
565
590
  scoring:output scoring:tier-level scoring:dimension-value scoring:tier-membership scoring:stage-assignment scoring:stale-entry
566
591
  scoring:registry scoring:threshold scoring:band-range scoring:persona-requirement scoring:buyer-group
567
- scoring:evaluation scoring:replay scoring:publish scoring:rollback scoring:dry-run scoring:validation scoring:simulation scoring:registry-change ) .
592
+ scoring:evaluation scoring:replay scoring:publish scoring:rollback scoring:dry-run scoring:validation scoring:simulation scoring:registry-change scoring:seed-step ) .
568
593
 
569
594
  # Object properties.
570
595
 
@@ -656,7 +681,7 @@ scoring:from-template a owl:ObjectProperty , owl:FunctionalProperty ;
656
681
  rdfs:range scoring:template-version ;
657
682
  core:label "from template"@en ;
658
683
  core:definition "The template version that a decision is a copy of: `fromTemplate: { id, version }`. The copy is not a link to the template."@en ;
659
- core:source "docs/specs/lead-scoring/PLAN.md#10.8 Templates" ;
684
+ core:source "docs/specs/lead-scoring/docs/internal/decisions/0051-templates-copied.md#Decision" ;
660
685
  core:defined-by <https://id.quickpipe.ai/domain/scoring> ;
661
686
  core:owner core:lead-scoring .
662
687
 
package/shapes/ai.ttl CHANGED
@@ -16,8 +16,8 @@
16
16
 
17
17
  <https://id.quickpipe.ai/domain/shapes/ai>
18
18
  a owl:Ontology ;
19
- owl:versionIRI <https://id.quickpipe.ai/domain/0.11.0/shapes/ai> ;
20
- owl:versionInfo "0.11.0" ;
19
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.13.0/shapes/ai> ;
20
+ owl:versionInfo "0.13.0" ;
21
21
  core:title "QuickPipe domain model: shapes of ai"@en .
22
22
 
23
23
  # Membership of a value in an open scheme (platform decision 0003 Q15).
@@ -70,7 +70,7 @@ ai-shapes:run-shape a sh:NodeShape ;
70
70
  [ sh:path core:with-key ; sh:class core:key ; sh:maxCount 1 ] ,
71
71
  [ sh:path ai:of-schedule ; sh:class ai:schedule ; sh:maxCount 1 ] ,
72
72
  [ sh:path ai:in-thread ; sh:class ai:thread ; sh:maxCount 1 ] ,
73
- [ sh:path ai:has-flow-status ; sh:class core:concept ; sh:in ( ai-vocab:flow-status-running ai-vocab:flow-status-waiting ai-vocab:flow-status-failed ai-vocab:flow-status-done ) ; sh:maxCount 1 ] ,
73
+ [ sh:path ai:of-flow ; sh:class ai:flow ; sh:maxCount 1 ] ,
74
74
  [ sh:path ai:has-correlation-id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
75
75
  [ sh:path ai:has-run-limit ; sh:class ai:run-limit ] ,
76
76
  [ sh:path ai:with-confidence ; sh:maxCount 1 ; sh:in ( ai-vocab:decision-confidence-high ai-vocab:decision-confidence-low ) ; sh:message "A decision confidence is high or low."@en ] ,
@@ -329,7 +329,7 @@ ai-shapes:tool-shape a sh:NodeShape ;
329
329
  sh:ignoredProperties ( rdf:type ) ;
330
330
  sh:property
331
331
  [ sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
332
- [ sh:path ai:has-tool-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-kind-mcp ai-vocab:tool-kind-client ) ] ,
332
+ [ sh:path ai:has-tool-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-kind-mcp ai-vocab:tool-kind-client ai-vocab:tool-kind-agent ) ] ,
333
333
  [ sh:path ai:has-tool-risk ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-risk-read ai-vocab:tool-risk-write ai-vocab:tool-risk-destructive ) ] ,
334
334
  [ sh:path ai:has-read-only-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
335
335
  [ sh:path ai:has-destructive-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
@@ -346,7 +346,7 @@ ai-shapes:mcp-tool-shape a sh:NodeShape ;
346
346
  sh:ignoredProperties ( rdf:type ) ;
347
347
  sh:property
348
348
  [ sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
349
- [ sh:path ai:has-tool-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-kind-mcp ai-vocab:tool-kind-client ) ] ,
349
+ [ sh:path ai:has-tool-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-kind-mcp ai-vocab:tool-kind-client ai-vocab:tool-kind-agent ) ] ,
350
350
  [ sh:path ai:has-tool-risk ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-risk-read ai-vocab:tool-risk-write ai-vocab:tool-risk-destructive ) ] ,
351
351
  [ sh:path ai:has-read-only-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
352
352
  [ sh:path ai:has-destructive-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
@@ -360,7 +360,7 @@ ai-shapes:client-tool-shape a sh:NodeShape ;
360
360
  sh:ignoredProperties ( rdf:type ) ;
361
361
  sh:property
362
362
  [ sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
363
- [ sh:path ai:has-tool-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-kind-mcp ai-vocab:tool-kind-client ) ] ,
363
+ [ sh:path ai:has-tool-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-kind-mcp ai-vocab:tool-kind-client ai-vocab:tool-kind-agent ) ] ,
364
364
  [ sh:path ai:has-tool-risk ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-risk-read ai-vocab:tool-risk-write ai-vocab:tool-risk-destructive ) ] ,
365
365
  [ sh:path ai:has-read-only-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
366
366
  [ sh:path ai:has-destructive-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
@@ -530,6 +530,7 @@ ai-shapes:admin-change-shape a sh:NodeShape ;
530
530
  sh:property
531
531
  [ sh:path core:qualified-association ; sh:node [ sh:property [ sh:path core:had-role ; sh:minCount 1 ; sh:hasValue core-vocab:role-audit-actor ] , [ sh:path core:by-agent ; sh:class core:agent ; sh:minCount 1 ; sh:maxCount 1 ] ] ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "An admin change has one actor: the person or the caller that makes it."@en ] ,
532
532
  [ sh:path identity:has-difference ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
533
+ [ sh:path ai:has-publish-reason ; sh:datatype xsd:string ; sh:minLength 1 ; sh:maxLength 500 ; sh:maxCount 1 ] ,
533
534
  [ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] .
534
535
 
535
536
  ai-shapes:key-shape a sh:NodeShape ;
@@ -621,7 +622,7 @@ ai-shapes:flow-event-shape a sh:NodeShape ;
621
622
  [ sh:path ai:has-event-number ; sh:datatype xsd:positiveInteger ; sh:minCount 1 ; sh:maxCount 1 ] ,
622
623
  [ sh:path ai:of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ] ,
623
624
  [ sh:path ai:at-flow-step ; sh:class core:concept ; sh:in ( ai-vocab:flow-step-interview ai-vocab:flow-step-segments ai-vocab:flow-step-research ai-vocab:flow-step-accounts ai-vocab:flow-step-persons ai-vocab:flow-step-commit ai-vocab:flow-step-draft ai-vocab:flow-step-offer ai-vocab:flow-step-leads ai-vocab:flow-step-campaign-draft ai-vocab:flow-step-campaign-choice ai-vocab:flow-step-save ai-vocab:flow-step-review ai-vocab:flow-step-mailbox ai-vocab:flow-step-start ) ; sh:minCount 1 ; sh:maxCount 1 ] ,
624
- [ sh:path ai:has-event-kind ; sh:class core:concept ; sh:in ( ai-vocab:flow-event-kind-message ai-vocab:flow-event-kind-ask ai-vocab:flow-event-kind-choose ai-vocab:flow-event-kind-confirm ai-vocab:flow-event-kind-progress ai-vocab:flow-event-kind-failure ai-vocab:flow-event-kind-done ai-vocab:flow-event-kind-activity ai-vocab:flow-event-kind-draft ai-vocab:flow-event-kind-answer ) ; sh:minCount 1 ; sh:maxCount 1 ] ,
625
+ [ sh:path ai:has-event-kind ; sh:class core:concept ; sh:in ( ai-vocab:flow-event-kind-message ai-vocab:flow-event-kind-ask ai-vocab:flow-event-kind-choose ai-vocab:flow-event-kind-confirm ai-vocab:flow-event-kind-progress ai-vocab:flow-event-kind-failure ai-vocab:flow-event-kind-done ai-vocab:flow-event-kind-activity ai-vocab:flow-event-kind-draft ai-vocab:flow-event-kind-answer ai-vocab:flow-event-kind-profile ) ; sh:minCount 1 ; sh:maxCount 1 ] ,
625
626
  [ sh:path ai:has-event-text ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
626
627
  [ sh:path ai:has-approved-charge ; sh:datatype xsd:long ; sh:maxCount 1 ; sh:minInclusive 0 ] ,
627
628
  [ sh:path ai:has-option ; sh:class ai:flow-option ] ,
@@ -632,6 +633,28 @@ ai-shapes:flow-event-shape a sh:NodeShape ;
632
633
  [ sh:path ai:has-answer-kind ; sh:class core:concept ; sh:in ( ai-vocab:flow-answer-kind-single ai-vocab:flow-answer-kind-multiple ai-vocab:flow-answer-kind-text ) ; sh:maxCount 1 ] ,
633
634
  [ sh:path ai:has-block ; sh:class ai:flow-block ] .
634
635
 
636
+ ai-shapes:flow-shape a sh:NodeShape ;
637
+ sh:targetClass ai:flow ;
638
+ sh:closed true ;
639
+ sh:ignoredProperties ( rdf:type ) ;
640
+ sh:property
641
+ [ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
642
+ [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ] ,
643
+ [ sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ] ,
644
+ [ sh:path ai:in-thread ; sh:class ai:thread ; sh:minCount 1 ; sh:maxCount 1 ] ,
645
+ [ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ] ,
646
+ [ sh:path ai:has-flow-status ; sh:class core:concept ; sh:in ( ai-vocab:flow-status-running ai-vocab:flow-status-waiting ai-vocab:flow-status-failed ai-vocab:flow-status-done ) ; sh:minCount 1 ; sh:maxCount 1 ] ,
647
+ [ sh:path ai:has-correlation-id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
648
+ [ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] .
649
+
650
+ ai-shapes:ranked-account-shape a sh:NodeShape ;
651
+ sh:targetClass ai:ranked-account ;
652
+ sh:closed true ;
653
+ sh:ignoredProperties ( rdf:type ) ;
654
+ sh:property
655
+ [ sh:path ai:has-fit-level ; sh:class core:concept ; sh:in ( ai-vocab:fit-level-strong ai-vocab:fit-level-partial ai-vocab:fit-level-weak ) ; sh:minCount 1 ; sh:maxCount 1 ] ,
656
+ [ sh:path ai:has-rank-note ; sh:class core:concept ; sh:in ( ai-vocab:rank-note-other-industry ai-vocab:rank-note-too-small ai-vocab:rank-note-too-large ai-vocab:rank-note-size-unknown ai-vocab:rank-note-not-buyer ai-vocab:rank-note-sells-to-consumers ai-vocab:rank-note-outside-countries ) ] .
657
+
635
658
  ai-shapes:flow-activity-shape a sh:NodeShape ;
636
659
  sh:targetClass ai:flow-activity ;
637
660
  sh:closed true ;
@@ -711,8 +734,10 @@ ai-shapes:subject-request-shape a sh:NodeShape ;
711
734
  sh:message "A subject request has exactly one id."@en ] ;
712
735
  sh:property [ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ;
713
736
  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 ;
737
+ sh:property [ sh:path core:has-status ; sh:class core:concept ; sh:in ( ai-vocab:subject-request-status-pending ai-vocab:subject-request-status-done ) ; sh:maxCount 1 ;
715
738
  sh:message "A subject request has at most one status."@en ] ;
739
+ sh:property [ sh:path ai:has-subject-request-kind ; sh:class core:concept ; sh:in ( ai-vocab:subject-request-kind-erasure ai-vocab:subject-request-kind-export ) ; sh:maxCount 1 ;
740
+ sh:message "A subject request has at most one kind."@en ] ;
716
741
  sh:property [ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ;
717
742
  sh:message "A subject request has exactly one time of creation."@en ] ;
718
743
  sh:property [ sh:path core:ended-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ;