-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodel_identity_chain.go
28 lines (26 loc) · 1.21 KB
/
model_identity_chain.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* Harmony Connect
*
* An easy to use API that helps you access the Factom blockchain.
*
* API version: 1.0.19
* Contact: harmony-support@factom.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package connectclient
type IdentityChain struct {
// The Identity Chain’s schema version. This details the format of this digital identity. More information about Factom Identity Chain schemas can be seen [here]().
Version string `json:"version"`
// The immutability stage that this chain has reached. The identity can be considered in use once it reaches the `factom` stage.
Stage string `json:"stage"`
// The block height at which this chain was written into the Factom blockchain. This is `null` if the chain has not reached the `factom` stage.
CreatedHeight int32 `json:"created_height,omitempty"`
// The Chain ID for this identity chain.
ChainId string `json:"chain_id"`
// A unique array of strings that are associated with this identity.
Name []string `json:"name"`
// Contains the currently active public keys for this identity.
ActiveKeys []IdentityKeyShort `json:"active_keys"`
// An API link to retrieve the keys for this identity.
AllKeysHref string `json:"all_keys_href"`
}