[
  {
    "namespace": "addonsSearchDetection",
    "functions": [
      {
        "name": "getEngines",
        "type": "function",
        "async": true,
        "parameters": []
      },
      {
        "name": "getAddonVersion",
        "type": "function",
        "async": true,
        "parameters": [{ "name": "addonId", "type": "string" }]
      },
      {
        "name": "getPublicSuffix",
        "type": "function",
        "async": true,
        "parameters": [{ "name": "url", "type": "string" }]
      },
      {
        "name": "reportSameSiteRedirect",
        "type": "function",
        "async": false,
        "parameters": [
          {
            "name": "extra",
            "type": "object",
            "properties": {
              "addonId": { "type": "string" },
              "addonVersion": { "type": "string" },
              "origin": { "type": "string" },
              "paramChanged": { "type": "boolean" }
            }
          }
        ]
      },
      {
        "name": "reportETLDChangeOther",
        "type": "function",
        "async": false,
        "parameters": [
          {
            "name": "extra",
            "type": "object",
            "properties": {
              "addonId": { "type": "string" },
              "addonVersion": { "type": "string" },
              "from": { "type": "string" },
              "to": { "type": "string" },
              "value": { "type": "string" }
            }
          }
        ]
      },
      {
        "name": "reportETLDChangeWebrequest",
        "type": "function",
        "async": false,
        "parameters": [
          {
            "name": "extra",
            "type": "object",
            "properties": {
              "addonId": { "type": "string" },
              "addonVersion": { "type": "string" },
              "from": { "type": "string" },
              "to": { "type": "string" },
              "value": { "type": "string" }
            }
          }
        ]
      }
    ],
    "events": [
      {
        "name": "onSearchEngineModified",
        "type": "function",
        "parameters": []
      },
      {
        "name": "onRedirected",
        "type": "function",
        "parameters": [
          {
            "name": "details",
            "type": "object",
            "properties": {
              "addonId": { "type": "string" },
              "firstUrl": { "type": "string" },
              "lastUrl": { "type": "string" }
            }
          }
        ],
        "extraParameters": [
          {
            "name": "filter",
            "type": "object",
            "properties": {
              "urls": {
                "type": "array",
                "items": { "type": "string" },
                "minItems": 1
              }
            }
          }
        ]
      }
    ]
  }
]
