Create and register various types of schemas.
POST /orgs/{orgId}/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
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
orgDid
string
object
attributes
required
Array<object>
object
attributeName
required
string
displayName
required
string
schemaDataType
required
The type of the schema
string
isRequired
required
boolean
schemaName
required
string
description
required
string
schemaType
required
The type of the schema
string
Responses
201
Success
object
message
required
string
success
required
boolean
data
required
object
statusCode
required
number
401
Unauthorized
object
statusCode
required
number
error
required
string
403
Forbidden
object
statusCode
required
number
error
required
string