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
|
:opt-un [::result ::target ::origin ::instrument
|
||||||
::verb])))
|
::verb])))
|
||||||
; "IntransitiveActivity" erbt von Activity, aber ohne ::object
|
; "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
|
(s/def ::Property (s/or :object ::Object
|
||||||
:link ::Link
|
:link ::Link
|
||||||
:objects (s/coll-of ::Object)
|
:collection (s/coll-of (s/or :object ::Object :link ::Link))))
|
||||||
:links (s/coll-of ::Link)))
|
|
||||||
|
(s/def ::attributedTo ::Property)
|
||||||
|
(s/def ::actor ::attributedTo)
|
||||||
|
|
||||||
|
|
||||||
(s/def ::object
|
(s/def ::object
|
||||||
::Property)
|
::Property)
|
||||||
|
|
Loading…
Reference in a new issue