Introduction to Lexicons
What is a lexicon?
An ATProto lexicon is essentially a schema or template that defines what data can be stored and how it should be structured. Think of it like a form with specific fields - it tells you what information is required, what's optional, and what format each piece of data should follow.
Lexicon Categories
All lexicons follow the principle that "everything is a claim" - whether it's a hypercert, a measurement, or a piece of evidence, each represents a verifiable assertion stored on the ATProto network. This creates a composable system where claims can reference and build upon each other while maintaining clear data structures and relationships.
General Lexicons provide foundational building blocks that can be shared across multiple protocols. These include common data types, standardized location references, and other universal concepts that extend beyond hypercerts alone.
Hypercerts Lexicons contain the core claim types specific to impact tracking. These lexicons define how to structure and relate different types of impact claims - from the central activity claim (the hypercert itself) to supporting claims like measurements, evidence, and evaluations.