From e04683d2538bb17ead71e80b9b141a07e6d6dc6a Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 28 Jul 2023 17:36:15 +0200 Subject: [PATCH] remove douplicate spec defs --- .../activity_pub_poc/activitystreams2.cljc | 22 +++---------------- 1 file changed, 3 insertions(+), 19 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 c48b2ab..21807d1 100644 --- a/src/main/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2.cljc +++ b/src/main/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2.cljc @@ -9,13 +9,15 @@ ;======================= -;http://www.w3.org/ns/activitystreams#object +;http://www.w3.org/ns/activitystreams#Object +;TODO: definition in progress (s/def ::Object (s/and ::owl/Class (sh/map-spec (s/keys :opt-un [::id ::type ::attachment])))) ;http://www.w3.org/ns/activitystreams#Link +;TODO: definition in progress (s/def ::Link (s/and ::owl/Class @@ -81,21 +83,3 @@ ::owl/Class ::Object ::Link)) - -;http://www.w3.org/ns/activitystreams#object -(s/def ::Object - (s/and ::owl/Class - (sh/map-spec (s/keys :opt-un [::id])))) - -;http://www.w3.org/ns/activitystreams#Link -;TODO: definition in progress -(s/def ::Link - (s/and ::owl/Class - (sh/map-spec (s/keys :opt-un [::id])))) - - - - - - -