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": [
|
|
|
|
"bolt11"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"bolt11": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"msatoshi": {
|
|
|
|
"type": "msat"
|
|
|
|
},
|
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"riskfactor": {
|
2022-04-01 06:13:34 +02:00
|
|
|
"type": "number"
|
2022-04-01 06:12:45 +02:00
|
|
|
},
|
|
|
|
"maxfeepercent": {
|
2022-04-01 06:13:34 +02:00
|
|
|
"type": "number"
|
2022-04-01 06:12:45 +02:00
|
|
|
},
|
|
|
|
"retry_for": {
|
|
|
|
"type": "u16"
|
|
|
|
},
|
|
|
|
"maxdelay": {
|
|
|
|
"type": "u16"
|
|
|
|
},
|
|
|
|
"exemptfee": {
|
2022-04-01 06:13:34 +02:00
|
|
|
"type": "msat"
|
|
|
|
},
|
|
|
|
"localofferid": {
|
|
|
|
"type": "hex"
|
|
|
|
},
|
|
|
|
"exclude": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "short_channel_id_dir"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "pubkey"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2022-04-01 06:12:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|