iso20022_colr_024_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 ActiveCurrencyAndAmount

type ActiveCurrencyAndAmount struct {
	Value float64            `xml:",chardata"`
	Ccy   ActiveCurrencyCode `xml:"Ccy,attr"`
}

type ActiveCurrencyCode

type ActiveCurrencyCode string

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

type ActiveOrHistoricCurrencyAndAmount

type ActiveOrHistoricCurrencyAndAmount struct {
	Value float64                      `xml:",chardata"`
	Ccy   ActiveOrHistoricCurrencyCode `xml:"Ccy,attr"`
}

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 AlternatePartyIdentification7

type AlternatePartyIdentification7 struct {
	IdTp    IdentificationType42Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 IdTp"`
	Ctry    CountryCode                `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Ctry"`
	AltrnId Max35Text                  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 AltrnId"`
}

type AmountAndDirection49

type AmountAndDirection49 struct {
	Amt                 ActiveCurrencyAndAmount           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Amt"`
	CdtDbtInd           CreditDebitCode                   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 CdtDbtInd,omitempty"`
	OrgnlCcyAndOrdrdAmt ActiveOrHistoricCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 OrgnlCcyAndOrdrdAmt,omitempty"`
	FXDtls              ForeignExchangeTerms23            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 FXDtls,omitempty"`
}

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 BlockChainAddressWallet3

type BlockChainAddressWallet3 struct {
	Id Max140Text              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Id"`
	Tp GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Tp,omitempty"`
	Nm Max70Text               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Nm,omitempty"`
}

type CollateralParties8

type CollateralParties8 struct {
	PtyA     PartyIdentificationAndAccount202 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 PtyA"`
	ClntPtyA PartyIdentificationAndAccount193 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 ClntPtyA,omitempty"`
	PtyB     PartyIdentificationAndAccount203 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 PtyB"`
	ClntPtyB PartyIdentificationAndAccount193 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 ClntPtyB,omitempty"`
	TrptyAgt PartyIdentification136           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 TrptyAgt,omitempty"`
}

type CollateralRole1Code

type CollateralRole1Code string

May be one of GIVE, TAKE

type CollateralTransactionType1Choice

type CollateralTransactionType1Choice struct {
	Cd    CollateralTransactionType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Cd,omitempty"`
	Prtry GenericIdentification30        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Prtry,omitempty"`
}

type CollateralTransactionType1Code

type CollateralTransactionType1Code string

May be one of AADJ, CDTA, CADJ, DADJ, DBVT, INIT, MADJ, PADJ, RATA, TERM

type CountryCode

type CountryCode string

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

type CreditDebitCode

type CreditDebitCode string

May be one of CRDT, DBIT

type DateAndDateTime2Choice

type DateAndDateTime2Choice struct {
	Dt   ISODate     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Dt,omitempty"`
	DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 DtTm,omitempty"`
}

type Document

type Document struct {
	TrptyCollAllgmtNtfctnCxlAdvc TripartyCollateralAllegementNotificationCancellationAdviceV01 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 TrptyCollAllgmtNtfctnCxlAdvc"`
}

type Exact4AlphaNumericText

type Exact4AlphaNumericText string

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

type ExposureType14Code

type ExposureType14Code string

May be one of BFWD, PAYM, CBCO, COMM, CRDS, CRTL, CRSP, CCIR, CRPR, EQPT, EQUS, EXTD, EXPT, FIXI, FORX, FORW, FUTR, OPTN, LIQU, OTCD, RVPO, SLOA, SBSC, SCRP, SLEB, SCIR, SCIE, SWPT, TBAS, TRCP, UDMS, CCPC, EQUI, TRBD, REPO, SHSL, MGLD

type ExposureType23Choice

type ExposureType23Choice struct {
	Cd    ExposureType14Code      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Cd,omitempty"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Prtry,omitempty"`
}

type ForeignExchangeTerms23

type ForeignExchangeTerms23 struct {
	UnitCcy  ActiveCurrencyCode      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 UnitCcy"`
	QtdCcy   ActiveCurrencyCode      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 QtdCcy"`
	XchgRate float64                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 XchgRate"`
	RsltgAmt ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 RsltgAmt"`
}

type GenericIdentification1

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

type GenericIdentification30

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

type GenericIdentification36

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

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 IdentificationType42Choice

type IdentificationType42Choice struct {
	Cd    TypeOfIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Cd,omitempty"`
	Prtry GenericIdentification30   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.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 Max52Text

type Max52Text string

May be no more than 52 items long

type Max70Text

type Max70Text string

May be no more than 70 items long

type NameAndAddress5

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

type PartyIdentification120Choice

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

type PartyIdentification136

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

type PartyIdentificationAndAccount193

type PartyIdentificationAndAccount193 struct {
	Id      PartyIdentification120Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Id"`
	LEI     LEIIdentifier                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 LEI,omitempty"`
	AltrnId AlternatePartyIdentification7 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 AltrnId,omitempty"`
}

type PartyIdentificationAndAccount202

type PartyIdentificationAndAccount202 struct {
	Id                 PartyIdentification120Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Id"`
	LEI                LEIIdentifier                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 LEI,omitempty"`
	AltrnId            AlternatePartyIdentification7 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 AltrnId,omitempty"`
	SfkpgAcct          SecuritiesAccount19           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 SfkpgAcct,omitempty"`
	BlckChainAdrOrWllt BlockChainAddressWallet3      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 BlckChainAdrOrWllt,omitempty"`
	AcctOwnr           PartyIdentification136        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 AcctOwnr,omitempty"`
	PtyCpcty           TradingPartyCapacity5Choice   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 PtyCpcty,omitempty"`
}

type PartyIdentificationAndAccount203

type PartyIdentificationAndAccount203 struct {
	Id                 PartyIdentification120Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Id"`
	LEI                LEIIdentifier                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 LEI,omitempty"`
	AltrnId            AlternatePartyIdentification7 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 AltrnId,omitempty"`
	SfkpgAcct          SecuritiesAccount19           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 SfkpgAcct,omitempty"`
	BlckChainAdrOrWllt BlockChainAddressWallet3      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 BlckChainAdrOrWllt,omitempty"`
	PtyCpcty           TradingPartyCapacity5Choice   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 PtyCpcty,omitempty"`
}

type PostalAddress1

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

type SecuritiesAccount19

type SecuritiesAccount19 struct {
	Id Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Id"`
	Tp GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Tp,omitempty"`
	Nm Max70Text               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Nm,omitempty"`
}

type SupplementaryData1

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

type SupplementaryDataEnvelope1

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

type TradingCapacity7Code

type TradingCapacity7Code string

May be one of AGEN, PRIN

type TradingPartyCapacity5Choice

type TradingPartyCapacity5Choice struct {
	Cd    TradingCapacity7Code    `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Cd,omitempty"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 Prtry,omitempty"`
}

type TransactionIdentifications44

type TransactionIdentifications44 struct {
	TrptyAgtSvcPrvdrCollInstrId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 TrptyAgtSvcPrvdrCollInstrId"`
	TrptyAgtSvcPrvdrCollTxId    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 TrptyAgtSvcPrvdrCollTxId,omitempty"`
	ClntCollInstrId             Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 ClntCollInstrId,omitempty"`
	ClntCollTxId                Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 ClntCollTxId,omitempty"`
	CtrPtyCollInstrId           Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 CtrPtyCollInstrId,omitempty"`
	CtrPtyCollTxId              Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 CtrPtyCollTxId,omitempty"`
	CmonTxId                    Max52Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 CmonTxId,omitempty"`
}

type TripartyCollateralAllegementNotificationCancellationAdviceV01

type TripartyCollateralAllegementNotificationCancellationAdviceV01 struct {
	TxInstrId      TransactionIdentifications44     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 TxInstrId"`
	CollTxTp       CollateralTransactionType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 CollTxTp"`
	XpsrTp         ExposureType23Choice             `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 XpsrTp"`
	CollSd         CollateralRole1Code              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 CollSd"`
	ElgbltySetPrfl GenericIdentification1           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 ElgbltySetPrfl,omitempty"`
	CollPties      CollateralParties8               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 CollPties"`
	TxAmt          AmountAndDirection49             `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 TxAmt,omitempty"`
	ReqdExctnDt    DateAndDateTime2Choice           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 ReqdExctnDt,omitempty"`
	SplmtryData    SupplementaryData1               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.024.001.01 SplmtryData,omitempty"`
}

type TypeOfIdentification1Code

type TypeOfIdentification1Code string

May be one of ARNU, CCPT, CHTY, CORP, DRLC, FIIN, TXID

Jump to

Keyboard shortcuts

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