Skip to content

Request new schema

POST
/ecosystem/{ecosystemId}/{orgId}/transaction/schema

Create request for new schema

Authorizations

Parameters

Path Parameters

orgId
required
string
ecosystemId
required
string

Request Body required

object
endorse
required
boolean
type
required

The type of the schema

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

Responses

201

Created

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