-
Notifications
You must be signed in to change notification settings - Fork 16
/
transfer-completion-message-shape.ttl
53 lines (46 loc) · 1.87 KB
/
transfer-completion-message-shape.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix cred: <https://www.w3.org/2018/credentials#> .
@prefix sec: <https://w3id.org/security#> .
@prefix dspace: <https://w3id.org/dspace/2024/1/> .
@prefix dspace_shapes: <https://w3id.org/dspace/shapes/2024/1/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
dspace_shapes:
a owl:Ontology ;
sh:declare [
sh:prefix "rdf" ;
sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ;
] ;
sh:declare [
sh:prefix "dspace" ;
sh:namespace "https://w3id.org/dspace/2024/1/"^^xsd:anyURI ;
] ;
.
dspace_shapes:TransferCompletionMessageShape
a sh:NodeShape ;
sh:targetClass dspace:TransferCompletionMessage ;
rdfs:subClassOf dspace_shapes:MessageShape ;
sh:property [
a sh:PropertyShape ;
sh:path dspace:providerPid ;
sh:datatype xsd:string ;
sh:severity sh:Violation ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:message "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/transfer-completion-message-shape.ttl> (TransferCompletionMessageShape): An dspace:providerPid property must point exactly one xsd:string field."@en ;
] ;
sh:property [
a sh:PropertyShape ;
sh:path dspace:consumerPid ;
sh:datatype xsd:string ;
sh:severity sh:Violation ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:message "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/transfer-completion-message-shape.ttl> (TransferCompletionMessageShape): An dspace:consumerPid property must point exactly one xsd:string field."@en ;
] ;
.