https://cacontology.projectvic.org/platforms#UserScaleClassificationShape
Validation shape for user scale classification instances.
Instances of cacontology-platforms:UserScaleClassification 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:UserScaleClassificationShape a sh:NodeShape ;
rdfs:label "User Scale Classification Shape"@en ;
rdfs:comment "Validation shape for user scale classification instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "small" "medium" "large" "massive" ) ;
sh:maxCount 1 ;
sh:message "Platform scale must be from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-platforms:platformScale ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "Million plus users indicator must be a boolean value."@en ;
sh:minCount 0 ;
sh:path cacontology-platforms:millionPlusUsers ] ;
sh:targetClass cacontology-platforms:UserScaleClassification .