https://cacontology.projectvic.org/investigation-coordination#ResourceSharingShape
Validation shape for resource sharing instances.
Focus nodes of this shape (cacontology-coord:ResourceSharing) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-coord:availabilityLevel | Availability level of shared resources (immediate, short_notice, scheduled, on_request, limited, emergency_only). sh:message Resource sharing must specify availability level from the allowed list. |
1 | 1 | xsd:string |
sh:in
immediate, short_notice, scheduled, on_request, limited, emergency_only
|
| cacontology-coord:costSharing | Whether cost sharing is involved in resource sharing. sh:message Resource sharing must specify if cost sharing is involved. |
1 | 1 | xsd:boolean | |
| cacontology-coord:reimbursement | Whether reimbursement is required for resource sharing. sh:message Resource sharing must specify if reimbursement is required. |
1 | 1 | xsd:boolean | |
| cacontology-coord:resourceType | Type of resource being shared (personnel, equipment, facilities, technology, expertise, funding, vehicles, specialized_units). sh:message Resource sharing must specify resource type from the allowed list. |
1 | 1 | xsd:string |
sh:in
personnel, equipment, facilities, technology, expertise, funding, vehicles, specialized_units
|
| cacontology-coord:sharingDuration | Duration of resource sharing in hours. sh:message Resource sharing duration must be between 1 and 8760 hours (1 year). |
1 | 1 | xsd:decimal |
sh:minInclusive
1.0
sh:maxInclusive
8760.0
|
@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 .