Ontology Version: 2.2.0

cacontology-prevention:EducationPortalShape leaf node


URI

https://cacontology.projectvic.org/prevention#EducationPortalShape

Label

Education Portal Shape

Description

Validation shape for education portal instances.

Shape Properties

Instances of cacontology-prevention:EducationPortal can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-prevention:EducationPortal
cacontology-prevention:educationPortalReach 0 1 xsd:nonNegativeInteger
1 1 xsd:string

Implementation

@prefix cacontology-prevention: <https://cacontology.projectvic.org/prevention#> .
@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-prevention:EducationPortalShape a sh:NodeShape ;
    rdfs:label "Education Portal Shape"@en ;
    rdfs:comment "Validation shape for education portal instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Education portal must have a name (5-200 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path uco-core:name ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000000 ;
            sh:message "Education portal reach must be between 1 and 10000000 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-prevention:educationPortalReach ] ;
    sh:targetClass cacontology-prevention:EducationPortal .