Ontology Version: 3.1.0

cacontology-coord:CoordinationAgreementShape leaf node


URI

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

Label

Coordination Agreement Shape

Description

Validation shape for coordination agreement instances.

Targets (1)

Property Constraints (6)

Focus nodes of this shape (cacontology-coord:CoordinationAgreement) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-coord:agreementScope Scope of the agreement (specific_case, case_category, ongoing_cooperation, resource_sharing, information_sharing, comprehensive).
sh:message Coordination agreement must specify agreement scope from the allowed list.
1 1 xsd:string
sh:in specific_case, case_category, ongoing_cooperation, resource_sharing, information_sharing, comprehensive
cacontology-coord:agreementType Type of coordination agreement (mou, moa, formal_agreement, informal_agreement, task_force_charter, joint_operations_plan).
sh:message Coordination agreement must specify agreement type from the allowed list.
1 1 xsd:string
sh:in mou, moa, formal_agreement, informal_agreement, task_force_charter, joint_operations_plan
cacontology-coord:effectiveDate Date when the agreement becomes effective.
sh:message Coordination agreement must specify effective date.
1 1 xsd:dateTime
cacontology-coord:expirationDate Date when the agreement expires.
sh:message Coordination agreement may specify expiration date.
0 1 xsd:dateTime
cacontology-coord:renewalClause Whether the agreement contains a renewal clause.
sh:message Coordination agreement must specify if renewal clause exists.
1 1 xsd:boolean
cacontology-coord:terminationClause Whether the agreement contains a termination clause.
sh:message Coordination agreement must specify if termination clause exists.
1 1 xsd:boolean

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:CoordinationAgreementShape a sh:NodeShape ;
    rdfs:label "Coordination Agreement Shape"@en ;
    rdfs:comment "Validation shape for coordination agreement instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "mou" "moa" "formal_agreement" "informal_agreement" "task_force_charter" "joint_operations_plan" ) ;
            sh:maxCount 1 ;
            sh:message "Coordination agreement must specify agreement type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:agreementType ],
        [ sh:datatype xsd:string ;
            sh:in ( "specific_case" "case_category" "ongoing_cooperation" "resource_sharing" "information_sharing" "comprehensive" ) ;
            sh:maxCount 1 ;
            sh:message "Coordination agreement must specify agreement scope from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:agreementScope ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Coordination agreement must specify effective date."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:effectiveDate ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Coordination agreement may specify expiration date."@en ;
            sh:minCount 0 ;
            sh:path cacontology-coord:expirationDate ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Coordination agreement must specify if renewal clause exists."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:renewalClause ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Coordination agreement must specify if termination clause exists."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:terminationClause ] ;
    sh:targetClass cacontology-coord:CoordinationAgreement .