ValidationProof struct represents a cryptographic proof that a subject has been validated at a specific sequence number. It contains all the metadata needed to verify the validation chain.
Structure
The identifier of the subject being validated.
The identifier of the schema used to validate the subject.
The namespace of the subject being validated.
The name of the subject being validated.
The identifier of the public key of the subject being validated.
The identifier of the governance contract associated with the subject being validated.
The version of the governance contract that created the subject being validated.
The sequence number of the subject being validated.
The identifier of the previous event in the validation chain.
The identifier of the current event in the validation chain.
The version of the governance contract used to validate the subject.
Creation Methods
Validation proofs can be created for different types of events:Genesis Event
Transfer Event
Standard Event
Usage
Validation proofs are used to:- Prove that a subject has been properly validated
- Maintain the integrity of the validation chain
- Allow validators to verify the history of a subject
- Create a cryptographic link between consecutive events
Methods
get_metadata
Extract metadata from the validation proof:is_similar
Check if two validation proofs represent the same validation:Related Types
Event- Events that are validatedMetadata- Event metadata extracted from validation proofDigestIdentifier- Cryptographic identifierKeyIdentifier- Public key identifierSubject- The subject being validated
