diff --git a/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2.clj b/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2.clj index 2501732..a4f8ac3 100644 --- a/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2.clj +++ b/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2.clj @@ -43,13 +43,14 @@ :opt-un [::result ::target ::origin ::instrument ::verb]))) ; "IntransitiveActivity" erbt von Activity, aber ohne ::object -(s/def ::attributedTo (s/or :object ::Object :link ::Link)) -(s/def ::actor ::attributedTo) (s/def ::Property (s/or :object ::Object :link ::Link - :objects (s/coll-of ::Object) - :links (s/coll-of ::Link))) + :collection (s/coll-of (s/or :object ::Object :link ::Link)))) + +(s/def ::attributedTo ::Property) +(s/def ::actor ::attributedTo) + (s/def ::object ::Property)