---
title: "Validate schema in workspace"
method: GET
path: "/api/workspaces/{workspaceName}/schemas/{schemaName}/validate-workspace"
tags: ["graph"]
---

# Validate schema in workspace

`GET /api/workspaces/{workspaceName}/schemas/{schemaName}/validate-workspace`

## Request

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

Validates a schema against the other schemas of its workspace and returns the issues that involve the schema.

## Path parameters

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

## Headers

- `Origin` string

## Response `200`

OK

- ValidationReportDTO
  - `issues` ValidationIssueDTO[]
    - `kind` 'RULE' | 'INFRASTRUCTURE'
    - `message` string
    - `occurrences` IssueOccurrenceDTO[]
      - `classUUID` string, uuid
      - `keyword` string
      - `packageUUID` string, uuid
      - `schemaName` string
      - `uuid` string, uuid
      - `value` string
    - `resourceUri` string
    - `ruleId` string
    - `ruleLabel` string
    - `severity` 'ERROR' | 'WARNING' | 'INFO'
  - `valid` boolean

## Changes

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

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/workspaces/:workspaceName/schemas/:schemaName/validate-workspace/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)
