Skip to content

Commit

Permalink
Enforce vocabulary pattern revision
Browse files Browse the repository at this point in the history
A follow-on patch will regenerate Make-managed files.

References:
* #629

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Feb 18, 2025
1 parent 5c94b41 commit 243f481
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 230 deletions.
24 changes: 7 additions & 17 deletions ontology/uco/action/action.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ action:Action
] ,
[
sh:datatype xsd:string ;
sh:message "As of UCO 1.4.0, the datatype to use for action:actionStatus should be xsd:string. Not using xsd:string will be an error in UCO 2.0.0." ;
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path action:actionStatus ;
sh:severity sh:Warning ;
] ,
[
sh:in (
Expand All @@ -126,11 +126,6 @@ action:Action
sh:message "Value is not member of the vocabulary ActionStatusTypeVocab." ;
sh:path action:actionStatus ;
sh:severity sh:Info ;
] ,
[
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path action:actionStatus ;
]
;
sh:targetClass action:Action ;
Expand Down Expand Up @@ -238,13 +233,14 @@ action:ActionFrequencyFacet
sh:maxCount "1"^^xsd:integer ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path action:units ;
sh:path action:trend ;
] ,
[
sh:datatype xsd:string ;
sh:message "As of UCO 1.4.0, the datatype to use for action:trend should be xsd:string. Not using xsd:string will be an error in UCO 2.0.0." ;
sh:path action:trend ;
sh:severity sh:Warning ;
sh:maxCount "1"^^xsd:integer ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path action:units ;
] ,
[
sh:in (
Expand All @@ -254,12 +250,6 @@ action:ActionFrequencyFacet
sh:message "Value is not member of the vocabulary TrendVocab." ;
sh:path action:trend ;
sh:severity sh:Info ;
] ,
[
sh:maxCount "1"^^xsd:integer ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path action:trend ;
]
;
sh:targetClass action:ActionFrequencyFacet ;
Expand Down
Loading

0 comments on commit 243f481

Please sign in to comment.