Programming Quotes · JSON Structure

Programming Quotes Quote Structure

A programming quote in the corpus.

Type: object Properties: 8 Required: 1
PersonalityPublic APIsOpen SourceQuotesProgrammingDeveloper Tools

Quote is a JSON Structure definition published by Programming Quotes, describing 8 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

_id id author en text source rating numberOfVotes

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/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"]
}