Skip to content

Commit

Permalink
chore: change supported trait symbol to checkmark
Browse files Browse the repository at this point in the history
  • Loading branch information
jceb committed Nov 26, 2024
1 parent 15ff3e0 commit fe07398
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion generate-markdown-table-comparison.nu
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ ls methods/*.json | each {|file|
let traits = { Method: $"[did:($method.name)]\(https://www.w3.org/TR/did-extensions-methods/#did-methods\)" }
# $traits | merge
($properties | columns | filter {$in != "name"} | each {|name|
{ trait: $"[($properties | get $name | get title)]\(#($name)\)", value: ($method | default false $name | get $name | if $in { "`x`" } else { "" }) }
{ trait: $"[($properties | get $name | get title)]\(#($name)\)", value: ($method | default false $name | get $name | if $in { "" } else { "" }) }
}) | reduce -f $traits {|it, acc| $acc | insert $it.trait $it.value }
} | to md
8 changes: 4 additions & 4 deletions spec/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ Generated via ../generate-markdown-table-comparison.nu

| Method | [Updateable](#updateable) | [Updateable Service Endpoints](#updateable_service_endpoints) | [Deactivatable](#deactivatable) | [Deletable](#deletable) | [Explicit Fees](#explicit_fees) | [Self-Certifying](#self-certifying) | [Rotatable Verification Methods](#updateable_verification_methods) | [Pre-rotation of Keys](#pre-rotation_of_keys) | [Multi-Signature Verification Method](#multi-sig_verification_method) | [Human-readable](#human-readable) | [Enumerable](#enumerable) | [Locally Resolvable](#resolvable_locally) | [Globally Resolvable](#resolvable_globally) | [DID Document History](#history) | [Cryptograhpically signed DID Document History](#history_signed) | [Not Hosted](#hosted_not) | [Centrally Hosted](#hosted_centrally) | [Decentrally Hosted](#hosted_decentrally) | [Privacy Preserving Cryptography](#cryptography_privacy_preserving) | [Government-approved Cryptography](#cryptography_government-approved) | [GDPR-compliant](#gdpr-compliant) |
| --------------------------------------------------------------------- | ------------------------- | ------------------------------------------------------------- | ------------------------------- | ----------------------- | ------------------------------- | ----------------------------------- | ------------------------------------------------------------------ | --------------------------------------------- | --------------------------------------------------------------------- | --------------------------------- | ------------------------- | ----------------------------------------- | ------------------------------------------- | -------------------------------- | ---------------------------------------------------------------- | ------------------------- | ------------------------------------- | ----------------------------------------- | ------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------- |
| [did:key](https://www.w3.org/TR/did-extensions-methods/#did-methods) | | | | | | `x` | | | | | | | `x` | | | `x` | | | | | |
| [did:peer](https://www.w3.org/TR/did-extensions-methods/#did-methods) | `x` | `x` | | | | `x` | `x` | | | | | `x` | | | | `x` | | | | | |
| [did:tdw](https://www.w3.org/TR/did-extensions-methods/#did-methods) | `x` | `x` | `x` | `x` | | `x` | `x` | `x` | | | | | `x` | `x` | `x` | | `x` | | | | |
| [did:web](https://www.w3.org/TR/did-extensions-methods/#did-methods) | `x` | `x` | `x` | `x` | | | `x` | | | `x` | | | `x` | | | | `x` | | | | |
| [did:key](https://www.w3.org/TR/did-extensions-methods/#did-methods) | | | | | | ✅ | | | | | | | ✅ | | | ✅ | | | | | |
| [did:peer](https://www.w3.org/TR/did-extensions-methods/#did-methods) | ✅ | ✅ | | | | ✅ | ✅ | | | | | ✅ | | | | ✅ | | | | | |
| [did:tdw](https://www.w3.org/TR/did-extensions-methods/#did-methods) | ✅ | ✅ | ✅ | ✅ | | ✅ | ✅ | ✅ | | | | | ✅ | ✅ | ✅ | | ✅ | | | | |
| [did:web](https://www.w3.org/TR/did-extensions-methods/#did-methods) | ✅ | ✅ | ✅ | ✅ | | | ✅ | | | ✅ | | | ✅ | | | | ✅ | | | | |

## Appendix

Expand Down

0 comments on commit fe07398

Please sign in to comment.