shrub/pkg/arvo/sur/post.hoon
2020-07-21 11:04:18 -07:00

37 lines
688 B
Plaintext

/- *resource
|%
+$ atom @u
+$ index (list atom)
+$ uid [=resource =index]
::
:: mug hash of +validated-portion
+$ hash @ux
::
+$ signature [p=@ux q=ship r=life]
+$ signatures (set signature)
+$ post
$: author=ship
=index
time-sent=time
contents=(list content)
hash=(unit hash)
=signatures
==
::
+$ validated-portion
$: parent-hash=(unit hash)
author=ship
time-sent=time
contents=(list content)
==
::
+$ content
$% [%text text=cord]
[%url url=cord]
[%code expression=cord output=(list tank)]
[%reference =uid]
:: TODO: maybe use a cask?
::[%cage =cage]
==
--