-
Notifications
You must be signed in to change notification settings - Fork 16
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
Additional date/times #48
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -387,6 +387,53 @@ <h3>Presentations</h3> | |||||
</section> | ||||||
|
||||||
<section> | ||||||
<h2>Multiple Times</h2> | ||||||
|
||||||
<p> | ||||||
Many <a>verifiable credentials</a> will be issued from physical credentials that | ||||||
have a much longer validity time than the <a>verifiable credential</a> itself | ||||||
e.g. a passport VC, a driving licence VC, a vaccination record VC, a European | ||||||
Health Card VC etc. A common requirement might be to reveal this longer validity | ||||||
time in the <a>verifiable credential</a>, which leads to 4 times being issued, namely: | ||||||
<p> | ||||||
<ul> | ||||||
<li> | ||||||
the time the original credential was issued or is valid from | ||||||
</li> | ||||||
<li> | ||||||
the time the <a>verifiable credential</a> becomes valid | ||||||
</li> | ||||||
<li> | ||||||
the time the <a>verifiable credential</a> becomes invalid | ||||||
</li> | ||||||
<li> | ||||||
the time the original credential expires | ||||||
</li> | ||||||
</ul> | ||||||
<p> | ||||||
It is recommended to use the following properties for the above times: | ||||||
<ul> | ||||||
<li> | ||||||
<code>issuedAt</code> - the date/time the original credential was issued | ||||||
</li> | ||||||
<li> | ||||||
<code>validFrom</code> - the date/time the <a>verifiable credential</a> becomes valid | ||||||
</li> | ||||||
<li> | ||||||
<code>validUntil</code> - the date/time the <a>verifiable credential</a> becomes invalid | ||||||
</li> | ||||||
<li> | ||||||
<code>expiresAt</code> - the date/time the original credential expires | ||||||
</li> | ||||||
</ul> | ||||||
|
||||||
</p> | ||||||
Note. We will need to add issuedAt and expiresAt to the new implementors guide context | ||||||
to be published at "https://www.w3.org/2018/credImpGuide/v1" then this note | ||||||
can be removed. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This PR can be dropped, because the issuer of a VC can publish its own schema for the contents of its VCs and the properties of the VC's subject. If the issuer wants the subject's properties to contain half a dozen different dates and times it can do this without affecting the VC data model or any other VC issuer. |
||||||
</section> | ||||||
<section> | ||||||
|
||||||
<h2>Extensions</h2> | ||||||
|
||||||
<em>This section is non-normative.</em> | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be called out as an issue, e.g.
<p class="issue"></p>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.