mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-01 03:24:41 +01:00
2ddecdc95a
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Fixed: doc: Epic documentation rewrite: each now lists complete and accurate JSON output, tested against testsuite.
42 lines
959 B
JSON
42 lines
959 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [ "base", "ppm", "channels" ],
|
|
"properties": {
|
|
"base": {
|
|
"type": "u32",
|
|
"description": "The fee_base_msat value"
|
|
},
|
|
"ppm": {
|
|
"type": "u32",
|
|
"description": "The fee_proportional_millionths value"
|
|
},
|
|
"channels": {
|
|
"type": "array",
|
|
"description": "channel(s) whose rate is now set",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [ "peer_id", "channel_id" ],
|
|
"properties": {
|
|
"peer_id": {
|
|
"type": "pubkey",
|
|
"description": "The node_id of the peer"
|
|
},
|
|
"channel_id": {
|
|
"type": "hex",
|
|
"description": "The channel_id of the channel",
|
|
"minLength": 64,
|
|
"maxLength": 64
|
|
},
|
|
"short_channel_id": {
|
|
"type": "short_channel_id",
|
|
"description": "the short_channel_id (if locked in)"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|