abusix / xarf

XARF - eXtended Abuse Reporting Format
https://abusix.com/xarf/
MIT License
117 stars 19 forks source link

Schema proposal: Harassment #40

Closed Maximilian-Staab closed 2 years ago

Maximilian-Staab commented 2 years ago

Proposal: new "Harassment" report type

As requested, this is the first draft of a new "Harassment" type. Closes #34

The type itself will report an harasser and has a description, the type of harassment and a location attribute. Either an ip or an url has to be supplied. I know that's not always possible, eg. with the HarassmentLocation: game property. That's also the reason I didn't include any "irl" type locations, eg. "workplace".

We could totally remove the "game" location, but I think there's still a case for it: It could be used as a backend for a "report this user" button in a game. So maybe it's not useless.

Other than that, I'm not sure on the HarassmentType properties I've chosen. Something like comments on skin color, nationality, ableism and misandry would all be classified as "hate", but I'm not sure whether a more precise classification is necessary.

There's also a conceptual difference from previous report types: The report is most likely created by a natural person, so ReporterOrg doesn't apply. I've therefore made adding personal information as a reporter optional and am *allowing private actors to create a report without `ReporterOrg` properties being set.**

I want feedback on:

codecov[bot] commented 2 years ago

Codecov Report

Merging #40 (2672c6e) into master (b58df4e) will increase coverage by 0.47%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   69.67%   70.15%   +0.47%     
==========================================
  Files           1        1              
  Lines       35945    33261    -2684     
==========================================
- Hits        25046    23335    -1711     
+ Misses      10899     9926     -973     
Impacted Files Coverage Δ
gen_validate_schema_pretty.js 70.15% <0.00%> (+0.47%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Maximilian-Staab commented 2 years ago

Maybe we could add Hate-Speech as a subtype to Harassment.

This might be tricky though, because hate-speech is actually illegal in many places and we aren't trying to do the job of the police here. The goal should always be to take harassment and hate-speech down as quickly as possible; a sub-type would be sufficient for that job.