{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/randnext/main/json-schema/randnext-tool-response-schema.json",
  "title": "ToolResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/randnext-openapi.json#/components/schemas/ToolResponse",
  "type": "object",
  "required": [
    "tool",
    "data",
    "count",
    "permalink"
  ],
  "properties": {
    "tool": {
      "type": "string",
      "enum": [
        "random-country",
        "random-city",
        "random-us-state",
        "random-continent",
        "random-destination",
        "random-language",
        "random-animal",
        "random-chemical-element",
        "random-planet",
        "random-space-object",
        "random-weather",
        "random-zodiac",
        "random-chess-square",
        "random-season",
        "random-month",
        "random-weekday",
        "random-direction",
        "what-to-eat",
        "random-drink",
        "random-coffee",
        "random-dessert",
        "random-activity",
        "random-hobby",
        "random-profession",
        "random-object",
        "random-year",
        "random-age",
        "random-birthday",
        "random-time",
        "random-angle",
        "random-percentage",
        "random-decimal",
        "even-or-odd",
        "random-prime",
        "random-coordinates",
        "random-binary",
        "random-number",
        "random-color",
        "random-date",
        "random-letter",
        "dice-roller",
        "flip-a-coin",
        "yes-or-no",
        "rock-paper-scissors"
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "count": {
      "type": "integer"
    },
    "permalink": {
      "type": "string",
      "format": "uri"
    }
  }
}