{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-webhook-response-schema.json",
  "title": "WebhookResponse",
  "description": "Response containing a single webhook",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-webhook-api-openapi.yml#/components/schemas/WebhookResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the webhook"
    },
    "tenantId": {
      "type": "string",
      "description": "ID of the tenant"
    },
    "data": {
      "$ref": "https://schemas.certifyos.com/entities/Webhook.data.schema.json",
      "type": "object",
      "description": "Webhook data"
    },
    "createdBy": {
      "type": "string",
      "description": "ID of the user who created the webhook"
    },
    "updatedBy": {
      "type": "string",
      "description": "ID of the user who updated the webhook"
    },
    "createdAt": {
      "$ref": "#/$defs/Instant",
      "type": "string",
      "description": "Timestamp of the webhook creation"
    },
    "updatedAt": {
      "$ref": "#/$defs/Instant",
      "type": "string",
      "description": "Timestamp of the webhook update"
    }
  },
  "$defs": {
    "Instant": {
      "type": "string",
      "format": "date-time"
    }
  }
}