---
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

## Changes

- **2026-05-24** `b93c122bc338` — 1 info
  - endpoint added
- **2026-02-23** `5bfc4d9dc1c8` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/worldbank/apis/metadata-editor-api/changes/data_structures/import_json/post.md)

---

[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)
