Ontology Version: 2.2.0

cacontology-infrastructure:HostingProviderShape leaf node


URI

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

Label

Hosting Provider Shape

Description

Validation shape for hosting provider instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-infrastructure:HostingProvider
cacontology-infrastructure:hostingProvider 0 1 xsd:string
1 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:HostingProviderShape a sh:NodeShape ;
    rdfs:label "Hosting Provider Shape"@en ;
    rdfs:comment "Validation shape for hosting provider instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Hosting provider must have a name (2-200 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 2 ;
            sh:path uco-core:name ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Hosting provider name should be 2-200 characters when specified."@en ;
            sh:minCount 0 ;
            sh:minLength 2 ;
            sh:path cacontology-infrastructure:hostingProvider ] ;
    sh:targetClass cacontology-infrastructure:HostingProvider .