Conform Property to spec
This commit is contained in:
parent
1931365e1c
commit
a324de35e4
1 changed files with 5 additions and 4 deletions
|
@ -43,13 +43,14 @@
|
|||
:opt-un [::result ::target ::origin ::instrument
|
||||
::verb])))
|
||||
; "IntransitiveActivity" erbt von Activity, aber ohne ::object
|
||||
(s/def ::attributedTo (s/or :object ::Object :link ::Link))
|
||||
(s/def ::actor ::attributedTo)
|
||||
|
||||
(s/def ::Property (s/or :object ::Object
|
||||
:link ::Link
|
||||
:objects (s/coll-of ::Object)
|
||||
:links (s/coll-of ::Link)))
|
||||
:collection (s/coll-of (s/or :object ::Object :link ::Link))))
|
||||
|
||||
(s/def ::attributedTo ::Property)
|
||||
(s/def ::actor ::attributedTo)
|
||||
|
||||
|
||||
(s/def ::object
|
||||
::Property)
|
||||
|
|
Loading…
Reference in a new issue