Ontology Version: 2.2.0

cacontology-infrastructure:PlatformInfrastructureShape leaf node


URI

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

Label

Platform Infrastructure Shape

Description

Validation shape for platform infrastructure instances.

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 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:PlatformInfrastructureShape a sh:NodeShape ;
    rdfs:label "Platform Infrastructure Shape"@en ;
    rdfs:comment "Validation shape for platform infrastructure instances."@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:string ;
            sh:maxCount 1 ;
            sh:maxLength 1000 ;
            sh:message "Infrastructure description should be 10-1000 characters when specified."@en ;
            sh:minCount 0 ;
            sh:minLength 10 ;
            sh:path uco-core:description ] ;
    sh:targetClass cacontology-infrastructure:PlatformInfrastructure .