iso20022_colr_004_001_04

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 AggregatedIndependentAmount1

type AggregatedIndependentAmount1 struct {
	Trad      IndependentAmount1   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Trad,omitempty"`
	ValAtRsk  IndependentAmount1   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 ValAtRsk,omitempty"`
	NetOpnPos IndependentAmount1   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 NetOpnPos,omitempty"`
	OthrAmt   []IndependentAmount2 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 OthrAmt,omitempty"`
}

type AgreedAmount1

type AgreedAmount1 struct {
	VartnMrgnAmt    Amount1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 VartnMrgnAmt"`
	SgrtdIndpdntAmt Amount1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 SgrtdIndpdntAmt,omitempty"`
}

type AgreedAmount1Choice

type AgreedAmount1Choice struct {
	AgrdAmtDtls     AgreedAmount1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AgrdAmtDtls,omitempty"`
	SgrtdIndpdntAmt Amount1       `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 SgrtdIndpdntAmt,omitempty"`
}

type Agreement4

type Agreement4 struct {
	AgrmtDtls  Max140Text                `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AgrmtDtls"`
	AgrmtId    Max140Text                `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AgrmtId,omitempty"`
	AgrmtDt    ISODate                   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AgrmtDt"`
	BaseCcy    ActiveCurrencyCode        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 BaseCcy"`
	AgrmtFrmwk AgreementFramework1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AgrmtFrmwk,omitempty"`
}

type AgreementFramework1Choice

type AgreementFramework1Choice struct {
	AgrmtFrmwk AgreementFramework1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AgrmtFrmwk,omitempty"`
	PrtryId    GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 PrtryId,omitempty"`
}

type AgreementFramework1Code

type AgreementFramework1Code string

May be one of FBAA, BBAA, DERV, ISDA, NONR

type Amount1

type Amount1 struct {
	AgrdAmt       ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AgrdAmt"`
	MrgnCallReqId Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 MrgnCallReqId"`
	AddtlInf      Max210Text              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AddtlInf,omitempty"`
}

type AnyBICIdentifier

type AnyBICIdentifier string

Must match the pattern [A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}

type Collateral1

type Collateral1 struct {
	VartnMrgn       MarginCollateral1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 VartnMrgn"`
	SgrtdIndpdntAmt MarginCollateral1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 SgrtdIndpdntAmt,omitempty"`
}

type CollateralAccount2

type CollateralAccount2 struct {
	Id Max35Text                                  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Id"`
	Tp CollateralAccountIdentificationType2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Tp,omitempty"`
	Nm Max70Text                                  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Nm,omitempty"`
}

type CollateralAccountIdentificationType2Choice

type CollateralAccountIdentificationType2Choice struct {
	Tp    CollateralAccountType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Tp,omitempty"`
	Prtry GenericIdentification36    `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Prtry,omitempty"`
}

type CollateralAccountType1Code

type CollateralAccountType1Code string

May be one of HOUS, CLIE, LIPR, MGIN, DFLT

type CollateralBalance1Choice

type CollateralBalance1Choice struct {
	TtlColl         ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 TtlColl,omitempty"`
	CollDtls        Collateral1             `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 CollDtls,omitempty"`
	SgrtdIndpdntAmt MarginCollateral1       `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 SgrtdIndpdntAmt,omitempty"`
}

type CountryCode

type CountryCode string

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

type DateAndDateTimeChoice

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

type Document

type Document struct {
	MrgnCallRspn MarginCallResponseV04 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 MrgnCallRspn"`
}

type Exact4AlphaNumericText

type Exact4AlphaNumericText string

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

type ExposureConventionType1Code

type ExposureConventionType1Code string

May be one of GROS, NET1

type ExposureType5Code

type ExposureType5Code string

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

type GenericIdentification30

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

type GenericIdentification36

type GenericIdentification36 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Id"`
	Issr    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Issr"`
	SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 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 IndependentAmount1

type IndependentAmount1 struct {
	Amt    ActiveCurrencyAndAmount              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Amt"`
	Cnvntn IndependentAmountConventionType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Cnvntn"`
}

type IndependentAmount2

type IndependentAmount2 struct {
	Desc   Max140Text                           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Desc,omitempty"`
	Amt    ActiveCurrencyAndAmount              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Amt"`
	Cnvntn IndependentAmountConventionType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Cnvntn"`
}

type IndependentAmountConventionType1Code

type IndependentAmountConventionType1Code string

May be one of NBTR, NATR, SEGR

type Margin1

type Margin1 struct {
	VartnMrgn           VariationMargin1                   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 VartnMrgn"`
	SgrtdIndpdntAmtMrgn SegregatedIndependentAmountMargin1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 SgrtdIndpdntAmtMrgn,omitempty"`
}

type MarginCall1

type MarginCall1 struct {
	XpsdAmtPtyA    ActiveCurrencyAndAmount      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 XpsdAmtPtyA,omitempty"`
	XpsdAmtPtyB    ActiveCurrencyAndAmount      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 XpsdAmtPtyB,omitempty"`
	XpsrCnvntn     ExposureConventionType1Code  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 XpsrCnvntn,omitempty"`
	IndpdntAmtPtyA AggregatedIndependentAmount1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 IndpdntAmtPtyA,omitempty"`
	IndpdntAmtPtyB AggregatedIndependentAmount1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 IndpdntAmtPtyB,omitempty"`
	MrgnTerms      MarginTerms1Choice           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 MrgnTerms,omitempty"`
	CollBal        CollateralBalance1Choice     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 CollBal,omitempty"`
}

type MarginCallResponse1Code

type MarginCallResponse1Code string

May be one of NVDA, RANT

type MarginCallResponseV04

type MarginCallResponseV04 struct {
	TxId           Max35Text            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 TxId"`
	Oblgtn         Obligation4          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Oblgtn"`
	Agrmt          Agreement4           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Agrmt,omitempty"`
	MrgnDtlsDueToA MarginCall1          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 MrgnDtlsDueToA,omitempty"`
	MrgnDtlsDueToB MarginCall1          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 MrgnDtlsDueToB,omitempty"`
	AgrdAmtDueToA  AgreedAmount1Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AgrdAmtDueToA,omitempty"`
	AgrdAmtDueToB  AgreedAmount1Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AgrdAmtDueToB,omitempty"`
	RspnDtls       Response1            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 RspnDtls,omitempty"`
	SplmtryData    []SupplementaryData1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 SplmtryData,omitempty"`
}

type MarginCollateral1

type MarginCollateral1 struct {
	HeldByPtyA    ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 HeldByPtyA,omitempty"`
	HeldByPtyB    ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 HeldByPtyB,omitempty"`
	PrrAgrdToPtyA ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 PrrAgrdToPtyA,omitempty"`
	PrrAgrdToPtyB ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 PrrAgrdToPtyB,omitempty"`
	InTrnstToPtyA ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 InTrnstToPtyA,omitempty"`
	InTrnstToPtyB ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 InTrnstToPtyB,omitempty"`
}

type MarginTerms1Choice

type MarginTerms1Choice struct {
	MrgnDtls            Margin1                            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 MrgnDtls,omitempty"`
	SgrtdIndpdntAmtMrgn SegregatedIndependentAmountMargin1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 SgrtdIndpdntAmtMrgn,omitempty"`
}

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 Max210Text

type Max210Text string

May be no more than 210 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 NameAndAddress6

type NameAndAddress6 struct {
	Nm  Max70Text      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Nm"`
	Adr PostalAddress2 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Adr"`
}

type Obligation4

type Obligation4 struct {
	PtyA       PartyIdentification100Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 PtyA"`
	SvcgPtyA   PartyIdentification100Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 SvcgPtyA,omitempty"`
	PtyB       PartyIdentification100Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 PtyB"`
	SvcgPtyB   PartyIdentification100Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 SvcgPtyB,omitempty"`
	CollAcctId CollateralAccount2           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 CollAcctId,omitempty"`
	XpsrTp     ExposureType5Code            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 XpsrTp,omitempty"`
	ValtnDt    DateAndDateTimeChoice        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 ValtnDt"`
}

type PartyIdentification100Choice

type PartyIdentification100Choice struct {
	AnyBIC   AnyBICIdentifier        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 AnyBIC,omitempty"`
	PrtryId  GenericIdentification36 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 PrtryId,omitempty"`
	NmAndAdr NameAndAddress6         `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 NmAndAdr,omitempty"`
}

type PostalAddress2

type PostalAddress2 struct {
	StrtNm      Max70Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 StrtNm,omitempty"`
	PstCdId     Max16Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 PstCdId"`
	TwnNm       Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 TwnNm"`
	CtrySubDvsn Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 CtrySubDvsn,omitempty"`
	Ctry        CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Ctry"`
}

type Response1

type Response1 struct {
	RspnTpDtls []ResponseType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 RspnTpDtls"`
	Desc       Max140Text            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Desc,omitempty"`
}

type ResponseType1Choice

type ResponseType1Choice struct {
	Cd    MarginCallResponse1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Cd,omitempty"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 Prtry,omitempty"`
}

type RoundingMethod1Code

type RoundingMethod1Code string

May be one of DRDW, DRUP, NONE, CLSR

type SegregatedIndependentAmountMargin1

type SegregatedIndependentAmountMargin1 struct {
	MinTrfAmt ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 MinTrfAmt"`
	RndgAmt   ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 RndgAmt,omitempty"`
	RndgMtd   RoundingMethod1Code     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 RndgMtd,omitempty"`
}

type SupplementaryData1

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

type SupplementaryDataEnvelope1

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

type ThresholdType1Code

type ThresholdType1Code string

May be one of SECU, UNSE

type VariationMargin1

type VariationMargin1 struct {
	ThrshldAmt ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 ThrshldAmt"`
	ThrshldTp  ThresholdType1Code      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 ThrshldTp,omitempty"`
	MinTrfAmt  ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 MinTrfAmt"`
	RndgAmt    ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 RndgAmt"`
	RndgMtd    RoundingMethod1Code     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.04 RndgMtd"`
}

Jump to

Keyboard shortcuts

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