team-discussion-comment is a JSON Structure definition published by GitHub, describing 13 properties, of which 12 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-teams-team-discussion-comment-structure.json",
"name": "team-discussion-comment",
"description": "A reply to a discussion within a team.",
"type": "object",
"properties": {
"author": {
"$ref": "#/components/schemas/nullable-simple-user"
},
"body": {
"description": "The main text of the comment.",
"example": "I agree with this suggestion.",
"type": "string"
},
"body_html": {
"type": "string",
"example": "<p>Do you like apples?</p>"
},
"body_version": {
"description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.",
"example": "0307116bbf7ced493b8d8a346c650b71",
"type": "string"
},
"created_at": {
"type": "datetime",
"example": "2018-01-15T23:53:58Z"
},
"last_edited_at": {
"type": "datetime",
"nullable": true,
"example": "2026-04-17T12:00:00Z"
},
"discussion_url": {
"type": "uri",
"example": "https://api.github.com/organizations/1/team/2403582/discussions/1"
},
"html_url": {
"type": "uri",
"example": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1"
},
"node_id": {
"type": "string",
"example": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE="
},
"number": {
"description": "The unique sequence number of a team discussion comment.",
"example": 42,
"type": "int32"
},
"updated_at": {
"type": "datetime",
"example": "2018-01-15T23:53:58Z"
},
"url": {
"type": "uri",
"example": "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1"
},
"reactions": {
"$ref": "#/components/schemas/reaction-rollup"
}
},
"required": [
"author",
"body",
"body_html",
"body_version",
"created_at",
"last_edited_at",
"discussion_url",
"html_url",
"node_id",
"number",
"updated_at",
"url"
]
}