---
title: "Import JSON schema"
method: POST
path: "/v2/identities/{identifier}/schemas"
tags: ["Schemas"]
---

# Import JSON schema

`POST /v2/identities/{identifier}/schemas`

## Request

- The document declares no server URL.
- Auth: HTTP basic

Import a JSON schema to be used in the credentials.

## Path parameters

- `identifier` string, required

## Request body

- ImportSchemaRequest
  - `url` string, required
  - `schemaType` string, required
  - `title` string
  - `description` string
  - `version` string, required
  - `displayMethodID` string

## Response `201`

Schema imported

- UUIDResponse
  - `id` string, required

## Other responses

- `400`: Bad Request
- `500`: Internal Server error

## Changes

- **2024-12-26** `7911e50304ae`: 1 info
  - added the new optional request property `displayMethodID`
- **2024-12-23** `3b774233550c`: 1 warning
  - removed the request property `displayMethodID`
- **2024-12-23** `67fe747fa93e`: 1 info
  - added the new optional request property `displayMethodID`
- **2024-12-02** `a71b9e9bd838`: 1 warning
  - removed the request property `displayMethodID`

[Operation history](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/changes/v2/identities/:identifier/schemas/post.md)

---

[API](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer.md) - [All operations](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/llms.txt) - [OpenAPI document](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/revisions/8ea65174fe46?raw)
