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

[BE] Support CSV metadata #59

Open
ioggstream opened this issue Nov 28, 2022 · 1 comment
Open

[BE] Support CSV metadata #59

ioggstream opened this issue Nov 28, 2022 · 1 comment

Comments

@ioggstream
Copy link
Contributor

I expect

  • support CSV metadata

Instead

  • they are just loaded and published as csv

Notes

ControlledVocabularyPathProcessor uses CsvParser. A more structured library such as frictionless data could support metadata via datapackages

@Clou-dia Clou-dia changed the title Support CSV metadata [BE] Support CSV metadata Nov 2, 2023
@ioggstream
Copy link
Contributor Author

ioggstream commented Apr 10, 2024

When I load a CSV, I cannot attach metadata to it (e.g., the publishing API does not specify the x-jsonld-context and x-jsonld-type).

In order for an API, (e.g., https://schema.gov.it/api-docs?vocabIri=https%3A%2F%2Fw3id.org%2Fitalia%2Fcontrolled-vocabulary%2Fclassifications-for-people%2Feducation-level ) to be annotated with x-jsonld-context and x-jsonld-type
the CSV should map field data to classes.

Annotating a CSV with metadata allows to provide the semantic information in the REST API.

This issue is part of a broader architectural analysis aimed at serving data and OpenAPI schemas in a secure ad efficient way, without impacting on the harvesting infrastructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants