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

Support new item type: registry #204

Open
nichtich opened this issue May 22, 2023 · 3 comments
Open

Support new item type: registry #204

nichtich opened this issue May 22, 2023 · 3 comments
Labels
feature Additional functionality

Comments

@nichtich
Copy link
Member

JSKOS Registries are used in Cocoda to manage data sources and in BARTOC for the list of terminology registries. The latter is managed in a plain NDJSON file but should be moved into a jskos-server database (gbv/bartoc.org#70). By now, registries are only referenced in GET /voc.

Requires additional endpoints:

  • GET /registries
  • GET /registries/:_id
  • PUT /registries/:_id
  • DELETE /registries/:_id
  • GET /registries/suggest

Registries should also be returned by GET /data endpoint for known URI.

And maybe:

  • PATCH /registries/:_id (I don't think we actually need this but if its two lines of code why not)
  • POST /registries (requires minting new URIs, we don't use UUID URIs in BARTOC so better not)

We should also review existing registry data in Cocoda config and in BARTOC to possibly adjust registry data model.

@nichtich nichtich added the feature Additional functionality label May 22, 2023
@stefandesu
Copy link
Member

We should also review existing registry data in Cocoda config and in BARTOC to possibly adjust registry data model.

Absolutely. The term is used for different things at the moment and it should be clarified.

POST /registries (requires minting new URIs, we don't use UUID URIs in BARTOC so better not)

How do registries get into the server without a POST endpoint? It does not necessarily require minting URIs with UUIDs if we decide how URIs are built (e.g. with the notation in lowercase). It also doesn't have to be publicly accessible, but I'd rather have it implemented like this for easier import.

@nichtich
Copy link
Member Author

How do registries get into the server without a POST endpoint?

Ok, POST with existing URIs in the posted records should be possible!

@nichtich
Copy link
Member Author

Requires gbv/jskos#110. As discussed there, a JSKOS Registry corresponds to a (subclass of) dcat:Catalog and it may have one or more services. These services (currently given in non-standard field API) correspond to cocoda-sdk registries and to dcat:DataService.

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

No branches or pull requests

2 participants