What is a Schema?
A schema defines the structure of attestation data. All attestations reference a schema.Creating a Schema
Schema Syntax
Supported Types
Example Schemas
KYC Verification
Professional Credential
Reputation Score
Generating Schema UID
Schema UIDs are deterministic based on definition + authority:Querying Schemas
Best Practices
- Keep it simple - Only include necessary fields
- Use appropriate types -
u64for timestamps,boolfor flags - Consider revocability - Set
revocable: truefor credentials that may need invalidation - Version schemas - Include version in name:
struct KYC_v2 { ... }