Skip to content

Commit 6eeede2

Browse files
committed
Added a deprecated flag to the sri datatype
1 parent 48e75db commit 6eeede2

2 files changed

Lines changed: 26 additions & 25 deletions

File tree

vocab/credentials/v2/template.html

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ <h2>Deprecated properties</h2>
237237
<h2>Deprecated classes</h2>
238238
</section>
239239

240-
<section id="deprecated_property_definitions" class="term_definitions">
241-
<h2>Deprecated properties</h2>
240+
<section id="deprecated_datatype_definitions" class="term_definitions">
241+
<h2>Deprecated datatypes</h2>
242242
</section>
243243

244244
<section id="deprecated_individual_definitions" class="term_definitions">
@@ -252,36 +252,36 @@ <h2>Diagram description</h2>
252252
<summary>Overview diagram of the vocabulary (without the deprecated items).</summary>
253253
<p>
254254
The diagram uses boxes, ellipses, and connecting lines with different "styles" (border color, end
255-
marker, line type) to differentiate their semantic meaning; these styles identify
255+
marker, line type) to differentiate their semantic meaning; these styles identify
256256
Property, Class, or Datatype, via the shapes used for the graph nodes, and Superclass, Domain Of,
257-
Range, or Contains, via the styles of the connecting lines.
258-
These style names are used in the explanation text in what follows.
257+
Range, or Contains, via the styles of the connecting lines.
258+
These style names are used in the explanation text in what follows.
259259
</p>
260-
<p>
261-
In the middle of the diagram there is a column of labeled boxes, all styled as Property.
262-
The labels, from top to bottom, are: "credentialSchema", "credentialStatus", "credentialSubject",
260+
<p>
261+
In the middle of the diagram there is a column of labeled boxes, all styled as Property.
262+
The labels, from top to bottom, are: "credentialSchema", "credentialStatus", "credentialSubject",
263263
"issuer", "evidence", "refreshService", "renderMethod", "confidenceMethod", "termsOfUse", "validFrom",
264-
"validUntil", and "holder".
265-
On the left side of this column, there are five labeled ellipses, styled as Class.
264+
"validUntil", and "holder".
265+
On the left side of this column, there are five labeled ellipses, styled as Class.
266266
These are, from top to bottom, "VerifiableCredential", "JsonSchemaCredential",
267-
"EnvelopedVerifiableCredential", "VerifiableCredentialGraph", and "VerifiablePresentation".
267+
"EnvelopedVerifiableCredential", "VerifiableCredentialGraph", and "VerifiablePresentation".
268268
There is also a small, unlabeled circle, which serves as an intersection point for connector
269269
lines, with two pointing in, and four pointing out.
270270
</p>
271271
<p>
272272
The "VerifiableCredential" ellipse is connected to the "credentialSchema", "credentialStatus",
273-
"credentialSubject", "issuer", "relatedResource", "evidence", "refreshService", "renderMethod",
274-
and "confidenceMethod" boxes, through connecting lines styled as Domain Of.
273+
"credentialSubject", "issuer", "relatedResource", "evidence", "refreshService", "renderMethod",
274+
and "confidenceMethod" boxes, through connecting lines styled as Domain Of.
275275
It is also connected to the crossing point circle with a similar connecting line,
276276
styled as Domain Of.
277-
The "VerifiablePresentation" ellipse is connected to the crossing point circle, as well as the "holder" and
278-
"verifiableCredential" boxes, with a similar connecting line styled as Domain Of.
279-
The crossing point circle is connected to the "termsOfUse", "validFrom", and "validUntil" boxes with a
277+
The "VerifiablePresentation" ellipse is connected to the crossing point circle, as well as the "holder" and
278+
"verifiableCredential" boxes, with a similar connecting line styled as Domain Of.
279+
The crossing point circle is connected to the "termsOfUse", "validFrom", and "validUntil" boxes with a
280280
connecting line styled as Domain Of.
281281
The "verifiableCredential" box is connected to the "VerifiableCredentialGraph" ellipse with a connecting
282-
line styled as Range.
283-
The "JsonSchemaCredential" ellipse is connected to the "VerifiableCredential" ellipse with a
284-
connecting line styled as Superclass.
282+
line styled as Range.
283+
The "JsonSchemaCredential" ellipse is connected to the "VerifiableCredential" ellipse with a
284+
connecting line styled as Superclass.
285285
Finally, the "VerifiableCredentialGraph" ellipse is connected to the "VerifiableCredential"
286286
and "EnvelopedVerifiableCredential" ellipses with connector lines styled as Contains.
287287
</p>
@@ -290,19 +290,19 @@ <h2>Diagram description</h2>
290290
"CredentialStatus", "CredentialEvidence", "RefreshService", "RenderMethod", "ConfidenceMethod", and "TermsOfUse".
291291
The Property boxes labeled as "credentialSchema", "credentialStatus", "credentialEvidence,
292292
"refreshService", "renderMethod", "confidenceMethod", and "termsOfUse" are respectively
293-
connected to those Class ellipses, with connecting lines styled as Range.
293+
connected to those Class ellipses, with connecting lines styled as Range.
294294
</p>
295295
<p>
296296
The "CredentialSchema" ellipse is connected to one more ellipse, on the far right
297297
side of the diagram, styled as Class and labeled as "JsonSchema", with a connecting line
298-
styled as Superclass.
299-
This "JsonSchema" ellipse is also connected to a Property box labeled as "jsonSchema",
298+
styled as Superclass.
299+
This "JsonSchema" ellipse is also connected to a Property box labeled as "jsonSchema",
300300
through a connector line styled as Domain Of, and to a Datatype shape
301-
labeled as "rdf:JSON", through a connecting line styled as Range.
301+
labeled as "rdf:JSON", through a connecting line styled as Range.
302302
</p>
303303
<p>
304-
Finally, on the lower far right side of the diagram, there is a separate Property box labeled as
305-
"digestSRI", connected to a Datatype shape labeled as "sriString", with a connecting line
304+
Finally, on the lower far right side of the diagram, there is a separate Property box labeled as
305+
"digestSRI", connected to a Datatype shape labeled as "sriString", with a connecting line
306306
styled as Range.
307307
</p>
308308
</details>

vocab/credentials/v2/vocabulary.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ datatype:
201201
label: Datatype for digest SRI values
202202
upper_value: xsd:string
203203
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#the-sristring-datatype
204+
deprecated: true
204205
see_also:
205206
- label: Subresource Integrity Metadata
206207
url: https://www.w3.org/TR/SRI/#the-integrity-attribute

0 commit comments

Comments
 (0)