OpenCerts/opencerts-website

Open-Attestation CLI

Closed this issue · 4 comments

XS-DT commented

Hi
I was trying out V1.5 of Open-Attestation CLI and noticed that it added
"version": "open-attestation/2.0" as one of the json property

The issue is that "version" is not recognised by SkillsFuture. They are still using "schema".

Which version of Open-attestation CLI should I use in this case so that it will produce "schema":"open-attestation/2.0"?

XS-DT commented

or can I continue to use the deprecated OpenCerts CLI v3.3.3?
it seems to be able to handle documentStore and identityProof as well as the the new $template.

XS-DT commented

Hi

Any advice for this? Thank you.

XS-DT commented

Any reply please ??

OOps missed that 😬

You need to use the --schema properties => see the doc

It will add the following to your file: "schema": "opencerts/v2.0"

Note the value of schema is the value of the $id property in https://schema.opencerts.io/transcripts/2.0 and the value is not correct it should be https://schema.opencerts.io/transcripts/2.0/index.json

Are you aware of any problem if we were to change from "schema": "opencerts/v2.0" to "schema": "https://schema.opencerts.io/transcripts/2.0/index.json"