content: {
    "$id": "file:///ToolbarBadgeMessage.schema.json",
    "$schema": "https://json-schema.org/draft/2019-09/schema",
    "additionalProperties": true,
    "allOf": [
      {
        "$ref": "file:///FxMSCommon.schema.json#/$defs/Message"
      }
    ],
    "description": "A template that specifies to which element in the browser toolbar to add a notification.",
    "properties": {
      "content": {
        "additionalProperties": true,
        "properties": {
          "action": {
            "additionalProperties": true,
            "description": "Optional action to take in addition to showing the notification",
            "properties": {
              "id": {
                "type": "string"
              }
            },
            "required": [
              "id"
            ],
            "type": "object"
          },
          "badgeDescription": {
            "$ref": "file:///FxMSCommon.schema.json#/$defs/localizedText",
            "description": "This is used in combination with the badged button to offer a text based alternative to the visual badging. Example 'New Feature: What's New'"
          },
          "delay": {
            "description": "Optional delay in ms after which to show the notification",
            "type": "number"
          },
          "target": {
            "type": "string"
          }
        },
        "required": [
          "target"
        ],
        "type": "object"
      },
      "template": {
        "const": "toolbar_badge",
        "type": "string"
      }
    },
    "required": [
      "targeting"
    ],
    "title": "ToolbarBadgeMessage",
    "type": "object"
  }