2024-02-02 15:18:15 +10:30
|
|
|
{
|
|
|
|
"$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",
|
2024-02-02 15:17:43 +10:30
|
|
|
"description": "contains a hexadecimal TLV to include"
|
2024-02-02 15:18:15 +10:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|