Open FeLungs opened 7 years ago
@fugu13 this looks like a valid to me. Thoughts? I can submit a PR and update if you agree.
Yes, this should be updated, it is a bug that prevents automated translation to other serializations.
Yes, this should be updated, it is a bug that prevents automated translation to other serializations.
Please submit an update and PR if you want this fixed. ADL will review and controls this repo.
Pull request https://github.com/adlnet/xapi-profiles/pull/253
I was playing around with the expanded and compacted forms of a profile I am developing (via https://json-ld.org/playground/) and noticed something strange about scopeNote
Where as for prefLabel
I tried setting the value of scopeNote to a string and got:
When looking into this difference, I noticed that within the @context for the profile specification (https://adlnet.github.io/xapi-profiles/context/profile-context.jsonld) there are different alias definitions for prefLabel and scopeNote:
Yet in the spec, both prefLabel and scopeNote are defined as objects
I believe the @context for scopeNote needs to be updated to
TL;DR
[ ] Which part/parts of the specification are at issue?
@context
[ ] What is your understanding of what the spec means in these parts?
It is used for aliasing within JSON-LD
[ ] Related to your implementation, what's the use case you're trying to achieve? What are the user stories you're trying to support?
I would like JSON-LD processors to pick up scopeNote and not have that information lost while following this spec
[ ] How you would like the specification to be improved?
update scopeNote within @context to