Data Models
Last updated
Last updated
Create did:cheqd
DID for Root TAO
Establish root of trust, by:
Associating Root TAO DID with X.509 certificate;
Publishing Root TAO DID as a Well-Known DID;
Associating Root TAO DID with cheqd Validator.
Create did:cheqd
DIDs for TAOs or TIs within the ecosystem
Create body of Verifiable Accreditation, specifying:
The did:cheqd
DID of the subject organisation that the Accreditation is being issued to
A UUID as a reservedAttributeId which aligns with the resourceId of the DID-Linked Resource
Encode Verifiable Accreditation as a hexidecimal and as a base64 encoded value
Compile payload file for writing Verifiable Accreditation as a DID-Linked Resource
Publish transaction as a DID-Linked Resource, using the same UUID for the resourceId
as the value specified in the reservedAttributeId
Field | Description | Required |
---|---|---|
did
DID of the DID Controller publishing the DID-Linked Resource
Yes
hash
Hash of the Verifiable Accreditation as a Base64 encoded value
Yes
body
Body of the Verifiable Accreditation as a hexidecimal string
Yes
type
Type of Resource being created, defaults to VerifiableAccreditation
Yes
issuerType
Type of Issuer that is issuing this Verifiable Accreditation, can be: "RootTAO", "TAO" or "SubTAO"
Yes
tao
DID of the TAO that accredited the Issuer
Yes
rootTao
DID of the root of trust that accredited the TAO and the issuer
Yes
revoked
Boolean value indicating whether the Verifiable Accreditation is revoked or not
Yes
Encrypted
Boolean value indicating whether the Verifiable Accreditation is encrypted or not
No