nodeinfo icon indicating copy to clipboard operation
nodeinfo copied to clipboard

Add support

Open 6543 opened this issue 8 months ago • 3 comments

to discovering instance staff / information

close https://github.com/jhass/nodeinfo/issues/27

6543 avatar Dec 17 '23 20:12 6543

I always like to avoid as much ambiguity as possible for clients, so I'd actually restrict the possible roles to a definitive list in the schema. Just to avoid silly things like accidentally including a space, using American vs. British English out of a habit etc. We can always extend this list quickly with a minor revision should the need arise.

I'm not sure why you introduced support as a toplevel key with contacts nested but then decided to introduce support_page at the toplevel rather than nesting it within support.

I am generally also not a big fan of alternating optional keys, that leads to less pleasant client code IME with a lot of conditionals rather than simply filtering data to what you need. So I'd suggest perhaps something like

{
  "address": "[email protected]",
  "type": "email", // account, website, ...
  "purpose": "support" // security, abuse, ...
}

for the contact items.

jhass avatar Dec 21 '23 12:12 jhass

I let the role undefined as there are just to many you can think of. for wrong formation we could just add a regex that enforce all lowercase and no white-space etc ...

6543 avatar Dec 21 '23 20:12 6543

firefish has:

"metadata": {
  "maintainer": {
    "name": "Some Name",
    "email": "[email protected]"
  },
  "tosUrl": "https://example.social/@admin/pages/tos",
...

-> https://codeberg.org/thefederationinfo/nodeinfo_metadata_survey

so purpose can also be terms-of-service ...

also code-of-conduct reports are a thing ...

6543 avatar Mar 04 '24 10:03 6543