{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "title": "YAMLUpdateConfig",
 "definitions": {
  "yamlUpdate": {
   "type": "object",
   "additionalProperties": false,
   "properties": {
    "key": {
     "type": "string",
     "description": "The key whose value needs to be updated. For nested values, use a YAML dot notation path.",
     "minLength": 1
    },
    "value": {
     "type": "string",
     "description": "The new value for the specified key."
    }
   }
  }
 },
 "type": "object",
 "additionalProperties": false,
 "properties": {
  "path": {
   "type": "string",
   "description": "The path to a YAML file.",
   "minLength": 1
  },
  "updates": {
   "type": "array",
   "description": "A list of updates to apply to the YAML file.",
   "items": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
     "key": {
      "type": "string",
      "description": "The key whose value needs to be updated. For nested values, use a YAML dot notation path.",
      "minLength": 1
     },
     "value": {
      "type": "string",
      "description": "The new value for the specified key."
     }
    }
   }
  }
 }
}