Ontology Version: 3.1.0

cacontology-synthesis-shapes:KeyFindingNumberShape leaf node


URI

https://cacontology.projectvic.org/synthesis/shapes#KeyFindingNumberShape

Label

KeyFinding Number Shape

Targets (1)

Property Constraints (1)

Focus nodes of this shape (cacontology-synthesis:KeyFinding) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-synthesis:findingNumber Ordinal number for a key finding.
sh:message KeyFinding must have exactly one findingNumber (positive integer).
1 1 xsd:integer
sh:minInclusive 1
sh:severity sh:Violation

Implementation

@prefix cacontology-synthesis: <https://cacontology.projectvic.org/synthesis#> .
@prefix cacontology-synthesis-shapes: <https://cacontology.projectvic.org/synthesis/shapes#> .
@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-synthesis-shapes:KeyFindingNumberShape a sh:NodeShape ;
    rdfs:label "KeyFinding Number Shape"@en ;
    sh:property [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:message "KeyFinding must have exactly one findingNumber (positive integer)."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-synthesis:findingNumber ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-synthesis:KeyFinding .