---
title: "Convert YANG to JSON schema"
method: POST
path: "/json-forms/yangToSchema"
tags: ["JSON Forms"]
---

# Convert YANG to JSON schema

`POST /json-forms/yangToSchema`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/json-forms/yangToSchema`
- Auth: none declared

onverts a list of YANG inputs into JSON Schemas.

## Request body

- object
  - `yangData` string[]

## Response `200`

Yang inputs converted to JSON schema

- JsonFormsYangToSchemaPostResponsesContentApplicationJsonSchemaItems[]

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `JSON Forms` added
  - api tag `jsonForms` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/json-forms/yangToSchema/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
