Ontology Version: 2.2.0

cacontology-infrastructure-shapes:EnhancedPlatformInfrastructureShape leaf node


URI

https://cacontology.projectvic.org/infrastructure/shapes#EnhancedPlatformInfrastructureShape

Label

Enhanced Platform Infrastructure Shape

Description

Enhanced validation shape for platform infrastructure with gUFO quality aspects.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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 cacontology-infrastructure-shapes: <https://cacontology.projectvic.org/infrastructure/shapes#> .
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-infrastructure-shapes:EnhancedPlatformInfrastructureShape a sh:NodeShape ;
    rdfs:label "Enhanced Platform Infrastructure Shape"@en ;
    rdfs:comment "Enhanced validation shape for platform infrastructure with gUFO quality aspects."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Infrastructure name should be 2-200 characters when specified."@en ;
            sh:minCount 0 ;
            sh:minLength 2 ;
            sh:path uco-core:name ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Infrastructure reliability must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-infrastructure:hasInfrastructureReliability ],
        [ sh:datatype xsd:string ;
            sh:in ( "poor" "fair" "good" "excellent" "optimal" ) ;
            sh:maxCount 1 ;
            sh:message "Infrastructure performance must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-infrastructure:hasInfrastructurePerformance ],
        [ sh:datatype xsd:string ;
            sh:in ( "limited" "moderate" "high" "unlimited" "unknown" ) ;
            sh:maxCount 1 ;
            sh:message "Infrastructure scalability must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-infrastructure:hasInfrastructureScalability ],
        [ sh:datatype xsd:string ;
            sh:in ( "minimal" "low" "moderate" "high" "critical" ) ;
            sh:maxCount 1 ;
            sh:message "Infrastructure vulnerability must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-infrastructure:hasInfrastructureVulnerability ] ;
    sh:targetClass cacontology-infrastructure:PlatformInfrastructure .