-
Notifications
You must be signed in to change notification settings - Fork 22
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
base: main
Are you sure you want to change the base?
Add support #84
Conversation
to discovering instance staff
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 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. |
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 ... |
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 also code-of-conduct reports are a thing ... |
to discovering instance staff / information
close #27