Google Firebase · Schema

Notification

AnalyticsAuthenticationBackend as a ServiceCloud MessagingGoogle CloudHostingMobileReal-Time Database

Properties

Name Type Description
title string The notification title
body string The notification body text
image string URL of an image to display in the notification
View JSON Schema on GitHub

JSON Schema

google-firebase-notification-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Notification",
  "title": "Notification",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "The notification title"
    },
    "body": {
      "type": "string",
      "description": "The notification body text"
    },
    "image": {
      "type": "string",
      "description": "URL of an image to display in the notification"
    }
  }
}