2022-04-01 06:12:45 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"type": "object",
|
2022-04-01 06:12:45 +02:00
|
|
|
"additionalProperties": false,
|
2022-04-01 06:12:45 +02:00
|
|
|
"required": [
|
|
|
|
"route",
|
|
|
|
"payment_hash"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"route": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"msatoshi",
|
|
|
|
"id",
|
|
|
|
"delay",
|
|
|
|
"channel"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"msatoshi": {
|
|
|
|
"type": "msat"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "pubkey"
|
|
|
|
},
|
|
|
|
"delay": {
|
|
|
|
"type": "u16"
|
|
|
|
},
|
|
|
|
"channel": {
|
|
|
|
"type": "short_channel_id"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"payment_hash": {
|
|
|
|
"type": "hex"
|
|
|
|
},
|
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"msatoshi": {
|
|
|
|
"type": "msat"
|
|
|
|
},
|
|
|
|
"bolt11": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"payment_secret": {
|
|
|
|
"type": "hex"
|
|
|
|
},
|
|
|
|
"partid": {
|
|
|
|
"type": "u16"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|