---
title: "compare schemas"
method: GET
path: "/api/workspaces/{workspaceName}/schemas/{schemaName}/compare"
tags: ["comparison"]
---

# compare schemas

`GET /api/workspaces/{workspaceName}/schemas/{schemaName}/compare`

## Request

- The document declares no server URL.
- Auth: none declared

Compare two graphs stored in the database

## Path parameters

- `workspaceName` string, required
- `schemaName` string, required

## Query parameters

- `otherWorkspace` string, required
- `otherSchema` string, required

## Headers

- `Origin` string

## Response `200`

OK

- TriplePackageChange[]
  - `changes` TriplePropertyChange[]
    - `from` string
    - `predicate` string
    - `to` string
  - `classes` TripleClassChange[]
    - `associations` TripleResourceChange[]
      - `changes` TriplePropertyChange[]
        - `from` string
        - `predicate` string
        - `to` string
      - `label` string
      - `uri` string
    - `attributes` TripleResourceChange[]
      - `changes` TriplePropertyChange[]
        - `from` string
        - `predicate` string
        - `to` string
      - `label` string
      - `uri` string
    - `changes` TriplePropertyChange[]
      - `from` string
      - `predicate` string
      - `to` string
    - `enumEntries` TripleResourceChange[]
      - `changes` TriplePropertyChange[]
        - `from` string
        - `predicate` string
        - `to` string
      - `label` string
      - `uri` string
    - `label` string
    - `uri` string
  - `external` boolean
  - `label` string
  - `uri` string

## Changes

- **2026-11-23** `91d142ef001a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/workspaces/:workspaceName/schemas/:schemaName/compare/get.md)

---

[API](https://skmtc.dev/soptim/apis/rdfarchitect-backend.md) - [All operations](https://skmtc.dev/soptim/apis/rdfarchitect-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8?raw)
