mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-29 10:04:41 +01:00
3c32f7d8f6
These are required so we can generate the requests, not just the responses. We'll add more as we test compatibility with our generation code.
21 lines
699 B
JSON
21 lines
699 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"required": [],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"short_channel_id": {
|
|
"type": "short_channel_id",
|
|
"description": "If short_channel_id is a short channel id, then only known channels with a matching short_channel_id are returned. Otherwise, it must be null."
|
|
},
|
|
"source": {
|
|
"type": "pubkey",
|
|
"description": "If source is a node id, then only channels leading from that node id are returned."
|
|
},
|
|
"destination": {
|
|
"type": "pubkey",
|
|
"description": "If destination is a node id, then only channels leading to that node id are returned."
|
|
}
|
|
}
|
|
}
|