{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-release-edited",
  "title": "release edited event",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "edited"
      ]
    },
    "changes": {
      "type": "object",
      "properties": {
        "body": {
          "type": "object",
          "properties": {
            "from": {
              "description": "The previous version of the body if the action was `edited`.",
              "type": "string"
            }
          },
          "required": [
            "from"
          ]
        },
        "name": {
          "type": "object",
          "properties": {
            "from": {
              "description": "The previous version of the name if the action was `edited`.",
              "type": "string"
            }
          },
          "required": [
            "from"
          ]
        },
        "make_latest": {
          "type": "object",
          "properties": {
            "to": {
              "description": "Whether this release was explicitly `edited` to be the latest.",
              "type": "boolean"
            }
          },
          "required": [
            "to"
          ]
        }
      }
    },
    "enterprise": {
      "$ref": "#/components/schemas/enterprise-webhooks"
    },
    "installation": {
      "$ref": "#/components/schemas/simple-installation"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "release": {
      "$ref": "#/components/schemas/webhooks_release"
    },
    "repository": {
      "$ref": "#/components/schemas/repository-webhooks"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    }
  },
  "required": [
    "action",
    "changes",
    "release",
    "repository"
  ]
}