<xs:simpleType name="UnitIDType"><xs:annotation><xs:documentation>UnitID represents the device unique identifier. This could be the device MAC address.</xs:documentation></xs:annotation><xs:restriction base="xs:string"><xs:length value="12"/></xs:restriction></xs:simpleType>
This is the payload of the AppMsg. Each message must contain 1 or more AppMsgBlocks. Each AppMsgBlock will have an inheirited PEID from the Applcation Message Header along with an EPSID for unique identification. The AppMsgBlock can contain multiple AppReportBlocks each with its own EventID for identification.
<xs:complexType name="ApplicationMessageBlockType"><xs:annotation><xs:documentation>This is the payload of the AppMsg. Each message must contain 1 or more AppMsgBlocks. Each AppMsgBlock will have an inheirited PEID from the Applcation Message Header along with an EPSID for unique identification. The AppMsgBlock can contain multiple AppReportBlocks each with its own EventID for identification.</xs:documentation></xs:annotation><xs:sequence><xs:element name="EPSID" type="com:EpsidType"/><xs:element name="AppReportBlock" type="ApplicationReportBlockType" minOccurs="1" maxOccurs="unbounded"/></xs:sequence></xs:complexType>
<xs:complexType name="ApplicationReportBlockType"><xs:annotation><xs:documentation>AppReportBlocks are the finest level of reporting. They allow reporting at the EventID level.</xs:documentation></xs:annotation><xs:sequence><xs:element name="EventID" type="com:EventIDType" minOccurs="0"/><xs:element name="UserInput" type="com:UserInputType" minOccurs="0"/><xs:element name="Parameters" type="com:ParametersType" minOccurs="0"/></xs:sequence><xs:attributeGroup ref="com:RelativeTimeAttributeGroup"/></xs:complexType>
<xs:group name="ApplicationMessageHeaderGroup"><xs:annotation><xs:documentation>This group contains the data elements representing the Header of ab Application Message. The header info appears exactly once in each message. It is constructed from the following elements, each contracted to save space: MS - MinSchemaVersionType (Replaces ProtocolVersion as the common schema/protocol versioning element across all interfaces) UID - Unit ID PEID - Programming Event ID GID - Geographic ID/Code T - Timestamp (Timestamp is a reference time in UTC (YYYY-MM-DDThh:mm:ss.mm) that is sent with each message so that each Event carried in an Application Message can reference times in a more compact format specifically as an offset of the reference time. Note: The common TimestampType from CommonTypes.xsd is not used here as Applcaition messaging requires a more compact timing scheme.</xs:documentation></xs:annotation><xs:sequence><xs:element name="Version" type="com:VersionType"/><xs:element name="UnitID" type="UnitIDType"/><xs:element name="GeoCode" type="com:GeographicCodeType"/><xs:element name="PEID" type="com:PeidType"/><xs:element name="Timestamp" type="xs:dateTime"/></xs:sequence></xs:group>