Ontology Version: 2.2.0

cacontology-infrastructure:ServerInfrastructureShape leaf node


URI

https://cacontology.projectvic.org/infrastructure#ServerInfrastructureShape

Label

Server Infrastructure Shape

Description

Validation shape for server infrastructure instances.

Shape Properties

Instances of cacontology-infrastructure:ServerInfrastructure can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-infrastructure:ServerInfrastructure
cacontology-infrastructure:cloudPlatform 0 1 xsd:string
cacontology-infrastructure:serverCount 0 1 xsd:nonNegativeInteger
cacontology-infrastructure:PlatformInfrastructure
cacontology-infrastructure:hasInfrastructureBeginPoint 1 xsd:dateTimeStamp
cacontology-infrastructure:hasInfrastructureEndPoint 1 xsd:dateTimeStamp
cacontology-infrastructure:hasInfrastructurePerformance 1 xsd:string
cacontology-infrastructure:hasInfrastructureReliability 1 xsd:double
cacontology-infrastructure:hasInfrastructureScalability 1 xsd:string
cacontology-infrastructure:hasInfrastructureVulnerability 1 xsd:string
0 1 xsd:string

Implementation

@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 .