Ontology Version: 3.1.0

cacontology-legal-shapes:LegislativeInstrumentShape leaf node


URI

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

Label

Legislative Instrument Shape

Description

Validates legislative instruments (bills, resolutions).

Targets (1)

Property Constraints (2)

Focus nodes of this shape (cacontology-legal:LegislativeInstrument) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-legal:involvesProcess Links legislation to the process it is going through.
sh:message Legislative instrument should involve at least one process
1 * cacontology-legal:LegislativeProcess
sh:severity sh:Info
uco-core:name
sh:message Legislative instrument should have a name
1 * xsd:string
sh:severity sh:Warning

Implementation

@prefix cacontology-legal: <https://cacontology.projectvic.org/legal-harmonization#> .
@prefix cacontology-legal-shapes: <https://cacontology.projectvic.org/legal-harmonization/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-legal-shapes:LegislativeInstrumentShape a sh:NodeShape ;
    rdfs:label "Legislative Instrument Shape"@en ;
    rdfs:comment "Validates legislative instruments (bills, resolutions)."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:message "Legislative instrument should have a name"@en ;
            sh:minCount 1 ;
            sh:path uco-core:name ;
            sh:severity sh:Warning ],
        [ sh:class cacontology-legal:LegislativeProcess ;
            sh:message "Legislative instrument should involve at least one process"@en ;
            sh:minCount 1 ;
            sh:path cacontology-legal:involvesProcess ;
            sh:severity sh:Info ] ;
    sh:targetClass cacontology-legal:LegislativeInstrument .