diff --git a/generate-markdown-table-comparison.nu b/generate-markdown-table-comparison.nu index 7d1bc90..67e4162 100755 --- a/generate-markdown-table-comparison.nu +++ b/generate-markdown-table-comparison.nu @@ -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 diff --git a/spec/spec.md b/spec/spec.md index 848836f..2b5ef00 100644 --- a/spec/spec.md +++ b/spec/spec.md @@ -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