From a27175072d6e3524c56274523b99d53faa9ef353 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Mon, 29 Jul 2024 09:49:52 -0400 Subject: [PATCH] Warn if a Disk instance is not also a StorageMedium No effects were observed on Make-managed files. References: * https://github.com/ucoProject/UCO/issues/612 Signed-off-by: Alex Nelson --- ontology/uco/observable/observable.ttl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ontology/uco/observable/observable.ttl b/ontology/uco/observable/observable.ttl index a11ef758..6dc75195 100644 --- a/ontology/uco/observable/observable.ttl +++ b/ontology/uco/observable/observable.ttl @@ -2440,8 +2440,8 @@ observable:Disk 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:class observable:StorageMedium ; + sh:message "In UCO 2.0.0, uco-observable:Disk will be a subclass of uco-observable:StorageMedium. In preparation for UCO 2.0.0, the additional type uco-observable:StorageMedium should be assigned to this node."@en ; sh:severity sh:Warning ; sh:targetClass observable:Disk ; ] ;