CreateSchema
POST /schemas
POST
/schemas
Create schema
Authorizations
Request Body required
object
issuerId
required
string
name
required
string
version
required
string
attributes
required
Array<string>
endorse
boolean
endorserDid
string
Responses
200
Get schema
Any of:
object
jobId
string
schemaState
required
Any of:
object
state
required
string
schema
object
issuerId
required
string
name
required
string
version
required
string
attrNames
required
Array<string>
schemaId
string
object
state
required
string
action
required
string
schema
required
object
issuerId
required
string
name
required
string
version
required
string
attrNames
required
Array<string>
schemaId
required
string
object
state
required
string
schema
required
object
issuerId
required
string
name
required
string
version
required
string
attrNames
required
Array<string>
schemaId
required
string
object
state
required
string
reason
required
string
schema
object
issuerId
required
string
name
required
string
version
required
string
attrNames
required
Array<string>
schemaId
string
schemaMetadata
required
Construct a type with a set of properties K of type T
object
registrationMetadata
required
Construct a type with a set of properties K of type T
object
object
state
required
string
schema
required
object
issuerId
required
string
name
required
string
version
required
string
attrNames
required
Array<string>
schemaId
required
string