{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/main/json-schema/github-hook-delivery-item-schema.json",
  "title": "Simple webhook delivery",
  "description": "Delivery made by a webhook, without request and response information.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-apps-api-openapi.yml#/components/schemas/hook-delivery-item",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier of the webhook delivery.",
      "type": "integer"
    },
    "guid": {
      "description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).",
      "type": "string"
    },
    "delivered_at": {
      "description": "Time when the webhook delivery occurred.",
      "type": "string",
      "format": "date-time"
    },
    "redelivery": {
      "description": "Whether the webhook delivery is a redelivery.",
      "type": "boolean"
    },
    "duration": {
      "description": "Time spent delivering.",
      "type": "number"
    },
    "status": {
      "description": "Describes the response returned after attempting the delivery.",
      "type": "string"
    },
    "status_code": {
      "description": "Status code received when delivery was made.",
      "type": "integer"
    },
    "event": {
      "description": "The event that triggered the delivery.",
      "type": "string"
    },
    "action": {
      "description": "The type of activity for the event that triggered the delivery.",
      "type": [
        "string",
        "null"
      ]
    },
    "installation_id": {
      "description": "The id of the GitHub App installation associated with this event.",
      "type": [
        "integer",
        "null"
      ]
    },
    "repository_id": {
      "description": "The id of the repository associated with this event.",
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "guid",
    "delivered_at",
    "redelivery",
    "duration",
    "status",
    "status_code",
    "event",
    "action",
    "installation_id",
    "repository_id"
  ]
}