Ontology Version: 3.1.0

cacontology-multi:ResourceSharingShape leaf node


URI

https://cacontology.projectvic.org/multi-jurisdiction#ResourceSharingShape

Label

Resource Sharing Shape

Description

Enhanced validation shape for resource sharing instances with gUFO quality aspects.

Targets (1)

Property Constraints (7)

Focus nodes of this shape (cacontology-multi:ResourceSharing) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-multi:costSharing
sh:message Resource sharing must specify cost sharing arrangement from the allowed list.
1 1 xsd:string
sh:in no_cost, shared_cost, reimbursable, grant_funded, federal_funded, requesting_agency_pays
cacontology-multi:hasAvailability
sh:message Availability must be between 0.0 and 1.0 (gUFO quality aspect).
0 1 xsd:double
sh:minInclusive 0.0
sh:maxInclusive 1.0
cacontology-multi:hasCostEffectiveness
sh:message Cost effectiveness must be from allowed values (gUFO quality aspect).
0 1 xsd:string
sh:in poor, fair, good, excellent, optimal
cacontology-multi:hasResourceUtilization
sh:message Resource utilization must be between 0.0 and 1.0 (gUFO quality aspect).
0 1 xsd:double
sh:minInclusive 0.0
sh:maxInclusive 1.0
cacontology-multi:resourceType Type of resource being shared (personnel, equipment, expertise, funding).
sh:message Resource sharing must specify resource type from the allowed list.
1 1 xsd:string
sh:in personnel, equipment, facilities, expertise, funding, technology, vehicles, aircraft
cacontology-multi:resourceValue Monetary value of shared resources in USD.
sh:message Resource value must be between $0 and $10,000,000.
0 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 10000000.0
cacontology-multi:sharingDuration Duration of resource sharing arrangement (in days).
sh:message Resource sharing duration must be between 1 and 365 days.
1 1 xsd:decimal
sh:minInclusive 1.0
sh:maxInclusive 365.0

Implementation

@prefix cacontology-multi: <https://cacontology.projectvic.org/multi-jurisdiction#> .
@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-multi:ResourceSharingShape a sh:NodeShape ;
    rdfs:label "Resource Sharing Shape"@en ;
    rdfs:comment "Enhanced validation shape for resource sharing instances with gUFO quality aspects."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "personnel" "equipment" "facilities" "expertise" "funding" "technology" "vehicles" "aircraft" ) ;
            sh:maxCount 1 ;
            sh:message "Resource sharing must specify resource type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-multi:resourceType ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 365.0 ;
            sh:message "Resource sharing duration must be between 1 and 365 days."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1.0 ;
            sh:path cacontology-multi:sharingDuration ],
        [ sh:datatype xsd:string ;
            sh:in ( "no_cost" "shared_cost" "reimbursable" "grant_funded" "federal_funded" "requesting_agency_pays" ) ;
            sh:maxCount 1 ;
            sh:message "Resource sharing must specify cost sharing arrangement from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-multi:costSharing ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000000.0 ;
            sh:message "Resource value must be between $0 and $10,000,000."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-multi:resourceValue ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Resource utilization must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-multi:hasResourceUtilization ],
        [ sh:datatype xsd:string ;
            sh:in ( "poor" "fair" "good" "excellent" "optimal" ) ;
            sh:maxCount 1 ;
            sh:message "Cost effectiveness must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-multi:hasCostEffectiveness ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Availability must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-multi:hasAvailability ] ;
    sh:targetClass cacontology-multi:ResourceSharing .