{
  "$id": "file:///CFRUrlbarChiclet.schema.json",
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "allOf": [
    {
      "$ref": "file:///FxMSCommon.schema.json#/$defs/Message"
    }
  ],
  "description": "A template with a chiclet button with text.",
  "properties": {
    "content": {
      "additionalProperties": true,
      "properties": {
        "action": {
          "additionalProperties": true,
          "properties": {
            "url": {
              "description": "The page to open when the button is clicked.",
              "format": "moz-url-format",
              "type": "string"
            },
            "where": {
              "description": "Should it open in a new tab or the current tab",
              "enum": [
                "current",
                "tabshifted"
              ],
              "type": "string"
            }
          },
          "required": [
            "url",
            "where"
          ],
          "type": "object"
        },
        "active_color": {
          "description": "Background color of the button",
          "type": "string"
        },
        "bucket_id": {
          "description": "A bucket identifier for the addon. This is used in order to anonymize telemetry for history-sensitive targeting.",
          "type": "string"
        },
        "category": {
          "description": "Attribute used for different groups of messages from the same provider",
          "type": "string"
        },
        "layout": {
          "description": "Describes how content should be displayed.",
          "enum": [
            "chiclet_open_url"
          ],
          "type": "string"
        },
        "notification_text": {
          "$ref": "file:///FxMSCommon.schema.json#/$defs/localizableText",
          "description": "The text in the small blue chicklet that appears in the URL bar. This can be a reference to a localized string in Firefox or just a plain string."
        }
      },
      "required": [
        "layout",
        "category",
        "bucket_id",
        "notification_text",
        "action"
      ],
      "type": "object"
    },
    "template": {
      "const": "cfr_urlbar_chiclet",
      "type": "string"
    }
  },
  "required": [
    "targeting",
    "trigger"
  ],
  "title": "CFRUrlbarChiclet",
  "type": "object"
}