API Snap · Schema

JwtDecoded

Decoded JWT including header, payload, and expiration metadata

API UtilitiesDeveloper ToolsQR CodesScreenshotsImage ProcessingPDF GenerationMarkdownURL MetadataHashingJWTBase64UUIDColor ConversionLorem IpsumPlaceholder Images

Properties

Name Type Description
header object Decoded JWT header.
payload object Decoded JWT payload.
expired boolean Whether the token has expired (only present if `exp` claim exists).
expiresAt string ISO 8601 expiry time (only present if `exp` claim exists).
issuedAt string ISO 8601 issued-at time (only present if `iat` claim exists).
View JSON Schema on GitHub

JSON Schema

jwt-decode-jwt-decoded-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/api-snap/refs/heads/main/json-schema/jwt-decode-jwt-decoded-schema.json",
  "title": "JwtDecoded",
  "description": "Decoded JWT including header, payload, and expiration metadata",
  "type": "object",
  "properties": {
    "header": {
      "type": "object",
      "description": "Decoded JWT header.",
      "additionalProperties": true
    },
    "payload": {
      "type": "object",
      "description": "Decoded JWT payload.",
      "additionalProperties": true
    },
    "expired": {
      "type": "boolean",
      "description": "Whether the token has expired (only present if `exp` claim exists)."
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 expiry time (only present if `exp` claim exists)."
    },
    "issuedAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 issued-at time (only present if `iat` claim exists)."
    }
  }
}