iso20022_reda_010_001_01

package
v0.0.0-...-2e988c5 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveOrHistoricCurrencyCode

type ActiveOrHistoricCurrencyCode string

Must match the pattern [A-Z]{3,3}

type AddressType2Code

type AddressType2Code string

May be one of ADDR, PBOX, HOME, BIZZ, MLTO, DLVY

type AnyBICDec2014Identifier

type AnyBICDec2014Identifier string

Must match the pattern [A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}

type CFIOct2015Identifier

type CFIOct2015Identifier string

Must match the pattern [A-Z]{6,6}

type CountryCode

type CountryCode string

Must match the pattern [A-Z]{2,2}

type DatePeriod2

type DatePeriod2 struct {
	FrDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 FrDt"`
	ToDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 ToDt"`
}

type DatePeriodSearch1Choice

type DatePeriodSearch1Choice struct {
	FrDt   ISODate     `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 FrDt,omitempty"`
	ToDt   ISODate     `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 ToDt,omitempty"`
	FrToDt DatePeriod2 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 FrToDt,omitempty"`
	EQDt   ISODate     `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 EQDt,omitempty"`
	NEQDt  ISODate     `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 NEQDt,omitempty"`
}

type Document

type Document struct {
	SctyQry SecurityQueryV01 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 SctyQry"`
}

type Exact4AlphaNumericText

type Exact4AlphaNumericText string

Must match the pattern [a-zA-Z0-9]{4}

type ExternalFinancialInstrumentIdentificationType1Code

type ExternalFinancialInstrumentIdentificationType1Code string

May be no more than 4 items long

type GenericIdentification1

type GenericIdentification1 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Id"`
	SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 SchmeNm,omitempty"`
	Issr    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Issr,omitempty"`
}

type GenericIdentification30

type GenericIdentification30 struct {
	Id      Exact4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Id"`
	Issr    Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Issr"`
	SchmeNm Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 SchmeNm,omitempty"`
}

type GenericIdentification36

type GenericIdentification36 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Id"`
	Issr    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Issr"`
	SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 SchmeNm,omitempty"`
}

type ISIN2021Identifier

type ISIN2021Identifier string

Must match the pattern [A-Z]{2,2}[A-Z0-9]{9,9}[0-9]{1,1}

type ISODate

type ISODate time.Time

func (ISODate) MarshalText

func (t ISODate) MarshalText() ([]byte, error)

func (*ISODate) UnmarshalText

func (t *ISODate) UnmarshalText(text []byte) error

type ISODateTime

type ISODateTime time.Time

func (ISODateTime) MarshalText

func (t ISODateTime) MarshalText() ([]byte, error)

func (*ISODateTime) UnmarshalText

func (t *ISODateTime) UnmarshalText(text []byte) error

type IdentificationSource3Choice

type IdentificationSource3Choice struct {
	Cd    ExternalFinancialInstrumentIdentificationType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Cd,omitempty"`
	Prtry Max35Text                                          `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Prtry,omitempty"`
}

type LEIIdentifier

type LEIIdentifier string

Must match the pattern [A-Z0-9]{18,18}[0-9]{2,2}

type Max140Text

type Max140Text string

May be no more than 140 items long

type Max16Text

type Max16Text string

May be no more than 16 items long

type Max350Text

type Max350Text string

May be no more than 350 items long

type Max35Text

type Max35Text string

May be no more than 35 items long

type Max70Text

type Max70Text string

May be no more than 70 items long

type MessageHeader1

type MessageHeader1 struct {
	MsgId   Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 MsgId"`
	CreDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 CreDtTm,omitempty"`
}

type NameAndAddress5

type NameAndAddress5 struct {
	Nm  Max350Text     `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Nm"`
	Adr PostalAddress1 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Adr,omitempty"`
}

type OtherIdentification1

type OtherIdentification1 struct {
	Id  Max35Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Id"`
	Sfx Max16Text                   `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Sfx,omitempty"`
	Tp  IdentificationSource3Choice `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Tp"`
}

type PartyIdentification120Choice

type PartyIdentification120Choice struct {
	AnyBIC   AnyBICDec2014Identifier `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 AnyBIC,omitempty"`
	PrtryId  GenericIdentification36 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 PrtryId,omitempty"`
	NmAndAdr NameAndAddress5         `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 NmAndAdr,omitempty"`
}

type PartyIdentification136

type PartyIdentification136 struct {
	Id  PartyIdentification120Choice `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Id"`
	LEI LEIIdentifier                `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 LEI,omitempty"`
}

type PostalAddress1

type PostalAddress1 struct {
	AdrTp       AddressType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 AdrTp,omitempty"`
	AdrLine     []Max70Text      `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 AdrLine,omitempty"`
	StrtNm      Max70Text        `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 StrtNm,omitempty"`
	BldgNb      Max16Text        `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 BldgNb,omitempty"`
	PstCd       Max16Text        `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 PstCd,omitempty"`
	TwnNm       Max35Text        `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 TwnNm,omitempty"`
	CtrySubDvsn Max35Text        `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 CtrySubDvsn,omitempty"`
	Ctry        CountryCode      `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Ctry"`
}

type SecuritiesReturnCriteria1

type SecuritiesReturnCriteria1 struct {
	FinInstrmId       bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 FinInstrmId"`
	ISOSctyLngNm      bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 ISOSctyLngNm"`
	ISOSctyShrtNm     bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 ISOSctyShrtNm"`
	ClssfctnFinInstrm bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 ClssfctnFinInstrm"`
	MtrtyDt           bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 MtrtyDt"`
	IsseDt            bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 IsseDt"`
	IsseCcy           bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 IsseCcy"`
	CtryOfIsse        bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 CtryOfIsse"`
	SctySts           bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 SctySts"`
	InvstrCSD         bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 InvstrCSD"`
	IssrCSD           bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 IssrCSD"`
	TechIssrCSD       bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 TechIssrCSD"`
	CSD               bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 CSD"`
	SctiesQtyTp       bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 SctiesQtyTp"`
	MinDnmtn          bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 MinDnmtn"`
	MinMltplQty       bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 MinMltplQty"`
	DevtgSttlmUnit    bool `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 DevtgSttlmUnit"`
}

type SecuritiesSearchCriteria4

type SecuritiesSearchCriteria4 struct {
	FinInstrmId       SecurityIdentification39         `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 FinInstrmId,omitempty"`
	ClssfctnFinInstrm CFIOct2015Identifier             `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 ClssfctnFinInstrm,omitempty"`
	MtrtyDt           DatePeriodSearch1Choice          `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 MtrtyDt,omitempty"`
	IsseDt            DatePeriodSearch1Choice          `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 IsseDt,omitempty"`
	IsseCcy           ActiveOrHistoricCurrencyCode     `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 IsseCcy,omitempty"`
	CtryOfIsse        CountryCode                      `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 CtryOfIsse,omitempty"`
	SctySts           SecurityStatus3Choice            `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 SctySts,omitempty"`
	MntngCSD          SystemPartyIdentification2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 MntngCSD,omitempty"`
	InvstrCSD         SystemPartyIdentification2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 InvstrCSD,omitempty"`
	IssrCSD           SystemPartyIdentification2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 IssrCSD,omitempty"`
	TechIssrCSD       SystemPartyIdentification2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 TechIssrCSD,omitempty"`
	CSD               SystemPartyIdentification2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 CSD,omitempty"`
}

type SecurityIdentification39

type SecurityIdentification39 struct {
	ISIN   ISIN2021Identifier     `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 ISIN,omitempty"`
	OthrId []OtherIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 OthrId,omitempty"`
	Desc   Max140Text             `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Desc,omitempty"`
}

type SecurityQueryV01

type SecurityQueryV01 struct {
	MsgHdr        MessageHeader1            `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 MsgHdr,omitempty"`
	ReqTp         GenericIdentification1    `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 ReqTp,omitempty"`
	SchCrit       SecuritiesSearchCriteria4 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 SchCrit"`
	SmlSetRtrCrit SecuritiesReturnCriteria1 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 SmlSetRtrCrit,omitempty"`
	SplmtryData   []SupplementaryData1      `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 SplmtryData,omitempty"`
}

type SecurityStatus2Code

type SecurityStatus2Code string

May be one of ACTV, INAC, SUSP

type SecurityStatus3Choice

type SecurityStatus3Choice struct {
	Cd    SecurityStatus2Code     `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Cd,omitempty"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Prtry,omitempty"`
}

type SupplementaryData1

type SupplementaryData1 struct {
	PlcAndNm Max350Text                 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 PlcAndNm,omitempty"`
	Envlp    SupplementaryDataEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Envlp"`
}

type SupplementaryDataEnvelope1

type SupplementaryDataEnvelope1 struct {
	Item string `xml:",any"`
}

type SystemPartyIdentification2Choice

type SystemPartyIdentification2Choice struct {
	OrgId   PartyIdentification136     `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 OrgId,omitempty"`
	CmbndId SystemPartyIdentification8 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 CmbndId,omitempty"`
}

type SystemPartyIdentification8

type SystemPartyIdentification8 struct {
	Id           PartyIdentification136 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 Id"`
	RspnsblPtyId PartyIdentification136 `xml:"urn:iso:std:iso:20022:tech:xsd:reda.010.001.01 RspnsblPtyId,omitempty"`
}

Jump to

Keyboard shortcuts

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