-
Notifications
You must be signed in to change notification settings - Fork 0
/
contract-offer-message-shape.ttl
69 lines (63 loc) · 2.7 KB
/
contract-offer-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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@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:ContractOfferMessageShape
a sh:NodeShape ;
sh:targetClass dspace:ContractOfferMessage ;
rdfs:subClassOf dspace_shapes:ContractNegotiationMessageShape ;
sh:property [
a sh:PropertyShape ;
sh:path dspace:providerPid ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:severity sh:Violation ;
sh:message "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/contract-offer-message-shape.ttl> (ContractOfferMessageShape): An dspace:providerPid property must point to exactly one xsd:string value."@en ;
] ;
sh:property [
a sh:PropertyShape ;
sh:path dspace:consumerPid ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:severity sh:Violation ;
sh:message "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/contract-offer-message-shape.ttl> (ContractOfferMessageShape): An dspace:consumerPid property must point to exactly one xsd:string value."@en ;
] ;
sh:property [
a sh:PropertyShape ;
sh:path dspace:offer ;
sh:class odrl:Offer ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:severity sh:Violation ;
sh:message "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/contract-offer-message-shape.ttl> (ContractOfferMessageShape): A dspace:offer property must point to exactly one odrl:Offer class."@en ;
] ;
sh:property [
a sh:PropertyShape ;
sh:path dspace:callbackAddress ;
sh:datatype xsd:anyURI ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:severity sh:Violation ;
sh:message "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/contract-offer-message-shape.ttl> (ContractOfferMessageShape): A dspace:callbackAddress property must point to exactly one xsd:anyURI value."@en ;
] ;
.