Ontology Version: 2.7.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).

Shape Properties

Instances of cacontology-legal:LegislativeInstrument can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal:LegislativeInstrument
cacontology-legal:involvesProcess 1 cacontology-legal:LegislativeProcess
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 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 .