core-lightning/doc/schemas/sendonionmessage.request.json
ShahanaFarooqui e8c8c8887b doc: Adding missing *.request.json
Some rpc commands did not have their corresponding *.request.json files to generate the consolidated json
2024-03-19 14:58:59 +10:30

42 lines
935 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"first_id",
"blinding",
"hops"
],
"properties": {
"first_id": {
"type": "pubkey",
"description": "the (presumably well-known) public key of the start of the path"
},
"blinding": {
"type": "pubkey",
"description": "blinding factor for this path"
},
"hops": {
"type": "array",
"description": "",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"node",
"tlv"
],
"properties": {
"node": {
"type": "pubkey",
"description": "public key of the node"
},
"tlv": {
"type": "u8",
"description": "contains a hexidecimal TLV to include"
}
}
}
}
}
}