-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(domain): add DID standard model #14
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See errors details in artifact MegaLinter reports on CI Job page |
9329431
to
5d9b327
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/// Represents a DID with ``DIDMethod`` and ``DIDMethodId`` | ||
/// As specified in [w3 standards](https://www.w3.org/TR/did-core/#dfn-did-schemes) | ||
public struct DID { | ||
public let schema: String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean scheme
? The rest LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well least from a English perspective it is a Schema
. But in W3 documents is written Scheme
xD
As nouns the difference between scheme and schema is that scheme is a systematic plan of future action while schema is an outline or image universally applicable to a general conception, under which it is likely to be presented to the mind.
d8d5413
to
331c65e
Compare
5d9b327
to
cc1f31b
Compare
No description provided.