github.com/hyperledger/aries-framework-go@v0.3.2/pkg/store/verifiable/models.go (about)

     1  /*
     2  Copyright SecureKey Technologies Inc. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package verifiable
     8  
     9  // Record model containing name, ID and other fields of interest.
    10  type Record struct {
    11  	Name      string   `json:"name,omitempty"`
    12  	ID        string   `json:"id,omitempty"`
    13  	Context   []string `json:"context,omitempty"`
    14  	Type      []string `json:"type,omitempty"`
    15  	SubjectID string   `json:"subjectId,omitempty"`
    16  	// MyDID and TheirDID contains information about participants who were involved in the process
    17  	// of issuing a credential or presentation.
    18  	MyDID    string `json:"my_did,omitempty"`
    19  	TheirDID string `json:"their_did,omitempty"`
    20  }