Ontology Version: 2.11.0

cacontology-legal-shapes:JurisdictionWithStatutesShape leaf node


URI

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

Label

Jurisdiction With Statutes Shape

Description

Validates jurisdictions with legal harmonization properties.

Target Classes (1)

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-multi:Jurisdiction
cacontology-legal:hasComplianceScore 1 xsd:decimal
cacontology-legal:hasHarmonizationLevel 1 xsd:string
cacontology-legal:jurisdictionType 1 xsd:string

Implementation

@prefix cacontology-legal: <https://cacontology.projectvic.org/legal-harmonization#> .
@prefix cacontology-legal-shapes: <https://cacontology.projectvic.org/legal-harmonization/shapes#> .
@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-legal-shapes:JurisdictionWithStatutesShape a sh:NodeShape ;
    rdfs:label "Jurisdiction With Statutes Shape"@en ;
    rdfs:comment "Validates jurisdictions with legal harmonization properties."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "full" "partial" "none" ) ;
            sh:maxCount 1 ;
            sh:message "Harmonization level should be one of: full, partial, none"@en ;
            sh:path cacontology-legal:hasHarmonizationLevel ;
            sh:severity sh:Info ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Compliance score should be between 0.0 and 1.0"@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-legal:hasComplianceScore ;
            sh:severity sh:Info ],
        [ sh:datatype xsd:string ;
            sh:in ( "federal" "state" "territory" "local" "national" "regional" ) ;
            sh:maxCount 1 ;
            sh:message "Jurisdiction type should be one of: federal, state, territory, local, national, regional"@en ;
            sh:path cacontology-legal:jurisdictionType ;
            sh:severity sh:Info ] ;
    sh:targetClass cacontology-multi:Jurisdiction .