remove douplicate spec defs
This commit is contained in:
parent
d8874ba147
commit
e04683d253
1 changed files with 3 additions and 19 deletions
|
@ -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]))))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue