Ontology Version: 2.2.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.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-multi:ResourceSharing
1 1 xsd:string
1 xsd:double
1 xsd:string
1 xsd:double
cacontology-multi:resourceType 1 1 xsd:string
cacontology-multi:resourceValue 0 1 xsd:decimal
cacontology-multi:sharingDuration 1 1 xsd:decimal

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 .