content: {
    "$defs": {
      "linkUrl": {
        "description": "Target for links or buttons",
        "format": "uri",
        "type": "string"
      },
      "plainText": {
        "description": "Plain text (no HTML allowed)",
        "type": "string"
      }
    },
    "$id": "file:///InfoBar.schema.json",
    "$schema": "https://json-schema.org/draft/2019-09/schema",
    "additionalProperties": true,
    "allOf": [
      {
        "$ref": "file:///FxMSCommon.schema.json#/$defs/Message"
      }
    ],
    "description": "A template with an image, test and buttons.",
    "properties": {
      "content": {
        "additionalProperties": true,
        "properties": {
          "buttons": {
            "items": {
              "additionalProperties": true,
              "properties": {
                "accessKey": {
                  "description": "Keyboard shortcut letter.",
                  "type": "string"
                },
                "action": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "type": "object"
                    },
                    "type": {
                      "description": "Action dispatched by the button.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": "object"
                },
                "label": {
                  "$ref": "file:///FxMSCommon.schema.json#/$defs/localizableText",
                  "description": "The text label of the button."
                },
                "primary": {
                  "description": "Is this the primary button?",
                  "type": "boolean"
                },
                "supportPage": {
                  "description": "A page title on SUMO to link to",
                  "type": "string"
                }
              },
              "required": [
                "label",
                "action"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "priority": {
            "description": "Infobar priority level https://searchfox.org/mozilla-central/rev/3aef835f6cb12e607154d56d68726767172571e4/toolkit/content/widgets/notificationbox.js#387",
            "exclusiveMaximum": 10,
            "minumum": 0,
            "type": "number"
          },
          "text": {
            "$ref": "file:///FxMSCommon.schema.json#/$defs/localizableText",
            "description": "The text show in the notification box."
          },
          "type": {
            "description": "Should the message be global (persisted across tabs) or local (disappear when switching to a different tab).",
            "enum": [
              "global",
              "tab"
            ],
            "type": "string"
          }
        },
        "required": [
          "text",
          "buttons"
        ],
        "type": "object"
      },
      "template": {
        "const": "infobar",
        "type": "string"
      }
    },
    "required": [
      "targeting",
      "trigger"
    ],
    "title": "InfoBar",
    "type": "object"
  }