https://cacontology.projectvic.org/usa-legislative/shapes#USCabinetAgencyShape
Validates U.S. cabinet-level agency instances.
Instances of cacontology-usa-leg:USCabinetAgency can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-usa-leg:USCabinetAgency | ||||
| cacontology-legal:jurisdictionScope | 1 | |||
| cacontology-usa-leg:acronym | 1 | 1 |
xsd:string
|
|
| 1 |
rdf:langString
|
|||
@prefix cacontology-legal: <https://cacontology.projectvic.org/legal-harmonization#> .
@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:USCabinetAgencyShape a sh:NodeShape ;
rdfs:label "U.S. Cabinet Agency Shape"@en ;
rdfs:comment "Validates U.S. cabinet-level agency instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 10 ;
sh:message "Cabinet agency should have an acronym (2-10 characters)"@en ;
sh:minCount 1 ;
sh:minLength 2 ;
sh:path cacontology-usa-leg:acronym ;
sh:severity sh:Warning ],
[ sh:datatype rdf:langString ;
sh:message "Cabinet agency must have a label"@en ;
sh:minCount 1 ;
sh:path rdfs:label ;
sh:severity sh:Violation ],
[ sh:hasValue "US" ;
sh:message "Cabinet agency should have jurisdiction scope 'US'"@en ;
sh:minCount 1 ;
sh:path cacontology-legal:jurisdictionScope ;
sh:severity sh:Warning ] ;
sh:targetClass cacontology-usa-leg:USCabinetAgency .