{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/permtracker-app/json-schema/permtracker-app-webhook-created-schema.json",
  "title": "WebhookCreated",
  "description": "A new webhook endpoint with its signing secret.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/permtracker-app-webhooks-api-openapi.yml#/components/schemas/WebhookCreated",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The new endpoint's id."
    },
    "secret": {
      "type": "string",
      "description": "The signing secret. Shown this once: use it to check each delivery's webhook-signature header."
    },
    "note": {
      "type": "string",
      "description": "A reminder that the secret is shown only once."
    }
  },
  "required": [
    "id",
    "secret",
    "note"
  ],
  "additionalProperties": {}
}