core-lightning/doc/schemas/createonion.request.json

42 lines
743 B
JSON
Raw Normal View History

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"hops",
"assocdata"
],
"properties": {
"hops": {
"type": "array",
"description": "",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"pubkey",
"payload"
],
"properties": {
"pubkey": {
"type": "pubkey"
},
"payload": {
"type": "hex"
}
}
}
},
"assocdata": {
"type": "hex",
"description": ""
},
"session_key": {
"type": "secret"
},
"onion_size": {
"type": "u16"
}
}
}