27 lines
701 B
1
// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3
package tangled
4
5
// schema: sh.tangled.publicKey
6
7
import (
8
"github.com/bluesky-social/indigo/lex/util"
9
)
10
11
const (
12
PublicKeyNSID = "sh.tangled.publicKey"
13
)
14
15
func init() {
16
util.RegisterType("sh.tangled.publicKey", &PublicKey{})
17
} //
18
// RECORDTYPE: PublicKey
19
type PublicKey struct {
20
LexiconTypeID string `json:"$type,const=sh.tangled.publicKey" cborgen:"$type,const=sh.tangled.publicKey"`
21
// created: key upload timestamp
22
Created string `json:"created" cborgen:"created"`
23
// key: public key contents
24
Key string `json:"key" cborgen:"key"`
25
// name: human-readable name for this key
26
Name string `json:"name" cborgen:"name"`
27
}
28