mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 01:24:42 +01:00
26 lines
585 B
JSON
26 lines
585 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"onion",
|
|
"shared_secrets"
|
|
],
|
|
"properties": {
|
|
"onion": {
|
|
"type": "hex",
|
|
"description": "the onion packet (*onion_size* bytes)"
|
|
},
|
|
"shared_secrets": {
|
|
"type": "array",
|
|
"description": "one shared secret for each node in the *hops* parameter",
|
|
"items": {
|
|
"type": "secret",
|
|
"description": "the shared secret with this hop",
|
|
"maxLength": 64,
|
|
"minLength": 64
|
|
}
|
|
}
|
|
}
|
|
}
|