{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/refs/heads/main/json-schema/problems-api-v2-comment-request-body-schema.json",
  "title": "CommentRequestBody",
  "description": "The request body for creating or updating a problem comment.",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "The text content of the comment.",
      "example": "Example description."
    },
    "context": {
      "type": "string",
      "description": "An optional context reference for the comment, such as a ticket ID, a link to a runbook, or a category label.",
      "example": "example-value"
    }
  },
  "required": [
    "message"
  ]
}