Request new schema
POST /ecosystem/{ecosystemId}/{orgId}/transaction/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
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
object
schemaName
required
string
description
required
string
attributes
required
Array<object>
object
attributeName
required
string
schemaDataType
required
The type of the schema
string
displayName
required
string
isRequired
required
boolean
schemaType
required
The type of the schema
string
Responses
201
Created
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