JokeAPI · JSON Structure

Jokeapi Flags Response Structure

Blacklist flags metadata envelope.

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

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

Properties

error flags timestamp

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-flags-response-structure.json",
  "name": "FlagsResponse",
  "description": "Blacklist flags metadata envelope.",
  "type": "object",
  "properties": {
    "error": {
      "type": "boolean",
      "example": false
    },
    "flags": {
      "type": "array",
      "description": "Flags consumers can pass to `?blacklistFlags`.",
      "items": {
        "type": "string"
      },
      "example": [
        "nsfw",
        "religious",
        "political",
        "racist",
        "sexist",
        "explicit"
      ]
    },
    "timestamp": {
      "type": "int32",
      "example": 1780051223357
    }
  },
  "required": [
    "error",
    "flags",
    "timestamp"
  ]
}