Ontology Version: 3.1.0

cacontology-infrastructure:NetworkInfrastructureShape leaf node


URI

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

Label

Network Infrastructure Shape

Description

Validation shape for network infrastructure instances.

Property Constraints (1)

Focus nodes of this shape (cacontology-infrastructure:NetworkInfrastructure) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
uco-core:name
sh:message Network infrastructure name should be 2-100 characters when specified.
0 1 xsd:string
sh:minLength 2
sh:maxLength 100

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:NetworkInfrastructureShape a sh:NodeShape ;
    rdfs:label "Network Infrastructure Shape"@en ;
    rdfs:comment "Validation shape for network infrastructure instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Network infrastructure name should be 2-100 characters when specified."@en ;
            sh:minCount 0 ;
            sh:minLength 2 ;
            sh:path uco-core:name ] ;
    sh:targetClass cacontology-infrastructure:NetworkInfrastructure .