GitHub · JSON Structure

Github Teams Reaction Structure

Reactions to conversations provide a way to help people express their feelings more simply and effectively.

Type: object Properties: 5 Required: 5
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

reaction is a JSON Structure definition published by GitHub, describing 5 properties, of which 5 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id node_id user content created_at

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-teams-reaction-structure.json",
  "name": "reaction",
  "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "example": 1
    },
    "node_id": {
      "type": "string",
      "example": "MDg6UmVhY3Rpb24x"
    },
    "user": {
      "$ref": "#/components/schemas/nullable-simple-user"
    },
    "content": {
      "description": "The reaction to use",
      "example": "heart",
      "type": "string",
      "enum": [
        "+1",
        "-1",
        "laugh",
        "confused",
        "heart",
        "hooray",
        "rocket",
        "eyes"
      ]
    },
    "created_at": {
      "type": "datetime",
      "example": "2016-05-20T20:09:31Z"
    }
  },
  "required": [
    "id",
    "node_id",
    "user",
    "content",
    "created_at"
  ]
}