Message structure: OTC response (otcd.rsi.001.01)

Description:

OTC message response.

Structure:

No.

Or

< XML Tag >

Name

Multiplicity

Type

0

 

 KDPWDocument

KDPW system message

[1..1]

KDPWDocument

0.1

 

     otcd.rsi.001.01

OTC response

[1..n]

otcd.rsi.001.01

1

 

         GnlInf

General information

[1..1]

GeneralInformation

1.1

 

             SndrMsgRef

Sender message reference

[1..1]

Max16Text

1.2

 

             FuncOfMsg

Function of message

[1..1]

FunctionOfMessage

1.3

 

             CreDtTm

Creation date and time

[0..1]

DateAndDateTimeChoice

1.3.1

 { or

                 Dt

Date

[1..1]

ISODate

1.3.2

  or }

                 DtTm

Date and time

[1..1]

ISODateTime

1.4

 

             Lnk

Linkages

[0..1]

Linkages

1.4.1

 

                 RltdRef

Related reference

[0..1]

Max16Text

2

 

         MsgData

Message data

[1..1]

MessageData

2.1

 

             Status

Identifier

[1..1]

Code4Text

2.2

 

             Errors

Errors

[0..1]

xs:anyType

2.3

 

             Content

Content

[0..1]

xs:anyType



Message component elements:

KDPWDocument- KDPW system message (element)

Description

KDPW system message

Type

KDPWDocument

Source

<xs:element name="KDPWDocument" type="KDPWDocument" />

Code4Text- Qualifier (simple type)

Description

Qualifier, code

Type

Derivative of type: xs:string

Format

Min. length=4
Max. length=4

Source

<xs:simpleType name="Code4Text" >
  
<xs:restriction base="xs:string" >
    
<xs:whiteSpace value="collapse" />
    
<xs:minLength value="4" />
    
<xs:maxLength value="4" />
  
</xs:restriction>
</xs:simpleType>

 

FunctionOfMessage- Function of message (simple type)

Description

Function of message

Type

Derivative of type: xs:string

Format

Code

Description

NEWM

New message

Source

<xs:simpleType name="FunctionOfMessage" >
  
<xs:restriction base="xs:string" >
    
<xs:enumeration value="NEWM" />
  
</xs:restriction>
</xs:simpleType>

ISODate- Date (simple type)

Description

Date

Type

Derivative of type: xs:date

Format

Source

<xs:simpleType name="ISODate" >
  
<xs:restriction base="xs:date" >
  
</xs:restriction>
</xs:simpleType>

 

ISODateTime- Date and time (simple type)

Description

Date and time

Type

Derivative of type: xs:dateTime

Format

Source

<xs:simpleType name="ISODateTime" >
  
<xs:restriction base="xs:dateTime" >
  
</xs:restriction>
</xs:simpleType>

KDPWMemberIdentifier- KDPW member identifier (simple type)

Description

KDPW member identifier

Type

Derivative of type: xs:string

Format

Min. length=4
Max. length=4

Source

<xs:simpleType name="KDPWMemberIdentifier" >
  
<xs:restriction base="xs:string" >
    
<xs:whiteSpace value="collapse" />
    
<xs:minLength value="4" />
    
<xs:maxLength value="4" />
  
</xs:restriction>
</xs:simpleType>

 

Max16Text- Text (simple type)

Description

Maximum 16 characters text

Type

Derivative of type: xs:string

Format

Min. length=1
Max. length=16

Source

<xs:simpleType name="Max16Text" >
  
<xs:restriction base="xs:string" >
    
<xs:minLength value="1" />
    
<xs:maxLength value="16" />
  
</xs:restriction>
</xs:simpleType>

otcd.rsi.001.01- OTC instruction (complex type)

Description

OTC instruction

Component
elements

GnlInf
MsgData

Source

<xs:complexType name="otcd.rsi.001.01" >
  
<xs:sequence >
    
<xs:element name="GnlInf" type="GeneralInformation" />
    
<xs:element name="MsgData" type="MessageData" />
  
</xs:sequence>
</xs:complexType>

 

otcd.rsi.001.01/GnlInf- General information (element)

Description

General information

Type

GeneralInformation

Source

<xs:element name="GnlInf" type="GeneralInformation" />

otcd.rsi.001.01/MsgData- OTC message data (element)

Description

OTC message data

Type

MessageData

Source

<xs:element name="MsgData" type="MessageData" />

 

KDPWDocument- KDPW system message (complex type)

Description

KDPW system message

Attributes

Name

Description

Type

Sndr

Sender

KDPWMemberIdentifier

Rcvr

Receiver

KDPWMemberIdentifier

Component
elements

otcd.rsi.001.01{1,unbounded}

Source

<xs:complexType name="KDPWDocument" >
  
<xs:sequence >
    
<xs:element name="otcd.rsi.001.01" type="otcd.rsi.001.01" maxOccurs="unbounded" />
  
</xs:sequence>
  <
xs:attribute name="Sndr" type="KDPWMemberIdentifier" use="required" />
  <
xs:attribute name="Rcvr" type="KDPWMemberIdentifier" use="required" />
</xs:complexType>

 

KDPWDocument/otcd.rsi.001.01- OTC response (element)

Description

OTC response

Type

otcd.rsi.001.01

Source

<xs:element name="otcd.rsi.001.01" type="otcd.rsi.001.01" maxOccurs="unbounded" />

GeneralInformation- General information (complex type)

Description

General information

Component
elements

SndrMsgRef
FuncOfMsg
CreDtTm{0,1}
Lnk{0,1}

Source

<xs:complexType name="GeneralInformation" >
  
<xs:sequence >
    
<xs:element name="SndrMsgRef" type="Max16Text" />
    
<xs:element name="FuncOfMsg" type="FunctionOfMessage" />
    
<xs:element name="CreDtTm" type="DateAndDateTimeChoice" minOccurs="0" />
    
<xs:element name="Lnk" type="Linkages" minOccurs="0" />
  
</xs:sequence>
</xs:complexType>

 

GeneralInformation/SndrMsgRef- Sender message reference (element)

Description

Sender message reference

Type

Max16Text

Source

<xs:element name="SndrMsgRef" type="Max16Text" />

GeneralInformation/FuncOfMsg- Function of message (element)

Description

Function of message

Type

FunctionOfMessage

Source

<xs:element name="FuncOfMsg" type="FunctionOfMessage" />

 

GeneralInformation/CreDtTm- Creation date and time (element)

Description

Creation date and time

Type

DateAndDateTimeChoice

Source

<xs:element name="CreDtTm" type="DateAndDateTimeChoice" minOccurs="0" />

GeneralInformation/Lnk- Linkages (element)

Description

Linkages

Type

Linkages

Source

<xs:element name="Lnk" type="Linkages" minOccurs="0" />

 

Linkages- Linkages (complex type)

Description

Linkages

Component
elements

RltdRef{0,1}

Source

<xs:complexType name="Linkages" >
  
<xs:sequence >
    
<xs:element name="RltdRef" type="Max16Text" minOccurs="0" />
  
</xs:sequence>
</xs:complexType>

 

Linkages/RltdRef- Related reference (element)

Description

Related reference

Type

Max16Text

Source

<xs:element name="RltdRef" type="Max16Text" minOccurs="0" />

DateAndDateTimeChoice- Date and time (complex type)

Description

Date and time

Component
elements

Dt
DtTm

Source

<xs:complexType name="DateAndDateTimeChoice" >
  
<xs:sequence >
    
<xs:choice >
      
<xs:element name="Dt" type="ISODate" />
      
<xs:element name="DtTm" type="ISODateTime" />
    
</xs:choice>
  
</xs:sequence>
</xs:complexType>

 

DateAndDateTimeChoice/Dt- Date (element)

Description

Date

Type

ISODate

Source

<xs:element name="Dt" type="ISODate" />

DateAndDateTimeChoice/DtTm- Date and time (element)

Description

Date and time

Type

ISODateTime

Source

<xs:element name="DtTm" type="ISODateTime" />

 

MessageData- Message data (complex type)

Description

Message data

Component
elements

Status
Errors{0,1}
Content{0,1}

Source

<xs:complexType name="MessageData" >
  
<xs:sequence >
    
<xs:element name="Status" type="Code4Text" />
    
<xs:element name="Errors" type="xs:anyType" minOccurs="0" />
    
<xs:element name="Content" type="xs:anyType" minOccurs="0" />
  
</xs:sequence>
</xs:complexType>

 

MessageData/Status- Identifier (element)

Description

Sender message reference

Type

Code4Text

Source

<xs:element name="Status" type="Code4Text" />

MessageData/Errors- Errors (element)

Description

OTC instruction processing errors

Type

xs:anyType

Source

<xs:element name="Errors" type="xs:anyType" minOccurs="0" />

 

MessageData/Content- Content (element)

Description

Content

Type

xs:anyType

Source

<xs:element name="Content" type="xs:anyType" minOccurs="0" />