{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-types-registry-webhook-request-schema.json",
  "title": "types.RegistryWebhookRequest",
  "description": "RegistryWebhookRequest is a registry scanning webhook request.\nSchema supports multiple webhook providers:\nhttps://docs.docker.com/docker-hub/webhooks/\nhttps://docs.docker.com/registry/notifications/",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-registry-api-openapi.yml#/components/schemas/types.RegistryWebhookRequest",
  "properties": {
    "action": {
      "description": "Action is the webhook action.\n",
      "type": "string"
    },
    "artifactory": {
      "$ref": "#/$defs/types.ArtifactoryWebhookRequest"
    },
    "domain": {
      "description": "Domain indicates the artifactory webhook domain (e.g., artifact, docker, build, etc). Used to avoid filter docker events.\n",
      "type": "string"
    },
    "event_type": {
      "description": "EventType is the artifactory webhook action performed (e.g., push).\n",
      "type": "string"
    },
    "type": {
      "description": "Type is the event type (Harbor registry).\n",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "types.ArtifactoryWebhookRequest": {
      "description": "ArtifactoryWebhookRequest is an artifactory webhook request\nArtifactory doesn't have native webhook support, instead it comes as a plugin\nhttps://github.com/jfrog/artifactory-user-plugins/tree/master/webhook\nThe relevant fields in the this struct were reverse engineered from the webhook groovy code and from the fields that were sent by a real artifactory environment",
      "type": "object"
    }
  }
}