model

package
v0.0.0-...-7e43e80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contact

type Contact struct {
	Email string `json:"email"`
}

type CredentialRequest

type CredentialRequest struct {
	Credentials []CredentialSubject
}

type CredentialSubject

type CredentialSubject struct {

	// The claims that will be generated with the credential
	Content interface{} `json:"content,omitempty"`

	// The evidence obtained from the validation of the claims, may be photos, physical documents, links, etc
	Evidence interface{} `json:"evidence,omitempty"`

	// credential expiration date
	// Format: date-time
	ExpirationDate strfmt.DateTime `json:"expirationDate,omitempty"`

	// credential issuance date
	// Format: date-time
	IssuanceDate strfmt.DateTime `json:"issuanceDate,omitempty"`

	// Credential Type
	Type string `json:"type,omitempty"`

	//Email
	Email string `json:"email"`
}

type Metadata

type Metadata struct {
	Title          string `json:"title"`
	Name           string `json:"name"`
	Organization   string `json:"organization"`
	Author         string `json:"author"`
	Document       string `json:"hash"`
	ExpirationDate string `json:"expirationDate"`
}

type ResponseCredential

type ResponseCredential struct {
	Id int `json:"id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL