{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ConfigValueWriteParams",
  "type": "object",
  "required": [
    "keyPath",
    "mergeStrategy",
    "value"
  ],
  "properties": {
    "expectedVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "filePath": {
      "description": "Path to the config file to write; defaults to the user's `config.toml` when omitted.",
      "type": [
        "string",
        "null"
      ]
    },
    "keyPath": {
      "type": "string"
    },
    "mergeStrategy": {
      "$ref": "#/definitions/MergeStrategy"
    },
    "value": true
  },
  "definitions": {
    "MergeStrategy": {
      "type": "string",
      "enum": [
        "replace",
        "upsert"
      ]
    }
  }
}