object-or-refernce #1
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/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]))))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue