Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FuzzyCompletionsResponse ¶ added in v5.1.1
type FuzzyCompletionsResponse struct {
Data []struct {
Type string `json:"type"`
Attributes struct {
Value string `json:"value"`
} `json:"attributes"`
Relationships struct {
LEIRecords struct {
Data struct {
Type string `json:"type"`
ID string `json:"id"`
} `json:"data"`
Links struct {
Related string `json:"related"`
} `json:"links"`
} `json:"lei-records"`
} `json:"relationships"`
} `json:"data"`
}
func GLEIFSearchFuzzyCompletions ¶ added in v5.1.1
func GLEIFSearchFuzzyCompletions(ctx context.Context, name string) (*FuzzyCompletionsResponse, error)
GLEIFSearchFuzzyCompletions performs the fuzzy completion search for the given name.
type LEIAddress ¶ added in v5.1.1
type LEIAddress struct {
Language string `json:"language"`
AddressLines []string `json:"addressLines"`
AddressNumber string `json:"addressNumber"`
AddressNumberWithinBuilding string `json:"addressNumberWithinBuilding"`
MailRouting string `json:"mailRouting"`
City string `json:"city"`
Region string `json:"region"`
Country string `json:"country"`
PostalCode string `json:"postalCode"`
}
type LEIRecord ¶ added in v5.1.1
type LEIRecord struct {
Type string `json:"type"`
ID string `json:"id"`
Attributes struct {
LEI string `json:"lei"`
Entity struct {
LegalName struct {
Name string `json:"name"`
Language string `json:"language"`
} `json:"legalName"`
OtherNames []struct {
Name string `json:"name"`
Language string `json:"language"`
Type string `json:"type"`
} `json:"otherNames"`
TransliteratedOtherNames []struct {
Name string `json:"name"`
Language string `json:"language"`
Type string `json:"type"`
} `json:"transliteratedOtherNames"`
LegalAddress LEIAddress `json:"legalAddress"`
HeadquartersAddress LEIAddress `json:"headquartersAddress"`
RegisteredAt struct {
ID string `json:"id"`
Other string `json:"other"`
} `json:"registeredAt"`
RegisteredAs string `json:"registeredAs"`
Jurisdiction string `json:"jurisdiction"`
Category string `json:"category"`
LegalForm struct {
ID string `json:"id"`
Other string `json:"other"`
} `json:"legalForm"`
AssociatedEntity LEIEntity `json:"associatedEntity"`
Status string `json:"status"`
Expiration struct {
Date string `json:"date"`
Reason string `json:"reason"`
} `json:"expiration"`
SuccessorEntity LEIEntity `json:"successorEntity"`
SuccessorEntities []LEIEntity `json:"successorEntities"`
CreationDate string `json:"creationDate"`
SubCategory string `json:"subCategory"`
OtherAddresses []LEIAddress `json:"otherAddresses"`
EventGroups []struct {
GroupType string `json:"groupType"`
Events []struct {
ValidationDocuments string `json:"validationDocuments"`
ValidationReference string `json:"validationReference"`
EffectiveDate string `json:"effectiveDate"`
RecordedDate string `json:"recordedDate"`
Type string `json:"type"`
Status string `json:"status"`
} `json:"events"`
} `json:"eventGroups"`
} `json:"entity"`
Registration struct {
InitialRegistrationDate string `json:"initialRegistrationDate"`
LastUpdateDate string `json:"lastUpdateDate"`
Status string `json:"status"`
NextRenewalDate string `json:"nextRenewalDate"`
ManagingLOU string `json:"managingLou"`
CorroborationLevel string `json:"corroborationLevel"`
ValidatedAt struct {
ID string `json:"id"`
Other string `json:"other"`
} `json:"validatedAt"`
ValidatedAs string `json:"validatedAs"`
OtherValidationAuthorities []struct {
ValidatedAt struct {
ID string `json:"id"`
} `json:"validatedAt"`
ValidatedAs string `json:"validatedAs"`
} `json:"otherValidationAuthorities"`
} `json:"registration"`
BIC []string `json:"bic"`
MIC []string `json:"mic"`
OCID string `json:"ocid"`
SPGlobal []string `json:"spglobal"`
ConformityFlag string `json:"conformityFlag"`
} `json:"attributes"`
Relationships struct {
ManagingLOU struct {
Links LEIRelationshipLinks `json:"links"`
} `json:"managing-lou"`
LEIIssuer struct {
Links LEIRelationshipLinks `json:"links"`
} `json:"lei-issuer"`
FieldModifications struct {
Links LEIRelationshipLinks `json:"links"`
} `json:"field-modifications"`
DirectParent struct {
Links LEIRelationshipLinks `json:"links"`
} `json:"direct-parent"`
UltimateParent struct {
Links LEIRelationshipLinks `json:"links"`
} `json:"ultimate-parent"`
DirectChildren struct {
Links LEIRelationshipLinks `json:"links"`
} `json:"direct-children"`
UltimateChildren struct {
Links LEIRelationshipLinks `json:"links"`
} `json:"ultimate-children"`
FundManager struct {
Links LEIRelationshipLinks `json:"links"`
} `json:"fund-manager"`
ISINs struct {
Links LEIRelationshipLinks `json:"links"`
} `json:"isins"`
} `json:"relationships"`
Links struct {
Self string `json:"self"`
} `json:"links"`
}
func GLEIFGetDirectChildrenRecords ¶ added in v5.1.1
GLEIFGetDirectChildrenRecords retrieves the direct children LEI records for the given identifier.
func GLEIFGetDirectParentRecord ¶ added in v5.1.1
GLEIFGetDirectParentRecord retrieves the direct parent LEI record for the given identifier.
type LEIRelationshipLinks ¶ added in v5.1.1
type MultipleResponse ¶ added in v5.1.1
type MultipleResponse struct {
Meta struct {
GoldenCopy struct {
PublishDate string `json:"publishDate"`
} `json:"goldenCopy"`
Pagination struct {
CurrentPage int `json:"currentPage"`
PerPage int `json:"perPage"`
From int `json:"from"`
To int `json:"to"`
Total int `json:"total"`
LastPage int `json:"lastPage"`
} `json:"pagination"`
} `json:"meta"`
Links struct {
First string `json:"first"`
Next string `json:"next"`
Last string `json:"last"`
} `json:"links"`
Data []LEIRecord `json:"data"`
}
type SingleResponse ¶ added in v5.1.1
Click to show internal directories.
Click to hide internal directories.