object-or-refernce #1

Merged
jem merged 25 commits from object-or-refernce into main 2023-08-01 07:43:12 +00:00
Showing only changes of commit e04683d253 - Show all commits

View file

@ -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/def ::Object
(s/and (s/and
::owl/Class ::owl/Class
(sh/map-spec (s/keys :opt-un [::id ::type ::attachment])))) (sh/map-spec (s/keys :opt-un [::id ::type ::attachment]))))
;http://www.w3.org/ns/activitystreams#Link ;http://www.w3.org/ns/activitystreams#Link
;TODO: definition in progress
(s/def ::Link (s/def ::Link
(s/and (s/and
::owl/Class ::owl/Class
@ -81,21 +83,3 @@
::owl/Class ::owl/Class
::Object ::Object
::Link)) ::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]))))