https://cacontology.projectvic.org/specialized-units#TherapyDogShape
Validation shape for therapy dog instances.
Focus nodes of this shape (cacontology-specialized:TherapyDog) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-specialized:providesWellnessSupport |
sh:message Therapy dog must provide wellness support to at least one person. |
1 | * | uco-identity:Person | |
uco-core:name |
sh:message Therapy dog must have a name (2-50 characters). |
1 | 1 | xsd:string |
sh:minLength
2
sh:maxLength
50
|
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix uco-identity: <https://ontology.unifiedcyberontology.org/uco/identity/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-specialized:TherapyDogShape a sh:NodeShape ;
rdfs:label "Therapy Dog Shape"@en ;
rdfs:comment "Validation shape for therapy dog instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 50 ;
sh:message "Therapy dog must have a name (2-50 characters)."@en ;
sh:minCount 1 ;
sh:minLength 2 ;
sh:path uco-core:name ],
[ sh:class uco-identity:Person ;
sh:message "Therapy dog must provide wellness support to at least one person."@en ;
sh:minCount 1 ;
sh:path cacontology-specialized:providesWellnessSupport ] ;
sh:targetClass cacontology-specialized:TherapyDog .