{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-profiler/refs/heads/main/json-structure/amazon-codeguru-profiler-user-feedback-structure.json",
"name": "UserFeedback",
"description": "Feedback that can be submitted for each instance of an anomaly by the user. Feedback is be used for improvements in generating recommendations for the application.",
"type": "object",
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/FeedbackType"
},
{
"description": "Optional Positive or Negative feedback submitted by the user about whether the recommendation is useful or not."
}
]
}
},
"required": [
"type"
]
}