---
title: "Import data structure JSON"
method: POST
path: "/data_structures/import_json"
tags: ["Data Structures"]
---

# Import data structure JSON

`POST /data_structures/import_json`

Import global DSD, components and codelists from JSON. Body matches `data-structure-schema.json`: root `data_structure` (identity + `components`), optional boolean `overwrite` and `dry_run` on the same JSON object (no query flags).

## Request body

- DataStructureSchemaJson — unresolved $ref

## Response `200`

Validation/dry-run succeeded or import completed

## Other responses

- `400` — Validation failed or bad request

---

[API](https://skmtc.dev/worldbank/apis/metadata-editor-api.md) · [All operations](https://skmtc.dev/worldbank/apis/metadata-editor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/worldbank/metadata-editor-api/revisions/f4c8258bab5a/schema)
