Wiktionary · Schema

PageSummary

Short structured summary of a page.

DictionariesOpen SourceWikimediaMediaWikiLinguisticsOpen DataPublic APIs

Properties

Name Type Description
type string
title string
displaytitle string
pageid integer
extract string Plain-text extract.
extract_html string HTML extract.
content_urls object
timestamp string
View JSON Schema on GitHub

JSON Schema

rest-api-page-summary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wiktionary/refs/heads/main/json-schema/rest-api-page-summary-schema.json",
  "title": "PageSummary",
  "description": "Short structured summary of a page.",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "example": "standard"
    },
    "title": {
      "type": "string",
      "example": "hello"
    },
    "displaytitle": {
      "type": "string",
      "example": "hello"
    },
    "pageid": {
      "type": "integer",
      "example": 12345
    },
    "extract": {
      "type": "string",
      "description": "Plain-text extract.",
      "example": "A standard greeting; an expression of puzzlement."
    },
    "extract_html": {
      "type": "string",
      "description": "HTML extract.",
      "example": "<p>A standard greeting.</p>"
    },
    "content_urls": {
      "title": "ContentUrls",
      "type": "object",
      "properties": {
        "desktop": {
          "type": "object",
          "properties": {
            "page": {
              "type": "string",
              "format": "uri",
              "example": "https://en.wiktionary.org/wiki/hello"
            }
          }
        },
        "mobile": {
          "type": "object",
          "properties": {
            "page": {
              "type": "string",
              "format": "uri",
              "example": "https://en.m.wiktionary.org/wiki/hello"
            }
          }
        }
      }
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "example": "2025-03-15T14:30:00Z"
    }
  }
}