JokeAPI · JSON Structure

Jokeapi Joke Flags Structure

Content classification flags carried on every joke.

Type: object Properties: 6 Required: 6
JokesHumorEntertainmentOpen SourceREST APIGames And ComicsPublic APIs

JokeFlags is a JSON Structure definition published by JokeAPI, describing 6 properties, of which 6 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

nsfw religious political racist sexist explicit

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/jokeapi/refs/heads/main/json-structure/jokeapi-joke-flags-structure.json",
  "name": "JokeFlags",
  "description": "Content classification flags carried on every joke.",
  "type": "object",
  "properties": {
    "nsfw": {
      "type": "boolean",
      "description": "Joke contains adult or explicit sexual content.",
      "example": false
    },
    "religious": {
      "type": "boolean",
      "description": "Joke references or mocks religion.",
      "example": false
    },
    "political": {
      "type": "boolean",
      "description": "Joke references politics or political figures.",
      "example": false
    },
    "racist": {
      "type": "boolean",
      "description": "Joke contains racist content.",
      "example": false
    },
    "sexist": {
      "type": "boolean",
      "description": "Joke contains sexist content.",
      "example": false
    },
    "explicit": {
      "type": "boolean",
      "description": "Joke contains explicit language unrelated to NSFW.",
      "example": false
    }
  },
  "required": [
    "nsfw",
    "religious",
    "political",
    "racist",
    "sexist",
    "explicit"
  ]
}