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

Standardize all messages between components and modules #146

Open
Haigutus opened this issue Sep 6, 2024 · 1 comment
Open

Standardize all messages between components and modules #146

Haigutus opened this issue Sep 6, 2024 · 1 comment

Comments

@Haigutus
Copy link
Member

Haigutus commented Sep 6, 2024

  1. Use JSON-LD
  2. Use DCAT as basis https://www.w3.org/TR/vocab-dcat-3/#dcat-scope
  3. Use pydantic or something similar to validate messages and also parse/serialize the messages

Possible issues, pydantic does not support direclty JSON-LD, but json schema, so maybe another lib needs to be used or we need to switch from JSON-LD to json schema or even go back to XML/XSD setup, ala https://pypi.org/project/xsdata-pydantic/

@Haigutus
Copy link
Member Author

Haigutus commented Sep 6, 2024

related to #85

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

No branches or pull requests

1 participant