w3c / did-core

W3C Decentralized Identifier Specification v1.0
https://www.w3.org/TR/did-core/
Other
395 stars 93 forks source link

Missing comma in JSON-LD snippet for Example 1 of DID core #846

Open Antoine-Zimmermann opened 8 months ago

Antoine-Zimmermann commented 8 months ago

Example 1 of the Decentralized Identifiers (DIDs) v1.0 recommendation has this code:

{
  "@context": [
    "https://www.w3.org/ns/did/v1",
    "https://w3id.org/security/suites/ed25519-2020/v1"
  ]
  "id": "did:example:123456789abcdefghi",
  "authentication": [{
    "id": "did:example:123456789abcdefghi#keys-1",
    "type": "Ed25519VerificationKey2020",
    "controller": "did:example:123456789abcdefghi",
    "publicKeyMultibase": "zH3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
  }]
}

There is a missing comma after the closing square bracket on line 5.

Antoine-Zimmermann commented 8 months ago

The comma is also missing in Example 9, Example 12, and Example 13.