RunRiva · Schema

TopicDetailResponse

QuizTriviaEducationEntertainment

Properties

Name Type Description
topic object
facets object
samples array
meta object
View JSON Schema on GitHub

JSON Schema

runriva-com-topic-detail-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/runriva-com/json-schema/runriva-com-topic-detail-response-schema.json",
  "title": "TopicDetailResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/runriva-com-openapi.json#/components/schemas/TopicDetailResponse",
  "type": "object",
  "properties": {
    "topic": {
      "$ref": "#/$defs/TopicEntry"
    },
    "facets": {
      "$ref": "#/$defs/TopicFacets"
    },
    "samples": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TopicSampleQuestion"
      }
    },
    "meta": {
      "$ref": "#/$defs/MetaBasic"
    }
  },
  "required": [
    "topic",
    "facets",
    "samples",
    "meta"
  ],
  "$defs": {
    "MetaBasic": {
      "type": "object",
      "properties": {
        "language": {
          "type": "string",
          "description": "Language of the response content."
        },
        "requestId": {
          "type": "string",
          "format": "uuid",
          "description": "Unique request identifier (also in `X-Request-Id` response header)."
        }
      },
      "required": [
        "language",
        "requestId"
      ]
    },
    "StatsTagEntry": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "count": {
          "type": "integer"
        }
      },
      "required": [
        "slug",
        "label",
        "count"
      ]
    },
    "TopicEntry": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "tag",
            "subcategory"
          ]
        },
        "label": {
          "type": "string"
        },
        "aliases": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "count": {
          "type": "integer"
        }
      },
      "required": [
        "slug",
        "kind",
        "label",
        "aliases",
        "count"
      ]
    },
    "TopicFacets": {
      "type": "object",
      "properties": {
        "byCategory": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "slug": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "count": {
                "type": "integer"
              }
            },
            "required": [
              "slug",
              "name",
              "count"
            ]
          }
        },
        "byDifficulty": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          }
        },
        "byLanguage": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          }
        },
        "coOccurringTags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StatsTagEntry"
          }
        },
        "coOccurringSubcategories": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StatsTagEntry"
          }
        }
      },
      "required": [
        "byCategory",
        "byDifficulty",
        "byLanguage",
        "coOccurringTags",
        "coOccurringSubcategories"
      ]
    },
    "TopicSampleQuestion": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "text": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "multiple",
            "boolean",
            "text_input"
          ]
        },
        "difficulty": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "trivial",
            "easy",
            "medium",
            "hard",
            "expert",
            null
          ]
        },
        "language": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "text",
        "type",
        "difficulty",
        "language"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/runriva-com-topic-detail-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.