@quickpipeaiab/domain 0.0.0-stage → 0.9.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 +3653 -0
- package/auth.ttl +123 -0
- package/billing.ttl +3732 -0
- package/campaigns.ttl +3273 -0
- package/core.ttl +811 -0
- package/crm.ttl +439 -0
- package/desk.ttl +3874 -0
- package/domain.ttl +45 -0
- package/email.ttl +1572 -0
- package/events.ttl +2430 -0
- package/identity.ttl +2699 -0
- package/imports/external.ttl +54 -0
- package/leads.ttl +3560 -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 +662 -0
- package/shapes/billing.ttl +3149 -0
- package/shapes/campaigns.ttl +958 -0
- package/shapes/core.ttl +135 -0
- package/shapes/crm.ttl +216 -0
- package/shapes/desk.ttl +1652 -0
- package/shapes/email.ttl +448 -0
- package/shapes/events.ttl +1201 -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 +2107 -0
- package/vocab/auth.ttl +187 -0
- package/vocab/billing.ttl +1606 -0
- package/vocab/campaigns.ttl +738 -0
- package/vocab/core.ttl +648 -0
- package/vocab/crm.ttl +320 -0
- package/vocab/desk.ttl +2921 -0
- package/vocab/email.ttl +210 -0
- package/vocab/events.ttl +776 -0
- package/vocab/identity.ttl +1555 -0
- package/vocab/leads.ttl +2105 -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/ai.ttl
ADDED
|
@@ -0,0 +1,662 @@
|
|
|
1
|
+
@prefix ai: <https://id.quickpipe.ai/domain/ai#> .
|
|
2
|
+
@prefix ai-vocab: <https://id.quickpipe.ai/domain/vocab/ai#> .
|
|
3
|
+
@prefix ai-shapes: <https://id.quickpipe.ai/domain/shapes/ai#> .
|
|
4
|
+
@prefix billing: <https://id.quickpipe.ai/domain/billing#> .
|
|
5
|
+
@prefix billing-vocab: <https://id.quickpipe.ai/domain/vocab/billing#> .
|
|
6
|
+
@prefix identity-vocab: <https://id.quickpipe.ai/domain/vocab/identity#> .
|
|
7
|
+
@prefix identity: <https://id.quickpipe.ai/domain/identity#> .
|
|
8
|
+
@prefix core: <https://id.quickpipe.ai/domain/core#> .
|
|
9
|
+
@prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
|
|
10
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
11
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
12
|
+
@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
13
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
14
|
+
|
|
15
|
+
<https://id.quickpipe.ai/domain/shapes/ai>
|
|
16
|
+
a owl:Ontology ;
|
|
17
|
+
owl:versionIRI <https://id.quickpipe.ai/domain/0.9.0/shapes/ai> ;
|
|
18
|
+
owl:versionInfo "0.9.0" ;
|
|
19
|
+
core:title "QuickPipe domain model: shapes of ai"@en .
|
|
20
|
+
|
|
21
|
+
# Membership of a value in an open scheme (platform decision 0003 Q15).
|
|
22
|
+
|
|
23
|
+
ai-shapes:caller-concept-shape a sh:NodeShape ;
|
|
24
|
+
sh:property
|
|
25
|
+
[ sh:path core:in-scheme ; sh:hasValue ai-vocab:caller ; sh:message "The value must be a concept of the scheme of callers."@en ] .
|
|
26
|
+
|
|
27
|
+
ai-shapes:key-scope-concept-shape a sh:NodeShape ;
|
|
28
|
+
sh:property
|
|
29
|
+
[ sh:path core:in-scheme ; sh:minCount 1 ; sh:in ( ai-vocab:machine-scope billing-vocab:machine-scope identity-vocab:key-scope ) ; sh:message "The value must be a concept of the scheme of key scopes or machine scopes of a service."@en ] .
|
|
30
|
+
|
|
31
|
+
ai-shapes:run-limit-concept-shape a sh:NodeShape ;
|
|
32
|
+
sh:property
|
|
33
|
+
[ sh:path core:in-scheme ; sh:hasValue ai-vocab:run-limit ; sh:message "The value must be a concept of the scheme of run limits."@en ] .
|
|
34
|
+
|
|
35
|
+
ai-shapes:token-kind-concept-shape a sh:NodeShape ;
|
|
36
|
+
sh:property
|
|
37
|
+
[ sh:path core:in-scheme ; sh:hasValue ai-vocab:token-kind ; sh:message "The value must be a concept of the scheme of token kinds."@en ] .
|
|
38
|
+
|
|
39
|
+
ai-shapes:cost-unit-concept-shape a sh:NodeShape ;
|
|
40
|
+
sh:property
|
|
41
|
+
[ sh:path core:in-scheme ; sh:hasValue billing-vocab:cost-unit ; sh:message "The cost unit must be a concept of the scheme of cost units of billing."@en ] .
|
|
42
|
+
|
|
43
|
+
ai-shapes:decision-form-concept-shape a sh:NodeShape ;
|
|
44
|
+
sh:property
|
|
45
|
+
[ sh:path core:in-scheme ; sh:hasValue ai-vocab:decision-form ; sh:message "The value must be a concept of the scheme of decision forms."@en ] .
|
|
46
|
+
|
|
47
|
+
# Conditions that other shapes reuse.
|
|
48
|
+
|
|
49
|
+
ai-shapes:internal-caller-shape a sh:NodeShape ;
|
|
50
|
+
sh:property
|
|
51
|
+
[ sh:path ai:by-caller ; sh:minCount 1 ; sh:in ( ai-vocab:caller-eval ai-vocab:caller-replay ) ] .
|
|
52
|
+
|
|
53
|
+
ai-shapes:skipped-run-condition-shape a sh:NodeShape ;
|
|
54
|
+
sh:property
|
|
55
|
+
[ sh:path [ sh:inversePath ai:of-run ] ; sh:qualifiedValueShape [ sh:property [ sh:path ai:has-status-value ; sh:hasValue ai-vocab:run-status-skipped ] ] ; sh:qualifiedMinCount 1 ] .
|
|
56
|
+
|
|
57
|
+
ai-shapes:run-shape a sh:NodeShape ;
|
|
58
|
+
sh:targetClass ai:run ;
|
|
59
|
+
sh:closed true ;
|
|
60
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
61
|
+
sh:property
|
|
62
|
+
[ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
63
|
+
[ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
64
|
+
[ sh:path ai:with-prompt-version ; sh:class ai:prompt-version ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
65
|
+
[ sh:path ai:by-caller ; sh:class core:concept ; sh:node ai-shapes:caller-concept-shape ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
66
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:maxCount 1 ] ,
|
|
67
|
+
[ sh:path core:for-user ; sh:class core:user ; sh:maxCount 1 ] ,
|
|
68
|
+
[ sh:path core:with-key ; sh:class core:key ; sh:maxCount 1 ] ,
|
|
69
|
+
[ sh:path ai:of-schedule ; sh:class ai:schedule ; sh:maxCount 1 ] ,
|
|
70
|
+
[ sh:path ai:in-thread ; sh:class ai:thread ; sh:maxCount 1 ] ,
|
|
71
|
+
[ 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 ] ,
|
|
72
|
+
[ sh:path ai:has-correlation-id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
73
|
+
[ sh:path ai:has-run-limit ; sh:class ai:run-limit ] ,
|
|
74
|
+
[ 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 ] ,
|
|
75
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] ,
|
|
76
|
+
[ sh:path core:ended-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] ,
|
|
77
|
+
[ sh:path [ sh:inversePath ai:of-run ] ; sh:qualifiedValueShape [ sh:class ai:run-status-period ] ; sh:qualifiedMinCount 1 ; sh:message "A run has a run status."@en ] ;
|
|
78
|
+
sh:xone (
|
|
79
|
+
[ sh:property [ sh:path core:in-workspace ; sh:maxCount 0 ] , [ sh:path core:for-user ; sh:maxCount 0 ] , [ sh:path core:with-key ; sh:maxCount 0 ] ; sh:node ai-shapes:internal-caller-shape ]
|
|
80
|
+
[ sh:property [ sh:path core:in-workspace ; sh:minCount 1 ; sh:maxCount 1 ] , [ sh:path core:for-user ; sh:minCount 1 ; sh:maxCount 1 ] , [ sh:path core:with-key ; sh:minCount 1 ; sh:maxCount 1 ] ; sh:not ai-shapes:internal-caller-shape ] ) ;
|
|
81
|
+
sh:or ( [ sh:not ai-shapes:skipped-run-condition-shape ] [ sh:property [ sh:path core:started-at ; sh:maxCount 0 ] , [ sh:path ai:of-schedule ; sh:minCount 1 ] ] ) ;
|
|
82
|
+
sh:message "A run of the internal caller eval or replay has no workspace, no user and no key. Each other run has exactly one workspace, one user and one key. A skipped run is a run of a schedule and has no start time."@en .
|
|
83
|
+
|
|
84
|
+
ai-shapes:run-status-period-shape a sh:NodeShape ;
|
|
85
|
+
sh:targetClass ai:run-status-period ;
|
|
86
|
+
sh:closed true ;
|
|
87
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
88
|
+
sh:property
|
|
89
|
+
[ sh:path ai:of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
90
|
+
[ sh:path ai:has-status-value ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:run-status-queued ai-vocab:run-status-running ai-vocab:run-status-suspended ai-vocab:run-status-completed ai-vocab:run-status-failed ai-vocab:run-status-cancelled ai-vocab:run-status-skipped ) ] ,
|
|
91
|
+
[ sh:path ai:has-suspend-reason ; sh:maxCount 1 ; sh:in ( ai-vocab:suspend-reason-tokens ai-vocab:suspend-reason-approval ai-vocab:suspend-reason-client-tool ai-vocab:suspend-reason-input ai-vocab:suspend-reason-output ai-vocab:suspend-reason-sleep ai-vocab:suspend-reason-credits ) ] ,
|
|
92
|
+
[ sh:path ai:has-skip-reason ; sh:maxCount 1 ; sh:in ( ai-vocab:skip-reason-budget ai-vocab:skip-reason-rate-limit ai-vocab:skip-reason-credits ) ] ,
|
|
93
|
+
[ sh:path ai:has-failure-reason ; sh:maxCount 1 ; sh:in ( ai-vocab:failure-reason-output ai-vocab:failure-reason-template ai-vocab:failure-reason-outbound ai-vocab:failure-reason-refused ai-vocab:failure-reason-limit ai-vocab:failure-reason-unit-cost ai-vocab:failure-reason-budget ai-vocab:failure-reason-internal ) ] ,
|
|
94
|
+
[ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
95
|
+
[ sh:path core:invalidated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] ;
|
|
96
|
+
sh:and (
|
|
97
|
+
[ sh:or ( [ sh:and ( [ sh:property [ sh:path ai:has-status-value ; sh:hasValue ai-vocab:run-status-suspended ] ] [ sh:property [ sh:path ai:has-suspend-reason ; sh:minCount 1 ] ] ) ] [ sh:and ( [ sh:not [ sh:property [ sh:path ai:has-status-value ; sh:hasValue ai-vocab:run-status-suspended ] ] ] [ sh:property [ sh:path ai:has-suspend-reason ; sh:maxCount 0 ] ] ) ] ) ]
|
|
98
|
+
[ sh:or ( [ sh:and ( [ sh:property [ sh:path ai:has-status-value ; sh:hasValue ai-vocab:run-status-skipped ] ] [ sh:property [ sh:path ai:has-skip-reason ; sh:minCount 1 ] ] ) ] [ sh:and ( [ sh:not [ sh:property [ sh:path ai:has-status-value ; sh:hasValue ai-vocab:run-status-skipped ] ] ] [ sh:property [ sh:path ai:has-skip-reason ; sh:maxCount 0 ] ] ) ] ) ]
|
|
99
|
+
[ sh:or ( [ sh:and ( [ sh:property [ sh:path ai:has-status-value ; sh:hasValue ai-vocab:run-status-failed ] ] [ sh:property [ sh:path ai:has-failure-reason ; sh:minCount 1 ] ] ) ] [ sh:and ( [ sh:not [ sh:property [ sh:path ai:has-status-value ; sh:hasValue ai-vocab:run-status-failed ] ] ] [ sh:property [ sh:path ai:has-failure-reason ; sh:maxCount 0 ] ] ) ] ) ]
|
|
100
|
+
[ sh:or ( [ sh:not [ sh:property [ sh:path ai:has-status-value ; sh:in ( ai-vocab:run-status-completed ai-vocab:run-status-failed ai-vocab:run-status-cancelled ai-vocab:run-status-skipped ) ] ] ] [ sh:property [ sh:path core:invalidated-at ; sh:maxCount 0 ] ] ) ] ) ;
|
|
101
|
+
sh:message "A suspended run status has one suspend reason, a skipped one has one skip reason, and a failed one has one failure reason. No other status has a reason. A final status has no end time."@en .
|
|
102
|
+
|
|
103
|
+
ai-shapes:final-status-shape a sh:NodeShape ;
|
|
104
|
+
sh:targetClass ai:final-status ;
|
|
105
|
+
sh:property
|
|
106
|
+
[ sh:path ai:has-status-value ; sh:in ( ai-vocab:run-status-completed ai-vocab:run-status-failed ai-vocab:run-status-cancelled ai-vocab:run-status-skipped ) ] ,
|
|
107
|
+
[ sh:path core:invalidated-at ; sh:maxCount 0 ; sh:message "A run cannot change after a final status, so a final status has no end time."@en ] .
|
|
108
|
+
|
|
109
|
+
ai-shapes:run-segment-shape a sh:NodeShape ;
|
|
110
|
+
sh:targetClass ai:run-segment ;
|
|
111
|
+
sh:closed true ;
|
|
112
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
113
|
+
sh:property
|
|
114
|
+
[ sh:path ai:part-of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
115
|
+
[ sh:path ai:has-segment-number ; sh:datatype xsd:positiveInteger ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 1 ] ,
|
|
116
|
+
[ sh:path ai:with-hold ; sh:class billing:hold ; sh:maxCount 1 ] ,
|
|
117
|
+
[ sh:path ( ai:with-hold core:id ) ; sh:pattern "^kai-agent:run:[^:]+:[1-9][0-9]*$" ; sh:message "The hold id of a run segment is kai-agent:run:<run id>:<segment number>."@en ] ,
|
|
118
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
119
|
+
[ sh:path core:ended-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] ;
|
|
120
|
+
sh:or ( [ sh:not [ sh:property [ sh:path ( ai:part-of-run ai:by-caller ) ; sh:minCount 1 ; sh:in ( ai-vocab:caller-eval ai-vocab:caller-replay ) ] ] ] [ sh:property [ sh:path ai:with-hold ; sh:maxCount 0 ] ] ) ;
|
|
121
|
+
sh:message "A run segment of a run of the internal caller eval or replay opens no hold."@en .
|
|
122
|
+
|
|
123
|
+
ai-shapes:webhook-shape a sh:NodeShape ;
|
|
124
|
+
sh:targetClass ai:webhook ;
|
|
125
|
+
sh:closed true ;
|
|
126
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
127
|
+
sh:property
|
|
128
|
+
[ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
129
|
+
[ sh:path ai:tells-status ; sh:class ai:run-status-period ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
130
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:in ( ai-vocab:run-status-suspended ai-vocab:run-status-completed ai-vocab:run-status-failed ai-vocab:run-status-cancelled ai-vocab:run-status-skipped ) ; sh:message "A webhook tells that a run suspends or gets a final status."@en ] ,
|
|
131
|
+
[ sh:path core:with-key ; sh:class core:key ; sh:maxCount 1 ] ,
|
|
132
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:maxCount 1 ] ,
|
|
133
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] .
|
|
134
|
+
|
|
135
|
+
ai-shapes:run-suspended-shape a sh:NodeShape ;
|
|
136
|
+
sh:targetClass ai:run-suspended ;
|
|
137
|
+
sh:closed true ;
|
|
138
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
139
|
+
sh:property
|
|
140
|
+
[ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
141
|
+
[ sh:path ai:tells-status ; sh:class ai:run-status-period ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
142
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:in ( ai-vocab:run-status-suspended ai-vocab:run-status-completed ai-vocab:run-status-failed ai-vocab:run-status-cancelled ai-vocab:run-status-skipped ) ; sh:message "A webhook tells that a run suspends or gets a final status."@en ] ,
|
|
143
|
+
[ sh:path core:with-key ; sh:class core:key ; sh:maxCount 1 ] ,
|
|
144
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:maxCount 1 ] ,
|
|
145
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
146
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:hasValue ai-vocab:run-status-suspended ; sh:message "The webhook run.suspended tells the run status suspended."@en ] .
|
|
147
|
+
|
|
148
|
+
ai-shapes:run-completed-shape a sh:NodeShape ;
|
|
149
|
+
sh:targetClass ai:run-completed ;
|
|
150
|
+
sh:closed true ;
|
|
151
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
152
|
+
sh:property
|
|
153
|
+
[ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
154
|
+
[ sh:path ai:tells-status ; sh:class ai:run-status-period ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
155
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:in ( ai-vocab:run-status-suspended ai-vocab:run-status-completed ai-vocab:run-status-failed ai-vocab:run-status-cancelled ai-vocab:run-status-skipped ) ; sh:message "A webhook tells that a run suspends or gets a final status."@en ] ,
|
|
156
|
+
[ sh:path core:with-key ; sh:class core:key ; sh:maxCount 1 ] ,
|
|
157
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:maxCount 1 ] ,
|
|
158
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
159
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:hasValue ai-vocab:run-status-completed ; sh:message "The webhook run.completed tells the run status completed."@en ] .
|
|
160
|
+
|
|
161
|
+
ai-shapes:run-failed-shape a sh:NodeShape ;
|
|
162
|
+
sh:targetClass ai:run-failed ;
|
|
163
|
+
sh:closed true ;
|
|
164
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
165
|
+
sh:property
|
|
166
|
+
[ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
167
|
+
[ sh:path ai:tells-status ; sh:class ai:run-status-period ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
168
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:in ( ai-vocab:run-status-suspended ai-vocab:run-status-completed ai-vocab:run-status-failed ai-vocab:run-status-cancelled ai-vocab:run-status-skipped ) ; sh:message "A webhook tells that a run suspends or gets a final status."@en ] ,
|
|
169
|
+
[ sh:path core:with-key ; sh:class core:key ; sh:maxCount 1 ] ,
|
|
170
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:maxCount 1 ] ,
|
|
171
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
172
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:hasValue ai-vocab:run-status-failed ; sh:message "The webhook run.failed tells the run status failed."@en ] .
|
|
173
|
+
|
|
174
|
+
ai-shapes:run-cancelled-shape a sh:NodeShape ;
|
|
175
|
+
sh:targetClass ai:run-cancelled ;
|
|
176
|
+
sh:closed true ;
|
|
177
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
178
|
+
sh:property
|
|
179
|
+
[ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
180
|
+
[ sh:path ai:tells-status ; sh:class ai:run-status-period ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
181
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:in ( ai-vocab:run-status-suspended ai-vocab:run-status-completed ai-vocab:run-status-failed ai-vocab:run-status-cancelled ai-vocab:run-status-skipped ) ; sh:message "A webhook tells that a run suspends or gets a final status."@en ] ,
|
|
182
|
+
[ sh:path core:with-key ; sh:class core:key ; sh:maxCount 1 ] ,
|
|
183
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:maxCount 1 ] ,
|
|
184
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
185
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:hasValue ai-vocab:run-status-cancelled ; sh:message "The webhook run.cancelled tells the run status cancelled."@en ] .
|
|
186
|
+
|
|
187
|
+
ai-shapes:run-skipped-shape a sh:NodeShape ;
|
|
188
|
+
sh:targetClass ai:run-skipped ;
|
|
189
|
+
sh:closed true ;
|
|
190
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
191
|
+
sh:property
|
|
192
|
+
[ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
193
|
+
[ sh:path ai:tells-status ; sh:class ai:run-status-period ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
194
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:in ( ai-vocab:run-status-suspended ai-vocab:run-status-completed ai-vocab:run-status-failed ai-vocab:run-status-cancelled ai-vocab:run-status-skipped ) ; sh:message "A webhook tells that a run suspends or gets a final status."@en ] ,
|
|
195
|
+
[ sh:path core:with-key ; sh:class core:key ; sh:maxCount 1 ] ,
|
|
196
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:maxCount 1 ] ,
|
|
197
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
198
|
+
[ sh:path ( ai:tells-status ai:has-status-value ) ; sh:hasValue ai-vocab:run-status-skipped ; sh:message "The webhook run.skipped tells the run status skipped."@en ] .
|
|
199
|
+
|
|
200
|
+
ai-shapes:task-shape a sh:NodeShape ;
|
|
201
|
+
sh:targetClass ai:task ;
|
|
202
|
+
sh:closed true ;
|
|
203
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
204
|
+
sh:property
|
|
205
|
+
[ sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; sh:pattern "^[a-z]+(\\.[a-z]+)*$" ; sh:message "A task name is lowercase, with a dot between the object and the action, for example text.next."@en ] ,
|
|
206
|
+
[ sh:path ai:has-runner ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:runner-completion ai-vocab:runner-agent ai-vocab:runner-workflow ) ] ,
|
|
207
|
+
[ sh:path ai:has-output-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:output-kind-text ai-vocab:output-kind-object ) ] ,
|
|
208
|
+
[ sh:path ai:has-decision-form ; sh:class core:concept ; sh:node ai-shapes:decision-form-concept-shape ; sh:maxCount 1 ] ,
|
|
209
|
+
[ sh:path ai:has-schema-version ; sh:datatype xsd:positiveInteger ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
210
|
+
[ sh:path ai:has-task-minimum ; sh:datatype xsd:long ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ] ,
|
|
211
|
+
[ sh:path ai:is-ephemeral ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
|
|
212
|
+
[ sh:path ai:enables-memory ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
|
|
213
|
+
[ sh:path ai:has-task-tag ; sh:class billing:tag ; sh:maxCount 5 ; sh:message "A task has a maximum of 5 task tags, because a hold has a maximum of 5 tags."@en ] ,
|
|
214
|
+
[ sh:path ai:has-run-limit ; sh:class ai:run-limit ] ,
|
|
215
|
+
[ sh:path ai:has-rate-limit ; sh:class ai:rate-limit ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
216
|
+
[ sh:path ai:allows-tool ; sh:class ai:tool ] ;
|
|
217
|
+
sh:or ( [ sh:not [ sh:property [ sh:path ai:has-runner ; sh:hasValue ai-vocab:runner-completion ] ] ] [ sh:property [ sh:path ai:allows-tool ; sh:maxCount 0 ] , [ sh:path ai:enables-memory ; sh:in ( false ) ] ] ) ;
|
|
218
|
+
sh:message "A task of the runner completion has no memory and no tools."@en .
|
|
219
|
+
|
|
220
|
+
ai-shapes:decision-task-shape a sh:NodeShape ;
|
|
221
|
+
sh:targetSubjectsOf ai:has-decision-form ;
|
|
222
|
+
sh:property
|
|
223
|
+
[ sh:path ai:has-runner ; sh:hasValue ai-vocab:runner-completion ; sh:message "A decision task has the runner completion."@en ] ,
|
|
224
|
+
[ sh:path ai:has-output-kind ; sh:hasValue ai-vocab:output-kind-object ; sh:message "A decision task has the output kind object."@en ] .
|
|
225
|
+
|
|
226
|
+
ai-shapes:prompt-version-shape a sh:NodeShape ;
|
|
227
|
+
sh:targetClass ai:prompt-version ;
|
|
228
|
+
sh:closed true ;
|
|
229
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
230
|
+
sh:property
|
|
231
|
+
[ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
232
|
+
[ sh:path ai:has-version-number ; sh:datatype xsd:positiveInteger ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
233
|
+
[ sh:path ai:has-template ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
234
|
+
[ sh:path ai:has-schema-version ; sh:datatype xsd:positiveInteger ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
235
|
+
[ sh:path ai:has-fallback-list ; sh:class ai:fallback-list ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
236
|
+
[ sh:path ai:has-escalation-model ; sh:class ai:model ; sh:maxCount 1 ] ,
|
|
237
|
+
[ sh:path ai:uses-partial ; sh:class ai:partial ] ,
|
|
238
|
+
[ sh:path ai:has-note ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
239
|
+
[ sh:path core:was-revision-of ; sh:class ai:prompt-version ; sh:maxCount 1 ] ,
|
|
240
|
+
[ sh:path core:was-attributed-to ; sh:class core:agent ; sh:maxCount 1 ] ,
|
|
241
|
+
[ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
242
|
+
[ sh:path ( ai:has-fallback-list [ sh:inversePath ai:in-fallback-list ] ai:uses-model ai:of-provider ) ; sh:not [ sh:and ( [ sh:property [ sh:path billing:has-processing-region ; sh:hasValue core-vocab:processing-region-outside-eu ] ] [ sh:property [ sh:path billing:has-transfer-safeguard ; sh:hasValue core-vocab:transfer-safeguard-none ] ] ) ] ; sh:message "A prompt version cannot use a model whose provider processes data outside the EU with the transfer safeguard none."@en ; sh:severity sh:Warning ] .
|
|
243
|
+
|
|
244
|
+
ai-shapes:partial-shape a sh:NodeShape ;
|
|
245
|
+
sh:targetClass ai:partial ;
|
|
246
|
+
sh:closed true ;
|
|
247
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
248
|
+
sh:property
|
|
249
|
+
[ sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
250
|
+
[ sh:path ai:has-version-number ; sh:datatype xsd:positiveInteger ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
251
|
+
[ sh:path ai:has-template ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
252
|
+
[ sh:path ai:of-task ; sh:maxCount 0 ; sh:message "A partial belongs to no task."@en ] ,
|
|
253
|
+
[ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] .
|
|
254
|
+
|
|
255
|
+
ai-shapes:release-shape a sh:NodeShape ;
|
|
256
|
+
sh:targetClass ai:release ;
|
|
257
|
+
sh:closed true ;
|
|
258
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
259
|
+
sh:property
|
|
260
|
+
[ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
261
|
+
[ sh:path ai:has-current ; sh:class ai:prompt-version ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
262
|
+
[ sh:path ai:has-candidate ; sh:class ai:prompt-version ; sh:maxCount 1 ] ,
|
|
263
|
+
[ sh:path ai:has-candidate-percentage ; sh:datatype xsd:decimal ; sh:maxCount 1 ; sh:minInclusive 0 ; sh:maxInclusive 100 ] ;
|
|
264
|
+
sh:or ( [ sh:property [ sh:path ai:has-candidate ; sh:minCount 1 ] , [ sh:path ai:has-candidate-percentage ; sh:minCount 1 ] ] [ sh:property [ sh:path ai:has-candidate ; sh:maxCount 0 ] , [ sh:path ai:has-candidate-percentage ; sh:maxCount 0 ] ] ) ;
|
|
265
|
+
sh:message "A release has a candidate percentage exactly when it has a candidate."@en .
|
|
266
|
+
|
|
267
|
+
ai-shapes:override-shape a sh:NodeShape ;
|
|
268
|
+
sh:targetClass ai:override ;
|
|
269
|
+
sh:closed true ;
|
|
270
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
271
|
+
sh:property
|
|
272
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
273
|
+
[ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
274
|
+
[ sh:path ai:pins ; sh:class ai:prompt-version ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
275
|
+
[ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] .
|
|
276
|
+
|
|
277
|
+
ai-shapes:fallback-list-shape a sh:NodeShape ;
|
|
278
|
+
sh:targetClass ai:fallback-list ;
|
|
279
|
+
sh:closed true ;
|
|
280
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
281
|
+
sh:property
|
|
282
|
+
[ sh:path [ sh:inversePath ai:has-fallback-list ] ; sh:class ai:prompt-version ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "A fallback list belongs to one prompt version."@en ] ,
|
|
283
|
+
[ sh:path [ sh:inversePath ai:in-fallback-list ] ; sh:class ai:fallback-entry ; sh:minCount 1 ; sh:message "A fallback list has one or more entries."@en ] .
|
|
284
|
+
|
|
285
|
+
ai-shapes:fallback-entry-shape a sh:NodeShape ;
|
|
286
|
+
sh:targetClass ai:fallback-entry ;
|
|
287
|
+
sh:closed true ;
|
|
288
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
289
|
+
sh:property
|
|
290
|
+
[ sh:path ai:in-fallback-list ; sh:class ai:fallback-list ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
291
|
+
[ sh:path ai:at-position ; sh:datatype xsd:positiveInteger ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
292
|
+
[ sh:path ai:uses-model ; sh:class ai:model ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
293
|
+
[ sh:path ai:has-temperature ; sh:datatype xsd:decimal ; sh:maxCount 1 ] ,
|
|
294
|
+
[ sh:path ai:has-max-output-tokens ; sh:datatype xsd:positiveInteger ; sh:maxCount 1 ] ,
|
|
295
|
+
[ sh:path ai:has-provider-options ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
296
|
+
[ sh:path ai:requests-reasoning ; sh:datatype xsd:boolean ; sh:maxCount 1 ] .
|
|
297
|
+
|
|
298
|
+
ai-shapes:model-shape a sh:NodeShape ;
|
|
299
|
+
sh:targetClass ai:model ;
|
|
300
|
+
sh:closed true ;
|
|
301
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
302
|
+
sh:property
|
|
303
|
+
[ sh:path ai:of-provider ; sh:class ai:provider ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
304
|
+
[ sh:path ai:has-model-id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] .
|
|
305
|
+
|
|
306
|
+
ai-shapes:provider-shape a sh:NodeShape ;
|
|
307
|
+
sh:targetClass ai:provider ;
|
|
308
|
+
sh:closed true ;
|
|
309
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
310
|
+
sh:property
|
|
311
|
+
[ sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
312
|
+
[ sh:path billing:has-processing-region ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( core-vocab:processing-region-eu core-vocab:processing-region-outside-eu ) ] ,
|
|
313
|
+
[ sh:path billing:has-transfer-safeguard ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( core-vocab:transfer-safeguard-scc core-vocab:transfer-safeguard-dpf core-vocab:transfer-safeguard-adequacy core-vocab:transfer-safeguard-none ) ] ,
|
|
314
|
+
[ sh:path ai:has-retention-terms ; sh:datatype xsd:string ; sh:maxCount 1 ] .
|
|
315
|
+
|
|
316
|
+
ai-shapes:mcp-server-shape a sh:NodeShape ;
|
|
317
|
+
sh:targetClass ai:mcp-server ;
|
|
318
|
+
sh:closed true ;
|
|
319
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
320
|
+
sh:property
|
|
321
|
+
[ sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
322
|
+
[ sh:path ai:has-url ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] .
|
|
323
|
+
|
|
324
|
+
ai-shapes:tool-shape a sh:NodeShape ;
|
|
325
|
+
sh:targetClass ai:tool ;
|
|
326
|
+
sh:closed true ;
|
|
327
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
328
|
+
sh:property
|
|
329
|
+
[ sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
330
|
+
[ sh:path ai:has-tool-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-kind-mcp ai-vocab:tool-kind-client ) ] ,
|
|
331
|
+
[ 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 ) ] ,
|
|
332
|
+
[ sh:path ai:has-read-only-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
|
|
333
|
+
[ sh:path ai:has-destructive-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
|
|
334
|
+
[ sh:path ai:on-server ; sh:class ai:mcp-server ; sh:maxCount 1 ] ;
|
|
335
|
+
sh:or (
|
|
336
|
+
[ sh:property [ sh:path ai:has-tool-risk ; sh:hasValue ai-vocab:tool-risk-read ] , [ sh:path ai:has-read-only-hint ; sh:hasValue true ] , [ sh:path ai:has-destructive-hint ; sh:in ( false ) ] ]
|
|
337
|
+
[ sh:property [ sh:path ai:has-tool-risk ; sh:hasValue ai-vocab:tool-risk-write ] , [ sh:path ai:has-read-only-hint ; sh:in ( false ) ] , [ sh:path ai:has-destructive-hint ; sh:hasValue false ] ]
|
|
338
|
+
[ sh:property [ sh:path ai:has-tool-risk ; sh:hasValue ai-vocab:tool-risk-destructive ] ; sh:or ( [ sh:property [ sh:path ai:has-destructive-hint ; sh:hasValue true ] ] [ sh:property [ sh:path ai:has-read-only-hint ; sh:in ( false ) ] , [ sh:path ai:has-destructive-hint ; sh:maxCount 0 ] ] ) ] ) ;
|
|
339
|
+
sh:message "The risk of a tool follows the table of its MCP annotations: read when readOnlyHint is true and destructiveHint is false or none; write when readOnlyHint is false or none and destructiveHint is false; destructive in each other case."@en .
|
|
340
|
+
|
|
341
|
+
ai-shapes:mcp-tool-shape a sh:NodeShape ;
|
|
342
|
+
sh:targetClass ai:mcp-tool ;
|
|
343
|
+
sh:closed true ;
|
|
344
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
345
|
+
sh:property
|
|
346
|
+
[ sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
347
|
+
[ sh:path ai:has-tool-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-kind-mcp ai-vocab:tool-kind-client ) ] ,
|
|
348
|
+
[ 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 ) ] ,
|
|
349
|
+
[ sh:path ai:has-read-only-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
|
|
350
|
+
[ sh:path ai:has-destructive-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
|
|
351
|
+
[ sh:path ai:on-server ; sh:class ai:mcp-server ; sh:maxCount 1 ] ,
|
|
352
|
+
[ sh:path ai:has-tool-kind ; sh:hasValue ai-vocab:tool-kind-mcp ] ,
|
|
353
|
+
[ sh:path ai:on-server ; sh:minCount 1 ; sh:message "An MCP tool has one MCP server."@en ] .
|
|
354
|
+
|
|
355
|
+
ai-shapes:client-tool-shape a sh:NodeShape ;
|
|
356
|
+
sh:targetClass ai:client-tool ;
|
|
357
|
+
sh:closed true ;
|
|
358
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
359
|
+
sh:property
|
|
360
|
+
[ sh:path core:has-name ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
361
|
+
[ sh:path ai:has-tool-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:tool-kind-mcp ai-vocab:tool-kind-client ) ] ,
|
|
362
|
+
[ 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 ) ] ,
|
|
363
|
+
[ sh:path ai:has-read-only-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
|
|
364
|
+
[ sh:path ai:has-destructive-hint ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
|
|
365
|
+
[ sh:path ai:on-server ; sh:class ai:mcp-server ; sh:maxCount 1 ] ,
|
|
366
|
+
[ sh:path ai:has-tool-kind ; sh:hasValue ai-vocab:tool-kind-client ] ,
|
|
367
|
+
[ sh:path ai:on-server ; sh:maxCount 0 ; sh:message "A client tool has no server code."@en ] .
|
|
368
|
+
|
|
369
|
+
ai-shapes:server-token-shape a sh:NodeShape ;
|
|
370
|
+
sh:targetClass ai:server-token ;
|
|
371
|
+
sh:closed true ;
|
|
372
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
373
|
+
sh:property
|
|
374
|
+
[ sh:path ai:for-server ; sh:class ai:mcp-server ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
375
|
+
[ sh:path ai:has-server-token-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:server-token-kind-act-for ai-vocab:server-token-kind-access ai-vocab:server-token-kind-refresh ) ] ,
|
|
376
|
+
[ sh:path ai:of-run ; sh:class ai:run ; sh:maxCount 1 ] ;
|
|
377
|
+
sh:or ( [ sh:not [ sh:property [ sh:path ai:has-server-token-kind ; sh:hasValue ai-vocab:server-token-kind-refresh ] ] ] [ sh:property [ sh:path ai:of-run ; sh:minCount 1 ] ] ) ;
|
|
378
|
+
sh:message "The service stores a server token of kind refresh for one run and one server."@en .
|
|
379
|
+
|
|
380
|
+
ai-shapes:outbound-call-shape a sh:NodeShape ;
|
|
381
|
+
sh:targetClass ai:outbound-call ;
|
|
382
|
+
sh:closed true ;
|
|
383
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
384
|
+
sh:property
|
|
385
|
+
[ sh:path ai:of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
386
|
+
[ sh:path ai:in-run-segment ; sh:class ai:run-segment ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
387
|
+
[ sh:path ai:has-outbound-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:outbound-kind-model ai-vocab:outbound-kind-mcp ) ] ,
|
|
388
|
+
[ sh:path ai:has-outbound-result ; sh:maxCount 1 ; sh:in ( ai-vocab:outbound-result-ok ai-vocab:outbound-result-error ai-vocab:outbound-result-cancelled ) ] ,
|
|
389
|
+
[ sh:path ai:has-object-check ; sh:maxCount 1 ; sh:in ( ai-vocab:object-check-valid ai-vocab:object-check-invalid ) ] ,
|
|
390
|
+
[ sh:path ai:escalates ; sh:class ai:outbound-call ; sh:maxCount 1 ] ,
|
|
391
|
+
[ sh:path ai:to-source ; sh:class ai:source ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
392
|
+
[ sh:path ai:to-target ; sh:class ai:target ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
393
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
394
|
+
[ sh:path core:ended-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] ;
|
|
395
|
+
sh:xone ( [ sh:property [ sh:path ai:has-outbound-kind ; sh:hasValue ai-vocab:outbound-kind-model ] , [ sh:path ai:to-source ; sh:class ai:provider ] , [ sh:path ai:to-target ; sh:class ai:model ] ] [ sh:property [ sh:path ai:has-outbound-kind ; sh:hasValue ai-vocab:outbound-kind-mcp ] , [ sh:path ai:to-source ; sh:class ai:mcp-server ] , [ sh:path ai:has-object-check ; sh:maxCount 0 ] ] ) ;
|
|
396
|
+
sh:message "An outbound call of the kind model goes to a model of a provider. An outbound call of the kind mcp goes to an MCP server and has no object check."@en .
|
|
397
|
+
|
|
398
|
+
ai-shapes:repair-attempt-shape a sh:NodeShape ;
|
|
399
|
+
sh:targetClass ai:repair-attempt ;
|
|
400
|
+
sh:property
|
|
401
|
+
[ sh:path ai:has-outbound-kind ; sh:hasValue ai-vocab:outbound-kind-model ; sh:message "A repair attempt is an outbound call of the kind model."@en ] .
|
|
402
|
+
|
|
403
|
+
ai-shapes:confident-run-shape a sh:NodeShape ;
|
|
404
|
+
sh:targetSubjectsOf ai:with-confidence ;
|
|
405
|
+
sh:property
|
|
406
|
+
[ sh:path ( ai:of-task ai:has-decision-form ) ; sh:minCount 1 ; sh:message "Only a run of a decision task has a decision confidence."@en ] .
|
|
407
|
+
|
|
408
|
+
ai-shapes:escalation-shape a sh:NodeShape ;
|
|
409
|
+
sh:targetSubjectsOf ai:escalates ;
|
|
410
|
+
sh:property
|
|
411
|
+
[ sh:path ai:has-outbound-kind ; sh:hasValue ai-vocab:outbound-kind-model ; sh:message "An escalation is an outbound call of the kind model."@en ] ,
|
|
412
|
+
[ sh:path ( ai:escalates ai:has-object-check ) ; sh:hasValue ai-vocab:object-check-valid ; sh:message "An escalation follows only a valid object."@en ] ,
|
|
413
|
+
[ sh:path ( ai:escalates ai:of-run ) ; sh:equals ai:of-run ; sh:message "An escalation answers again a call of its own run."@en ] ,
|
|
414
|
+
[ sh:path ( ai:of-run [ sh:inversePath ai:of-run ] ) ; sh:qualifiedValueShape [ sh:property [ sh:path ai:escalates ; sh:minCount 1 ] ] ; sh:qualifiedMaxCount 1 ; sh:message "A run has a maximum of one escalation."@en ] ,
|
|
415
|
+
[ sh:path ( ai:of-run ai:with-confidence ) ; sh:minCount 1 ; sh:message "A run with an escalation is a run of a decision task, so it has a decision confidence."@en ] .
|
|
416
|
+
|
|
417
|
+
ai-shapes:spend-entry-shape a sh:NodeShape ;
|
|
418
|
+
sh:targetClass ai:spend-entry ;
|
|
419
|
+
sh:closed true ;
|
|
420
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
421
|
+
sh:property
|
|
422
|
+
[ sh:path ai:of-outbound-call ; sh:class ai:outbound-call ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
423
|
+
[ sh:path ( ai:of-outbound-call ai:has-outbound-kind ) ; sh:hasValue ai-vocab:outbound-kind-model ; sh:message "Only model calls write spend entries. A tool call to an MCP server writes no spend entry."@en ] ,
|
|
424
|
+
[ sh:path ai:of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
425
|
+
[ sh:path ai:to-source ; sh:class ai:provider ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
426
|
+
[ sh:path ai:to-target ; sh:class ai:model ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
427
|
+
[ sh:path ai:in-cost-unit ; sh:class core:concept ; sh:node ai-shapes:cost-unit-concept-shape ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
428
|
+
[ sh:path ai:has-quantity ; sh:datatype xsd:decimal ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ] ,
|
|
429
|
+
[ sh:path ai:at-unit-cost ; sh:class billing:unit-cost ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
430
|
+
[ sh:path billing:has-cost ; sh:datatype xsd:long ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ] ,
|
|
431
|
+
[ sh:path ai:has-outbound-result ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:outbound-result-ok ai-vocab:outbound-result-error ai-vocab:outbound-result-cancelled ) ] ,
|
|
432
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:maxCount 1 ] ,
|
|
433
|
+
[ sh:path core:for-user ; sh:class core:user ; sh:maxCount 1 ] ,
|
|
434
|
+
[ sh:path ai:by-caller ; sh:class core:concept ; sh:node ai-shapes:caller-concept-shape ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
435
|
+
[ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
436
|
+
[ sh:path ai:with-prompt-version ; sh:class ai:prompt-version ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
437
|
+
[ sh:path ai:has-correlation-id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
438
|
+
[ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] .
|
|
439
|
+
|
|
440
|
+
ai-shapes:budget-shape a sh:NodeShape ;
|
|
441
|
+
sh:targetClass ai:budget ;
|
|
442
|
+
sh:closed true ;
|
|
443
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
444
|
+
sh:property
|
|
445
|
+
[ sh:path ai:has-budget-scope ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:budget-scope-global ai-vocab:budget-scope-provider ai-vocab:budget-scope-calibration ) ] ,
|
|
446
|
+
[ sh:path ai:limits-provider ; sh:class ai:provider ; sh:maxCount 1 ] ,
|
|
447
|
+
[ sh:path ai:has-maximum-cost ; sh:datatype xsd:long ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ] ;
|
|
448
|
+
sh:or ( [ sh:property [ sh:path ai:has-budget-scope ; sh:hasValue ai-vocab:budget-scope-provider ] , [ sh:path ai:limits-provider ; sh:minCount 1 ] ] [ sh:and ( [ sh:not [ sh:property [ sh:path ai:has-budget-scope ; sh:hasValue ai-vocab:budget-scope-provider ] ] ] [ sh:property [ sh:path ai:limits-provider ; sh:maxCount 0 ] ] ) ] ) ;
|
|
449
|
+
sh:message "A budget of the scope provider limits one provider. A budget of a different scope limits no provider."@en .
|
|
450
|
+
|
|
451
|
+
ai-shapes:model-limit-shape a sh:NodeShape ;
|
|
452
|
+
sh:targetClass ai:model-limit ;
|
|
453
|
+
sh:closed true ;
|
|
454
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
455
|
+
sh:property
|
|
456
|
+
[ sh:path ai:to-source ; sh:class ai:source ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "A model limit has one provider."@en ] ,
|
|
457
|
+
[ sh:path ai:to-target ; sh:class ai:target ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "A model limit has one model."@en ] ,
|
|
458
|
+
[ sh:path ai:has-call-timeout ; sh:datatype xsd:integer ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 1 ; sh:maxInclusive 3600 ; sh:message "A call time limit is a whole number of seconds from 1 to 3600."@en ] .
|
|
459
|
+
|
|
460
|
+
ai-shapes:run-limit-shape a sh:NodeShape ;
|
|
461
|
+
sh:targetClass ai:run-limit ;
|
|
462
|
+
sh:closed true ;
|
|
463
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
464
|
+
sh:property
|
|
465
|
+
[ sh:path ai:has-limit-kind ; sh:class core:concept ; sh:node ai-shapes:run-limit-concept-shape ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
466
|
+
[ sh:path ai:has-maximum ; sh:datatype xsd:decimal ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ] ,
|
|
467
|
+
[ sh:path ai:for-token-kind ; sh:class core:concept ; sh:node ai-shapes:token-kind-concept-shape ; sh:maxCount 1 ] ;
|
|
468
|
+
sh:or ( [ sh:property [ sh:path ai:has-limit-kind ; sh:hasValue ai-vocab:run-limit-tokens ] ] [ sh:property [ sh:path ai:for-token-kind ; sh:maxCount 0 ] ] ) ;
|
|
469
|
+
sh:message "Only a run limit of tokens has a token kind."@en .
|
|
470
|
+
|
|
471
|
+
ai-shapes:rate-limit-shape a sh:NodeShape ;
|
|
472
|
+
sh:targetClass ai:rate-limit ;
|
|
473
|
+
sh:closed true ;
|
|
474
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
475
|
+
sh:property
|
|
476
|
+
[ sh:path ai:has-maximum-per-user ; sh:datatype xsd:nonNegativeInteger ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
477
|
+
[ sh:path ai:has-maximum-per-workspace ; sh:datatype xsd:nonNegativeInteger ; sh:minCount 1 ; sh:maxCount 1 ] .
|
|
478
|
+
|
|
479
|
+
ai-shapes:identifier-index-shape a sh:NodeShape ;
|
|
480
|
+
sh:targetClass ai:identifier-index ;
|
|
481
|
+
sh:closed true ;
|
|
482
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
483
|
+
sh:property
|
|
484
|
+
[ 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 ] .
|
|
486
|
+
|
|
487
|
+
ai-shapes:schedule-shape a sh:NodeShape ;
|
|
488
|
+
sh:targetClass ai:schedule ;
|
|
489
|
+
sh:closed true ;
|
|
490
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
491
|
+
sh:property
|
|
492
|
+
[ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
493
|
+
[ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
494
|
+
[ sh:path ai:has-cron ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
495
|
+
[ sh:path ai:has-time-zone ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
496
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
497
|
+
[ sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
498
|
+
[ sh:path ai:has-schedule-input ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
499
|
+
[ sh:path ai:owned-by-key ; sh:class core:key ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
500
|
+
[ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] .
|
|
501
|
+
|
|
502
|
+
ai-shapes:thread-shape a sh:NodeShape ;
|
|
503
|
+
sh:targetClass ai:thread ;
|
|
504
|
+
sh:closed true ;
|
|
505
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
506
|
+
sh:property
|
|
507
|
+
[ sh:path core:id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
508
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
509
|
+
[ sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
510
|
+
[ sh:path ai:has-title ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
511
|
+
[ sh:path ai:last-message-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] ,
|
|
512
|
+
[ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] .
|
|
513
|
+
|
|
514
|
+
ai-shapes:memory-shape a sh:NodeShape ;
|
|
515
|
+
sh:targetClass ai:memory ;
|
|
516
|
+
sh:closed true ;
|
|
517
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
518
|
+
sh:property
|
|
519
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
520
|
+
[ sh:path core:for-user ; sh:class core:user ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
521
|
+
[ sh:path ai:in-thread ; sh:class ai:thread ; sh:maxCount 1 ] .
|
|
522
|
+
|
|
523
|
+
ai-shapes:admin-change-shape a sh:NodeShape ;
|
|
524
|
+
sh:targetClass ai:admin-change ;
|
|
525
|
+
sh:closed true ;
|
|
526
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
527
|
+
sh:property
|
|
528
|
+
[ 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 ] ,
|
|
529
|
+
[ sh:path identity:has-difference ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
530
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] .
|
|
531
|
+
|
|
532
|
+
ai-shapes:key-shape a sh:NodeShape ;
|
|
533
|
+
sh:targetClass core:key ;
|
|
534
|
+
sh:property
|
|
535
|
+
[ sh:path identity:has-scope ; sh:class core:concept ; sh:node ai-shapes:key-scope-concept-shape ] ,
|
|
536
|
+
[ sh:path ai:allows-task ; sh:class ai:task ] ,
|
|
537
|
+
[ sh:path ai:has-webhook-url ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
538
|
+
[ sh:path ai:has-api-version ; sh:datatype xsd:string ; sh:maxCount 1 ; sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" ] .
|
|
539
|
+
|
|
540
|
+
ai-shapes:run-content-shape a sh:NodeShape ;
|
|
541
|
+
sh:targetClass ai:run-content ;
|
|
542
|
+
sh:closed true ;
|
|
543
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
544
|
+
sh:property
|
|
545
|
+
[ sh:path ai:of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
546
|
+
[ sh:path ai:has-input ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
547
|
+
[ sh:path ai:has-rendered-prompt ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
548
|
+
[ sh:path ai:has-output ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
549
|
+
[ sh:path ai:has-tool-calls ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
550
|
+
[ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] ,
|
|
551
|
+
[ sh:path ( ai:of-run ai:of-task ai:is-ephemeral ) ; sh:not [ sh:hasValue true ] ; sh:message "A task with ephemeral has no run content."@en ] .
|
|
552
|
+
|
|
553
|
+
ai-shapes:scorer-shape a sh:NodeShape ;
|
|
554
|
+
sh:targetClass ai:scorer ;
|
|
555
|
+
sh:closed true ;
|
|
556
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
557
|
+
sh:property
|
|
558
|
+
[ sh:path core:has-name ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
559
|
+
[ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "A scorer belongs to one task."@en ] ,
|
|
560
|
+
[ sh:path ai:has-scorer-kind ; sh:class core:concept ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:scorer-kind-rule ai-vocab:scorer-kind-judge ) ] .
|
|
561
|
+
|
|
562
|
+
ai-shapes:rule-scorer-shape a sh:NodeShape ;
|
|
563
|
+
sh:targetClass ai:rule-scorer ;
|
|
564
|
+
sh:closed true ;
|
|
565
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
566
|
+
sh:property
|
|
567
|
+
[ sh:path core:has-name ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
568
|
+
[ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "A scorer belongs to one task."@en ] ,
|
|
569
|
+
[ sh:path ai:has-scorer-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:scorer-kind-rule ai-vocab:scorer-kind-judge ) ] ,
|
|
570
|
+
[ sh:path ai:has-scorer-kind ; sh:hasValue ai-vocab:scorer-kind-rule ] .
|
|
571
|
+
|
|
572
|
+
ai-shapes:judge-scorer-shape a sh:NodeShape ;
|
|
573
|
+
sh:targetClass ai:judge-scorer ;
|
|
574
|
+
sh:closed true ;
|
|
575
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
576
|
+
sh:property
|
|
577
|
+
[ sh:path core:has-name ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
578
|
+
[ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "A scorer belongs to one task."@en ] ,
|
|
579
|
+
[ sh:path ai:has-scorer-kind ; sh:minCount 1 ; sh:maxCount 1 ; sh:in ( ai-vocab:scorer-kind-rule ai-vocab:scorer-kind-judge ) ] ,
|
|
580
|
+
[ sh:path ai:has-scorer-kind ; sh:hasValue ai-vocab:scorer-kind-judge ] .
|
|
581
|
+
|
|
582
|
+
ai-shapes:score-shape a sh:NodeShape ;
|
|
583
|
+
sh:targetClass ai:score ;
|
|
584
|
+
sh:closed true ;
|
|
585
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
586
|
+
sh:property
|
|
587
|
+
[ sh:path ai:by-scorer ; sh:class ai:scorer ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
588
|
+
[ sh:path ai:of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
589
|
+
[ sh:path ai:has-score-value ; sh:datatype xsd:decimal ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ; sh:maxInclusive 1 ; sh:message "A score is a number from 0 to 1."@en ] ,
|
|
590
|
+
[ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] .
|
|
591
|
+
|
|
592
|
+
ai-shapes:eval-set-shape a sh:NodeShape ;
|
|
593
|
+
sh:targetClass ai:eval-set ;
|
|
594
|
+
sh:closed true ;
|
|
595
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
596
|
+
sh:property
|
|
597
|
+
[ sh:path ai:of-task ; sh:class ai:task ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "An eval set belongs to one task."@en ] ,
|
|
598
|
+
[ sh:path ai:has-pass-mark ; sh:datatype xsd:decimal ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ; sh:maxInclusive 1 ; sh:message "A pass mark is a number from 0 to 1."@en ] .
|
|
599
|
+
|
|
600
|
+
ai-shapes:eval-result-shape a sh:NodeShape ;
|
|
601
|
+
sh:targetClass ai:eval-result ;
|
|
602
|
+
sh:closed true ;
|
|
603
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
604
|
+
sh:property
|
|
605
|
+
[ sh:path ai:with-prompt-version ; sh:class ai:prompt-version ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "An eval result is for one prompt version."@en ] ,
|
|
606
|
+
[ sh:path ai:has-eval-set-hash ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
607
|
+
[ sh:path ai:has-pass-mark ; sh:datatype xsd:decimal ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ; sh:maxInclusive 1 ] ,
|
|
608
|
+
[ sh:path ai:has-average-score ; sh:datatype xsd:decimal ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ; sh:maxInclusive 1 ] ,
|
|
609
|
+
[ sh:path ai:has-average-cost ; sh:datatype xsd:long ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ; sh:message "An average cost is an integer number of micro-USD."@en ] ,
|
|
610
|
+
[ sh:path ai:has-escalation-rate ; sh:datatype xsd:decimal ; sh:minCount 1 ; sh:maxCount 1 ; sh:minInclusive 0 ; sh:maxInclusive 1 ] ,
|
|
611
|
+
[ sh:path core:generated-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] .
|
|
612
|
+
|
|
613
|
+
ai-shapes:flow-event-shape a sh:NodeShape ;
|
|
614
|
+
sh:targetClass ai:flow-event ;
|
|
615
|
+
sh:closed true ;
|
|
616
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
617
|
+
sh:property
|
|
618
|
+
[ sh:path ai:has-event-number ; sh:datatype xsd:positiveInteger ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
619
|
+
[ sh:path ai:of-run ; sh:class ai:run ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
620
|
+
[ 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 ] ,
|
|
621
|
+
[ 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 ] ,
|
|
622
|
+
[ sh:path ai:has-event-text ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
623
|
+
[ sh:path ai:has-approved-charge ; sh:datatype xsd:long ; sh:maxCount 1 ; sh:minInclusive 0 ] ,
|
|
624
|
+
[ sh:path ai:has-option ; sh:class ai:flow-option ] ,
|
|
625
|
+
[ sh:path ai:allows-retry ; sh:datatype xsd:boolean ; sh:maxCount 1 ] ,
|
|
626
|
+
[ sh:path ai:lists-leads-run ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
627
|
+
[ sh:path ai:shows-campaign ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
628
|
+
[ sh:path ai:has-activity ; sh:class ai:flow-activity ; sh:maxCount 1 ] ,
|
|
629
|
+
[ 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 ] ,
|
|
630
|
+
[ sh:path ai:has-block ; sh:class ai:flow-block ] .
|
|
631
|
+
|
|
632
|
+
ai-shapes:flow-activity-shape a sh:NodeShape ;
|
|
633
|
+
sh:targetClass ai:flow-activity ;
|
|
634
|
+
sh:closed true ;
|
|
635
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
636
|
+
sh:property
|
|
637
|
+
[ sh:path ai:has-activity-id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
638
|
+
[ sh:path ai:under-activity ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
639
|
+
[ sh:path ai:has-activity-kind ; sh:class core:concept ; sh:in ( ai-vocab:flow-activity-kind-phase ai-vocab:flow-activity-kind-task ai-vocab:flow-activity-kind-tool ai-vocab:flow-activity-kind-wait ai-vocab:flow-activity-kind-reasoning ai-vocab:flow-activity-kind-retry ) ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
640
|
+
[ sh:path ai:has-activity-state ; sh:class core:concept ; sh:in ( ai-vocab:flow-activity-state-started ai-vocab:flow-activity-state-done ai-vocab:flow-activity-state-failed ) ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
641
|
+
[ sh:path ai:calls-tool ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
642
|
+
[ sh:path core:started-at ; sh:datatype xsd:dateTime ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
643
|
+
[ sh:path core:ended-at ; sh:datatype xsd:dateTime ; sh:maxCount 1 ] .
|
|
644
|
+
|
|
645
|
+
ai-shapes:flow-option-shape a sh:NodeShape ;
|
|
646
|
+
sh:targetClass ai:flow-option ;
|
|
647
|
+
sh:closed true ;
|
|
648
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
649
|
+
sh:property
|
|
650
|
+
[ sh:path ai:has-option-id ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
651
|
+
[ sh:path ai:has-option-label ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
652
|
+
[ sh:path ai:has-option-hint ; sh:datatype xsd:string ; sh:maxCount 1 ] .
|
|
653
|
+
|
|
654
|
+
ai-shapes:flow-message-shape a sh:NodeShape ;
|
|
655
|
+
sh:targetClass ai:flow-message ;
|
|
656
|
+
sh:closed true ;
|
|
657
|
+
sh:ignoredProperties ( rdf:type ) ;
|
|
658
|
+
sh:property
|
|
659
|
+
[ sh:path core:in-workspace ; sh:class core:workspace ; sh:minCount 1 ; sh:maxCount 1 ] ,
|
|
660
|
+
[ 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
|
+
[ sh:path ai:has-message-text ; sh:datatype xsd:string ; sh:maxCount 1 ] ,
|
|
662
|
+
[ sh:path ai:chooses-option ; sh:datatype xsd:string ] .
|