Stackexchange Api V2 3 Comment Structure
A comment attached to a question or answer.
Type: object
Properties: 12
Q And ADeveloper CommunityKnowledge GraphStack OverflowStack ExchangeReputationTagsCommunityMCPAI Grounding
Comment is a JSON Structure definition published by Stack Exchange, describing 12 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"name": "Comment",
"description": "A comment attached to a question or answer.",
"$id": "https://raw.githubusercontent.com/api-evangelist/stackexchange/refs/heads/main/json-structure/stackexchange-api-v2-3-comment-structure.json",
"type": "object",
"properties": {
"comment_id": {
"type": "int32",
"example": 14587302
},
"post_id": {
"type": "int32",
"example": 11227809
},
"post_type": {
"type": "string",
"enum": [
"question",
"answer"
],
"example": "question"
},
"score": {
"type": "int32",
"example": 12
},
"body": {
"type": "string",
"example": "Great explanation, thank you."
},
"body_markdown": {
"type": "string"
},
"creation_date": {
"type": "int64",
"example": 1338800000
},
"edited": {
"type": "boolean",
"example": false
},
"link": {
"type": "uri",
"example": "https://stackoverflow.com/questions/11227809#comment14587302_11227809"
},
"owner": {
"type": "object",
"description": "Lightweight user reference embedded in posts and comments.",
"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
}
}
},
"reply_to_user": {
"type": "object",
"description": "Lightweight user reference embedded in posts and comments.",
"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
}
}
},
"content_license": {
"type": "string",
"example": "CC BY-SA 4.0"
}
}
}