Date: 2018-07-24
NOTE: These changes are not backwards compatible with version 1.
- Removed @context
- Remove @subtype
- Merged subtype as hash (anchor) in type uri
- @certificateChain change to @certificate
- Removed role
- Changed mandate to an array of mandates
- contract - handle separately as this can be signed by the app, and to enable revocation of contracts
- Changed contract from object to string (compact encoded JWS)
- Mandates are now mandatory, removed role
- Removed binding
- Removed uiData, can use uiURI as data uri
- Removed all nonce fields, the action should contain a unique random string as a nonce
- scopes are now linked to the new scope schema
- Added refreshURI
- Added this schema.
Added the keypurpose schema
"certificate-chain" has been changed into a new certificate schema
- Changed from a text string to attachments with specific encodings
- controllerCertificateChain changed to controllerCertificate
- mandate -> mandates
- removed
- changed iss to issuer
- Changes label to roleName
- Removed receipentPulicKey
- receipient is now public key
- Removed requestId
- Removed ttl
- Added validFrom
- Added validUntil
- Removed recipientName
- Removed mandate
- removed title
- Removed name
- Removed description
- Added label
- Removed keyHistory
- Removed endPoints (now resolved via public action descriptors)
- Removed role
- Removed action
- Removed params (is included in the action, and can also be encoded in the uri)
- Refer to scope schema
- Refer to contract schema
- Removed encryptTo
- Removed document
- Added contract