Wiktionary · JSON Structure

Mediawiki Action Api Parse Response Structure

action=parse result containing parser output for a page or text.

Type: object Properties: 1
DictionariesOpen SourceWikimediaMediaWikiLinguisticsOpen DataPublic APIs

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

Properties

parse

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-parse-response-structure.json",
  "description": "action=parse result containing parser output for a page or text.",
  "type": "object",
  "properties": {
    "parse": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "example": "hello"
        },
        "pageid": {
          "type": "int32",
          "example": 12345
        },
        "text": {
          "type": "object",
          "properties": {
            "*": {
              "type": "string",
              "description": "Rendered HTML.",
              "example": "<p><b>hello</b> \u2014 a standard greeting.</p>"
            }
          }
        },
        "sections": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/ParseSection"
          }
        },
        "links": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        }
      }
    }
  },
  "name": "ParseResponse"
}