From 0ed64559f7e20d73d3f8da6f213565810a8e73b2 Mon Sep 17 00:00:00 2001 From: b0bkaT Date: Mon, 28 Jun 2021 13:40:45 -0400 Subject: [PATCH] Fixed property restriction typo in observable:ContactMessaging In accordance with CP-5, 'observable:ContactMessaging' should have the property restriction 'observable:messagingAddress' instead of 'observable:contactAddress'. This commit fixes that typo and wil remove 'observable:messagingAddress' as a potential orphan property. AJN: This cherry-pick ended up being a manual re-write of the original patch Trevor authored. Sorting confused cherry-pick pretty thoroughly. References: * [OC-24] (CP-5) Refactor and improve contacts * [OC-68] (CP-23) Convert current property restrictions and domain assertions to SHACL class shapes Acked-by: Trevor Bobka (cherry picked from commit a4029291457ac47e1d81ad9c5d36201f84597c9d) --- uco-observable/observable.ttl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uco-observable/observable.ttl b/uco-observable/observable.ttl index 1733b143..6e3b4135 100644 --- a/uco-observable/observable.ttl +++ b/uco-observable/observable.ttl @@ -1146,12 +1146,12 @@ observable:ContactMessaging [ sh:datatype observable:ObservableObject ; sh:maxCount "1"^^xsd:integer ; - sh:path observable:contactAddress ; + sh:path observable:contactMessagingPlatform ; ] , [ sh:datatype observable:ObservableObject ; sh:maxCount "1"^^xsd:integer ; - sh:path observable:contactMessagingPlatform ; + sh:path observable:messagingAddress ; ] ; sh:targetClass observable:ContactMessaging ;