{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/programming-quotes/refs/heads/main/json-structure/programming-quotes-quote-structure.json", "name": "Quote", "description": "A programming quote in the corpus.", "type": "object", "properties": { "_id": { "type": "string", "description": "MongoDB ObjectId for the quote." }, "id": { "type": "string", "description": "Alias of `_id` for client convenience (some mirrors expose this)." }, "author": { "type": "string", "description": "Quote author's name (e.g. `Edsger W. Dijkstra`)." }, "en": { "type": "string", "description": "English quote text (legacy multilingual field, may be absent on the current API)." }, "text": { "type": "string", "description": "Quote text. The current canonical API exposes this field; legacy multilingual deployments use `en`/`sr`/etc." }, "source": { "type": "string", "description": "Optional source citation for the quote (book, talk, blog post)." }, "rating": { "type": "float", "description": "Average user vote (1-5).", "minimum": 1, "maximum": 5 }, "numberOfVotes": { "type": "int32", "description": "Count of votes that contributed to the rating.", "minimum": 0 } }, "required": ["author"] }