tor-browser

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

asrouter_event_ping.schema.json (738B)


      1 {
      2  "$schema": "http://json-schema.org/draft-07/schema#",
      3  "$id": "browser/components/asrouter/tests/schemas/asrouter_event_ping.schema.json",
      4  "title": "ASRouter event PingCentre ping",
      5  "type": "object",
      6  "properties": {
      7    "addon_version": {
      8      "type": "string"
      9    },
     10    "locale": {
     11      "type": "string"
     12    },
     13    "message_id": {
     14      "type": "string"
     15    },
     16    "event": {
     17      "type": "string"
     18    },
     19    "client_id": {
     20      "type": "string"
     21    },
     22    "impression_id": {
     23      "type": "string"
     24    }
     25  },
     26  "required": ["addon_version", "locale", "message_id", "event"],
     27  "additionalProperties": false,
     28  "anyOf": [
     29    {
     30      "required": ["client_id"]
     31    },
     32    {
     33      "required": ["impression_id"]
     34    }
     35  ]
     36 }