Skip to content

Commit

Permalink
chore(schemas): update OpenRPC API doc and JSON schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Feb 29, 2024
1 parent 13f8503 commit 0aa873d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
12 changes: 10 additions & 2 deletions homestar-runtime/schemas/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1393,8 +1393,16 @@
],
"properties": {
"nnc": {
"description": "A 12-byte or 16-byte nonce. Use empty string for no nonce.",
"type": "string"
"description": "A 12-byte or 16-byte nonce encoded as IPLD bytes. Use empty string for no nonce.",
"oneOf": [
{
"$ref": "#/definitions/ipld_bytes"
},
{
"type": "string",
"const": ""
}
]
},
"op": {
"description": "Function executor",
Expand Down
12 changes: 10 additions & 2 deletions homestar-runtime/schemas/workflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,16 @@
],
"properties": {
"nnc": {
"description": "A 12-byte or 16-byte nonce. Use empty string for no nonce.",
"type": "string"
"description": "A 12-byte or 16-byte nonce encoded as IPLD bytes. Use empty string for no nonce.",
"oneOf": [
{
"$ref": "#/definitions/ipld_bytes"
},
{
"type": "string",
"const": ""
}
]
},
"op": {
"description": "Function executor",
Expand Down

0 comments on commit 0aa873d

Please sign in to comment.