v1

latestOpenAPI 3.0.02026-07-17647099.1 KB
Schemas

Import JSON schema

Import a JSON schema to be used in the credentials.

post/v2/identities/{identifier}/schemas

Path parameters

identifierstring required

Issuer identifier

Request body

urlstring required
schemaTypestring required
titlestring
descriptionstring
versionstring required
displayMethodIDstring

Example request

{
  "url": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json/KYCAgeCredential-v3.json",
  "schemaType": "vaccinationCertificate",
  "title": "KYC Age Credential",
  "description": "KYC Age Credential description",
  "version": "1.0.0"
}

Response

Schema imported

idstring required

Example response

{
  "id": "c79c9c04-8c98-40f2-a7a0-5eeabf08d836"
}