tor-browser

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

urlbar-persisted-search-terms-schema.json (2091B)


      1 {
      2  "type": "object",
      3  "properties": {
      4    "providerId": {
      5      "type": "string"
      6    },
      7    "searchPageRegexp": {
      8      "type": "string",
      9      "title": "Search Page Regular Expression",
     10      "description": "A regular expression which matches the search page of the provider."
     11    },
     12    "includeParams": {
     13      "type": "array",
     14      "title": "Included Search Page Params",
     15      "description": "An array of params that should be included in the URL",
     16      "items": {
     17        "type": "object",
     18        "properties": {
     19          "key": {
     20            "type": "string",
     21            "description": "The key corresponding to the query parameter that contains what type of search page is being shown"
     22          },
     23          "values": {
     24            "type": "array",
     25            "description": "An array of possible values for the query parameter",
     26            "items": {
     27              "type": "string",
     28              "description": "The value corresponding to the query parameter that should be matched against"
     29            }
     30          },
     31          "canBeMissing": {
     32            "type": "boolean",
     33            "description": "Indicates if the parameter can be missing"
     34          }
     35        },
     36        "required": ["key", "values"]
     37      }
     38    },
     39    "excludeParams": {
     40      "type": "array",
     41      "title": "Exclude Parameters",
     42      "description": "An array of parameters that should be excluded from the search query",
     43      "items": {
     44        "type": "object",
     45        "properties": {
     46          "key": {
     47            "type": "string",
     48            "description": "The key corresponding to the query parameter that should not be included"
     49          },
     50          "values": {
     51            "type": "array",
     52            "description": "An array of possible values to exclude for the query parameter",
     53            "items": {
     54              "type": "string",
     55              "description": "The value corresponding to the query parameter that should not be included"
     56            }
     57          }
     58        },
     59        "required": ["key"]
     60      }
     61    }
     62  },
     63  "required": ["providerId", "searchPageRegexp"]
     64 }