Wiktionary · JSON Structure

Core Rest Api Page With Html Response Structure

PageWithHtmlResponse schema from Wiktionary MediaWiki Core REST API

Type: object Properties: 8
DictionariesOpen SourceWikimediaMediaWikiLinguisticsOpen DataPublic APIs

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

Properties

id key title latest content_model license source html

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/core-rest-api-page-with-html-response-structure.json",
  "description": "PageWithHtmlResponse schema from Wiktionary MediaWiki Core REST API",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "example": 12345
    },
    "key": {
      "type": "string",
      "example": "hello"
    },
    "title": {
      "type": "string",
      "example": "hello"
    },
    "latest": {
      "type": "object",
      "properties": {
        "id": {
          "type": "int32",
          "example": 7654321
        },
        "timestamp": {
          "type": "datetime",
          "example": "2025-03-15T14:30:00Z"
        }
      },
      "name": "LatestRevision"
    },
    "content_model": {
      "type": "string",
      "example": "wikitext"
    },
    "license": {
      "type": "object",
      "properties": {
        "url": {
          "type": "uri",
          "example": "https://creativecommons.org/licenses/by-sa/4.0/"
        },
        "title": {
          "type": "string",
          "example": "Creative Commons Attribution-Share Alike 4.0 International"
        }
      },
      "name": "LicenseInfo"
    },
    "source": {
      "type": "string",
      "example": "==English==\n===Interjection===\n# A standard greeting."
    },
    "html": {
      "type": "string",
      "example": "<p>A standard greeting.</p>"
    }
  },
  "name": "PageWithHtmlResponse"
}