https://cacontology.projectvic.org/sex-offender-registry#OffenderProfileShape
Validation shape for offender profile instances.
Instances of cacontology-registry:OffenderProfile can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-registry:OffenderProfile | ||||
| cacontology-registry:lastUpdate | 0 | 1 |
xsd:dateTime
|
|
| 1 | 1 |
xsd:dateTime
|
||
@prefix cacontology-registry: <https://cacontology.projectvic.org/sex-offender-registry#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-registry:OffenderProfileShape a sh:NodeShape ;
rdfs:label "Offender Profile Shape"@en ;
rdfs:comment "Validation shape for offender profile instances."@en ;
sh:property [ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Profile must specify creation time."@en ;
sh:minCount 1 ;
sh:path uco-core:createdTime ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Profile may specify last update time."@en ;
sh:minCount 0 ;
sh:path cacontology-registry:lastUpdate ] ;
sh:targetClass cacontology-registry:OffenderProfile .