Wikipedia / MediaWiki · JSON Structure

Rest V1 Cx Dict Structure

cx_dict schema from Wikimedia REST API

Type: object Properties: 2
Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen SourceNon-Profit

cx_dict is a JSON Structure definition published by Wikipedia / MediaWiki, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

source translations

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/wikipedia/refs/heads/main/json-structure/rest-v1-cx-dict-structure.json",
  "name": "cx_dict",
  "description": "cx_dict schema from Wikimedia REST API",
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "description": "the original word to look up"
    },
    "translations": {
      "type": "array",
      "description": "the translations found",
      "items": {
        "type": "object",
        "properties": {
          "phrase": {
            "type": "string",
            "description": "the translated phrase"
          },
          "info": {
            "type": "string",
            "description": "extra information about the phrase"
          },
          "sources": {
            "type": "string",
            "description": "the source dictionary used for the translation"
          }
        }
      }
    }
  }
}