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 IRIs for mappings #32

Open
marrus-sh opened this issue Jul 12, 2022 · 0 comments
Open

Add IRIs for mappings #32

marrus-sh opened this issue Jul 12, 2022 · 0 comments

Comments

@marrus-sh
Copy link

marrus-sh commented Jul 12, 2022

Right now mappings are defined like :—

mappings:
    oai_dc:
        name: "OAI/DC"

I would like to add an iri (or uri) property in addition to name for mappings.

Motivation

Our API supports multiple mappings via a profile media type parameter, which must be an IRI. For example, we use the following Accept: header to request OAI/DC content:

Accept: application/ld+json; profile="tag:surfliner.gitlab.io,2022:api/oai_dc"

It would be nice if Houndstooth supported looking up metadata mappings by IRI, so that we wouldn’t have to make assumptions in our application about which mapping tag:surfliner.gitlab.io,2022:api/oai_dc refers to.

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

No branches or pull requests

1 participant