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 mapping enum constants to individuals #48

Closed
ledsoft opened this issue Mar 14, 2023 · 1 comment
Closed

Support mapping enum constants to individuals #48

ledsoft opened this issue Mar 14, 2023 · 1 comment

Comments

@ledsoft
Copy link
Contributor

ledsoft commented Mar 14, 2023

Since JOPA now supports mapping enum constants to individuals based on the OWL ObjectOneOf, JB4JSON-LD should support it as well.

This way, serialization of an enum constant mapped to an individual would produce an object with identifier and similarly, deserialization of an individual would match it to target enum constant based on the mapped individual.

ledsoft added a commit that referenced this issue Mar 20, 2023
…tants to individuals.

Update to JOPA 0.21.0, which supports it. Refactor random int generator name in tests.
ledsoft added a commit that referenced this issue Mar 20, 2023
ledsoft added a commit that referenced this issue Mar 20, 2023
ledsoft added a commit that referenced this issue Mar 20, 2023
ledsoft added a commit that referenced this issue Mar 20, 2023
ledsoft added a commit that referenced this issue Mar 20, 2023
…tants to individuals.

Update to JOPA 0.21.0, which supports it. Refactor random int generator name in tests.
ledsoft added a commit that referenced this issue Mar 20, 2023
ledsoft added a commit that referenced this issue Mar 20, 2023
ledsoft added a commit that referenced this issue Mar 20, 2023
ledsoft added a commit that referenced this issue Mar 20, 2023
@ledsoft
Copy link
Contributor Author

ledsoft commented Mar 20, 2023

Implemented in 0.12.0

@ledsoft ledsoft closed this as completed Mar 20, 2023
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