diff --git a/vocab/credentials/v2/template.html b/vocab/credentials/v2/template.html index ecaf96ee9..5d023c5e5 100644 --- a/vocab/credentials/v2/template.html +++ b/vocab/credentials/v2/template.html @@ -252,7 +252,7 @@

Diagram description

The diagram uses boxes, ellipses, and connecting lines with different "styles" (border color, end marker, line type) to differentiate their semantic meaning; these styles identify - Property and Class used for shapes used for graph nodes, and Subclass, Domain, and Range for connector lines. + Property, Class, or Datatype, used for shapes used for graph nodes, and Superclass, Domain Of, Range, and Graph Containment for connector lines. These style names are used in the explanation text in what follows.

@@ -264,33 +264,36 @@

Diagram description

On the left side of this column, there are four labeled ellipses, styled as Class. These are, from top to bottom, "VerifiableCredential", "JsonSchemaCredential", "VerifiableCredentialGraph", and "VerifiablePresentation". - There is also a single circle, not styled as Property or Class, labeled as "OR", and another box - styled as a Property labeled as "verifiableCredential". + There is also a small, unlabelled circle, as a crossing point for connector lines.

The "VerifiableCredential" ellipse is connected through a connecting line - styled as Domain to the "credentialSchema", "credentialStatus", "credentialSubject", + styled as Domain Of to the "credentialSchema", "credentialStatus", "credentialSubject", "issuer", "evidence", "refreshService", "renderMethod", and "confidenceMethod" boxes. - It is also related to the separate "OR" circle with a similar connecting line. - The "VerifiablePresentation" ellipse is connected to the "OR" box, as well as the "holder" - and "verifiableCredential" boxes with a similar connecting line styled as Domain. + It is also related to the separate crossing point circle with a similar connecting line. + The "VerifiablePresentation" ellipse is connected to the crossing point circle, as well as the "holder" + and "verifiableCredential" boxes with a similar connecting line styled as Domain Of. The OR box is connected to the "termsOfUse", "validFrom", and "validUntil" boxes with a connecting line styled as Domain. The "verifiableCredential" box is connected to the "VerifiableCredentialGraph" ellipse with a connecting line styled as Range. The ellipse "JsonSchemaCredential" is connected to the ellipse labelled "VerifiableCredential" with a - connecting line styled as Subclass. - Finally, the "VerifiableCredentialGraph" ellipse is connected, through a uniquely styled connector and with a text "contains" on the connector - line, to the "VerifiableCredential" ellipse. + connecting line styled as Superclass. + Finally, the "VerifiableCredentialGraph" ellipse is connected with a Graph Containment connector line + to the "VerifiableCredential" ellipse.

On the right hand side of the column there is an extra column of ellipses styled as "Class", and labeled as "CredentialSchema", - "CredentialStatus", "CredentialEvidence", "RefreshService", "ConfidenceMethod", and "TermsOfUse". + "CredentialStatus", "CredentialEvidence", "RefreshService", "RenderMethod", "ConfidenceMethod", and "TermsOfUse". The Property boxes labeled as "credentialSchema", "credentialStatus", "credentialEvidence, - "refreshService", "confidenceMethod", and "termsOfUse" are all connected by connecting lines styled as Range to these + "refreshService", "renderMethod", "confidenceMethod", and "termsOfUse" are all connected by connecting lines styled as Range to these ellipses, respectively. - On the right hand side of the diagram there is one more ellipse styled as Class and labeled as - "JsonSchema", connected to the the ellipse labeled as "CredentialSchema" via a connecting line - styled as Subclass. +

+

+ Finally, on the far right hand side of the diagram there is one more ellipse styled as Class and labeled as + "JsonSchema", connected from the the ellipse labeled as "CredentialSchema" via a connecting line + styled as Superclass. This ellipse is also connected through a connector line styled as DomainOf to + a Property box labelled as "jsonSchema". Finally, this box is connected, via a Range connector line, + to a Datatype Shape labeled as "rdf:JSON".

diff --git a/vocab/credentials/v2/vocabulary.svg b/vocab/credentials/v2/vocabulary.svg index 18f5e3acb..23504055e 100644 --- a/vocab/credentials/v2/vocabulary.svg +++ b/vocab/credentials/v2/vocabulary.svg @@ -1,662 +1,724 @@ - - - - - -
-
-
- Class -
-
-
-
- Class -
- - - -
-
-
- Property -
-
-
-
- Property -
- - - -
-
-
- Reserved -
- property -
-
-
-
- Reserved... -
- - - - -
-
-
- Subclass -
-
-
-
- Subclass -
- - - - -
-
-
- Domain -
-
-
-
- Domain -
- - - - -
-
-
- Range -
-
-
-
- Range -
- - - -
-
-
- Reserved -
- class -
-
-
-
- Reserved... -
- - + + + -
+
-
- - - credentialSchema - - +
+ + + verifiableCredential + +
- credentialSchema + verifiableCredential - - + + -
+
-
- - - credentialStatus - - +
+ + + VerifiableCredential + +
- credentialStatus + VerifiableCredential
- - + + -
+
-
- - - holder - - +
+ + + JsonSchemaCredential + +
- holder + JsonSchemaCredential
- - + + -
+
-
- - - credentialSubject - - +
+ + + VerifiablePresentation + +
- credentialSubject + VerifiablePresentation
- - + + + + + + + + -
+
-
- - - issuer - - +
+ + + VerifiableCredentialGraph + +
- issuer + VerifiableCredentialGraph
- - + + + + -
+
-
- - - validUntil - - +
+ + + credentialSchema + +
- validUntil + credentialSchema
- - + + -
+
-
- - - evidence - - +
+ + + credentialStatus + +
- evidence + credentialStatus
- - + + -
+
-
- - - refreshService - - +
+ + + credentialSubject + +
- refreshService + credentialSubject
- - + + -
+
-
- - - validFrom - - +
+ + + issuer + +
- validFrom + issuer
- - - - + + -
+
-
- - - renderMethod - - +
+ + + evidence + +
- renderMethod + evidence
- - + + -
+
-
- - - termsOfUse - - +
+ + + refreshService + +
- termsOfUse + refreshService
- - + + -
+
-
- - - verifiableCredential - - +
+ + + renderMethod + +
- verifiableCredential + renderMethod
- - + + -
+
-
- - - VerifiableCredential - - +
+ + + confidenceMethod + +
- VerifiableCredential + confidenceMethod
- - - - - - - - - - - - - - - - - -
-
-
- OR -
-
-
-
- OR -
- - - - - - - - - - + + -
+
-
- - - VerifiablePresentation - - +
+ + + termsOfUse + +
- VerifiablePresentation + termsOfUse
- - - - - - - - + + -
+
-
- - - JsonSchemaCredential - - +
+ + + validFrom + +
- JsonSchemaCredential + validFrom
- - + + -
+
-
- - - VerifiableCredentialGraph - - +
+ + + validUntil + +
- VerifiableCredentialGraph + validUntil
- - - - - - + + -
+
-
- - - CredentialSchema - - +
+ + + holder + +
- CredentialSchema + holder
- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
+
-
- - - CredentialStatus - - +
+ + + RenderMethod + +
- CredentialStatus + RenderMethod
- + -
+
-
- - +
+ + CredentialEvidence - - + +
- CredentialEvidence + CredentialEvidence
- + -
+
-
- - +
+ + RefreshService - - + +
- RefreshService + RefreshService + +
+ + + + +
+
+
+ + + ConfidenceMethod + + +
+
+
+
+ ConfidenceMethod
- + -
+
-
- - +
+ + TermsOfUse - - + +
- TermsOfUse + TermsOfUse
- - + + -
+
-
- - - JsonSchema - - +
+ + + CredentialSchema + +
- JsonSchema + CredentialSchema
- - - - - - - - - - - - - - + + -
+
-
- - - confidenceMethod - - +
+ + + CredentialStatus + +
- confidenceMethod + CredentialStatus
- - - - + + + + + + + + + + + + + + + + -
+
-
- - - ConfidenceMethod - - +
+ + + JsonSchema + +
- ConfidenceMethod + JsonSchema
- - - - + + + + + + + + -
-
-
- - - contains - - +
+
+
+ + Datatype +
- contains + Datatype - - + + + + + + +
+
+
+ + Graph containment + +
+
+
+
+ Graph con... +
+ + + + + +
+
+
+ Class +
+
+
+
+ Class +
+ + + + + +
+
+
+ Property +
+
+
+
+ Property +
+ + + + + + +
+
+
+ Superclass +
+
+
+
+ Superclass +
+ + + + + + +
+
+
+ Domain +
+ of +
+
+
+
+ Domain... +
+ + + + + + +
+
+
+ Range +
+
+
+
+ Range +
+ + + + + +
+
+
+ Reserved +
+ class +
+
+
+
+ Reserved... +
+ + + + +
+
+
+ Reserved +
+ property +
+
+
+
+ Reserved... +
+
+ + + + -
+
-
- - - RenderMethod - +
+ + + jsonSchema + + +
+
+
+ + jsonSchema + +
+ + + + + + +
+
+
+ + rdf:JSON
- RenderMethod + rdf:JSON
- - - Text is not SVG - cannot display - - + + diff --git a/vocab/credentials/v2/vocabulary.yml b/vocab/credentials/v2/vocabulary.yml index b9d4d5749..e76f7b013 100644 --- a/vocab/credentials/v2/vocabulary.yml +++ b/vocab/credentials/v2/vocabulary.yml @@ -122,6 +122,12 @@ property: defined_by: https://www.w3.org/TR/vc-data-model-2.0/#defn-holder range : IRI + - id: jsonSchema + label: Referring to a Json Schema + domain: cred:JsonSchema + range: rdf:JSON + defined_by: https://www.w3.org/TR/vc-json-schema/#jsonschema-0 + - id: issuanceDate label: Issuance date defined_by: https://www.w3.org/TR/2022/REC-vc-data-model-20220303/#issuance-date