{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oyster-hr/json-schema/oyster-hr-webhooks-schema.json",
  "title": "webhooks",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oyster-hr-webhooks-api-openapi.yml#/components/schemas/webhooks",
  "type": "array",
  "items": {
    "$ref": "#/$defs/webhook"
  },
  "$defs": {
    "webhook": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "sharedSecret": {
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "url",
        "sharedSecret",
        "enabled"
      ]
    }
  }
}