Skip to content

Commit

Permalink
Warn if a Disk instance is not also a Device
Browse files Browse the repository at this point in the history
Test cases omitted from ontology's tests because CASE example data are
known to use `uco-observable:Disk`.

No effects were observed on Make-managed files.

References:
* #612

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
  • Loading branch information
ajnelson-nist committed Jul 26, 2024
1 parent 9a355e4 commit 03a3d3c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ontology/uco/observable/observable.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -2437,6 +2437,14 @@ observable:Disk
rdfs:subClassOf observable:ObservableObject ;
rdfs:label "Disk"@en ;
rdfs:comment "A disk is a storage mechanism where data is recorded by various electronic, magnetic, optical, or mechanical changes to a surface layer of one or more rotating disks."@en ;
rdfs:seeAlso [
a sh:NodeShape ;
rdfs:comment "This anonymous shape is attached with rdfs:seeAlso in order to associate a warning-severity class constraint, that will only be necessary as an independent shape until UCO 2.0.0."@en ;
sh:class observable:Device ;
sh:message "In UCO 2.0.0, uco-observable:Disk will be a subclass of uco-observable:Device. In preparation for UCO 2.0.0, the additional type uco-observable:Device should be assigned to this node."@en ;
sh:severity sh:Warning ;
sh:targetClass observable:Disk ;
] ;
sh:targetClass observable:Disk ;
.

Expand Down

0 comments on commit 03a3d3c

Please sign in to comment.