{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/wiktionary/refs/heads/main/json-schema/rest-api-definition-entry-schema.json", "title": "DefinitionEntry", "description": "DefinitionEntry schema from Wiktionary Wikimedia REST API", "type": "object", "properties": { "definition": { "type": "string", "description": "HTML/wikitext definition body for one sense.", "example": "A standard greeting." }, "examples": { "type": "array", "description": "Raw usage example strings.", "items": { "type": "string" }, "example": [ "Hello, world!" ] }, "parsedExamples": { "type": "array", "description": "Structured usage examples (HTML or translation pairs).", "items": { "type": "object", "additionalProperties": true } } }, "required": [ "definition" ] }