{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-search-console/json-schema/google-search-console-url-notification-schema.json",
  "title": "UrlNotification",
  "description": "`UrlNotification` is the resource used in all Indexing API calls. It describes one event in the life cycle of a Web Document.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-search-console-urlnotifications-api-openapi.yml#/components/schemas/UrlNotification",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "URL_NOTIFICATION_TYPE_UNSPECIFIED",
        "URL_UPDATED",
        "URL_DELETED"
      ],
      "description": "The URL life cycle event that Google is being notified about.",
      "x-enum-descriptions": {
        "URL_NOTIFICATION_TYPE_UNSPECIFIED": "Unspecified.",
        "URL_UPDATED": "The given URL (Web document) has been updated.",
        "URL_DELETED": "The given URL (Web document) has been deleted."
      }
    },
    "url": {
      "type": "string",
      "description": "The object of this notification. The URL must be owned by the publisher of this notification and, in case of `URL_UPDATED` notifications, it _must_ be crawlable by Google."
    },
    "notifyTime": {
      "type": "string",
      "description": "Creation timestamp for this notification. Users should _not_ specify it, the field is ignored at the request time."
    }
  }
}