Lexicon: Difference between revisions

From ATProto Wiki
mNo edit summary
No edit summary
Line 1: Line 1:
A '''lexicon''' is a [[wikipedia:Database_schema|schema]] definition language used in the [[AT Protocol]] to describe [[record|records]], APIs, and event stream messages. It serves as a framework that enables interoperability between different applications and services within the [[ATmosphere]].
A '''lexicon''' is a [[wikipedia:Database_schema|schema]] definition language used in the [[AT Protocol]] to describe [[record|records]], APIs, and event stream messages. It serves as a framework that enables interoperability between different applications and services within the [[ATmosphere]].


Each schema is defined by a [[Namespaced Identifier (NSID)]], which follows a reverse domain-name structure (e.g. <code>app.bsky.feed.post</code>).
Each schema is defined by a [[Namespaced Identifier (NSID)]], which follows a reverse domain-name structure (e.g. <code>app.bsky.feed.post</code>). Lexicons are controlled by their domain authority (derived from the NSID) and can evolve over time to follow compatibility rules.
 
Lexicon schemas are published as records in AT Protocol repositories and can be discovered through DNS-based resolution mechanisms.

Revision as of 18:57, 12 March 2025

A lexicon is a schema definition language used in the AT Protocol to describe records, APIs, and event stream messages. It serves as a framework that enables interoperability between different applications and services within the ATmosphere.

Each schema is defined by a Namespaced Identifier (NSID), which follows a reverse domain-name structure (e.g. app.bsky.feed.post). Lexicons are controlled by their domain authority (derived from the NSID) and can evolve over time to follow compatibility rules.

Lexicon schemas are published as records in AT Protocol repositories and can be discovered through DNS-based resolution mechanisms.