v3.0.0
3.0.0 (2019-12-19)
Features
- open-attestation v3 (f553343)
BREAKING CHANGES
- New schema to be w3c compliant
Changes are:
- issuers is not an array anymore. Consequence, proof.value is not an array anymore
- issuer.id is a new mandatory field which must be an URI
- issuer.identityProof.subject has been remove because it's not needed anymore
- @context has been added for w3c compliance to help consumer provide terminology. It's an optional field
- id has been updated to follow w3c compliance. It's an optional uri about the subject of the VC
- reference has been added and is equal to the previous id
- type has been added as the type of the VC (w3c compliance)
- validFrom has been added (w3c compliance)
- validUntil has been added (w3c compliance). It's an optional field
- attachments.type has been updated to follow w3c compliance. It refers to a valid evidence type.
- attachments.mimeType has been added and is equal to the previous attachments.type
- rename $template to template
Adding v2 schema which is a simple version of schema used in tradetrust
and opencerts
Generate types from schema. Types are exported
Update wording:
- sign => wrap
- SignedDocument => WrappedDocument