Skip to content

Clarify primacy of data model vs. syntax #539

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

Merged
merged 6 commits into from
Apr 16, 2019

Conversation

jricher
Copy link
Contributor

@jricher jricher commented Apr 8, 2019

No description provided.

Copy link
Member

@brentzundel brentzundel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve this PR, but see many uses of the lower-case "must"
While I do not have a problem with the non-normative use of the word "must," others may, so it may be a good idea to re-word those sentences.

@awoie
Copy link
Contributor

awoie commented Apr 9, 2019

I also support the PR.

@jricher
Copy link
Contributor Author

jricher commented Apr 10, 2019

I approve this PR, but see many uses of the lower-case "must"
While I do not have a problem with the non-normative use of the word "must," others may, so it may be a good idea to re-word those sentences.

That's a fair criticism and I'd be fine with rewording "must" as "needs to" as appropriate.

index.html Outdated
@@ -512,7 +512,11 @@ <h3>Use Cases and Requirements</h3>
</li>
<li>
<a>Verifiable credentials</a> and <a>verifiable presentations</a> must be
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we missed some "must"s in the last set of changes. We will need to remember to do so after pulling in this PR. I'm going to suggest changes based on a switch away from "musts".

Yes, the section is non-normative, yes the "must" is lowercase and isn't expressed according to the RFC MUST... but readers have been confused by lowercase "must" in the specification, so we've gone to great lengths to remove all normative-looking language from all sections of the spec.

index.html Outdated
@@ -512,7 +512,11 @@ <h3>Use Cases and Requirements</h3>
</li>
<li>
<a>Verifiable credentials</a> and <a>verifiable presentations</a> must be
serializable in one or more interoperable machine-readable data formats.
serializable in one or more machine-readable data formats.
Any serialization of a verifiable credential or verifiable presentation must
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace "must be" with "are" or equivalent non-normative sounding text.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be sure to wrap defined concepts in the specification in <a></a>. So, for the above, <a>verifiable credential</a> and <a>verifiable presentations</a>.

index.html Outdated
@@ -512,7 +512,11 @@ <h3>Use Cases and Requirements</h3>
</li>
<li>
<a>Verifiable credentials</a> and <a>verifiable presentations</a> must be
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace "must" with "are" or equivalent non-normative sounding text.

index.html Outdated
@@ -2897,6 +2908,13 @@ <h3>JSON</h3>
Other values MUST be represented as a String type.
</li>
</ul>

<p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to <p class="note">

index.html Outdated
serializable in one or more machine-readable data formats.
Any serialization of a verifiable credential or verifiable presentation must
be transformable to the generic data model of this document in a deterministic
process such that the resulting verifiable credential can be processed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix <a>verifiable credential</a>

index.html Outdated
@@ -2897,6 +2908,13 @@ <h3>JSON</h3>
Other values MUST be represented as a String type.
</li>
</ul>

<p>
NOTE: as the transformations listed herein have potentially incompatible interpretations,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove "NOTE:" as ReSpec will do it's magic to highlight this paragraph as a note.

index.html Outdated
@@ -2985,7 +3003,13 @@ <h2>Proof Formats</h2>
<p>
The data model described in this specification is designed to be proof format
agnostic. This specification does not normatively require any particular digital
proof or signature format. At the time of publication, at least two proof
proof or signature format. While the data model is the canonical representation
of the verifiable credentials document, the proofing mechanisms
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change "the verifiable credentials document" to "of a <a>verifiable credential</a> or a <a>verifiable presentation</a>" or something equivalent. We don't define what a "verifiable credentials document" is (nor do we want to).

index.html Outdated
proof or signature format. At the time of publication, at least two proof
proof or signature format. While the data model is the canonical representation
of the verifiable credentials document, the proofing mechanisms
for the verifiable credentials are often tied to the syntax used
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proofing mechanisms are for verifiable credentials and verifiable presentations... so you will either have to call both of them out here, or just strike "for the verifiable credentials".

index.html Outdated
of the verifiable credentials document, the proofing mechanisms
for the verifiable credentials are often tied to the syntax used
in the transmission of the document between parties. As such, each proofing
mechanism must specify whether the validation of the proof is calculated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace "must" with "is expected to" or some equivalent sounding non-normative language.

index.html Outdated
added to the <code>vc</code> <a>property</a> of the JWT. The following
paragraphs describe these encoding rules.
added to the <code>vc</code> <a>property</a> of the JWT. As with all JWTs,
the JWS based signature of a verifiable credential in the JWT syntax is
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix <a>verifiable credential</a>

@msporny
Copy link
Member

msporny commented Apr 13, 2019

re: IPR failure

There is just an issue w/ mapping @jricher's Github account to his W3C account. He is clearly in the group representing SecureKey and as such there are no IPR concerns:

https://www.w3.org/2000/09/dbwg/details?group=98922&public=1&order=org

I'm ignoring the IPR warning as it's a non-issue. Ensuring /cc Chairs and W3C Staff (can we fix his affiliation?) -- @burnburn @stonematt @ashimura ... if not, I'm going to merge (when this PR is ready) anyway. Stop me if you disagree.

@msporny
Copy link
Member

msporny commented Apr 13, 2019

Holding on merging this PR until @jricher applies the editorial changes suggested in the conversation.

@stonematt
Copy link
Contributor

stonematt commented Apr 14, 2019

VCWG Teleconference Resolution: https://www.w3.org/2019/04/09-vcwg-minutes.html#resolution04

RESOLUTION: The specification is clear wrt. using JWT and JWS with the VC Data Model. The VCWG acknowledges that a W3C Recommendation for RDF Dataset Canonicalization, Linked Data Proofs, and Linked Data Signatures does not exist, and that the Verifiable Credentials Data Model specification, as well as a number of Linked Data Working Groups at W3C, would benefit from such a set of standards. The VCWG strongly recommends the creation of a W3C Working Group to create such a set of W3C Recommendations. Additionally, non-normative text should be added to the specification that suggests that data needs to be translated to/from the data model and to pay particular attention to the proof extension point, once this PR is in, issue #487 should be closed.

This was referenced Apr 14, 2019
Co-Authored-By: jricher <[email protected]>
@msporny msporny merged commit 6f84beb into w3c:gh-pages Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants