tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

BookmarksBarButton.schema.json (1020B)


      1 {
      2  "$schema": "https://json-schema.org/draft/2019-09/schema",
      3  "$id": "file:///BookmarksBarButton.schema.json",
      4  "title": "BookmarksBarButton",
      5  "description": "A template with a label and a special message action (currently only supports OPEN_URL)",
      6  "allOf": [
      7    {
      8      "$ref": "file:///FxMSCommon.schema.json#/$defs/Message"
      9    }
     10  ],
     11  "type": "object",
     12  "properties": {
     13    "template": {
     14      "type": "string",
     15      "const": "bookmarks_bar_button"
     16    },
     17    "content": {
     18      "type": "object",
     19      "properties": {
     20        "action": {
     21          "type": "object",
     22          "properties": {
     23            "type": {
     24              "type": "string",
     25              "description": "Action dispatched by the button."
     26            },
     27            "data": {
     28              "type": "object"
     29            }
     30          },
     31          "required": ["type"],
     32          "additionalProperties": true
     33        }
     34      },
     35      "additionalProperties": true
     36    }
     37  },
     38  "additionalProperties": true,
     39  "required": ["targeting"]
     40 }