Ontology Version: 2.7.0

cacontology-usa-leg-shapes:LegislativeStageShape leaf node


URI

https://cacontology.projectvic.org/usa-legislative/shapes#LegislativeStageShape

Label

Legislative Stage Shape

Description

Validates U.S. legislative stage instances as gUFO Phases.

Shape Properties

Instances of cacontology-usa-leg:LegislativeStage can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-usa-leg:LegislativeStage
cacontology-usa-leg:isFinal 1 xsd:boolean
cacontology-usa-leg:stageOrder 1 1 xsd:integer
1 rdf:langString
gufo:Phase
cacontology-infrastructure:hasPhaseBeginPoint 1 xsd:dateTimeStamp
cacontology-infrastructure:hasPhaseEndPoint 1 xsd:dateTimeStamp
cacontology-multi:hasCoordinationPhaseBeginPoint 1 xsd:dateTimeStamp
cacontology-multi:hasCoordinationPhaseEndPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasPhaseBeginPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasPhaseEndPoint 1 xsd:dateTimeStamp
cacontology-production:hasProductionPhaseBeginPoint 0 1 xsd:dateTimeStamp
cacontology-production:hasProductionPhaseEndPoint 0 1 xsd:dateTimeStamp
cacontology-temporal:hasLegalDeadline 1 xsd:dateTimeStamp
cacontology-temporal:hasMaximumDuration 1 xsd:duration
cacontology-temporal:hasMinimumDuration 1 xsd:duration
cacontology-temporal:hasTypicalDuration 1 xsd:duration
cacontology-temporal:phaseCompletionRate 1 xsd:decimal
cacontology-temporal:phaseEfficiency 1 xsd:decimal
cacontology-temporal:urgencyLevel 1 xsd:integer

Implementation

@prefix cacontology-usa-leg: <https://cacontology.projectvic.org/usa-legislative#> .
@prefix cacontology-usa-leg-shapes: <https://cacontology.projectvic.org/usa-legislative/shapes#> .
@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-usa-leg-shapes:LegislativeStageShape a sh:NodeShape ;
    rdfs:label "Legislative Stage Shape"@en ;
    rdfs:comment "Validates U.S. legislative stage instances as gUFO Phases."@en ;
    sh:property [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 10 ;
            sh:message "Legislative stage should have a stage order (1-10)"@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-usa-leg:stageOrder ;
            sh:severity sh:Warning ],
        [ sh:datatype rdf:langString ;
            sh:message "Legislative stage must have a label"@en ;
            sh:minCount 1 ;
            sh:path rdfs:label ;
            sh:severity sh:Violation ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Legislative stage may indicate if it is a final stage"@en ;
            sh:path cacontology-usa-leg:isFinal ;
            sh:severity sh:Info ] ;
    sh:targetClass cacontology-usa-leg:LegislativeStage .