Skip to content

Create and register various types of schemas.

POST
/orgs/{orgId}/schemas

Enables the creation and registration of schemas across different systems: the Indy ledger, the Polygon blockchain network, and W3C ledger-less standards.

Authorizations

Parameters

Path Parameters

orgId
required
string

Request Body required

object
type
required

The type of the schema

string
Allowed values: json indy
indy
schemaPayload
required
One of:
object
schemaVersion
required
string
schemaName
required
string
attributes
required
Array<object>
object
attributeName
required
string
schemaDataType
required
string
displayName
required
string
isRequired
required
boolean
[
{
"attributeName": "name",
"schemaDataType": "string",
"displayName": "Name",
"isRequired": true
}
]
orgDid
string

Responses

201

Success

object
message
required
string
Success
success
required
boolean
data
required
object
statusCode
required
number
200

401

Unauthorized

object
statusCode
required
number
401
error
required
string
Unauthorized

403

Forbidden

object
statusCode
required
number
403
error
required
string
Forbidden