Ontology Version: 3.1.0

cacontology-infrastructure:PlatformInfrastructureShape leaf node


URI

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

Label

Platform Infrastructure Shape

Description

Validation shape for platform infrastructure instances.

Property Constraints (2)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
uco-core:description
sh:message Infrastructure description should be 10-1000 characters when specified.
0 1 xsd:string
sh:minLength 10
sh:maxLength 1000
uco-core:name
sh:message Infrastructure name should be 2-200 characters when specified.
0 1 xsd:string
sh:minLength 2
sh:maxLength 200

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 .