{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "required": [],
  "properties": {
    "configs": {
      "added": "v23.08",
      "type": "object",
      "comment": "Plugins can add fields to this, so we can't rule out additional properties :(",
      "additionalProperties": true,
      "required": [],
      "properties": {
        "conf": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from cmdline"
            },
            "source": {
              "type": "string",
              "enum": [
                "cmdline"
              ],
              "description": "source of configuration setting"
            }
          }
        },
        "clear-plugins": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "disable-mpp": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            },
            "plugin": {
              "type": "string",
              "description": "plugin which registered this configuration setting"
            }
          }
        },
        "mainnet": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "regtest": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "signet": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "testnet": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "important-plugin": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "values_str",
            "sources"
          ],
          "properties": {
            "values_str": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "field from config or cmdline"
              }
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "source of configuration setting"
              }
            }
          }
        },
        "plugin": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "values_str",
            "sources"
          ],
          "properties": {
            "values_str": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "field from config or cmdline"
              }
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "source of configuration setting"
              }
            }
          }
        },
        "plugin-dir": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "values_str",
            "sources"
          ],
          "properties": {
            "values_str": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "field from config or cmdline"
              }
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "source of configuration setting"
              }
            }
          }
        },
        "lightning-dir": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "network": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default (can also be changed by `testnet`, `signet`, `regtest` options!)"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "allow-deprecated-apis": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_bool",
            "source"
          ],
          "properties": {
            "value_bool": {
              "type": "boolean",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "rpc-file": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "disable-plugin": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "values_str",
            "sources"
          ],
          "properties": {
            "values_str": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "field from config or cmdline"
              }
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "source of configuration setting"
              }
            }
          }
        },
        "always-use-proxy": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_bool",
            "source"
          ],
          "properties": {
            "value_bool": {
              "type": "boolean",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "daemon": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "wallet": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "large-channels": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "experimental-dual-fund": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "experimental-onion-messages": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "experimental-offers": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "experimental-shutdown-wrong-funding": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "experimental-websocket-port": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "experimental-peer-storage": {
          "added": "v23.02",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "experimental-anchors": {
          "type": "object",
          "added": "v23.08",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "database-upgrade": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_bool",
            "source"
          ],
          "properties": {
            "value_bool": {
              "type": "boolean",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "rgb": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "hex",
              "description": "field from config or cmdline, or default",
              "maxLength": 6,
              "minLength": 6
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "alias": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "pid-file": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "ignore-fee-limits": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_bool",
            "source"
          ],
          "properties": {
            "value_bool": {
              "type": "boolean",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "watchtime-blocks": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "max-locktime-blocks": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "funding-confirms": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "cltv-delta": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "cltv-final": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "commit-time": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "fee-base": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "rescan": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "integer",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "fee-per-satoshi": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "max-concurrent-htlcs": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "htlc-minimum-msat": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_msat",
            "source"
          ],
          "properties": {
            "value_msat": {
              "type": "msat",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "htlc-maximum-msat": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_msat",
            "source"
          ],
          "properties": {
            "value_msat": {
              "type": "msat",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "max-dust-htlc-exposure-msat": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_msat",
            "source"
          ],
          "properties": {
            "value_msat": {
              "type": "msat",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "min-capacity-sat": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u64",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            },
            "dynamic": {
              "type": "boolean",
              "enum": [
                true
              ],
              "description": "Can this be set by setconfig()"
            }
          }
        },
        "addr": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "values_str",
            "sources"
          ],
          "properties": {
            "values_str": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "field from config or cmdline"
              }
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "source of configuration setting"
              }
            }
          }
        },
        "announce-addr": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "values_str",
            "sources"
          ],
          "properties": {
            "values_str": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "field from config or cmdline"
              }
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "source of configuration setting"
              }
            }
          }
        },
        "bind-addr": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "values_str",
            "sources"
          ],
          "properties": {
            "values_str": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "field from config or cmdline"
              }
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "source of configuration setting"
              }
            }
          }
        },
        "offline": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "autolisten": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_bool",
            "source"
          ],
          "properties": {
            "value_bool": {
              "type": "boolean",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "proxy": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "disable-dns": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "announce-addr-discovered": {
          "added": "v23.02",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "enum": [
                "true",
                "false",
                "auto"
              ],
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "announce-addr-discovered-port": {
          "added": "v23.02",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u32",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "encrypted-hsm": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "rpc-file-mode": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "log-level": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "log-prefix": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "log-file": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "values_str",
            "sources"
          ],
          "properties": {
            "values_str": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "field from config or cmdline"
              }
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "source of configuration setting"
              }
            }
          }
        },
        "log-timestamps": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_bool",
            "source"
          ],
          "properties": {
            "value_bool": {
              "type": "boolean",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "force-feerates": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "subdaemon": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "values_str",
            "sources"
          ],
          "properties": {
            "values_str": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "field from config or cmdline"
              }
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "source of configuration setting"
              }
            }
          }
        },
        "fetchinvoice-noconnect": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "set",
            "source"
          ],
          "properties": {
            "set": {
              "type": "boolean",
              "description": "`true` if set in config or cmdline"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "accept-htlc-tlv-types": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "tor-service-password": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_str",
            "source"
          ],
          "properties": {
            "value_str": {
              "type": "string",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "announce-addr-dns": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_bool",
            "source"
          ],
          "properties": {
            "value_bool": {
              "type": "boolean",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "require-confirmed-inputs": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_bool",
            "source"
          ],
          "properties": {
            "value_bool": {
              "type": "boolean",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        },
        "commit-fee": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value_int",
            "source"
          ],
          "properties": {
            "value_int": {
              "type": "u64",
              "description": "field from config or cmdline, or default"
            },
            "source": {
              "type": "string",
              "description": "source of configuration setting"
            }
          }
        }
      }
    },
    "# version": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "Special field indicating the current version"
    },
    "plugins": {
      "type": "array",
      "deprecated": "v23.08",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "path",
          "name"
        ],
        "description": "`plugin` field from config or cmdline",
        "properties": {
          "path": {
            "type": "string",
            "description": "Full path of the plugin"
          },
          "name": {
            "type": "string",
            "description": "short name of the plugin"
          },
          "options": {
            "type": "object",
            "additionalProperties": true,
            "required": [],
            "description": "Specific options set for this plugin",
            "properties": {}
          }
        }
      }
    },
    "important-plugins": {
      "type": "array",
      "deprecated": "v23.08",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "path",
          "name"
        ],
        "description": "`important-plugin` field from config or cmdline, or built-in",
        "properties": {
          "path": {
            "type": "string",
            "description": "Full path of the plugin"
          },
          "name": {
            "type": "string",
            "description": "short name of the plugin"
          },
          "options": {
            "type": "object",
            "additionalProperties": true,
            "required": [],
            "description": "Specific options set for this plugin",
            "properties": {}
          }
        }
      }
    },
    "conf": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`conf` field from cmdline, or default"
    },
    "lightning-dir": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`lightning-dir` field from config or cmdline, or default"
    },
    "network": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`network` field from config or cmdline, or default"
    },
    "allow-deprecated-apis": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`allow-deprecated-apis` field from config or cmdline, or default"
    },
    "rpc-file": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`rpc-file` field from config or cmdline, or default"
    },
    "disable-plugin": {
      "deprecated": "v23.08",
      "type": "array",
      "items": {
        "type": "string",
        "description": "`disable-plugin` field from config or cmdline"
      }
    },
    "bookkeeper-dir": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`bookkeeper-dir` field from config or cmdline, or default"
    },
    "bookkeeper-db": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`bookkeeper-db` field from config or cmdline, or default"
    },
    "always-use-proxy": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`always-use-proxy` field from config or cmdline, or default"
    },
    "daemon": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`daemon` field from config or cmdline, or default"
    },
    "wallet": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`wallet` field from config or cmdline default"
    },
    "large-channels": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`large-channels` field from config or cmdline, or default"
    },
    "experimental-dual-fund": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`experimental-dual-fund` field from config or cmdline, or default"
    },
    "experimental-onion-messages": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`experimental-onion-messages` field from config or cmdline, or default"
    },
    "experimental-offers": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`experimental-offers` field from config or cmdline, or default"
    },
    "experimental-shutdown-wrong-funding": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`experimental-shutdown-wrong-funding` field from config or cmdline, or default"
    },
    "experimental-websocket-port": {
      "deprecated": "v23.08",
      "type": "u16",
      "description": "`experimental-websocket-port` field from config or cmdline, or default"
    },
    "experimental-peer-storage": {
      "deprecated": "v23.08",
      "type": "boolean",
      "added": "v23.02",
      "description": "`experimental-peer-storage` field from config or cmdline, or default"
    },
    "experimental-quiesce": {
      "type": "boolean",
      "added": "v23.08",
      "deprecated": "v23.08",
      "description": "`experimental-quiesce` field from config or cmdline, or default"
    },
    "experimental-upgrade-protocol": {
      "type": "boolean",
      "added": "v23.08",
      "deprecated": "v23.08",
      "description": "`experimental-upgrade-protocol` field from config or cmdline, or default"
    },
    "database-upgrade": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`database-upgrade` field from config or cmdline"
    },
    "rgb": {
      "deprecated": "v23.08",
      "type": "hex",
      "description": "`rgb` field from config or cmdline, or default",
      "maxLength": 6,
      "minLength": 6
    },
    "alias": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`alias` field from config or cmdline, or default"
    },
    "pid-file": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`pid-file` field from config or cmdline, or default"
    },
    "ignore-fee-limits": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`ignore-fee-limits` field from config or cmdline, or default"
    },
    "watchtime-blocks": {
      "deprecated": "v23.08",
      "type": "u32",
      "description": "`watchtime-blocks` field from config or cmdline, or default"
    },
    "max-locktime-blocks": {
      "deprecated": "v23.08",
      "type": "u32",
      "description": "`max-locktime-blocks` field from config or cmdline, or default"
    },
    "funding-confirms": {
      "deprecated": "v23.08",
      "type": "u32",
      "description": "`funding-confirms` field from config or cmdline, or default"
    },
    "cltv-delta": {
      "deprecated": "v23.08",
      "type": "u32",
      "description": "`cltv-delta` field from config or cmdline, or default"
    },
    "cltv-final": {
      "deprecated": "v23.08",
      "type": "u32",
      "description": "`cltv-final` field from config or cmdline, or default"
    },
    "commit-time": {
      "deprecated": "v23.08",
      "type": "u32",
      "description": "`commit-time` field from config or cmdline, or default"
    },
    "fee-base": {
      "deprecated": "v23.08",
      "type": "u32",
      "description": "`fee-base` field from config or cmdline, or default"
    },
    "rescan": {
      "deprecated": "v23.08",
      "type": "integer",
      "description": "`rescan` field from config or cmdline, or default"
    },
    "fee-per-satoshi": {
      "deprecated": "v23.08",
      "type": "u32",
      "description": "`fee-per-satoshi` field from config or cmdline, or default"
    },
    "max-concurrent-htlcs": {
      "deprecated": "v23.08",
      "type": "u32",
      "description": "`max-concurrent-htlcs` field from config or cmdline, or default"
    },
    "htlc-minimum-msat": {
      "deprecated": "v23.08",
      "type": "msat",
      "description": "`htlc-minimum-msat` field from config or cmdline, or default"
    },
    "htlc-maximum-msat": {
      "deprecated": "v23.08",
      "type": "msat",
      "description": "`htlc-maximum-msat` field from config or cmdline, or default"
    },
    "max-dust-htlc-exposure-msat": {
      "deprecated": "v23.08",
      "type": "msat",
      "description": "`max-dust-htlc-exposure-mast` field from config or cmdline, or default"
    },
    "min-capacity-sat": {
      "deprecated": "v23.08",
      "type": "u64",
      "description": "`min-capacity-sat` field from config or cmdline, or default"
    },
    "addr": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`addr` field from config or cmdline (can be more than one)"
    },
    "announce-addr": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`announce-addr` field from config or cmdline (can be more than one)"
    },
    "bind-addr": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`bind-addr` field from config or cmdline (can be more than one)"
    },
    "offline": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`true` if `offline` was set in config or cmdline"
    },
    "autolisten": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`autolisten` field from config or cmdline, or default"
    },
    "proxy": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`proxy` field from config or cmdline, or default"
    },
    "disable-dns": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`true` if `disable-dns` was set in config or cmdline"
    },
    "disable-ip-discovery": {
      "deprecated": "v23.02",
      "type": "boolean",
      "description": "`true` if `disable-ip-discovery` was set in config or cmdline"
    },
    "announce-addr-discovered": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`true`/`false`/`auto` depending on how `announce-addr-discovered` was set in config or cmdline",
      "added": "v23.02"
    },
    "announce-addr-discovered-port": {
      "deprecated": "v23.08",
      "type": "integer",
      "description": "Sets the announced TCP port for dynamically discovered IPs.",
      "added": "v23.02"
    },
    "encrypted-hsm": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`true` if `encrypted-hsm` was set in config or cmdline"
    },
    "rpc-file-mode": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`rpc-file-mode` field from config or cmdline, or default"
    },
    "log-level": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`log-level` field from config or cmdline, or default"
    },
    "log-prefix": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`log-prefix` field from config or cmdline, or default"
    },
    "log-file": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`log-file` field from config or cmdline, or default"
    },
    "log-timestamps": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`log-timestamps` field from config or cmdline, or default"
    },
    "force-feerates": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "force-feerate configuration setting, if any"
    },
    "subdaemon": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`subdaemon` fields from config or cmdline if any (can be more than one)"
    },
    "fetchinvoice-noconnect": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "`fetchinvoice-noconnect` fields from config or cmdline, or default"
    },
    "accept-htlc-tlv-types": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`accept-htlc-tlv-types` field from config or cmdline, or not present"
    },
    "tor-service-password": {
      "deprecated": "v23.08",
      "type": "string",
      "description": "`tor-service-password` field from config or cmdline, if any"
    },
    "dev-allowdustreserve": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "Whether we allow setting dust reserves"
    },
    "announce-addr-dns": {
      "deprecated": "v23.08",
      "type": "boolean",
      "added": "v22.11.1",
      "description": "Whether we put DNS entries into node_announcement"
    },
    "require-confirmed-inputs": {
      "deprecated": "v23.08",
      "type": "boolean",
      "description": "Request peers to only send confirmed inputs (dual-fund only)"
    },
    "commit-fee": {
      "deprecated": "v23.08",
      "type": "u64",
      "added": "v23.05",
      "description": "The percentage of the 6-block fee estimate to use for commitment transactions"
    },
    "min-emergency-msat": {
      "type": "msat",
      "added": "v23.08",
      "description": "field from config or cmdline, or default"
    }
  }
}
