34 lines
24 KiB
Text
34 lines
24 KiB
Text
![]() |
{"permissions":{},"data":{"schema":{"type":"object","allOf":[{"if":{"properties":{"recordType":{"const":"engine"}}},"then":{"required":["recordType","identifier","base","variants"],"properties":{"base":{"type":"object","title":"Base Details","required":["name","urls","classification"],"properties":{"name":{"type":"string","title":"Name","maxLength":100,"description":"The user visible name for the search engine."},"urls":{"$ref":"#/definitions/urls"},"aliases":{"type":"array","items":{"type":"string","pattern":"^[a-z\\xa1-\\uffff]*$"},"title":"Aliases","description":"An array of aliases that the user can use to search with this engine. The aliases will be prefix by '@' on desktop and potentially other platforms.","uniqueItems":true},"charset":{"type":"string","title":"Character Set","pattern":"^[a-zA-Z0-9-]*$","description":"The character set this engine uses for queries. Defaults to 'UTF=8' if not set."},"partnerCode":{"$ref":"#/definitions/partnerCode"},"classification":{"enum":["general","unknown"],"type":"string","title":"Classification","description":"The classification of search engine according to the main search types (e.g. general, shopping, travel, dictionary). Currently, only marking as a general search engine is supported."}},"description":"Base details for the engine."},"notes":{"type":"string","title":"Notes","pattern":"^[a-zA-Z0-9-_.() ]*$","description":"A short notes section used to potentially aid identification of this section for humans. Not intended for to be read by the application."},"variants":{"type":"array","items":{"type":"object","required":["environment"],"properties":{"urls":{"$ref":"#/definitions/urls"},"optional":{"type":"boolean","title":"Optional","description":"This search engine is presented as an option that the user may enable. It is not included in the initial list of search engines. If not specified, defaults to false."},"environment":{"$ref":"#/definitions/environment"},"partnerCode":{"$ref":"#/definitions/partnerCode"},"subVariants":{"type":"array","items":{"type":"object","required":["environment"],"properties":{"urls":{"$ref":"#/definitions/urls"},"optional":{"type":"boolean","title":"Optional","description":"This search engine is presented as an option that the user may enable. It is not included in the initial list of search engines. If not specified, defaults to false."},"environment":{"$ref":"#/definitions/environment"},"partnerCode":{"$ref":"#/definitions/partnerCode"},"telemetrySuffix":{"type":"string","title":"Telemetry Suffix","pattern":"^[a-zA-Z0-9-]*$","description":"Suffix that is appended to the search engine identifier following a dash, i.e. `<identifier>-<suffix>`. There should always be a suffix supplied if the partner code is different for a reason other than being on a different platform."}}},"title":"Subvariants","description":"This section describes subvariations of this search engine that may occur depending on the user's environment. The last subvariant that matches the user's environment will be applied to the engine."},"telemetrySuffix":{"type":"string","title":"Telemetry Suffix","pattern":"^[a-zA-Z0-9-]*$","description":"Suffix that is appended to the search engine identifier following a dash, i.e. `<identifier>-<suffix>`. There should always be a suffix supplied if the partner code is different for a reason other than being on a different platform."}}},"title":"Variants","description":"This section describes variations of this search engine that may occur depending on the user's environment. The last variant that matches the user's environment will be applied to the engine, subvariants may also be applied."},"identifier":{"type":"string","title":"Identifier","pattern":"^[a-zA-Z0-9-_]*$","description":"The identifier of the search engine. This is used as an internal identifier, e.g. for saving the user's settings for the engine. It is also used to form the base telemetry id and may be extended by telemetrySuffix."},"recordType":{"$ref":"#/definitions/recordType"}}}},{"if":{"properties":{"recordType":{"const":"defaultEngines"}}},"then":{"required":["recor
|
|||
|
server: nginx
|
|||
|
content-length: 15028
|
|||
|
access-control-allow-origin: *
|
|||
|
access-control-expose-headers: Cache-Control, Content-Type, Content-Length, Alert, Pragma, Expires, Backoff, Last-Modified, Retry-After, ETag
|
|||
|
x-content-type-options: nosniff
|
|||
|
content-security-policy: default-src 'none'; frame-ancestors 'none'; base-uri 'none';
|
|||
|
strict-transport-security: max-age=31536000
|
|||
|
via: 1.1 google
|
|||
|
date: Sun, 17 Nov 2024 14:04:23 GMT
|
|||
|
age: 2596
|
|||
|
last-modified: Fri, 15 Nov 2024 00:00:05 GMT
|
|||
|
etag: "1731628805389"
|
|||
|
content-type: application/json
|
|||
|
cache-control: public,max-age=3600
|
|||
|
alt-svc: clear
|
|||
|
X-Firefox-Spdy: h2
|
|||
|
|