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": {
|
2022-04-01 06:13:34 +02:00
|
|
|
"type": "hash"
|
2022-04-01 06:12:45 +02:00
|
|
|
},
|
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"msatoshi": {
|
|
|
|
"type": "msat"
|
|
|
|
},
|
|
|
|
"bolt11": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"payment_secret": {
|
2022-04-01 06:13:34 +02:00
|
|
|
"type": "secret"
|
2022-04-01 06:12:45 +02:00
|
|
|
},
|
|
|
|
"partid": {
|
|
|
|
"type": "u16"
|
2022-04-01 06:13:34 +02:00
|
|
|
},
|
|
|
|
"localofferid": {
|
|
|
|
"type": "hex"
|
|
|
|
},
|
|
|
|
"groupid": {
|
|
|
|
"type": "u64"
|
2022-04-01 06:12:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|