Stack Exchange · JSON Structure

Stackexchange Api V2 3 Shallow User Structure

Lightweight user reference embedded in posts and comments.

Type: object Properties: 7
Q And ADeveloper CommunityKnowledge GraphStack OverflowStack ExchangeReputationTagsCommunityMCPAI Grounding

ShallowUser is a JSON Structure definition published by Stack Exchange, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

user_id user_type display_name reputation profile_image link accept_rate

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "ShallowUser",
  "description": "Lightweight user reference embedded in posts and comments.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stackexchange/refs/heads/main/json-structure/stackexchange-api-v2-3-shallow-user-structure.json",
  "type": "object",
  "properties": {
    "user_id": {
      "type": "int64",
      "example": 22656
    },
    "user_type": {
      "type": "string",
      "enum": [
        "unregistered",
        "registered",
        "moderator",
        "team_admin",
        "does_not_exist"
      ],
      "example": "registered"
    },
    "display_name": {
      "type": "string",
      "example": "Jon Skeet"
    },
    "reputation": {
      "type": "int32",
      "example": 1500000
    },
    "profile_image": {
      "type": "uri",
      "example": "https://i.sstatic.net/lLZAr.jpg?s=128"
    },
    "link": {
      "type": "uri",
      "example": "https://stackoverflow.com/users/22656/jon-skeet"
    },
    "accept_rate": {
      "type": "int32",
      "example": 92
    }
  }
}