object-or-refernce #1

Merged
jem merged 25 commits from object-or-refernce into main 2023-08-01 07:43:12 +00:00
2 changed files with 6 additions and 5 deletions
Showing only changes of commit 72a51b3f2c - Show all commits

View file

@ -47,11 +47,10 @@
::Activity)) ::Activity))
;http://www.w3.org/ns/activitystreams#attachment ;http://www.w3.org/ns/activitystreams#attachment
; TODO: Why do we need to model this? Is this necessary for a Like-Activity?
(s/def ::attachment (s/def ::attachment
(s/and (s/and
::owl/Class
::owl/ObjectProperty ::owl/ObjectProperty
::owl/Class
::Object ::Object
::Link)) ::Link))

View file

@ -29,6 +29,8 @@
(is (not (s/valid? ::sut/result 47)))) (is (not (s/valid? ::sut/result 47))))
;(deftest attachment-test (deftest attachment-test
; (is (s/valid? ::sut/attachment)) (is (s/valid? ::sut/attachment
; ) [{:type "Image",
:content "This is what he looks like.",
:url "http://example.org/cat.jpeg"}])))