Skip to content
Snippets Groups Projects
types.go 626 B
Newer Older
  • Learn to ignore specific revisions
  • // nolint:revive
    package design
    
    import . "goa.design/goa/v3/dsl"
    
    var CredentialProofRequest = Type("CredentialProofRequest", func() {
    
    	Field(1, "key", String, "Key to use for the proof signature (optional).", func() {
    		Example("key1")
    	})
    	Field(2, "credential", Bytes, "Verifiable Credential in JSON format.")
    	Required("credential")
    
    
    var PresentationProofRequest = Type("PresentationProofRequest", func() {
    	Field(1, "key", String, "Key to use for the proof signature (optional).", func() {
    		Example("key1")
    	})
    	Field(2, "presentation", Bytes, "Verifiable Presentation in JSON format.")
    	Required("presentation")
    })