-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Create Schema RPC on node #25
Comments
Example schema https://ssi.hypermine.in/core/api/v1/schema/sch_f3ab4b78-48fa-4a4d-9fe4-8f06dc501a6b Schema Protohttps://w3c-ccg.github.io/vc-json-schemas/v1/index.html#credential_schema_definition_metadata
Schema Property Protohttps://w3c-ccg.github.io/vc-json-schemas/v1/index.html#credential_schema_definition_schema
RPC
ValidationValidate basic format of shchemaValidate the format of id field
example:
Validate Signature
Store the schemakey id= value schema |
The PR (#49) has been merged. The details of test cases are updated in the PR |
Introduction
4 Perspective of schema
Credential Schemas are created and made available as immutable objects on a distributed ledger.
**
id
**A globally unique identifier to locate the schema on a distributed ledger. This identifier is a Generic DID Parameter Name based upon the author of the schema. For example, if the author had a did like
Metadata
A possible schema ID the author created would have ID such as:
Example
Versioning
Revision
The addition or removal of an
optional field
is what constitutes a REVISION. Read more https://w3c-ccg.github.io/vc-json-schemas/v1/index.html#revisionModel
When a schema breaks historical data we call it a model change. The most common case of a MODEL change is the addition or subtraction of a
required field
.An example of this rule is when the
additionalProperties
field’s value changes. ChangingadditionalProperties
from false to true OR from true to false constitutes a breaking change, necessitating a MODEL increment.This line was wrritten in https://hyperledger-indy.readthedocs.io/projects/node/en/latest/transactions.html#schema not sure why?
Reference
The text was updated successfully, but these errors were encountered: