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

Add notes for validFrom and validUntil. #646

Merged
merged 5 commits into from
Jun 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions contexts/credentials/v1
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"evidence": {"@id": "cred:evidence", "@type": "@id"},
"expirationDate": {"@id": "cred:expirationDate", "@type": "xsd:dateTime"},
"holder": {"@id": "cred:holder", "@type": "@id"},
"issued": {"@id": "cred:issued", "@type": "xsd:dateTime"},
"issuer": {"@id": "cred:issuer", "@type": "@id"},
"issuanceDate": {"@id": "cred:issuanceDate", "@type": "xsd:dateTime"},
"proof": {"@id": "sec:proof", "@type": "@id", "@container": "@graph"},
Expand Down
20 changes: 20 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1586,6 +1586,17 @@ <h3>Issuance Date</h3>
"proof": { ... }
}
</pre>

<p class="note">
It is expected that the next version of this specification will add the
<code>validFrom</code> <a>property</a> and will deprecate the
<code>issuanceDate</code> <a>property</a> in favor of a new <code>issued</code>
<a>property</a>. The range of values for both properties are expected to remain
as [[?RFC3339]] combined date and time strings. Implementers are advised that
the <code>validFrom</code> <a>property</a> and the <code>issued</code>
properties are reserved and use for any other purpose is discouraged.
</p>

</section>

<section>
Expand Down Expand Up @@ -1711,6 +1722,15 @@ <h3>Expiration</h3>
"proof": { ... }
}
</pre>

<p class="note">
It is expected that the next version of this specification will add the
<code>validUntil</code> <a>property</a> in a way that deprecates, but
preserves backwards compatability with the <code>expirationDate</code>
<a>property</a>. Implementers are advised that the <code>validUntil</code>
<a>property</a> is reserved and its use for any other purpose is discouraged.
</p>

</section>

<section>
Expand Down