{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-projects-v2-item-edited",
  "title": "Projects v2 Item Edited Event",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "edited"
      ]
    },
    "changes": {
      "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes the GraphQL node ID of the changed field.",
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "field_value": {
              "type": "object",
              "properties": {
                "field_node_id": {
                  "type": "string"
                },
                "field_type": {
                  "type": "string"
                }
              }
            }
          },
          "required": [
            "field_value"
          ]
        },
        {
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "from": {
                  "type": "string",
                  "nullable": true
                },
                "to": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          },
          "required": [
            "body"
          ]
        }
      ]
    },
    "installation": {
      "$ref": "#/components/schemas/simple-installation"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "projects_v2_item": {
      "$ref": "#/components/schemas/projects-v2-item"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    }
  },
  "required": [
    "action",
    "projects_v2_item",
    "organization",
    "sender"
  ]
}