{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/namesniper-pro/json-schema/namesniper-pro-webhook-with-secret-schema.json",
  "title": "WebhookWithSecret",
  "description": "Returned only at creation. The secret signs the HMAC-SHA256 payload header and is never shown again.",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/namesniper-pro-openapi.yaml#/components/schemas/WebhookWithSecret",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WebhookEvent"
      }
    },
    "active": {
      "type": "boolean"
    },
    "secret": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "WebhookEvent": {
      "type": "string",
      "enum": [
        "handle_available",
        "handle_change"
      ]
    }
  }
}