{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-discussion-category-changed",
  "title": "discussion category changed event",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "category_changed"
      ]
    },
    "changes": {
      "type": "object",
      "properties": {
        "category": {
          "type": "object",
          "properties": {
            "from": {
              "type": "object",
              "properties": {
                "created_at": {
                  "type": "string",
                  "format": "date-time"
                },
                "description": {
                  "type": "string"
                },
                "emoji": {
                  "type": "string"
                },
                "id": {
                  "type": "integer"
                },
                "is_answerable": {
                  "type": "boolean"
                },
                "name": {
                  "type": "string"
                },
                "node_id": {
                  "type": "string"
                },
                "repository_id": {
                  "type": "integer"
                },
                "slug": {
                  "type": "string"
                },
                "updated_at": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "repository_id",
                "emoji",
                "name",
                "description",
                "created_at",
                "updated_at",
                "slug",
                "is_answerable"
              ]
            }
          },
          "required": [
            "from"
          ]
        }
      },
      "required": [
        "category"
      ]
    },
    "discussion": {
      "$ref": "#/components/schemas/discussion"
    },
    "enterprise": {
      "$ref": "#/components/schemas/enterprise-webhooks"
    },
    "installation": {
      "$ref": "#/components/schemas/simple-installation"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "repository": {
      "$ref": "#/components/schemas/repository-webhooks"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    }
  },
  "required": [
    "action",
    "changes",
    "discussion",
    "repository",
    "sender"
  ]
}