{
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "labels": {
          "type": "array",
          "minItems": 1,
          "description": "The names of the labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/rest/issues/labels#set-labels-for-an-issue).\"",
          "items": {
            "type": "string"
          }
        }
      }
    },
    {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ]
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}