Schema Registry
Last updated
Last updated
The Hypersign Schema comply specification and is stored on as it is schema documents and made available as immutable objects.
The syntax of Schema ID is as follows:
sch:hid
- Schema Method, where sch
is the document identifier and hid
is the method name
<chain-namespace>
- (Optional) Name of the blockchain where the schema document is registered. It is omitted for the document registered on mainnet chain
<method-specific-id>
- Alpha-numeric string of minimum 32 character length
<version-number>
- Model version of schema. For instance, 1.0
, 1.1
and 2.1
Transaction Based
Register/Update a Schema Document
Query Based
Query Schema Document(s)
Both registration and update of Schema happens through the RPC CreateSchema
CLI Signature
Example
CLI Signature
Example
REST
Query a specific version of schema document for given schema id:
Query all versions of a schema document:
Query a list of registered schema documents: