You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
did document not valid:
- service.0.serviceEndpoint: Must validate one and only one schema (oneOf)
- service.0.serviceEndpoint.0: Invalid type. Expected: object, given: string
Document: {"@context":["https://www.w3.org/ns/did/v1",{"@base":"did:ion:EiCMdVLtzqqW5n6zUC3_srZxWPCseVxKXu9FqQ8LyS1mTA:eyJkZWx0YSI6eyJwYXRjaGVzIjpbeyJhY3Rpb24iOiJyZXBsYWNlIiwiZG9jdW1lbnQiOnsicHVibGljS2V5cyI6W3siaWQiOiI2NmRkNTFmZTBjYWM0ZjFhYWU4MTJkMGFhMTA5YmMyYXZjU2lnbmluZ0tleS0yZTk3NSIsInB1YmxpY0tleUp3ayI6eyJjcnYiOiJzZWNwMjU2azEiLCJrdHkiOiJFQyIsIngiOiJqNVQ4S1FfQ19IRGxSbXlFX1pwRjltbE1RZ3B4N19fMFJQRHhPVmM4dWt3IiwieSI6InpybDBWSllHWnhVLXFjZWt2SlY4NGs5U2x2STQxam53NG4yTS1WMnB4MGMifSwicHVycG9zZXMiOlsiYXV0aGVudGljYXRpb24iLCJhc3NlcnRpb25NZXRob2QiXSwidHlwZSI6IkVjZHNhU2VjcDI1NmsxVmVyaWZpY2F0aW9uS2V5MjAxOSJ9XSwic2VydmljZXMiOlt7ImlkIjoibGlua2VkZG9tYWlucyIsInNlcnZpY2VFbmRwb2ludCI6eyJvcmlnaW5zIjpbImh0dHBzOi8vZGlkLnJvaGl0Z3VsYXRpLmNvbS8iXX0sInR5cGUiOiJMaW5rZWREb21haW5zIn0seyJpZCI6Imh1YiIsInNlcnZpY2VFbmRwb2ludCI6eyJpbnN0YW5jZXMiOlsiaHR0cHM6Ly9iZXRhLmh1Yi5tc2lkZW50aXR5LmNvbS92MS4wL2E0OTJjZmYyLWQ3MzMtNDA1Ny05NWE1LWE3MWZjMz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FbmRwb2ludCI6eyJvcmlnaW5zIjpbImh0dHBzOi8vZGlkLnJvaGl0Z3VsYXRpLmNvbS8iXX0sInR5cGUiOiJMaW5rZWREb21haW5zIn0seyJpZCI6Imh1YiIsInNlcnZpY2VFbmRwb2ludCI6eyJpbnN0YW5jZXMiOlsiaHR0cHM6Ly9iZXRhLmh1Yi5tc2lkZW50aXR5LmNvbS92MS4wL2E0OTJjZmYyLWQ3MzMtNDA1Ny05NWE1LWE3MWZjMzY5NWJjOCJdfSwidHlwZSI6IklkZW50aXR5SHViIn1dfX1dLCJ1cGRhdGVDb21taXRtZW50IjoiRWlDcXRpZnUwSHg4RUVkbGlrVnZIWGpYZzRLb0pZZUV0cDdZeGlvRzVYWmRKZyJ9LCJzdWZmaXhEYXRhIjp7ImRlbHRhSGFzaCI6IkVpQ1NVQklmYTBXZHBXNm5oVTdNaHlSczRucTFDeEg1V1ZyUjVkUFZYV09MYmciLCJyZWNvdmVyeUNvbW1pdG1lbnQiOiJFaUF1cGoxRWZsOHdjWlRQZTI3X0lGWEJ3MjlzOEN5SXBRX3UzVkRwUmswdkNRIn19","id":"#66dd51fe0cac4f1aae812d0aa109bc2avcSigningKey-2e975","publicKeyJwk":{"kty":"EC","crv":"secp256k1","x":"j5T8KQ_C_HDlRmyE_ZpF9mlMQgpx7__0RPDxOVc8ukw","y":"zrl0VJYGZxU-qcekvJV84k9SlvI41jnw4n2M-V2px0c"},"type":"EcdsaSecp256k1VerificationKey2019"}],"service":[{"id":"#linkeddomains","serviceEndpoint":["https://did.rohitgulati.com"],"type":"LinkedDomains"}],"authentication":["#66dd51fe0cac4f1aae812d0aa109bc2avcSigningKey-2e975"],"assertionMethod":["#66dd51fe0cac4f1aae812d0aa109bc2avcSigningKey-2e975"]}
The text was updated successfully, but these errors were encountered:
DRK3
changed the title
Certain DID Doc resolutions fail to reparse
Certain DID Doc resolutions objects to reparse
Dec 17, 2022
DRK3
changed the title
Certain DID Doc resolutions objects to reparse
Certain DID documents fail to reparse
Dec 17, 2022
DRK3
changed the title
Certain DID documents fail to reparse
DID documents with services defined a certain way fail to reparse
Dec 17, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I managed to create a DID doc that can be parsed, then marshalled, but then fail to reparse.
To clarify, what I'm doing is:
See the following code (which contains the DID doc in question:
The error message is:
The text was updated successfully, but these errors were encountered: