Schema Registry
Hypersign Schema Registry
The Hypersign Schema comply Verifiable Credentials JSON Schema 2022 data model specification and is stored on Hypersign Identity Blockchain Network as it is adviced to store schema documents and made available as immutable objects.
Syntax of Hypersign Schema ID
The syntax of Schema ID is as follows:
sch:hid
- Schema Method, wheresch
is the document identifier andhid
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
and2.1
Schema Operations
Transaction Based
Register/Update a Schema Document
Query Based
Query Schema Document(s)
Usage
Register/Update Schema
Both registration and update of Schema happens through the RPC CreateSchema
CLI Signature
Example
Register/Update Schema
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:
Last updated