Wiktionary · JSON Structure

Mediawiki Action Api Open Search Response Structure

OpenSearch suggestions protocol 4-tuple: [query, titles, descriptions, urls].

Type: array Properties: 0
DictionariesOpen SourceWikimediaMediaWikiLinguisticsOpen DataPublic APIs

OpenSearchResponse is a JSON Structure definition published by Wiktionary. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wiktionary/refs/heads/main/json-structure/mediawiki-action-api-open-search-response-structure.json",
  "description": "OpenSearch suggestions protocol 4-tuple: [query, titles, descriptions, urls].",
  "type": "array",
  "items": {
    "oneOf": [
      {
        "type": "string"
      },
      {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    ]
  },
  "minItems": 4,
  "maxItems": 4,
  "example": [
    "hel",
    [
      "hello",
      "help",
      "helmet"
    ],
    [
      "",
      "",
      ""
    ],
    [
      "https://en.wiktionary.org/wiki/hello",
      "https://en.wiktionary.org/wiki/help",
      "https://en.wiktionary.org/wiki/helmet"
    ]
  ],
  "name": "OpenSearchResponse"
}