https://cacontology.projectvic.org/infrastructure#ServerInfrastructureShape
Validation shape for server infrastructure instances.
Focus nodes of this shape (cacontology-infrastructure:ServerInfrastructure) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-infrastructure:cloudPlatform | Cloud platform used for hosting (AWS, Azure, GCP, private cloud). sh:message Cloud platform must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
AWS, Azure, GCP, private_cloud, dedicated_servers, hybrid, unknown
|
| cacontology-infrastructure:serverCount | Number of servers comprising the infrastructure. sh:message Server count must be between 1 and 10000 when specified. |
0 | 1 | xsd:nonNegativeInteger |
sh:minInclusive
1
sh:maxInclusive
10000
|
@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@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-infrastructure:ServerInfrastructureShape a sh:NodeShape ;
rdfs:label "Server Infrastructure Shape"@en ;
rdfs:comment "Validation shape for server infrastructure instances."@en ;
sh:property [ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 10000 ;
sh:message "Server count must be between 1 and 10000 when specified."@en ;
sh:minCount 0 ;
sh:minInclusive 1 ;
sh:path cacontology-infrastructure:serverCount ],
[ sh:datatype xsd:string ;
sh:in ( "AWS" "Azure" "GCP" "private_cloud" "dedicated_servers" "hybrid" "unknown" ) ;
sh:maxCount 1 ;
sh:message "Cloud platform must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-infrastructure:cloudPlatform ] ;
sh:targetClass cacontology-infrastructure:ServerInfrastructure .