Ontology Version: 3.1.0

cacontology-specialized:K9DetectionProgramShape leaf node


URI

https://cacontology.projectvic.org/specialized-units#K9DetectionProgramShape

Label

K9 Detection Program Shape

Description

Validation shape for K9 detection program instances.

Targets (1)

Property Constraints (2)

Focus nodes of this shape (cacontology-specialized:K9DetectionProgram) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rdfs:comment
sh:message K9 detection program comment should be 10-500 characters when provided.
0 1 xsd:string
sh:minLength 10
sh:maxLength 500
rdfs:label
sh:message K9 detection program must have a label (5-100 characters).
1 1 xsd:string
sh:minLength 5
sh:maxLength 100

Implementation

@prefix cacontology-specialized: <https://cacontology.projectvic.org/specialized-units#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-specialized:K9DetectionProgramShape a sh:NodeShape ;
    rdfs:label "K9 Detection Program Shape"@en ;
    rdfs:comment "Validation shape for K9 detection program instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "K9 detection program must have a label (5-100 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 500 ;
            sh:message "K9 detection program comment should be 10-500 characters when provided."@en ;
            sh:minCount 0 ;
            sh:minLength 10 ;
            sh:path rdfs:comment ] ;
    sh:targetClass cacontology-specialized:K9DetectionProgram .