remove douplicate spec defs

This commit is contained in:
Michael Jerger 2023-07-28 17:36:15 +02:00
parent d8874ba147
commit e04683d253

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]))))