Google Firebase · Schema

AndroidConfig

AnalyticsAuthenticationBackend as a ServiceCloud MessagingGoogle CloudHostingMobileReal-Time Database

Properties

Name Type Description
priority string
ttl string Message time-to-live duration (e.g. 3600s)
collapse_key string
notification object
View JSON Schema on GitHub

JSON Schema

google-firebase-androidconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AndroidConfig",
  "title": "AndroidConfig",
  "type": "object",
  "properties": {
    "priority": {
      "type": "string",
      "enum": [
        "NORMAL",
        "HIGH"
      ]
    },
    "ttl": {
      "type": "string",
      "description": "Message time-to-live duration (e.g. 3600s)"
    },
    "collapse_key": {
      "type": "string"
    },
    "notification": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "body": {
          "type": "string"
        },
        "icon": {
          "type": "string"
        },
        "color": {
          "type": "string"
        },
        "click_action": {
          "type": "string"
        },
        "channel_id": {
          "type": "string"
        }
      }
    }
  }
}