{
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "description": "The state of the Dependabot alert.\nA `dismissed_reason` must be provided when setting the state to `dismissed`.",
      "enum": [
        "dismissed",
        "open"
      ]
    },
    "dismissed_reason": {
      "type": "string",
      "description": "**Required when `state` is `dismissed`.** A reason for dismissing the alert.",
      "enum": [
        "fix_started",
        "inaccurate",
        "no_bandwidth",
        "not_used",
        "tolerable_risk"
      ]
    },
    "dismissed_comment": {
      "type": "string",
      "description": "An optional comment associated with dismissing the alert.",
      "maxLength": 280
    },
    "assignees": {
      "type": "array",
      "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.",
      "items": {
        "type": "string"
      }
    }
  },
  "anyOf": [
    {
      "required": [
        "state"
      ]
    },
    {
      "required": [
        "assignees"
      ]
    }
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}