tor-browser

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

NewtabMessage.schema.json (739B)


      1 {
      2  "$schema": "https://json-schema.org/draft/2019-09/schema",
      3  "$id": "file:///NewtabMessage.schema.json",
      4  "title": "NewtabMessage",
      5  "description": "A template for messages that are rendered within newtab",
      6  "allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
      7  "type": "object",
      8  "properties": {
      9    "content": {
     10      "type": "object",
     11      "properties": {
     12        "messageType": {
     13          "type": "string",
     14          "description": "The subtype of the message."
     15        }
     16      },
     17      "additionalProperties": true,
     18      "required": ["messageType"]
     19    },
     20    "template": {
     21      "type": "string",
     22      "const": "newtab_message"
     23    }
     24  },
     25  "additionalProperties": true,
     26  "required": ["targeting"]
     27 }