Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support #84

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Add support #84

wants to merge 6 commits into from

Conversation

6543
Copy link
Contributor

@6543 6543 commented Dec 17, 2023

to discovering instance staff / information

close #27

to discovering instance staff
@jhass
Copy link
Owner

jhass commented Dec 21, 2023

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.

@6543
Copy link
Contributor Author

6543 commented Dec 21, 2023

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
Copy link
Contributor Author

6543 commented Mar 4, 2024

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 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add element for discovering instance staff
2 participants