{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Twitch User Structure", "description": "Structural definition of a Twitch user", "type": "object", "properties": { "id": { "type": "string", "description": "User's ID" }, "login": { "type": "string", "description": "User's login name (lowercase)" }, "display_name": { "type": "string", "description": "User's display name" }, "type": { "type": "string", "enum": ["admin", "global_mod", "staff", ""], "description": "User's type" }, "broadcaster_type": { "type": "string", "enum": ["affiliate", "partner", ""], "description": "Broadcaster type" }, "description": { "type": "string", "description": "User's channel description" }, "profile_image_url": { "type": "string", "format": "uri", "description": "URL of the user's profile image" }, "offline_image_url": { "type": "string", "format": "uri", "description": "URL of the user's offline image" }, "view_count": { "type": "integer", "description": "Total number of views of the user's channel" }, "email": { "type": "string", "format": "email", "description": "User's email (requires user:read:email scope)" }, "created_at": { "type": "string", "format": "date-time", "description": "Date and time the user's account was created" } } }