> For the complete documentation index, see [llms.txt](https://guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guardian.hedera.com/docs/develop/guardian/workspace/schemas/schema-differentiation-using-ui.md).

# How to compare schemas?

We can compare two schemas by following some steps as follows:

## 1. Start Comparison by choosing Schemas:

**Step 1:**

We click on **Compare** button (last one) <img src="https://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%2Fuploads%2Fgit-blob-69330d0fe04b8b1e3a4ff60019b87984698dea69%2Fimage.png?alt=media" alt="" data-size="line">present in Schemas tab as shown below:

<figure><img src="https://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%2Fuploads%2Fgit-blob-89ac21220a9cc2bbe5439d7b6587ebd8ede9ee1b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 2:**

Select two schemas for compare

<figure><img src="https://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%2Fuploads%2Fgit-blob-ee8c9d2c8514d3ecd02eaa3159a00956ef6930ed%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## 2. Comparison View

### 2.1 Parameters

**UUID** : configures whether differences in UUIDs and Header IDs are taken into consideration when comparing blocks

| Parameter     | Definition                                                                                                                                                                                                                                                                                                                         |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Don't compare | UUIDs and Header IDs are not involved in comparison of the blocks and their Properties.                                                                                                                                                                                                                                            |
| All UUID      | <p>Differences in UUIDs and Header IDs are taken into consideration when comparing blocks and their Properties.<br><em>(For example, when two schemas are exactly the same in every property they will still be considered as different due to differences in the values of IDs which by definition are always different)</em></p> |

## 2.2 Sections

1\. **Main** – comparison of the main fields of schemas.

2\. **Schema Fields** – comparison results of the schema fields.

<figure><img src="https://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%2Fuploads%2Fgit-blob-4c505d17d26c1ae04ab68510bfefc3758c687149%2Fimage%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://501642358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKnJV8vV7zUxRwKIsJKg%2Fuploads%2Fgit-blob-5559c36c54aee71f195b5e167a448fe593f8d38c%2Fimage%20(24).png?alt=media" alt=""><figcaption></figcaption></figure>

**Display settings** *–* description and show/hide settings for each color/type of difference

| Color         | Purpose                                                                                                                                      |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Green         | fields are identical                                                                                                                         |
| Green - Amber | when fields are embedded schemas, and these schemas are identical. The fields themselves are not different because their UUIDs are different |
| Amber         | fields are partially equal                                                                                                                   |
| Red           | fields are absent in the other Policy                                                                                                        |

Field comparison displays can be unfolded to display a detailed view of the block Properties.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guardian.hedera.com/docs/develop/guardian/workspace/schemas/schema-differentiation-using-ui.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
