{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/wikipedia/refs/heads/main/json-structure/rest-v1-summary-structure.json", "name": "summary", "description": "summary schema from Wikimedia REST API", "type": "object", "properties": { "titles": { "$ref": "#/components/schemas/titles_set" }, "name": { "deprecated": true, "type": "string", "description": "The page title.\nDeprecated: Use `titles.normalized` instead.\n" }, "displaytitle": { "deprecated": true, "type": "string", "description": "The page title how it should be shown to the user.\nDeprecated: Use `titles.display` instead.\n" }, "pageid": { "type": "int32", "description": "The page ID" }, "extract": { "type": "string", "description": "First several sentences of an article in plain text" }, "extract_html": { "type": "string", "description": "First several sentences of an article in simple HTML format" }, "thumbnail": { "$ref": "#/components/schemas/thumbnail" }, "originalimage": { "$ref": "#/components/schemas/originalimage" }, "lang": { "type": "string", "description": "The page language code", "example": "en" }, "dir": { "type": "string", "description": "The page language direction code", "example": "ltr" }, "timestamp": { "type": "string", "description": "The time when the page was last edited in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format", "example": {} }, "description": { "type": "string", "description": "Wikidata description for the page", "example": "American poet" }, "coordinates": { "type": "object", "description": "The coordinates of the item", "properties": { "lat": { "type": "double", "description": "The latitude" }, "lon": { "type": "double", "description": "The longitude" } }, "required": [ "lat", "lon" ] } }, "required": [ "dir", "extract", "lang", "titles" ] }