Skip to content

Commit

Permalink
Update template's diagram alt text
Browse files Browse the repository at this point in the history
  • Loading branch information
iherman committed Mar 20, 2024
1 parent aa6999e commit bb0f7d6
Showing 1 changed file with 60 additions and 81 deletions.
141 changes: 60 additions & 81 deletions vocab/security/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,128 +255,107 @@ <h2>Diagram description</h2>
<p>
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, Class, or Datatype, via the shapes used for the
graph nodes, and Superclass, Domain Of, Range, Type, or Contains, via the styles of the connecting lines.
these styles identify "Property", "Class", or "Datatype" via the shapes used for the
graph nodes, and "Superclass", "Domain Of", "Range", "Type", or "Contains",
via the styles of the connecting lines. In particular, <em>all</em> ellipses are styled as "Class".
These style names are used in the explanation text that follows, below.
</p>
<p>
The diagram is roughly divided into three sectionslower left, lower right, and upper.
The diagram is roughly divided into three sections — lower left, lower right, and upper.
To make this description easier to understand, these sections will be respectively referred to
as the "Proof Section", "Verification Section", and "Verification Relationship Section".
as the "Proof", "Verification Method", and "Verification Relationship" sections.
The three sections are connected by lines of different types; additionally, one box,
labeled as "multibase" and having shape "Datatype", is shared by the two lower sections ("Proof" and "Verification").
labeled as "multibase", and having shape "Datatype", is shared by the two lower sections
("Proof" and "Verification Method").
</p>
<p>
Each of these sections has an ellipse at the top, styled as Class,
and respectively labeled as "Proof", "VerificationMethod", and "VerificationRelationship".
Each of these sections has an ellipse at the top, labeled as "Proof", "VerificationMethod",
and "VerificationRelationship", respectively.
</p>
<section>
<h3>Proof Section</h3>
<p>
The left side of the Proof Section contains another ellipse,
styled as Class and labeled as "ProofGraph", and connected
to the ellipse labeled as "Proof" with a connecting line styled as Contains.
There is also a box, styled as Property and labeled as "proof",
connected to the ellipse labeled as "ProofGraph"
with a connecting line styled as Range.
The left side of the section contains another ellipse,
labeled as "ProofGraph", and connected to the ellipse labeled as "Proof" with a connecting line,
styled as "Contains".
A separate box, styled as "Property" and labeled as "proof", is connected to the ellipse labeled as "ProofGraph",
with a connecting line styled as "Range".
</p>
<p>
There are two more ellipses in this section, styled as Class
and labeled as "Ed25519Signature2020" and "DataIntegrityProof",
each connected to the ellipse labeled as "Proof"
with connecting lines styled as Superclass.
The ellipse labeled as "DataIntegrityProof" is
also connected to a box styled as Property,
and labeled as "cryptosuite", with a connecting
line styled as Domain Of. The "cryptosuite" Property box
is connected to a shape
styled as Datatype and labeled as
"cryptosuiteString", with a connecting
line styled as Range.
There are two more ellipses in this section,
labeled as "Ed25519Signature2020" and "DataIntegrityProof", respectively,
each connected to the ellipse labeled as "Proof" through connecting lines styled as "Superclass".
The ellipse labeled as "DataIntegrityProof" is also connected to a box, styled as "Property" and labeled as
"cryptosuite", with a connecting line styled as "Domain Of".
The "cryptosuite" Property box is connected to a shape, styled as "Datatype" and labeled as "cryptosuiteString",
with a connecting line styled as "Range".
</p>
<p>
The right side of the Section contains a column of labeled boxes,
all styled as Property. The labels, from top to
bottom, are "previousProof", "domain", "challenge",
"nonce", "created", and "proofValue".
The ellipse labeled as "Proof" is connected to all of these with
connecting lines styled as "Domain Of".
The box labeled as "previousProof" is also connected to the ellipse
labeled as "Proof" with a connecting line styled as Range.
The box labeled as "proofValue" is connected to a shape styled as Datatype
and labeled as "multibase", with a connecting line styled as Range.
Finally, another box, styled as Property and labeled as "digestMultibase",
is connected to the same "multibase" Datatype shape with
a connecting line styled as Range.
The right side of the section contains a column of labeled boxes, all styled as "Property".
The labels, from top to bottom, are "previousProof", "domain", "challenge", "nonce", "created", and "proofValue".
The ellipse, labeled as "Proof", is connected to all of these with connecting lines styled as "Domain Of".
The box labeled as "previousProof" is also connected to the ellipse, labeled as "Proof", with a connecting line styled as "Range".
The box labeled as "proofValue" is connected to a shape, styled as "Datatype" and labeled as "multibase", with a connecting line styled as "Range".
Finally, another box, styled as "Property" and labeled as "digestMultibase", is connected to the same "multibase" shape, styled as "Datatype", with a connecting line styled as "Range".
</p>
</section>
<section>
<h3>Verification Section</h3>
<h3>Verification Method Section</h3>

<p>
The left side of this Section contains a column of three labeled
boxes, all styled as Property. The labels, from top to bottom, are
"expires", "controller", and "revoked". Each of these is connected
to the ellipse labeled "VerificationMethod",
with connecting lines styled as Domain Of.
The "expires" Property box is also connected to the ellipse
labeled "Proof" in the Proof Section, with a connecting line
styled as Domain Of.
The left side of this section contains a column of three labeled boxes, all styled as "Property".
The labels, from top to bottom, are "expires", "controller", and "revoked".
Each of these is connected to the ellipse, labeled "VerificationMethod", with connecting lines styled as "Domain Of".
The "expires" "Property" box is also connected to the ellipse labeled "Proof" in the Proof section,
with a connecting line styled as "Domain Of".
</p>

<p>
There is also a distinct box, styled as Property and labeled as "verificationMethod".
This box is connected to the ellipse labeled as "VerificationMethod" with a
connecting line styled as Range.
There is also a distinct box, styled as "Property" and labeled as "verificationMethod".
This box is connected to the ellipse, labeled as "VerificationMethod", with a connecting line styled as "Range".
</p>

<p>
The middle of this section contains three more ellipses,
styled as Class, and labeled as
"Multikey, "Ed25519VerificationKey2020", and "JsonWebKey".
Each of these is connected to
the ellipse labeled as "VerificationMethod"
with a connecting line styled as Superclass.
The middle of this section contains three more ellipses, labeled as "Multikey, "Ed25519VerificationKey2020",
and "JsonWebKey", respectively.
Each of these is connected to the ellipse, labeled as "VerificationMethod", with a connecting line styled as "Superclass".
</p>

<p>
Two boxes, styled as Property and labeled as "secretKeyMultibase"
and "publicKeyMultibase", are connected to the ellipse
labeled as "Multikey" with a connecting line styled as Domain Of.
Each of these boxes is also connected to the shape in the Proof
section styled as Datatype and labeled as "multibase",
with connecting lines styled as Range.
Two boxes, styled as "Property" and labeled as "secretKeyMultibase" and "publicKeyMultibase",
respectively, are connected to the ellipse labeled as "Multikey" with a connecting line styled as "Domain Of".
Each of these boxes is also connected to the shape in the Proof section, styled as "Datatype"
and labeled as "multibase", with connecting lines styled as "Range".
</p>

<p>
Finally, two boxes, styled as Property and labeled "secretKeyJwk"
and "publicKeyJwk", are connected to the ellipse labeled "JsonWebKey"
with a connecting line styled as Domain Of.
Each of these boxes is also connected to
a shape styled as Datatype and labeled as "rdf:JSON",
with connecting lines styled as Range.
Finally, two boxes, styled as "Property" and labeled as "secretKeyJwk"
and "publicKeyJwk", respectively, are connected to the ellipse labeled "JsonWebKey",
with a connecting line styled as "Domain Of".
Both boxes are also connected to a shape, styled as "Datatype" and labeled as "rdf:JSON", with connecting
lines styled as "Range".
</p>

</section>
<section>
<h3>Verification Relationship Section</h3>
<p>
The left side of the section contains a single box, styled as Property
and labeled as "proofPurpose". This box is connected to the ellipse
"VerificationRelationship" with a connecting line styled as Range,
and is also connected to the ellipse labeled "Proof" in the Proof Section,
with a connecting line styled as Domain Of.
The left side of the section contains a single box, styled as "Property"
and labeled as "proofPurpose".
This box is connected to the ellipse, labeled as "VerificationRelationship",
with a connecting line styled as "Range".
It is also connected to the ellipse in the Proof section, labeled "Proof",
with a connecting line styled as "Domain Of".
</p>

<p>
The right side of this Section contains a column of labeled boxes,
all styled as Property. The labels, from top to bottom, are
"verificationMethod", "authentication", "assertionMethod",
"capabilityDelegation", "capabilityInvocation", and "keyAgreement".
Each of these boxes is connected to the ellipse labeled "VerificationMethod" in the
Verification section, with a connecting line styled as Range,
and to the ellipse labeled "VerificationRelationship"
with a connecting line styled as Type.
The right side of the section contains a column of labeled boxes,
all styled as "Property".
The labels, from top to bottom, are "verificationMethod", "authentication", "assertionMethod", "capabilityDelegation", "capabilityInvocation", and "keyAgreement".
Each of these boxes is connected to the ellipse in the Verification Method section, labeled "VerificationMethod",
with a connecting line styled as "Range".
Finally, each of these boxes is also connected to the ellipse, labeled "VerificationRelationship",
with a connecting line styled as "Type".
</p>
</section>
</details>
Expand Down

0 comments on commit bb0f7d6

Please sign in to comment.