{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/foxnfe-com-br/json-schema/foxnfe-com-br-put-api-v1-webhooks-config-request-schema.json",
  "title": "put_api_v1_webhooks_configRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": [
    "app/app/Http/Controllers/Api/V1/WebhookConfigController.php:48"
  ],
  "type": "object",
  "properties": {
    "webhook_url": {
      "x-laravel-rules": [
        "required",
        "url",
        "max:2048"
      ],
      "type": "string",
      "format": "uri",
      "maxLength": 2048
    },
    "webhook_secret": {
      "x-laravel-rules": [
        "sometimes",
        "string",
        "min:16",
        "max:255"
      ],
      "type": "string",
      "minLength": 16,
      "maxLength": 255
    }
  },
  "required": [
    "webhook_url"
  ]
}