jService · Schema

jService Clue

A Jeopardy! clue (question + answer pair) sourced from jArchive and served by jService.

Games And ComicsTriviaJeopardyOpen-SourceRubyRailsPublic APIs

Properties

Name Type Description
id integer Database identifier.
answer string The Jeopardy 'answer' (the clue read by the host).
question string The Jeopardy 'question' (the response a contestant must give).
value integernull Dollar value of the clue. Null for Final Jeopardy clues.
airdate string When the clue first aired.
category_id integer Foreign key to the parent category.
game_id integernull Foreign key to the originating Jeopardy! game.
invalid_count integernull How many users have flagged this clue as invalid via POST /api/invalid.
category object Embedded parent category (returned by /api/random, /api/final, /api/clues).
View JSON Schema on GitHub

JSON Schema

jservice-clue-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://github.com/api-evangelist/jservice/json-schema/jservice-clue-schema.json",
  "title": "jService Clue",
  "description": "A Jeopardy! clue (question + answer pair) sourced from jArchive and served by jService.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Database identifier."
    },
    "answer": {
      "type": "string",
      "description": "The Jeopardy 'answer' (the clue read by the host)."
    },
    "question": {
      "type": "string",
      "description": "The Jeopardy 'question' (the response a contestant must give)."
    },
    "value": {
      "type": ["integer", "null"],
      "description": "Dollar value of the clue. Null for Final Jeopardy clues."
    },
    "airdate": {
      "type": "string",
      "format": "date-time",
      "description": "When the clue first aired."
    },
    "category_id": {
      "type": "integer",
      "description": "Foreign key to the parent category."
    },
    "game_id": {
      "type": ["integer", "null"],
      "description": "Foreign key to the originating Jeopardy! game."
    },
    "invalid_count": {
      "type": ["integer", "null"],
      "description": "How many users have flagged this clue as invalid via POST /api/invalid."
    },
    "category": {
      "$ref": "jservice-category-schema.json",
      "description": "Embedded parent category (returned by /api/random, /api/final, /api/clues)."
    }
  },
  "required": ["id", "answer", "question", "category_id"]
}