2022-12-06 04:11:36 +00:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
2023-05-25 16:40:46 +01:00
|
|
|
"added": "v23.02",
|
2022-12-06 04:11:36 +00:00
|
|
|
"required": [
|
|
|
|
"destination",
|
|
|
|
"payment_hash",
|
|
|
|
"amount_msat"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"destination": {
|
|
|
|
"type": "pubkey",
|
|
|
|
"added": "v23.02"
|
|
|
|
},
|
|
|
|
"payment_hash": {
|
|
|
|
"type": "hex",
|
|
|
|
"added": "v23.02",
|
|
|
|
"description": "the hash of the *payment_preimage* which will prove payment",
|
|
|
|
"maxLength": 64,
|
|
|
|
"minLength": 64
|
|
|
|
},
|
|
|
|
"amount_msat": {
|
|
|
|
"type": "msat",
|
|
|
|
"added": "v23.02"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|