Programming Quotes · JSON Structure

Programming Quotes Vote Input Structure

Payload for casting a vote on a quote.

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

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

Properties

newVote

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-vote-input-structure.json",
  "name": "VoteInput",
  "description": "Payload for casting a vote on a quote.",
  "type": "object",
  "properties": {
    "newVote": {
      "type": "int32",
      "description": "Vote value, integer in `[1, 5]`.",
      "minimum": 1,
      "maximum": 5
    }
  },
  "required": ["newVote"]
}