{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "added": "v23.08",
  "required": [
    "config"
  ],
  "properties": {
    "config": {
      "type": "object",
      "description": "config settings after completion",
      "additionalProperties": false,
      "required": [
        "config",
        "source",
        "dynamic"
      ],
      "properties": {
        "config": {
          "type": "string",
          "description": "name of the config variable which was set"
        },
        "source": {
          "type": "string",
          "description": "source of configuration setting (`file`:`linenum`)"
        },
        "plugin": {
          "type": "string",
          "description": "the plugin this configuration setting is for"
        },
        "dynamic": {
          "type": "boolean",
          "enum": [
            true
          ],
          "description": "whether this option is settable via setconfig"
        },
        "set": {
          "type": "boolean",
          "description": "for simple flag options"
        },
        "value_str": {
          "type": "string",
          "description": "for string options"
        },
        "value_msat": {
          "type": "msat",
          "description": "for msat options"
        },
        "value_int": {
          "type": "integer",
          "description": "for integer options"
        },
        "value_bool": {
          "type": "boolean",
          "description": "for boolean options"
        }
      }
    }
  }
}
