# Schema Registry

## Overview

A schema registry is a centralized repository for storing, managing, validating, and referencing schemas. It serves as an authoritative system that enforces standards for schema creation, ensuring compliance and efficiency within an attestation ecosystem.

## Role of a Schema Registry

Schema creators need a platform to store and publicize their schemas, while attesters require a reference point for schemas to make robust attestations. A schema registry acts as this central hub, offering an environment for schema validation against predefined rules and standards.

When creating an attestation, an attester can design a new schema or search for an existing one. The schema registry provides a comprehensive selection of schemas, contributed by both registry proprietors and third-party creators.

Sign Protocol offers a dedicated schema registry for public schema recording and referencing, facilitating the attestation process.

## Locating a Schema Registry

To reference or submit a schema, you must know the registry's location, which determines interaction permissions. Popular platforms for hosting a schema registry include:

1. **Blockchain Systems (Onchain)**: Provide censorship-resistance, tamper-resistance, and global access. Examples: Ethereum, Optimism, Solana.
2. **Data Storage and Information Exchange Systems (Offchain)**: Focus on data storage and sharing, with robust security measures. Examples: Google Drive, iCloud, Arweave, IPFS.

## Benefits of a Schema Registry

A schema registry offers several advantages:

* **Version Control**: Tracks changes and improvements, mitigating incompatibilities and conflicts.
* **Schema Evolution**: Allows schemas to improve over time, maintaining version control and provenance.
* **Validation**: Ensures schemas meet ecosystem standards, preventing errors and inefficiencies.
* **Governance**: Coordinates standards and guidelines, fostering growth and innovation.
* **Conformity**: Enforces quality control through strict rules for schema crafting.

A schema registry is essential for maintaining a high-quality attestation ecosystem, driving standardization and innovation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sign.global/reference/index/schema-registry.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
