Skip to content

Commit

Permalink
Update ipldsch
Browse files Browse the repository at this point in the history
  • Loading branch information
expede committed Aug 7, 2024
1 parent 092311f commit 6054476
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 43 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Note that the Invocation MUST include the Signature envelope. An [Invocation Pay
## Type Tag
[Type Tag]: #type-tag

The UCAN envelope's payload tag MUST be `ucan/[email protected]`.
The UCAN envelope's [payload tag] MUST be `ucan/[email protected]`.

## Invocation Payload
[Invocation Payload]: #invocation-payload
Expand Down Expand Up @@ -568,5 +568,6 @@ Thanks to [Rod Vagg] for the clarifications on IPLD Schema implicits and the gen
[designation without authorization]: https://srl.cs.jhu.edu/pubs/SRL2003-02.pdf
[distributed promise pipelines]: http://erights.org/elib/distrib/pipeline.html
[eRights]: https://erights.org
[payload tag]: https://github.com/ucan-wg/spec/blob/main/README.md#envelope
[principle of least authority]: https://en.wikipedia.org/wiki/Principle_of_least_privilege
[ucanto RPC]: https://github.com/web3-storage/ucanto
8 changes: 3 additions & 5 deletions invocation.ipldsch
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ type Invocation struct {

type SignaturePayload {
h VarsigHeader
i Invocation
i InvocationV1Payload
}

type InvocationPayload struct {
uiv SemVer

type InvocationV1Payload struct {
iss DID
sub DID
aud optional DID

do Command
cmd Command
args {String : Any}
nonce String

Expand Down
28 changes: 0 additions & 28 deletions receipt.ipldsch

This file was deleted.

9 changes: 0 additions & 9 deletions signature.ipldsch

This file was deleted.

0 comments on commit 6054476

Please sign in to comment.