<xsd:complexType name="ServiceNotification">
<xsd:annotation>
<xsd:documentation xml:lang="en">A type defining the content model for a message that allows a service to send a notification message to a user of the service.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="NotificationMessage">
<xsd:sequence>
<xsd:element name="serviceName" type="NormalizedString" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">The name of the service to which the message applies</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:choice>
<xsd:element name="status" type="ServiceStatus">
<xsd:annotation>
<xsd:documentation xml:lang="en">The current state of the service (e.g. Available, Unavailable).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="processingStatus" type="ServiceProcessingStatus">
<xsd:annotation>
<xsd:documentation xml:lang="en">A description of the stage of processing of the service, for example EndofDayProcessingCutoffOccurred, EndOfDayProcessingCompleted. [TBD: could be combined with advisory]</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="advisory" type="ServiceAdvisory">
<xsd:annotation>
<xsd:documentation xml:lang="en">A human-readable message providing information about the service..</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
|