-
Notifications
You must be signed in to change notification settings - Fork 73
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
Review of Indy HIPE #0149: Rich Schema Schemas #150
Comments
what is the schema of a |
I think a note should be added around |
|
I think |
when creating |
The client should create the '@id'. The schema creation (SET_RICH_SCHEMA) should include the '@id'. The example should be modified to reflect this. |
'txnId's are not specified by this HIPE. |
I believe your question is, "Should tags be supported?" Current schemas do not appear to support tags. We do not anticipate adding them to rich schema schemas. |
We will add a note. |
Type is being included to support future discoverability functionality. |
Agreed. The client could be simplified by allowing the rich-schema schema to be retrieved by the '@id' value instead of dest, name, version. |
8 would follow the existing pattern as the next available marker for rich-schema schemas. |
I have a few initial questions.
@id
, the client or server? Should the@id
be included in the txn set request? If so, the rich schema example is missing an@id
key in the data.schema dict. I think the@id
needs to be created by the client because the client signs the txn before it is sent. If the server creates the@id
and appends it into the schema, the signature for the data being stored in the rocks DB will be different than the original signed data in the txn, which does not feel right to me.txnId
in the set response the same thing as@id
?txnId
in set response has the form ofL5AD5g65TDQr1PPHHRoiGf1|recipeIngredient|1.0
, with '|' as the delimiter while the currenttxnId
s have ':' as the delimiter, for example,FC4aWomrA13YyvYC1Mxw7:3:CL:14:some_tag
. Is there a good reason to break up continuity and use '|' instead of ':'?The text was updated successfully, but these errors were encountered: