<xsd:complexType name="pdbx_database_messageType">
<xsd:annotation>
<xsd:documentation xml:lang="en">The PDBX_DATABASE_MESSAGE category provides information about correspondance related to a structure deposition.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="pdbx_database_message" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:all>
<xsd:element name="content_type" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">This code defines the content of the message.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="DEPOSIT"/>
<xsd:enumeration value="REMINDER"/>
<xsd:enumeration value="QUERY"/>
<xsd:enumeration value="OTHER"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="date" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">This is the date when a message was sent or received.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="message" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The text of the message.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="message_type" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">Defines how the message was sent or received.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="FAX"/>
<xsd:enumeration value="EMAIL"/>
<xsd:enumeration value="MAIL"/>
<xsd:enumeration value="PHONE"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="receiver" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The name of the receiver.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="receiver_address_email" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The email address of the receiver.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="receiver_address_fax" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The FAX phone number of the receiver.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="receiver_address_mail" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The postal address of the receiver.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="receiver_address_phone" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The phone number of the receiver.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="sender" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The name of the sender.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="sender_address_email" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The email address of the sender.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="sender_address_fax" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The FAX phone number of the sender.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="sender_address_mail" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The postal address of the sender.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="sender_address_phone" minOccurs="0" maxOccurs="1" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The phone number of the sender.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
<xsd:attribute name="entry_id" use="required" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The value of attribute entry_id in category pdbx_database_message identifies the data block. BDL001</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="message_id" use="required" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">This is an unique and sequential identifier for a message. message 1</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType> |