Ontology Version: 2.2.0

cacontology-coord:ResourceSharingShape leaf node


URI

https://cacontology.projectvic.org/investigation-coordination#ResourceSharingShape

Label

Resource Sharing Shape

Description

Validation shape for resource sharing instances.

Shape Properties

Instances of cacontology-coord:ResourceSharing can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-coord:ResourceSharing
cacontology-coord:availabilityLevel 1 1 xsd:string
cacontology-coord:costSharing 1 1 xsd:boolean
cacontology-coord:hasDataCompleteness 1 xsd:double
cacontology-coord:hasDataConsistency 1 xsd:double
cacontology-coord:hasDataQuality 1 xsd:string
cacontology-coord:hasValidationLevel 1 xsd:string
cacontology-coord:reimbursement 1 1 xsd:boolean
cacontology-coord:resourceType 1 1 xsd:string
cacontology-coord:sharingDuration 1 1 xsd:decimal
1 xsd:dateTime
1 xsd:dateTime
0 1 xsd:string
0 1 xsd:string
0 1 xsd:dateTime
0 1 xsd:dateTime

Implementation

@prefix cacontology-coord: <https://cacontology.projectvic.org/investigation-coordination#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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-coord:ResourceSharingShape a sh:NodeShape ;
    rdfs:label "Resource Sharing Shape"@en ;
    rdfs:comment "Validation shape for resource sharing instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "personnel" "equipment" "facilities" "technology" "expertise" "funding" "vehicles" "specialized_units" ) ;
            sh:maxCount 1 ;
            sh:message "Resource sharing must specify resource type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:resourceType ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 8760.0 ;
            sh:message "Resource sharing duration must be between 1 and 8760 hours (1 year)."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1.0 ;
            sh:path cacontology-coord:sharingDuration ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Resource sharing must specify if cost sharing is involved."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:costSharing ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Resource sharing must specify if reimbursement is required."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:reimbursement ],
        [ sh:datatype xsd:string ;
            sh:in ( "immediate" "short_notice" "scheduled" "on_request" "limited" "emergency_only" ) ;
            sh:maxCount 1 ;
            sh:message "Resource sharing must specify availability level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:availabilityLevel ] ;
    sh:targetClass cacontology-coord:ResourceSharing .