-
Notifications
You must be signed in to change notification settings - Fork 68
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
Issue 572 resolution #573
Issue 572 resolution #573
Conversation
Correcting Multiplicity of @context properties where 2 items are required
fixes #572 |
Yeah, this looks like an oversight to me (errata level). Not sure if this has an impact on the certification suite. |
@xaviaracil does the 1EdTech tooling that autogenerates various things have support for |
The The file format is thus suited for these tools. Regarding the cardinality of properties in a class, the tool expects one of the following: However, thanks to the next directive in the file ( "@context" : {
"type" : "array",
"minItems" : 2,
"items" : [ {
"enum" : [ "https://www.w3.org/ns/credentials/v2" ]
}, {
"type" : "string",
"pattern" : "^https:\\/\\/purl\\.imsglobal\\.org\\/spec\\/ob\\/v3p0\\/context(-3\\.\\d\\.\\d)*\\.json$"
} ],
"additionalItems" : {
"$ref" : "#/$defs/Context"
}
} The only misunderstanding that this
With all the above said, I wouldn't merge this PR. |
@xaviaracil where is this tool. |
@Klowes This tool is internal within 1EdTech. We can always add this functionality by adding a new cardinality of |
@xaviaracil That seems appropriate to me. Perhaps we should also add I'd also be willing to explore deriving the cardinality/Multiplicity from the specification's schema itself in a build step. This would keep the documentation in step with the real source of truth as well as unlock support for |
Not merging as fixing has been done via internal tooling |
Correcting Multiplicity of @context properties where 2 items are required