jService · Schema
jService Category
A Jeopardy! category that groups related clues.
Games And ComicsTriviaJeopardyOpen SourceRubyRailsPublic APIs
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Database identifier. |
| title | string | Category title as it appeared on the show. |
| created_at | string | |
| updated_at | string | |
| clues_count | integer | Cached count of clues belonging to this category. |
| clues | array | Embedded clues (returned by /api/category). |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/api-evangelist/jservice/json-schema/jservice-category-schema.json",
"title": "jService Category",
"description": "A Jeopardy! category that groups related clues.",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Database identifier."
},
"title": {
"type": "string",
"description": "Category title as it appeared on the show."
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"clues_count": {
"type": "integer",
"default": 0,
"description": "Cached count of clues belonging to this category."
},
"clues": {
"type": "array",
"description": "Embedded clues (returned by /api/category).",
"items": {
"$ref": "jservice-clue-schema.json"
}
}
},
"required": ["id", "title"]
}