Ontology Version: 3.1.0

cacontology-legal-shapes:LegalObjectTypeValidationShape leaf node


URI

https://cacontology.projectvic.org/legal-harmonization/shapes#LegalObjectTypeValidationShape

Label

Legal Object Type Validation Shape

Description

Validates that legal objects are properly classified as gUFO Objects and Kinds.

Property Constraints (1)

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rdf:type
sh:message Legal objects must be classified as gUFO Kind
1 1
sh:hasValue gufo:Kind
sh:severity sh:Violation

Implementation

@prefix cacontology-legal: <https://cacontology.projectvic.org/legal-harmonization#> .
@prefix cacontology-legal-shapes: <https://cacontology.projectvic.org/legal-harmonization/shapes#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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-legal-shapes:LegalObjectTypeValidationShape a sh:NodeShape ;
    rdfs:label "Legal Object Type Validation Shape"@en ;
    rdfs:comment "Validates that legal objects are properly classified as gUFO Objects and Kinds."@en ;
    sh:property [ sh:hasValue gufo:Kind ;
            sh:maxCount 1 ;
            sh:message "Legal objects must be classified as gUFO Kind"@en ;
            sh:minCount 1 ;
            sh:path rdf:type ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-legal:CSAMModelLaw,
        cacontology-legal:NationalLegislation,
        cacontology-legal:RegionalFramework,
        cacontology-legal:TreatyFramework .