refactor: 📝 Use References nomenclature instead of URI

This commit is contained in:
Jesse Wierzbinski 2025-05-05 14:33:22 +02:00
parent d886b83e62
commit bcdf0ec251
No known key found for this signature in database
16 changed files with 137 additions and 90 deletions

View file

@ -21,11 +21,11 @@ When an instance receives a report, it *should* be reviewed by a moderator or ad
<Property name="type" type="string" required={true}>
Must be `pub.versia:reports/Report`.
</Property>
<Property name="author" type="URI" required={false} typeLink="/types#uri">
URI of the reporting [User](/entities/user). Optional if the report is anonymous.
<Property name="author" type="Reference" required={false} typeLink="/types#reference">
[Reference](/types#reference) to the reporting [User](/entities/user). Optional if the report is anonymous.
</Property>
<Property name="reported" type="URI[]" required={true} typeLink="/types#uri">
URIs of the content being reported.
<Property name="reported" type="Reference[]" required={true} typeLink="/types#reference">
[References](/types#reference) to the content being reported.
</Property>
<Property name="tags" type="string[]" required={true}>
Report tags. Should be concise and clear, such as `spam`, `harassment`, `misinformation`, etc. Used for categorization.