Skip to content
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

Implement Metadata as per DID Spec #77

Merged
merged 1 commit into from
Feb 21, 2022
Merged

Conversation

arnabghose997
Copy link
Contributor

The metadata has been implemented, having the fields required as per the DID Spec.

Following is the current Format of DID Doc:

{
   "didDoc":{
      "did":{
         "context":[
            "https://www.w3.org/ns/did/v1",
            "https://w3id.org/security/v1",
            "https://schema.org",
            "something.com",
            "whatelse.com",
            "hypersign.id"
         ],
         "id":"did:hs:0f49341a-20ef-43d1-bc93-de30993e6c52",
         "controller":[
            "did:hs:0f49341a-20ef-43d1-bc93-de30993e6c52",
            "did:hs:0f49341a-20ef-43d1-bc93-de30993e6c51",
            "did:hs:0f49341a-20ef-43d1-bc93-de30993e6c53"
         ],
         "alsoKnownAs":[
            "did:hs:1f49341a-de30993e6c52"
         ],
         "verificationMethod":[
            {
               "id":"did:hs:0f49341a-20ef-43d1-bc93-de30993e6c52#z8BXg2zjwBRTrjPs7uCnkFBKrL9bPD14HxEJMENxm3CJ4",
               "type":"Ed25519VerificationKey2020",
               "controller":"did:hs:0f49341a-20ef-43d1-bc93-de30993e6c52",
               "publicKeyMultibase":"z8BXg2zjwBRTrjPs7uCnkFBKrL9bPD14HxEJMENxm3CJ4"
            }
         ],
         "authentication":[
            "did:hs:0f49341a-20ef-43d1-bc93-de30993e6c52#z8BXg2zjwBRTrjPs7uCnkFBKrL9bPD14HxEJMENxm3CJ4"
         ],
         "assertionMethod":[
            
         ],
         "keyAgreement":[
            
         ],
         "capabilityInvocation":[
            
         ],
         "capabilityDelegation":[
            
         ],
         "service":[
            
         ]
      },
      "metadata":{
         "created":"2022-02-21T12:16:53Z",
         "updated":"2022-02-21T12:17:11Z",
         "deactivated":false,
         "versionId":"FdIDvU4MiuYtYP0slhJ+hIYVybtzWL8qrCWyLnp3/iA="
      }
   }
}

@arnabghose997 arnabghose997 self-assigned this Feb 21, 2022
@arnabghose997 arnabghose997 added this to In progress in Hypersign Identity Network v0.0.3 via automation Feb 21, 2022
@arnabghose997 arnabghose997 linked an issue Feb 21, 2022 that may be closed by this pull request
@arnabghose997 arnabghose997 merged commit 2aab961 into v0.0.3 Feb 21, 2022
Hypersign Identity Network v0.0.3 automation moved this from In progress to Done Feb 21, 2022
@arnabghose997 arnabghose997 deleted the ssi-module-metadata branch February 21, 2022 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Implement DID meta data with didDoc; did versioning
1 participant