Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshFerge committed Oct 30, 2023
1 parent 9880af3 commit ce0447a
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions relay/event.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,9 @@
{
"$ref": "#/definitions/ReplayContext"
},
{
"$ref": "#/definitions/UserReportV2Context"
},
{
"$ref": "#/definitions/MonitorContext"
},
Expand Down Expand Up @@ -1488,6 +1491,7 @@
"expectct",
"expectstaple",
"transaction",
"userreportv2",
"default"
]
},
Expand Down Expand Up @@ -3769,6 +3773,33 @@
"additionalProperties": false
}
]
},
"UserReportV2Context": {
"description": " Feedback context.\n\n This contexts contains user feedback specific attributes.\n We don't PII scrub contact_email as that is provided by the user.\n TODO(jferg): rename to FeedbackContext once old UserReport logic is deprecated.",
"anyOf": [
{
"type": "object",
"properties": {
"contact_email": {
"description": " an email optionally provided by the user, which can be different from user.email",
"default": null,
"type": [
"string",
"null"
]
},
"message": {
"description": " The feedback message which contains what the user has to say.",
"default": null,
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
]
}
}
}

0 comments on commit ce0447a

Please sign in to comment.