Skip to content
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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link

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>

Copy link

Choose a reason for hiding this comment

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

Suggested change
Note. We will need to add issuedAt and expiresAt to the new implementors guide context
<p class="issue">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.
Copy link

Choose a reason for hiding this comment

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

Suggested change
can be removed.
can be removed.</p>

Copy link
Contributor Author

Choose a reason for hiding this comment

The 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>
Expand Down