https://cacontology.projectvic.org/legal-harmonization/shapes#JurisdictionWithStatutesShape
Validates jurisdictions with legal harmonization properties.
Focus nodes of this shape (cacontology-multi:Jurisdiction) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-legal:hasComplianceScore | Numerical compliance score. sh:message Compliance score should be between 0.0 and 1.0 |
0 | 1 | xsd:decimal |
sh:minInclusive
0.0
sh:maxInclusive
1.0
sh:severity
sh:Info
|
| cacontology-legal:hasHarmonizationLevel | Level of harmonization (full, partial, none). sh:message Harmonization level should be one of: full, partial, none |
0 | 1 | xsd:string |
sh:in
full, partial, none
sh:severity
sh:Info
|
| cacontology-legal:jurisdictionType | Type of jurisdiction (federal, state, territory, local, national, regional). sh:message Jurisdiction type should be one of: federal, state, territory, local, national, regional |
0 | 1 | xsd:string |
sh:in
federal, state, territory, local, national, regional
sh:severity
sh:Info
|
@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 .