From 2fa35210075f37e84679e450eafdccbdd183b1f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Mon, 2 Sep 2024 13:04:08 +0200 Subject: [PATCH] invocation: WIP --- invocation/invocation.ipldsch | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 invocation/invocation.ipldsch diff --git a/invocation/invocation.ipldsch b/invocation/invocation.ipldsch new file mode 100644 index 0000000..e966c2d --- /dev/null +++ b/invocation/invocation.ipldsch @@ -0,0 +1,37 @@ +# The Invocation Payload attaches sender, receiver, and provenance to the Task. +# type Payload struct { +# # The DID of the Invoker +# iss DID +# # The Subject being invoked +# sub DID +# # The DID of the intended Executor if different from the Subject +# aud optional DID +# +# # The Command +# cmd Command +# # The Command's Arguments +# args {String : Any} +# +# # A unique, random nonce +# nonce optional String +# +# # Arbitrary Metadata +# meta optional {String : Any} +# # Delegations that prove the chain of authority +# prf [&Delegation] +# # The timestamp at which the Invocation becomes invalid +# exp optional Integer +# # An OPTIONAL timestamp at which the Invocation was created +# iat optional Integer +# +# # An OPTIONAL CID of the Receipt that enqueued the Task +# cause optional &Receipt +# } + +type DID string + +type Foo struct { + iss DID + exp optional Int + prf [String] +} \ No newline at end of file