An enum can replace an opaque numeric code with a meaningful named option. In a moderation request, “Spam” is clearer than the number 4. section 6.5.2
{
"flaggedCommentId": 101,
"reasonType": "Spam", // Enums are self-documenting prompts!
"moderatorNote": "x99"
}A descriptive reasonType makes the moderation request easier to interpret than a cryptic field and numeric value. section 6.5.2
























