Skip to content

Build foundation API lookups crossreference structure #38

@ShaneCurcuru

Description

@ShaneCurcuru

Users may come looking for a specific foundation, and we need to easily map them from whatever identifier they have to our explicit foundation id (i.e. the rootname of any .md file). Currently, openapi_builder.rb does this into the minimalist:

https://github.com/Punderthings/fossfoundation/blob/8f7d194877733a06127f2f24e2a1c7057b92b108/_foundations/list.json#L1C1-L6C5

One improvements is needed first, which also require updating the OpenAPI spec and openapi_builder.rb:

  1. Change the list.json to be a hash of hashes. The first is "id", which is the hash currently there now. Then add a "domain" hash, which is keyed to the domain name and just maps to the id.

Then, we need to poll users to ask: what other mappings might someone come to us with? For example, are there ever cases where a user may have some code repos, and they want to figure out if any Foundation claims those repos as their own? Or a user might have a legal name, or taxID for a foundation, and might want to look up our metadata on that foundation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions