Bored API · Schema

BoredRiddle

ActivitiesBoredomCommunityDevelopmentDiscoveryEducationFactsFreeMEVNNo AuthOpen SourcePublic APIsRecreationRiddlesSuggestionsWebsites

Properties

Name Type Description
question string
answer string
difficulty string
source string
key string
View JSON Schema on GitHub

JSON Schema

bored-riddle-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/bored/json-schema/bored-riddle-schema.json",
  "title": "BoredRiddle",
  "type": "object",
  "required": ["question", "answer", "difficulty", "key"],
  "properties": {
    "question": { "type": "string" },
    "answer": { "type": "string" },
    "difficulty": {
      "type": "string",
      "enum": ["easy", "normal", "hard"]
    },
    "source": {
      "type": "string",
      "format": "uri"
    },
    "key": { "type": "string" }
  },
  "additionalProperties": false
}