From d13259c2b23725357ab81d4e05cebf61b2e59340 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Mon, 24 Jul 2023 09:25:56 +0200 Subject: [PATCH] model result spec --- .../activity_pub_poc/activitystreams2.cljc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/main/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2.cljc b/src/main/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2.cljc index 3540fc0..31674d0 100644 --- a/src/main/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2.cljc +++ b/src/main/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2.cljc @@ -20,20 +20,18 @@ ;http://www.w3.org/ns/activitystreams#attachment (s/def ::attachment (s/and + ::owl/ObjectProperty ::Class ::Link - ::Object - ::owl/ObjectProperty)) + ::Object)) ;http://www.w3.org/ns/activitystreams#result -;TODO: definition in progress -;How should we translate this? -;rdfs:range [ -; a owl:Class ; -; owl:unionOf ( as:Object as:Link ) -; ] (s/def ::result - (s/and ::owl/ObjectProperty)) + (s/and + ::owl/ObjectProperty + ::Class + ::Object + ::Link)) ;http://www.w3.org/ns/activitystreams#Activity ;TODO: definition in progress