https://cacontology.projectvic.org/platforms#UserRiskClassificationShape
Validation shape for user risk classification instances.
Instances of cacontology-platforms:UserRiskClassification can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@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#> .
cacontology-platforms:UserRiskClassificationShape a sh:NodeShape ;
rdfs:label "User Risk Classification Shape"@en ;
rdfs:comment "Validation shape for user risk classification instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "low" "medium" "high" "critical" ) ;
sh:maxCount 1 ;
sh:message "User risk level must be from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-platforms:userRiskLevel ] ;
sh:targetClass cacontology-platforms:UserRiskClassification .