-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIdentifierShape.ttl
44 lines (39 loc) · 1.15 KB
/
IdentifierShape.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
@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 sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rami: <https://w3id.org/i40/rami#> .
<#IdentiferShape>
<<<<<<< HEAD
a sh:NodeShape ;
=======
a sh:NodeShape ;
>>>>>>> details_of_the_AAS_1.1
sh:targetClass rami:Identifier ;
sh:property [
sh:path rdf:type ;
sh:minCount 1 ;
] ;
sh:property [
sh:path rami:idType ;
sh:class rami:idType ;
# sh:type ; specify the type
sh:minCount 1 ;
sh:maxCount 1 ;
sh:severity sh:Violation ;
sh:message "property value idType necessary"@en ;
] ;
sh:property [
<<<<<<< HEAD
sh:path rami:id ;
sh:class rami:id ;
=======
sh:path rami:id ; # FIXME:id is also the path for Identifier in AssetShape
sh:class rami:id ; #deprecated ?!
>>>>>>> details_of_the_AAS_1.1
#sh:nodeKind rami:Id ;
sh:minCount 1 ;
sh:maxCount 1 ;
] .