1{ 2 "$schema": "http://json-schema.org/draft-07/schema#", 3 "type": "object", 4 "additionalProperties": false, 5 "required": [ "channel_id", "psbt", "commitments_secured", "funding_outnum" ], 6 "properties": { 7 "channel_id": { 8 "type": "hex", 9 "description": "the channel id of the channel", 10 "maxLength": 64, 11 "minLength": 64 12 }, 13 "psbt": { 14 "type": "string", 15 "description": "the PSBT of the funding transaction" 16 }, 17 "commitments_secured": { 18 "type": "boolean", 19 "description": "whether the *psbt* is complete (if true, sign *psbt* and call `openchannel_signed` to complete the channel open)" 20 }, 21 "funding_outnum": { 22 "type": "u32", 23 "description": "The index of the funding output in the psbt" 24 }, 25 "close_to": { 26 "type": "hex", 27 "description": "scriptPubkey which we have to close to if we mutual close" 28 } 29 } 30} 31