<?xml version="1.0" encoding="UTF-8"?>
<!-- Minor Version 1.1 - 2008-04
	- added WSDL root element names
-->
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
    targetNamespace="http://www.nrf-arts.org/UnifiedPOS/FiscalPrinterEvents/"
    xmlns="http://www.nrf-arts.org/UnifiedPOS/FiscalPrinterEvents/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!--============-->
    <!-- Extension mechanism -->
    <!--============-->
    <xs:simpleType name="IXREnumerationExtension">
        <xs:restriction base="xs:string">
            <xs:pattern value="[0-9A-Za-z][0-9A-Za-z]*:[A-Z][0-9A-Za-z]*"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypeCodeExtension">
        <xs:restriction base="IXREnumerationExtension"/>
    </xs:simpleType>
    <!--
		Enumerated type for  CommonData Action Type Codes attribute
	-->
    <xs:simpleType name="ActionCommonDataTypeCodes">
        <xs:union memberTypes="ActionCommonDataTypeCodesEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="ActionCommonDataTypeCodesEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="Begin"/>
            <xs:enumeration value="Cancel"/>
            <xs:enumeration value="Complete"/>
            <xs:enumeration value="Create"/>
            <xs:enumeration value="Delete"/>
            <xs:enumeration value="Dispatch"/>
            <xs:enumeration value="Lookup"/>
            <xs:enumeration value="Initiate"/>
            <xs:enumeration value="Instruction"/>
            <xs:enumeration value="Information"/>
            <xs:enumeration value="PartialCancel"/>
            <xs:enumeration value="PartialComplete"/>
            <xs:enumeration value="Read"/>
            <xs:enumeration value="Request"/>
            <xs:enumeration value="Update"/>
            <xs:enumeration value="Add"/>
            <xs:enumeration value="Subtract"/>
            <xs:enumeration value="Replace"/>
        </xs:restriction>
    </xs:simpleType>
    <!--
		Enumerated type for Business Unit Type attribute
	-->
    <xs:simpleType name="BusinessUnitTypeCode">
        <xs:union memberTypes="BusinessUnitTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="BusinessUnitTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="RetailStore"/>
            <xs:enumeration value="DistributionCenter"/>
            <xs:enumeration value="AdministrationCenter"/>
            <xs:enumeration value="CallCenter"/>
            <xs:enumeration value="WebSite"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="BusinessUnitCommonData">
        <xs:annotation>
            <xs:documentation>Business Unit Common Data Node describing the location.     Contains
                one or more of RetailStore, DistributionCenter, InventoryLocation and
                AdminstrativeCenter.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute form="unqualified" name="Name" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The name of the business unit</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute default="RetailStore" form="unqualified" name="TypeCode"
                    type="BusinessUnitTypeCode" use="optional"/>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:simpleType name="OrganizationTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="Corporation"/>
            <xs:enumeration value="OperatingCompany">
                <xs:annotation>
                    <xs:documentation> separate legal entity which conducts retail operations for
                        the retail enterprise in some geographical location. It may be treated as a
                        division internally - yet it is still a separate legal
                        entity</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Concept">
                <xs:annotation>
                    <xs:documentation>a unique line of business within a
                        corporation</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="RevenueCenter">
                <xs:annotation>
                    <xs:documentation>Any area of a store from which particular revenues can be said
                        to derive</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Region"/>
            <xs:enumeration value="Department">
                <xs:annotation>
                    <xs:documentation>A grouping of items with similar point of sale control and
                        processing attributes. This entity type may also be used to control sales
                        that are not properly identified at the item-level.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Division">
                <xs:annotation>
                    <xs:documentation>an administrative unit in a large store which certain retail
                        functions have been grouped</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="District"/>
            <xs:enumeration value="Zone"/>
            <xs:enumeration value="DistributionCenter">
                <xs:annotation>
                    <xs:documentation>A warehouse or other storage facility that receives
                        merchandise in bulk from Suppliers and supplies merchandise to RetailStores.
                        It may be co-located at the same Site as a RetailStore or
                        AdministrativeCenter.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="AdministrationCenter">
                <xs:annotation>
                    <xs:documentation>A group of offices at which the retail enterprise conducts
                        administrative (non-selling) operations. May be co-located at a Site with
                        RetailStore, DistributionCenter, or InventoryLocation.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="RetailStore">
                <xs:annotation>
                    <xs:documentation>A retail outlet that sells merchandise and services through
                        either a physical location, catalog, web page or other channel. It may or
                        may not be identical to a Site. It may be co-located at the same Site as a
                        DistributionCenter, InventoryLocation or
                        AdministrativeCenter.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="OrganizationHierarchyCommonData">
        <xs:annotation>
            <xs:documentation>organizational hierarchy so that destination can be targeted to
                individual location, region, division etc, not to be confused with reporting the
                entire hierarchy as is done with the Organizational Hierarchy Structure - i.e. an
                instance of an organization hierarchy at a particular level.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute form="unqualified" name="Level" type="OrganizationTypeCodeEnumeration"
                    use="optional"/>
                <xs:attribute form="unqualified" name="ID" type="xs:string" use="optional"/>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <!-- 
		Date Time Enumeration
	-->
    <xs:simpleType name="DateTimeType">
        <xs:union memberTypes="DateTimeTypeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="DateTimeTypeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="Message"/>
            <xs:enumeration value="Cancel"/>
            <xs:enumeration value="ActualStart"/>
            <xs:enumeration value="Effective"/>
            <xs:enumeration value="ExpectedDue"/>
            <xs:enumeration value="ExpectedStart"/>
            <xs:enumeration value="Dispatch"/>
            <xs:enumeration value="Expiration"/>
            <xs:enumeration value="Business"/>
            <xs:enumeration value="Start"/>
            <xs:enumeration value="End"/>
            <xs:enumeration value="Receipt"/>
            <xs:enumeration value="Transaction"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="DateTimeCommonData">
        <xs:simpleContent>
            <xs:extension base="xs:dateTime">
                <xs:attribute default="Message" form="unqualified" name="TypeCode"
                    type="DateTimeType" use="optional"/>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <!-- 
		Severity Type Codes
	-->
    <xs:simpleType name="SeverityCodeType">
        <xs:union memberTypes="SeverityCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="SeverityCodeEnumeration">
        <xs:restriction base="xs:string">
            <xs:enumeration value="Information"/>
            <xs:enumeration value="Warning"/>
            <xs:enumeration value="Error"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="SequenceNumberType">
        <xs:restriction base="xs:unsignedLong">
            <xs:minInclusive value="0"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- 
		email type codes 
	-->
    <xs:simpleType name="IFSFTypeCode">
        <xs:union memberTypes="IFSFTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="IFSFTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="Autosafe"/>
            <xs:enumeration value="BankNoteAcceptor"/>
            <xs:enumeration value="CarWash"/>
            <xs:enumeration value="CardHandling"/>
            <xs:enumeration value="CodeGeneratingDevice"/>
            <xs:enumeration value="COPT"/>
            <xs:enumeration value="DeliveryControl"/>
            <xs:enumeration value="Dispenser"/>
            <xs:enumeration value="EnvironmentalMonitor"/>
            <xs:enumeration value="ForecourtPinPad"/>
            <xs:enumeration value="ForecourtPrinter"/>
            <xs:enumeration value="ForecourtPricePole"/>
            <xs:enumeration value="HumanInterfaceDevice"/>
            <xs:enumeration value="LineLeakDetector"/>
            <xs:enumeration value="MagCardReader"/>
            <xs:enumeration value="TankLevelGauge"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- 
		Minor Release V1.1.0 - Oct 2007
		- Added ElectronicValueReaderWriter
	-->
    <xs:simpleType name="UnifiedPOSTypeCode">
        <xs:union memberTypes="UnifiedPOSTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="UnifiedPOSTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="Belt"/>
            <xs:enumeration value="BillAcceptor"/>
            <xs:enumeration value="BillDispenser"/>
            <xs:enumeration value="Biometrics"/>
            <xs:enumeration value="BumpBar"/>
            <xs:enumeration value="CashChanger"/>
            <xs:enumeration value="CashDrawer"/>
            <xs:enumeration value="CAT"/>
            <xs:enumeration value="CheckScanner"/>
            <xs:enumeration value="CoinAcceptor"/>
            <xs:enumeration value="CoinDispenser"/>
            <xs:enumeration value="ElectronicJournal"/>
            <xs:enumeration value="ElectronicValueReaderWriter"/>
            <xs:enumeration value="FiscalPrinter"/>
            <xs:enumeration value="Gate"/>
            <xs:enumeration value="HardTotals"/>
            <xs:enumeration value="ImageScanner"/>
            <xs:enumeration value="ItemDispenser"/>
            <xs:enumeration value="Keylock"/>
            <xs:enumeration value="Light"/>
            <xs:enumeration value="LineDisplay"/>
            <xs:enumeration value="MagneticStripeReader"/>
            <xs:enumeration value="MICR"/>
            <xs:enumeration value="MotionSensor"/>
            <xs:enumeration value="PinPad"/>
            <xs:enumeration value="PointcardReaderWriter"/>
            <xs:enumeration value="POSKeyboard"/>
            <xs:enumeration value="POSPower"/>
            <xs:enumeration value="POSPrinter"/>
            <xs:enumeration value="RemoteOrderDisplay"/>
            <xs:enumeration value="RFIDScanner"/>
            <xs:enumeration value="Scale"/>
            <xs:enumeration value="Scanner"/>
            <xs:enumeration value="SignatureCapture"/>
            <xs:enumeration value="SmartCardReader"/>
            <xs:enumeration value="ToneIndicator"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NAFEMTypeCode">
        <xs:union memberTypes="NAFEMTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="NAFEMTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="Dispensing"/>
            <xs:enumeration value="FoodPreparation"/>
            <xs:enumeration value="FrozenDessertsBeverages"/>
            <xs:enumeration value="FrozenDessertsSteamers"/>
            <xs:enumeration value="GriddlesGrills"/>
            <xs:enumeration value="HoldingCabinets"/>
            <xs:enumeration value="HotBeverages"/>
            <xs:enumeration value="HVAC"/>
            <xs:enumeration value="IceEquipment"/>
            <xs:enumeration value="Measurement"/>
            <xs:enumeration value="Ovens"/>
            <xs:enumeration value="Refrigeration"/>
            <xs:enumeration value="SecuritySystem"/>
            <xs:enumeration value="TemperatureFryer"/>
            <xs:enumeration value="Timers"/>
            <xs:enumeration value="Toasters"/>
            <xs:enumeration value="Ventilation"/>
            <xs:enumeration value="WareWashing"/>
            <xs:enumeration value="WasteSystems"/>
            <xs:enumeration value="Weighing"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- 
		email type codes 
	-->
    <xs:simpleType name="LonMarkTypeCode">
        <xs:union memberTypes="LonMarkTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="LonMarkTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="Industrial"/>
            <xs:enumeration value="EnergyManagement"/>
            <xs:enumeration value="HVAC"/>
            <xs:enumeration value="Lighting"/>
            <xs:enumeration value="Refrigeration"/>
            <xs:enumeration value="Sensors"/>
            <xs:enumeration value="MotorControls"/>
            <xs:enumeration value="InputOutput"/>
            <xs:enumeration value="AccessIntrusionMonitoring"/>
            <xs:enumeration value="FireAndSmoke"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- 
		email type codes 
	-->
    <xs:simpleType name="IETFTypeCode">
        <xs:union memberTypes="IETFTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="IETFTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="UPS"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- 
		email type codes 
	-->
    <xs:simpleType name="REMTypeCode">
        <xs:union memberTypes="REMTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="REMTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="Heartbeat"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="EventCommonData">
        <xs:sequence>
            <xs:element form="qualified" name="SequenceNumber" type="SequenceNumberType">
                <xs:annotation>
                    <xs:documentation>The event message’s auto-incrementing sequence number so that
                        the messages can be ordered and duplicates can be detected.  Each producer
                        should use its own sequence number, which should
                        rollover.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="EventDateTime">
                <xs:annotation>
                    <xs:documentation>The date, time, and time zone when the event occurred from the
                        producer’s perspective.  Millisecond granularity.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="DateTimeCommonData"/>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element form="qualified" minOccurs="0" name="EventDescription" type="xs:string">
                <xs:annotation>
                    <xs:documentation>A description of the event.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" minOccurs="0" name="SourceName" type="xs:string">
                <xs:annotation>
                    <xs:documentation>Logical name of the event producer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:element form="qualified" name="SourceURI" type="xs:string"/>
                <xs:element form="qualified" name="SensorID" type="SensorIDType"/>
            </xs:choice>
            <xs:element form="qualified" minOccurs="0" name="Instance" type="xs:string">
                <xs:annotation>
                    <xs:documentation>In the case of multiple instances of a producing application,
                        the instance number so that each producer can be unique.  This may be the
                        process ID for convenience.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" minOccurs="0" name="BusinessUnit">
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="BusinessUnitCommonData"/>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element form="qualified" minOccurs="0" name="OrganizationalHierarchy">
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="OrganizationHierarchyCommonData"/>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute form="unqualified" name="Priority" type="xs:integer" use="optional">
            <xs:annotation>
                <xs:documentation>Used for prioritizing messages in the queue.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute form="unqualified" name="Severity" type="SeverityCodeType" use="optional">
            <xs:annotation>
                <xs:documentation>The Severity is the basic priority of the message. This is defined
                    in ISO 2382.  Enumeration - Information - data about the condition the event is
                    reporting, e.g.temperature of a freezer or chiller - Warning - an indication of
                    a condition which may develop into a fault at a later time - Fault – Error
                    requiring immediate attention. </xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute default="Production" form="unqualified" name="Mode" type="EventModeTypeCodes">
            <xs:annotation>
                <xs:documentation>TestMode, TrainingMode, or ProductionMode</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SensorIDType">
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute form="unqualified" name="REM" type="REMTypeCode"/>
                <xs:attribute form="unqualified" name="UnifiedPOS"
                    type="UnifiedPOSTypeCodeEnumeration"/>
                <xs:attribute form="unqualified" name="IFSF" type="IFSFTypeCode"/>
                <xs:attribute form="unqualified" name="IETF" type="IETFTypeCode"/>
                <xs:attribute form="unqualified" name="NAFEM" type="NAFEMTypeCode"/>
                <xs:attribute form="unqualified" name="LonMark" type="LonMarkTypeCode"/>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:simpleType name="EventModeTypeCodes">
        <xs:union memberTypes="EventModeTypeCodesEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="EventModeTypeCodesEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="Test"/>
            <xs:enumeration value="Training"/>
            <xs:enumeration value="Production"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:group name="FiscalPrinterPropertiesGroup">
        <xs:choice>
            <xs:element default="FPTR_AC_OTHER" form="qualified" name="ActualCurrency"
                nillable="true" type="CurrencyTypeCode">
                <xs:annotation>
                    <xs:documentation>Holds a value identifying which actual currency is used by the
                        Fiscal Printer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="AdditionalHeader" nillable="true" type="xs:string">
                <xs:annotation>
                    <xs:documentation>Specifies a user specific text which will be printed on the
                        receipt after the fixed header lines when calling the beginFiscalReceipt
                        method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="AdditionalTrailer" nillable="true" type="xs:string">
                <xs:annotation>
                    <xs:documentation>Specifies a user specific text which will be printed on the
                        receipt after the fiscal trailer lines when calling the endFiscalReceipt
                        method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="AmountDecimalPlaces" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the number of decimal digits that the fiscal device uses
                        for calculations.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="AsyncMode" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then some print methods such as
                        printRecItemAdjustment, printRecItem, printNormal, etc. will be performed
                        asynchronously. If false, they will be performed
                        synchronously.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapAdditionalHeader"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer is able to print application
                        specific text defined in the AdditionalHeader property after printing the
                        fixed header lines.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapAdditionalLines" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports the printing of
                        application defined lines on a fiscal receipt between the total line and the
                        end of the fiscal receipt.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapAdditionalTrailer"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer is able to print application
                        specific text defined in the AdditionalTrailer property after printing the
                        fiscal trailer lines.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="true" form="qualified" name="CapAmountAdjustment" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer handles fixed amount
                        discounts or fixed amount surcharges on items.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapChangeDue" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, the text to be printed as the cash return description
                        when using printRecTotal method can be defined in the ChangeDue
                        property.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapCheckTotal" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then automatic comparison of the Fiscal Printer’s
                        total and the application’s total can be enabled and disabled. If false,
                        then the automatic comparison cannot be enabled or disabled, meaning that
                        the property CheckTotal can not be changed and is
                        read-only.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="true" form="qualified" name="CapCoverSensor" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer has a “cover open”
                        sensor.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapDoubleWidth" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer can print double width
                        characters.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapDuplicateReceipt"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer allows printing more than one
                        copy of the same fiscal receipt.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapEmptyReceiptIsVoidable"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is allowed to void an opened receipt without
                        any items.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapFiscalReceiptStation"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports printing
                        transactions on the station defined by the FiscalReceiptStation
                        property.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="true" form="qualified" name="CapFiscalReceiptType"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports printing different
                        types of fiscal receipts defined by the FiscalReceiptType
                        property.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapFixedOutput" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports fixed format text
                        printing through the beginFixedOutput, printFixedOutput and endFixedOutput
                        methods.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="true" form="qualified" name="CapHasVatTable" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer has a tax
                        table.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapIndependentHeader"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports printing the fiscal
                        receipt header lines before the first fiscal receipt command is
                        processed.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapItemList" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer can print a report of items
                        of a specified VAT class.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapMultiContractor" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports more than one
                        contractor assigned to the fiscal receipt and items.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapNonFiscalMode" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer allows printing in non-fiscal
                        mode.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapOnlyVoidLastItem"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then only the last printed item can be
                        voided.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapOrderAdjustmentFirst"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If false, the application has to call printRecItem first and
                        then call printRecItemAdjustment to give a discount or a surcharge for a
                        single article.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapPackageAdjustment"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, an adjustment may be given to a package of booked
                        items.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapPercentAdjustment"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer handles percentage discounts
                        or percentage surcharges on items.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapPositiveAdjustment"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is possible to apply surcharges via the
                        printRecItemAdjustment method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapPositiveSubtotalAdjustment"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is possible to apply surcharges via the
                        printRecSubtoalAdjustment method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapPostPreLine" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports printing additional
                        lines defined by the PostLine and/or the PreLine properties when calling
                        some printRec... methods.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapPowerLossReport" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer can print a power loss report
                        using the printPowerLossReport method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapPredefinedPaymentLines"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, the Fiscal Printer can store and print predefined
                        payment descriptions.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapReceiptNotPaid" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports using the
                        printRecNotPaid method to specify a part of the receipt total that is not
                        paid.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapRemainingFiscalMemory"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports using the
                        RemainingFiscalMemory property to show the amount of Fiscal Memory
                        remaining. If false, the Fiscal Printer does not support reporting the
                        Fiscal Memory status of the Fiscal Printer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapReservedWord" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer prints a reserved word (for
                        example, “TOTALE”) before printing the total amount.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapSetCurrency" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer is able to change the
                        currency to a new one by calling the setCurrency method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="true" form="qualified" name="CapSetHeader" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is possible to use the setHeaderLine method
                        to initialize the contents of a particular line of the receipt
                        header.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapSetPOSID" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is possible to use the setPOSID method to
                        initialize the values of POSID and CashierID. These values are printed on
                        each fiscal receipt.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapSetStoreFiscalID"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is possible to use the setStoreFiscalID
                        method to set up the Fiscal ID number which will be printed on each fiscal
                        receipt.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapSetTrailer" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is possible to use the setTrailerLine method
                        to initialize the contents of a particular line of the receipt
                        trailer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="true" form="qualified" name="CapSetVatTable" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is possible to use the setVatValue and
                        setVatTable methods to modify the contents of the Fiscal Printer’s VAT
                        table. Some Fiscal Printers may not allow existing VAT table entries to be
                        modified. Only new entries may be set on these Fiscal
                        Printers.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="true" form="qualified" name="CapSubAmountAdjustment"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer handles fixed amount
                        discounts on the subtotal.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapSubPercentAdjustment"
                type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer handles percentage discounts
                        on the subtotal.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="true" form="qualified" name="CapSubtotal" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is possible to use the printRecSubtotal
                        method to print the current subtotal.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapTotalizerType" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports reading different
                        types of totalizers by calling the getTotalizer method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapTrainingMode" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer supports a training
                        mode.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapValidateJournal" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is possible to use the printNormal method to
                        print a validation string on the journal station</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="CapXReport" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then it is possible to use the printXReport method to
                        print an X report.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="ChangeDue" nillable="true" type="xs:string">
                <xs:annotation>
                    <xs:documentation>This property holds the text to be printed as a description
                        for the cash return when using the printRecTotal method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="CheckTotal" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, automatic comparison between the Fiscal Printer’s
                        total and the application’s total is enabled. If false, automatic comparison
                        is disabled.  This property can be changed if CapCheckTotal is true.
                        Otherwise, it is readonly.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="FPTR_CID_SINGLE" form="qualified" name="ContractorID"
                nillable="true" type="ContractorIDTypeCode">
                <xs:annotation>
                    <xs:documentation>The identification of the contractor to whom the receipt
                        and/or some items of the receipt are assigned. It is used to define
                        different header lines to be printed on the fiscal receipt, in order to
                        assign any item to a specific contractor and to modify the counters and
                        totalizers to be read using getData and getTotalizer
                        methods.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="FPTR_CC_OTHER" form="qualified" name="CountryCode" nillable="true"
                type="CountryCodeTypeCode">
                <xs:annotation>
                    <xs:documentation>Holds a value identifying which countries are supported by the
                        Fiscal Printer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="CoverOpen" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the Fiscal Printer’s cover is
                        open.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="FPTR_DT_RTC" form="qualified" name="DateType" nillable="true"
                type="DateTypeCode">
                <xs:annotation>
                    <xs:documentation>Specifies the type of date to be requested when calling the
                        getDate method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="DayOpened" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the fiscal day has been started on the Fiscal
                        Printer by a first call to the beginFiscalReceipt or beginFiscalDocument
                        method at a fiscal period (day).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="DescriptionLength" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the maximum number of characters that may be passed as a
                        description parameter.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="DuplicateReceipt" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, all the printing commands inside a fiscal receipt
                        will be buffered and they can be printed again via the printDuplicateReceipt
                        method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="FPTR_EL_NONE" form="qualified" name="ErrorLevel" nillable="true"
                type="ErrorLevelTypeCode">
                <xs:annotation>
                    <xs:documentation>Holds the severity of the error condition.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="ErrorOutID" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the identifier of the output in the queue which caused
                        an ErrorEvent, when using asynchronous printing.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="ErrorState" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the current state of the Fiscal Printer when an
                        ErrorEvent is delivered for an asynchronous output.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="FPTR_S_JOURNAL_RECEIPT" form="qualified" name="ErrorStation"
                nillable="true" type="ErrorStationTypeCode">
                <xs:annotation>
                    <xs:documentation>Holds the station or stations that were printing when an error
                        was detected.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="ErrorString" nillable="true" type="xs:string">
                <xs:annotation>
                    <xs:documentation>Holds a vendor-supplied description of the current
                        error.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="FPTR_RS_RECEIPT" form="qualified" name="FiscalReceiptStation"
                nillable="true" type="ReceiptStationTypeCode">
                <xs:annotation>
                    <xs:documentation>Selects the station where the transaction of the fiscal
                        receipt started with beginFiscalReceipt method will be
                        printed.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="FPTR_RT_SALES" form="qualified" name="FiscalReceiptType"
                nillable="true" type="ReceiptTypeCode">
                <xs:annotation>
                    <xs:documentation>Selects the type of the fiscal receipt.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="FlagWhenIdle" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, a StatusUpdateEvent will be enqueued when the device
                        is in the idle state.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="MessageLength" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the maximum number of characters that may be passed as a
                        message line in the method printRecMessage. The value may change in
                        different modes of the Fiscal Printer. For example in the mode “Fiscal
                        Receipt” the number of characters may be bigger than in the mode “Fiscal
                        Receipt Total.”</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="NumHeaderLines" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the maximum number of header lines that can be printed
                        for each fiscal receipt. Header lines usually contain information such as
                        store address, store name, store Fiscal ID.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="NumTrailerLines" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the maximum number of trailer lines that can be printed
                        for each fiscal receipt. Trailer lines are usually promotional
                        messages.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="NumVatRates" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the maximum number of vat rates that can be entered into
                        the Fiscal Printer’s Vat table.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="PostLine" nillable="true" type="xs:string">
                <xs:annotation>
                    <xs:documentation>An application specific text to be printed on the fiscal
                        receipt after a line item invoked by some printRec...
                        methods.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="PredefinedPaymentLines" nillable="true"
                type="xs:string">
                <xs:annotation>
                    <xs:documentation>Holds the list of all possible words to be used as indexes of
                        the predefined payment lines (for example, “a, b, c, d, z”). Those indexes
                        are used in the printRecTotal method for the description
                        parameter.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="PreLine" nillable="true" type="xs:string">
                <xs:annotation>
                    <xs:documentation>An application specific text to be printed on the fiscal
                        receipt before a line item invoked by some printRec...
                        methods.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="PrinterState" nillable="true"
                type="PrinterStateTypeCode">
                <xs:annotation>
                    <xs:documentation>Holds the Fiscal Printer’s current operational state. This
                        property controls which methods are currently legal.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="FPTR_MT_FREE_TEXT" form="qualified" name="PrintingMessageType"
                nillable="true" type="PrinterMessageTypeCode">
                <xs:annotation>
                    <xs:documentation>Selects the kind of message to be printed when using the
                        printRecMessage method</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="QuantityDecimalPlaces" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the number of decimal digits in the fractional part that
                        should be assumed to be in any quantity parameter</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="QuantityLength" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the maximum number of digits that may be passed as a
                        quantity parameter, including both the whole and fractional
                        parts.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="RemainingFiscalMemory" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the remaining counter of Fiscal
                        Memory.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="ReservedWord" nillable="true" type="xs:string">
                <xs:annotation>
                    <xs:documentation>Holds the string that is automatically printed with the total
                        when the printRecTotal method is called. This word may not occur in any
                        string that is passed into any fiscal output methods.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="FPTR_TT_GRAND" form="qualified" name="TotalizerType"
                nillable="true" type="TotalizerTypeCode">
                <xs:annotation>
                    <xs:documentation>Specifies the type of totalizer to be requested when calling
                        the getTotalizer method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="TrainingModeActive" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Holds the current Fiscal Printer's operational state
                        concerning the training mode. Training mode allows all fiscal commands, but
                        each receipt is marked as nonfiscal and no internal Fiscal Printer registers
                        are updated with any data while in training mode. Some countries' fiscal
                        rules require that all blank characters on a training mode receipt be
                        printed as some other character. Italy, for example, requires that all
                        training mode receipts print a “?” instead of a blank.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="JournalStation" type="PrinterStationType"/>
            <xs:element form="qualified" name="ReceiptStation" type="PrinterStationType"/>
            <xs:element form="qualified" name="SlipStation" type="SlipStationType"/>
        </xs:choice>
    </xs:group>
    <xs:complexType name="PrinterStationType">
        <xs:choice maxOccurs="unbounded">
            <xs:element form="qualified" name="CapEmptySensor" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the journal, slip or receipt has an out-of-paper
                        sensor.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="CapNearEndSensor" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the journal, slip or receipt has a low paper
                        sensor.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="CapPresent" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the journal, slip or receipt print station is
                        present.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="Empty" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, the journal, slip or receipt is out of paper. If
                        false, journal, slip or receipt paper is present.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="NearEnd" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, the journal, slip, or receipt paper is low. If false,
                        journal, slip, or receipt paper is not low.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="SlipStationType">
        <xs:complexContent>
            <xs:extension base="PrinterStationType">
                <xs:choice maxOccurs="unbounded">
                    <xs:element default="FPTR_SS_FULL_LENGTH" form="qualified" name="SlipSelection"
                        nillable="true" type="SlipSelectionTypeCode">
                        <xs:annotation>
                            <xs:documentation>Selects the kind of document to be printed on the slip
                                station.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element default="false" form="qualified" name="CapSlpFiscalDocument"
                        type="xs:boolean">
                        <xs:annotation>
                            <xs:documentation>If true, then the Fiscal Printer allows fiscal
                                printing to the slip station.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element default="false" form="qualified" name="CapSlpFullSlip"
                        type="xs:boolean">
                        <xs:annotation>
                            <xs:documentation>If true, then the Fiscal Printer supports printing
                                full length forms on the slip station.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element default="false" form="qualified" name="CapSlpValidation"
                        type="xs:boolean">
                        <xs:annotation>
                            <xs:documentation>If true, then the Fiscal Printer supports printing
                                validation information on the slip station.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:choice>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:simpleType name="CurrencyTypeCode">
        <xs:union memberTypes="CurrencyTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="CurrencyTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_AC_BRC "/>
            <xs:enumeration value="FPTR_AC_BGL"/>
            <xs:enumeration value="FPTR_AC_CZK"/>
            <xs:enumeration value="FPTR_AC_EUR"/>
            <xs:enumeration value="FPTR_AC_GRD"/>
            <xs:enumeration value="FPTR_AC_HUF"/>
            <xs:enumeration value="FPTR_AC_ITL"/>
            <xs:enumeration value="FPTR_AC_PLZ"/>
            <xs:enumeration value="FPTR_AC_ROL"/>
            <xs:enumeration value="FPTR_AC_RUR"/>
            <xs:enumeration value="FPTR_AC_SEK"/>
            <xs:enumeration value="FPTR_AC_TRL"/>
            <xs:enumeration value="FPTR_AC_UAH"/>
            <xs:enumeration value="FPTR_AC_OTHER"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ContractorIDTypeCode">
        <xs:union memberTypes="ContractorIDTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="ContractorIDTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_CID_FIRST "/>
            <xs:enumeration value="FPTR_CID_SECOND"/>
            <xs:enumeration value="FPTR_CID_SINGLE"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="CountryCodeTypeCode">
        <xs:union memberTypes="CountryCodeTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="CountryCodeTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_CC_BRAZIL "/>
            <xs:enumeration value="FPTR_CC_BULGARIA"/>
            <xs:enumeration value="FPTR_CC_CZECH_REPUBLIC"/>
            <xs:enumeration value="FPTR_CC_GERMANY"/>
            <xs:enumeration value="FPTR_CC_GREECE"/>
            <xs:enumeration value="FPTR_CC_HUNGARY"/>
            <xs:enumeration value="FPTR_CC_ITALY"/>
            <xs:enumeration value="FPTR_CC_POLAND"/>
            <xs:enumeration value="FPTR_CC_ROMANIA"/>
            <xs:enumeration value="FPTR_CC_RUSSIA"/>
            <xs:enumeration value="FPTR_CC_SWEDEN"/>
            <xs:enumeration value="FPTR_CC_TURKEY"/>
            <xs:enumeration value="FPTR_CC_UKRAINE"/>
            <xs:enumeration value="FPTR_CC_OTHER"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="DateTypeCode">
        <xs:union memberTypes="DateTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="DateTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_DT_CONF "/>
            <xs:enumeration value="FPTR_DT_EOD"/>
            <xs:enumeration value="FPTR_DT_RESET"/>
            <xs:enumeration value="FPTR_DT_RTC"/>
            <xs:enumeration value="FPTR_DT_VAT"/>
            <xs:enumeration value="FPTR_DT_START"/>
            <xs:enumeration value="FPTR_DT_TICKET_START"/>
            <xs:enumeration value="FPTR_DT_TICKET_END"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ErrorLevelTypeCode">
        <xs:union memberTypes="ErrorLevelTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="ErrorLevelTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_EL_NONE "/>
            <xs:enumeration value="FPTR_EL_RECOVERABLE"/>
            <xs:enumeration value="FPTR_EL_FATAL"/>
            <xs:enumeration value="FPTR_EL_BLOCKED"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ErrorStationTypeCode">
        <xs:union memberTypes="ErrorStationTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="ErrorStationTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_S_JOURNAL "/>
            <xs:enumeration value="FPTR_S_RECEIPT"/>
            <xs:enumeration value="FPTR_S_SLIP"/>
            <xs:enumeration value="FPTR_S_JOURNAL_RECEIPT"/>
            <xs:enumeration value="FPTR_S_JOURNAL_SLIP"/>
            <xs:enumeration value="FPTR_S_RECEIPT_SLIP"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ReceiptStationTypeCode">
        <xs:union memberTypes="ReceiptStationTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="ReceiptStationTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_RS_RECEIPT "/>
            <xs:enumeration value="FPTR_RS_SLIP"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ReceiptTypeCode">
        <xs:union memberTypes="ReceiptTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="ReceiptTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_RT_CASH_IN "/>
            <xs:enumeration value="FPTR_RT_CASH_OUT"/>
            <xs:enumeration value="FPTR_RT_GENERIC "/>
            <xs:enumeration value="FPTR_RT_SALES"/>
            <xs:enumeration value="FPTR_RT_SERVICE "/>
            <xs:enumeration value="FPTR_RT_SIMPLE_INVOICE"/>
            <xs:enumeration value="FPTR_RT_REFUND "/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PrinterMessageTypeCode">
        <xs:union memberTypes="PrinterMessageTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="PrinterMessageTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_MT_ADVANCE"/>
            <xs:enumeration value="FPTR_MT_ADVANCE_PAID"/>
            <xs:enumeration value="FPTR_MT_AMOUNT_TO_BE_PAID"/>
            <xs:enumeration value="FPTR_MT_AMOUNT_TO_BE_PAID_BACK"/>
            <xs:enumeration value="FPTR_MT_CARD"/>
            <xs:enumeration value="FPTR_MT_CARD_NUMBER"/>
            <xs:enumeration value="FPTR_MT_CARD_TYPE"/>
            <xs:enumeration value="FPTR_MT_CASH"/>
            <xs:enumeration value="FPTR_MT_CASHIER"/>
            <xs:enumeration value="FPTR_MT_CASH_REGISTER_NUMBER"/>
            <xs:enumeration value="FPTR_MT_CHANGE"/>
            <xs:enumeration value="FPTR_MT_CHEQUE"/>
            <xs:enumeration value="FPTR_MT_CLIENT_NUMBER"/>
            <xs:enumeration value="FPTR_MT_CLIENT_SIGNATURE"/>
            <xs:enumeration value="FPTR_MT_COUNTER_STATE"/>
            <xs:enumeration value="FPTR_MT_CREDIT_CARD"/>
            <xs:enumeration value="FPTR_MT_CURRENCY"/>
            <xs:enumeration value="FPTR_MT_CURRENCY_VALUE"/>
            <xs:enumeration value="FPTR_MT_DEPOSIT"/>
            <xs:enumeration value="FPTR_MT_DEPOSIT_RETURNED"/>
            <xs:enumeration value="FPTR_MT_DOT_LINE"/>
            <xs:enumeration value="FPTR_MT_DRIVER_NUMB"/>
            <xs:enumeration value="FPTR_MT_EMPTY_LINE"/>
            <xs:enumeration value="FPTR_MT_FREE_TEXT"/>
            <xs:enumeration value="FPTR_MT_FREE_TEXT_WITH_DAY_LIMIT"/>
            <xs:enumeration value="FPTR_MT_GIVEN_DISCOUNT"/>
            <xs:enumeration value="FPTR_MT_LOCAL_CREDIT"/>
            <xs:enumeration value="FPTR_MT_MILEAGE_KM"/>
            <xs:enumeration value="FPTR_MT_NOTE"/>
            <xs:enumeration value="FPTR_MT_PAID"/>
            <xs:enumeration value="FPTR_MT_PAY_IN"/>
            <xs:enumeration value="FPTR_MT_POINT_GRANTED"/>
            <xs:enumeration value="FPTR_MT_POINTS_BONUS"/>
            <xs:enumeration value="FPTR_MT_POINTS_RECEIPT"/>
            <xs:enumeration value="FPTR_MT_POINTS_TOTAL"/>
            <xs:enumeration value="FPTR_MT_PROFITED"/>
            <xs:enumeration value="FPTR_MT_RATE"/>
            <xs:enumeration value="FPTR_MT_REGISTER_NUMB"/>
            <xs:enumeration value="FPTR_MT_SHIFT_NUMBER"/>
            <xs:enumeration value="FPTR_MT_STATE_OF_AN_ACCOUNT"/>
            <xs:enumeration value="FPTR_MT_SUBSCRIPTION"/>
            <xs:enumeration value="FPTR_MT_TABLE"/>
            <xs:enumeration value="FPTR_MT_THANK_YOU_FOR_LOYALTY"/>
            <xs:enumeration value="FPTR_MT_TRANSACTION_NUMB"/>
            <xs:enumeration value="FPTR_MT_VALID_TO"/>
            <xs:enumeration value="FPTR_MT_VOUCHER"/>
            <xs:enumeration value="FPTR_MT_VOUCHER_PAID"/>
            <xs:enumeration value="FPTR_MT_VOUCHER_VALUE"/>
            <xs:enumeration value="FPTR_MT_WITH_DISCOUNT"/>
            <xs:enumeration value="FPTR_MT_WITHOUT_UPLIFT"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PrinterStateTypeCode">
        <xs:union memberTypes="PrinterStateTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="PrinterStateTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_PS_MONITOR "/>
            <xs:enumeration value="FPTR_PS_FISCAL_RECEIPT"/>
            <xs:enumeration value="FPTR_PS_FISCAL_RECEIPT_TOTAL"/>
            <xs:enumeration value="FPTR_PS_FISCAL_RECEIPT_ENDING"/>
            <xs:enumeration value="FPTR_PS_FISCAL_DOCUMENT"/>
            <xs:enumeration value="FPTR_PS_FIXED_OUTPUT"/>
            <xs:enumeration value="FPTR_PS_ITEM_LIST"/>
            <xs:enumeration value="FPTR_PS_NONFISCAL"/>
            <xs:enumeration value="FPTR_PS_LOCKED"/>
            <xs:enumeration value="FPTR_PS_REPORT"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="SlipSelectionTypeCode">
        <xs:union memberTypes="SlipSelectionTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="SlipSelectionTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_SS_FULL_LENGTH "/>
            <xs:enumeration value="FPTR_SS_VALIDATION"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TotalizerTypeCode">
        <xs:union memberTypes="TotalizerTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="TotalizerTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_TT_DOCUMENT "/>
            <xs:enumeration value="FPTR_TT_DAY"/>
            <xs:enumeration value="FPTR_TT_RECEIPT"/>
            <xs:enumeration value="FPTR_TT_GRAND"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:group name="XMLPOSCommonPropertiesGroup">
        <xs:choice>
            <xs:element default="false" form="qualified" name="AutoDisable" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>if true, the UnifiedPOS Service will set DeviceEnabled to
                        false after it receives and enqueus data as a DataEvent.  Before any
                        additional input can be received, the application must be set DeviceEnabled
                        to true.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="CapCompareFirmwareVersion" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the service/device supports comparing the
                        version of the firmware in the physical device against that of a firmware
                        file.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="CapPowerReporting" type="CapPowerReportingTypeCode">
                <xs:annotation>
                    <xs:documentation>Identifies the reporting capabilities of the
                        device</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="CapStatisticsReporting" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, the device accumulates and can provide various
                        statistics regarding usage; otherwise no usage statistics are
                        accumulated.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="CapUpdateFirmware" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, then the device's firmware can be updated via the
                        UpdateFirmware method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="CapUpdateStatistics" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>if true, the device statistics, or some of the statistics, can
                        be reset to zero using the ResetStatistics method, or updated using the
                        UpdateStatistics method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="CheckHealthText" nillable="true" type="xs:string">
                <xs:annotation>
                    <xs:documentation>Holds the results of the most recent call to the CheckHealth
                        method.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="Claimed" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, the device is claimed for exclusive access.  If
                        false, the device is released for sharing with other
                        applications.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="0" form="qualified" name="DataCount" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the number of enqueued Data Events.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="DataEventEnabled" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, a Data Event will be delivered as soon as input data
                        is enqueued.  If changed to true and some input data is already queued, then
                        a Data Event is delivered immediately.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="DeviceControlDescription" nillable="true"
                type="xs:string">
                <xs:annotation>
                    <xs:documentation>Holds an identifier for the UnifiedPOS Control and the company
                        that produced it.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="DeviceControlVersion" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the UnifiedPOS Control version number</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="DeviceEnabled" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, the device is in an operational state.  If changed to
                        true, then the device is bought to an operational state.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="DeviceServiceDescription" nillable="true"
                type="xs:string">
                <xs:annotation>
                    <xs:documentation>Holds an identifier for the UnifiedPOS Service and the company
                        that produced it.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="DeviceServiceVersion" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Holds the UnifiedPOS Service version number</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="false" form="qualified" name="FreezeEvents" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, the UnifiedPOS control will not deliver events.
                        Events will be enqueued until this property is set to
                        false.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="OutputID" nillable="true" type="xs:int">
                <xs:annotation>
                    <xs:documentation>Identifier of the most recently started asynchronous
                        output</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="PhysicalDeviceDescription" nillable="true"
                type="xs:string">
                <xs:annotation>
                    <xs:documentation>Holds an identifier for the physical device</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="PhysicalDeviceName" nillable="true" type="xs:string">
                <xs:annotation>
                    <xs:documentation>Holds a short name identifying the physical
                        device.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="PN_DISABLED" form="qualified" name="PowerNotify"
                type="PowerNotifyTypeCode">
                <xs:annotation>
                    <xs:documentation>Contains the type of power notification selection made by the
                        application.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element default="PS_UNKNOWN" form="qualified" name="PowerState"
                type="PowerStateTypeCode">
                <xs:annotation>
                    <xs:documentation>Identifies the current power condition of the device, if it
                        can be determined</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element form="qualified" name="State" type="StateTypeCode">
                <xs:annotation>
                    <xs:documentation>Holds the current state of the device</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
    </xs:group>
    <!--
		Enumerated type for CapPowerReporting Type attribute
	-->
    <xs:simpleType name="CapPowerReportingTypeCode">
        <xs:union memberTypes="CapPowerReportingTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="CapPowerReportingTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="PR_NONE"/>
            <xs:enumeration value="PR_STANDARD"/>
            <xs:enumeration value="PR_ADVANCED"/>
        </xs:restriction>
    </xs:simpleType>
    <!--
		Enumerated type for PowerNotify Type attribute
	-->
    <xs:simpleType name="PowerNotifyTypeCode">
        <xs:union memberTypes="PowerNotifyTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="PowerNotifyTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="PN_DISABLED"/>
            <xs:enumeration value="PN_ENABLED"/>
        </xs:restriction>
    </xs:simpleType>
    <!--
		Enumerated type for PowerState Type attribute
	-->
    <xs:simpleType name="PowerStateTypeCode">
        <xs:union memberTypes="PowerStateTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="PowerStateTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="PS_UNKNOWN"/>
            <xs:enumeration value="PS_ONLINE"/>
            <xs:enumeration value="PS_OFF"/>
            <xs:enumeration value="PS_OFFLINE"/>
            <xs:enumeration value="PS_OFF_OFFLINE"/>
        </xs:restriction>
    </xs:simpleType>
    <!--
		Enumerated type for State Type attribute
	-->
    <xs:simpleType name="StateTypeCode">
        <xs:union memberTypes="StateTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="StateTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="S_CLOSED"/>
            <xs:enumeration value="S_IDLE"/>
            <xs:enumeration value="S_BUSY"/>
            <xs:enumeration value="S_ERROR"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="FiscalPrinterPropertiesType">
        <xs:choice maxOccurs="unbounded" minOccurs="0">
            <xs:group ref="XMLPOSCommonPropertiesGroup"/>
            <xs:group ref="FiscalPrinterPropertiesGroup"/>
        </xs:choice>
    </xs:complexType>
    <!--
		Enumerated type for  CommonData Type Codes attribute
	-->
    <xs:simpleType name="StatusUpdateCommonDataTypeCodes">
        <xs:union memberTypes="StatusUpdateCommonDataTypeCodesEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="StatusUpdateCommonDataTypeCodesEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="SUE_POWER_ONLINE"/>
            <xs:enumeration value="SUE_POWER_OFF"/>
            <xs:enumeration value="SUE_POWER_OFFLINE"/>
            <xs:enumeration value="SUE_POWER_OFF_OFFLINE"/>
            <xs:enumeration value="SUE_UF_PROGRESS1"/>
            <xs:enumeration value="SUE_UF_PROGRESS2"/>
            <xs:enumeration value="SUE_UF_PROGRESS3"/>
            <xs:enumeration value="SUE_UF_PROGRESS4"/>
            <xs:enumeration value="SUE_UF_PROGRESS5"/>
            <xs:enumeration value="SUE_UF_PROGRESS6"/>
            <xs:enumeration value="SUE_UF_PROGRESS7"/>
            <xs:enumeration value="SUE_UF_PROGRESS8"/>
            <xs:enumeration value="SUE_UF_PROGRESS9"/>
            <xs:enumeration value="SUE_UF_PROGRESS10"/>
            <xs:enumeration value="SUE_UF_PROGRESS11"/>
            <xs:enumeration value="SUE_UF_PROGRESS12"/>
            <xs:enumeration value="SUE_UF_PROGRESS13"/>
            <xs:enumeration value="SUE_UF_PROGRESS14"/>
            <xs:enumeration value="SUE_UF_PROGRESS15"/>
            <xs:enumeration value="SUE_UF_PROGRESS16"/>
            <xs:enumeration value="SUE_UF_PROGRESS17"/>
            <xs:enumeration value="SUE_UF_PROGRESS18"/>
            <xs:enumeration value="SUE_UF_PROGRESS19"/>
            <xs:enumeration value="SUE_UF_PROGRESS20"/>
            <xs:enumeration value="SUE_UF_PROGRESS21"/>
            <xs:enumeration value="SUE_UF_PROGRESS22"/>
            <xs:enumeration value="SUE_UF_PROGRESS23"/>
            <xs:enumeration value="SUE_UF_PROGRESS24"/>
            <xs:enumeration value="SUE_UF_PROGRESS25"/>
            <xs:enumeration value="SUE_UF_PROGRESS26"/>
            <xs:enumeration value="SUE_UF_PROGRESS27"/>
            <xs:enumeration value="SUE_UF_PROGRESS28"/>
            <xs:enumeration value="SUE_UF_PROGRESS29"/>
            <xs:enumeration value="SUE_UF_PROGRESS30"/>
            <xs:enumeration value="SUE_UF_PROGRESS31"/>
            <xs:enumeration value="SUE_UF_PROGRESS32"/>
            <xs:enumeration value="SUE_UF_PROGRESS33"/>
            <xs:enumeration value="SUE_UF_PROGRESS34"/>
            <xs:enumeration value="SUE_UF_PROGRESS35"/>
            <xs:enumeration value="SUE_UF_PROGRESS36"/>
            <xs:enumeration value="SUE_UF_PROGRESS37"/>
            <xs:enumeration value="SUE_UF_PROGRESS38"/>
            <xs:enumeration value="SUE_UF_PROGRESS39"/>
            <xs:enumeration value="SUE_UF_PROGRESS40"/>
            <xs:enumeration value="SUE_UF_PROGRESS41"/>
            <xs:enumeration value="SUE_UF_PROGRESS42"/>
            <xs:enumeration value="SUE_UF_PROGRESS43"/>
            <xs:enumeration value="SUE_UF_PROGRESS44"/>
            <xs:enumeration value="SUE_UF_PROGRESS45"/>
            <xs:enumeration value="SUE_UF_PROGRESS46"/>
            <xs:enumeration value="SUE_UF_PROGRESS47"/>
            <xs:enumeration value="SUE_UF_PROGRESS48"/>
            <xs:enumeration value="SUE_UF_PROGRESS49"/>
            <xs:enumeration value="SUE_UF_PROGRESS50"/>
            <xs:enumeration value="SUE_UF_PROGRESS51"/>
            <xs:enumeration value="SUE_UF_PROGRESS52"/>
            <xs:enumeration value="SUE_UF_PROGRESS53"/>
            <xs:enumeration value="SUE_UF_PROGRESS54"/>
            <xs:enumeration value="SUE_UF_PROGRESS55"/>
            <xs:enumeration value="SUE_UF_PROGRESS56"/>
            <xs:enumeration value="SUE_UF_PROGRESS57"/>
            <xs:enumeration value="SUE_UF_PROGRESS58"/>
            <xs:enumeration value="SUE_UF_PROGRESS59"/>
            <xs:enumeration value="SUE_UF_PROGRESS60"/>
            <xs:enumeration value="SUE_UF_PROGRESS61"/>
            <xs:enumeration value="SUE_UF_PROGRESS62"/>
            <xs:enumeration value="SUE_UF_PROGRESS63"/>
            <xs:enumeration value="SUE_UF_PROGRESS64"/>
            <xs:enumeration value="SUE_UF_PROGRESS65"/>
            <xs:enumeration value="SUE_UF_PROGRESS66"/>
            <xs:enumeration value="SUE_UF_PROGRESS67"/>
            <xs:enumeration value="SUE_UF_PROGRESS68"/>
            <xs:enumeration value="SUE_UF_PROGRESS69"/>
            <xs:enumeration value="SUE_UF_PROGRESS70"/>
            <xs:enumeration value="SUE_UF_PROGRESS71"/>
            <xs:enumeration value="SUE_UF_PROGRESS72"/>
            <xs:enumeration value="SUE_UF_PROGRESS73"/>
            <xs:enumeration value="SUE_UF_PROGRESS74"/>
            <xs:enumeration value="SUE_UF_PROGRESS75"/>
            <xs:enumeration value="SUE_UF_PROGRESS76"/>
            <xs:enumeration value="SUE_UF_PROGRESS77"/>
            <xs:enumeration value="SUE_UF_PROGRESS78"/>
            <xs:enumeration value="SUE_UF_PROGRESS79"/>
            <xs:enumeration value="SUE_UF_PROGRESS80"/>
            <xs:enumeration value="SUE_UF_PROGRESS81"/>
            <xs:enumeration value="SUE_UF_PROGRESS82"/>
            <xs:enumeration value="SUE_UF_PROGRESS83"/>
            <xs:enumeration value="SUE_UF_PROGRESS84"/>
            <xs:enumeration value="SUE_UF_PROGRESS85"/>
            <xs:enumeration value="SUE_UF_PROGRESS86"/>
            <xs:enumeration value="SUE_UF_PROGRESS87"/>
            <xs:enumeration value="SUE_UF_PROGRESS88"/>
            <xs:enumeration value="SUE_UF_PROGRESS89"/>
            <xs:enumeration value="SUE_UF_PROGRESS90"/>
            <xs:enumeration value="SUE_UF_PROGRESS91"/>
            <xs:enumeration value="SUE_UF_PROGRESS92"/>
            <xs:enumeration value="SUE_UF_PROGRESS93"/>
            <xs:enumeration value="SUE_UF_PROGRESS94"/>
            <xs:enumeration value="SUE_UF_PROGRESS95"/>
            <xs:enumeration value="SUE_UF_PROGRESS96"/>
            <xs:enumeration value="SUE_UF_PROGRESS97"/>
            <xs:enumeration value="SUE_UF_PROGRESS98"/>
            <xs:enumeration value="SUE_UF_PROGRESS99"/>
            <xs:enumeration value="SUE_UF_PROGRESS100"/>
            <xs:enumeration value="SUE_UF_COMPLETE"/>
            <xs:enumeration value="SUE_UF_COMPLETE_DEV_NOT_RESTORED"/>
            <xs:enumeration value="SUE_UF_FAILED_DEV_OK"/>
            <xs:enumeration value="SUE_UF_FAILED_DEV_UNRECOVERABLE"/>
            <xs:enumeration value="SUE_UF_FAILED_DEV_NEEDS_FIRMWARE"/>
            <xs:enumeration value="SUE_UF_FAILED_DEV_UNKNOWN"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="POSErrorTypeCode">
        <xs:union memberTypes="POSErrorTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="POSErrorTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="E_CLOSED">
                <xs:annotation>
                    <xs:documentation>An attempt was made to access a closed
                        Device.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_CLAIMED">
                <xs:annotation>
                    <xs:documentation>An attempt was made to access a Physical Device that is
                        claimed by another Control instance. The other Control must release the
                        Physical Device before this access may be made. For exclusive-use devices,
                        the application will also need to claim the Physical Device before the
                        access is legal.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_NOTCLAIMED">
                <xs:annotation>
                    <xs:documentation>An attempt was made to access an exclusive-use device that
                        must be claimed before the method or property set action can be used.  If
                        the Physical Device is already claimed by another Control instance, then the
                        status E_CLAIMED is returned instead.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_NOSERVICE">
                <xs:annotation>
                    <xs:documentation>The Control cannot communicate with the Service, normally
                        because of a setup or configuration error.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_DISABLED">
                <xs:annotation>
                    <xs:documentation>Cannot perform this operation while the Device is
                        disabled.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_ILLEGAL">
                <xs:annotation>
                    <xs:documentation>An attempt was made to perform an illegal or unsupported
                        operation with the Device, or an invalid parameter value was
                        used.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_NOHARDWARE">
                <xs:annotation>
                    <xs:documentation>The Physical Device is not connected to the system or is not
                        powered on.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_OFFLINE">
                <xs:annotation>
                    <xs:documentation>The Physical Device is off-line.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_NOEXIST">
                <xs:annotation>
                    <xs:documentation>The file name (or other specified value) does not
                        exist.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_EXISTS">
                <xs:annotation>
                    <xs:documentation>The file name (or other specified value) already
                        exists.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_FAILURE">
                <xs:annotation>
                    <xs:documentation>The Device cannot perform the requested procedure, even though
                        the Physical Device is connected to the system, powered on, and
                        on-line.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_TIMEOUT">
                <xs:annotation>
                    <xs:documentation>The Service timed out waiting for a response from the Physical
                        Device, or the Control timed out waiting for a response from the
                        Service.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_BUSY">
                <xs:annotation>
                    <xs:documentation>The current Service state does not allow this request. For
                        example, if asynchronous output is in progress, certain methods may not be
                        allowed.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_EXTENDED">
                <xs:annotation>
                    <xs:documentation>A device category-specific error condition occurred. The error
                        condition code is held in an extended error code.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="E_DEPRECATED">
                <xs:annotation>
                    <xs:documentation>The requested operation can not be performed since it has been
                        deprecated.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:element name="FiscalPrinterEvent">
        <xs:complexType>
            <xs:sequence>
                <xs:element maxOccurs="unbounded" minOccurs="0" name="DirectIOEvent"
                    type="DirectIOEventType">
                    <xs:annotation>
                        <xs:documentation>Provides Service information directly to the application.
                            This event provides a means for a vendor-specific Fiscal Printer Service
                            to provide events to the application that are not otherwise supported by
                            the Control.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element maxOccurs="unbounded" minOccurs="0" name="ErrorEvent"
                    type="ErrorEventType">
                    <xs:annotation>
                        <xs:documentation>Notifies the application that a Fiscal Printer error has
                            been detected and that a suitable response by the application is
                            necessary to process the error condition.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element maxOccurs="unbounded" minOccurs="0" name="OutputCompleteEvent"
                    type="OutputCompleteEventType">
                    <xs:annotation>
                        <xs:documentation>Notifies the application that the queued output request
                            associated with the OutputID attribute has completed
                            successfully.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element maxOccurs="unbounded" minOccurs="0" name="StatusUpdateEvent"
                    type="StatusUpdateEventType">
                    <xs:annotation>
                        <xs:documentation>Notifies the application that a Fiscal Printer has had an
                            operation status change.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
            <xs:attribute fixed="1" name="MajorVersion" use="required"/>
            <xs:attribute fixed="15" name="MinorVersion"/>
            <xs:attribute fixed="1" name="FixVersion"/>
            <xs:attribute name="ActionCode" type="ActionCommonDataTypeCodes"/>
        </xs:complexType>
    </xs:element>
    <xs:complexType name="DirectIOEventType">
        <xs:annotation>
            <xs:documentation>Provides Service information directly to the application. This event
                provides a means for a vendor-specific Fiscal Printer Service to provide events to
                the application that are not otherwise supported by the Control.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="EventCommonData">
                <xs:sequence>
                    <xs:element name="EventNumber" type="xs:int">
                        <xs:annotation>
                            <xs:documentation>Event number whose specific values are assigned by the
                                Service.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element maxOccurs="unbounded" name="Data" type="xs:int">
                        <xs:annotation>
                            <xs:documentation>Additional numeric data. Specific values vary by the
                                EventNumber and the Service. This property is
                                settable.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Obj">
                        <xs:annotation>
                            <xs:documentation>Additional data whose usage varies by the EventNumber
                                and Service. This property is settable.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:sequence>
                                <xs:any maxOccurs="unbounded" namespace="##other"
                                    processContents="lax"/>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                    <xs:element minOccurs="0" name="Properties" type="FiscalPrinterPropertiesType"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="ErrorEventType">
        <xs:annotation>
            <xs:documentation>Notifies the application that a Fiscal Printer error has been detected
                and that a suitable response by the application is necessary to process the error
                condition.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="EventCommonData">
                <xs:sequence>
                    <xs:element name="ErrorCode" type="POSErrorTypeCode">
                        <xs:annotation>
                            <xs:documentation>Error code causing the error event.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ErrorCodeExtended" type="ErrorCodeExtendedTypeCode">
                        <xs:annotation>
                            <xs:documentation>Extended Error code causing the error event. It may
                                contain a Service-specific value.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ErrorLocus" type="ErrorLocusTypeCode">
                        <xs:annotation>
                            <xs:documentation>Location of the error.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ErrorResponse" type="ErrorResponseTypeCode">
                        <xs:annotation>
                            <xs:documentation>Error response, whose default value may be overridden
                                by the application. (i.e., this property is
                                settable).</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element minOccurs="0" name="Properties" type="FiscalPrinterPropertiesType"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="OutputCompleteEventType">
        <xs:annotation>
            <xs:documentation>Notifies the application that the queued output request associated
                with the OutputID attribute has completed successfully.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="EventCommonData">
                <xs:sequence>
                    <xs:element name="OutputID" type="xs:int">
                        <xs:annotation>
                            <xs:documentation>The ID number of the asynchronous output request that
                                is complete. The EventUnits property is updated before
                                delivering.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element minOccurs="0" name="Properties" type="FiscalPrinterPropertiesType"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="StatusUpdateEventType">
        <xs:annotation>
            <xs:documentation>Notifies the application that a Fiscal Printer has had an operation
                status change.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="EventCommonData">
                <xs:sequence>
                    <xs:element name="Status" type="StatusTypeCode">
                        <xs:annotation>
                            <xs:documentation>Reports a change in the power state of a bump bar
                                unit.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element minOccurs="0" name="Properties" type="FiscalPrinterPropertiesType"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:simpleType name="ErrorLocusTypeCode">
        <xs:union memberTypes="ErrorLocusTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="ErrorLocusTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="EL_INPUT"/>
            <xs:enumeration value="EL_INPUT_DATA"/>
        </xs:restriction>
    </xs:simpleType>
    <!--   -->
    <xs:simpleType name="ErrorResponseTypeCode">
        <xs:union memberTypes="ErrorResponseTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="ErrorResponseTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="ER_RETRY"/>
            <xs:enumeration value="ER_CLEAR"/>
            <xs:enumeration value="ER_CONTINUEINPUT"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ErrorCodeExtendedTypeCode">
        <xs:union memberTypes="ErrorCodeExtendedTypeCodeEnumeration TypeCodeExtension"/>
    </xs:simpleType>
    <xs:simpleType name="ErrorCodeExtendedTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="EFPTR_COVER_OPEN"/>
            <xs:enumeration value="EFPTR_JRN_EMPTY"/>
            <xs:enumeration value="EFPTR_REC_EMPTY"/>
            <xs:enumeration value="EFPTR_SLP_EMPTY"/>
            <xs:enumeration value="EFPTR_WRONG_STATE"/>
            <xs:enumeration value="EFPTR_TECHNICAL_ASSISTANCE"/>
            <xs:enumeration value="EFPTR_CLOCK_ERROR"/>
            <xs:enumeration value="EFPTR_FISCAL_MEMORY_FULL"/>
            <xs:enumeration value="EFPTR_FISCAL_MEMORY_DISCONNECTED"/>
            <xs:enumeration value="EFPTR_FISCAL_TOTALS_ERROR"/>
            <xs:enumeration value="EFPTR_BAD_ITEM_QUANTITY"/>
            <xs:enumeration value="EFPTR_BAD_ITEM_AMOUNT"/>
            <xs:enumeration value="EFPTR_BAD_ITEM_DESCRIPTION"/>
            <xs:enumeration value="EFPTR_RECEIPT_TOTAL_OVERFLOW"/>
            <xs:enumeration value="EFPTR_BAD_VAT"/>
            <xs:enumeration value="EFPTR_BAD_PRICE"/>
            <xs:enumeration value="EFPTR_NEGATIVE_TOTAL"/>
            <xs:enumeration value="EFPTR_MISSING_DEVICES"/>
            <xs:enumeration value="EFPTR_BAD_LENGTH"/>
            <xs:enumeration value="EFPTR_MISSING_SET_CURRENCY"/>
            <xs:enumeration value="EFPTR_DAY_END_REQUIRED"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="StatusTypeCode">
        <xs:union
            memberTypes="StatusTypeCodeEnumeration TypeCodeExtension StatusUpdateCommonDataTypeCodes"
        />
    </xs:simpleType>
    <xs:simpleType name="StatusTypeCodeEnumeration">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="FPTR_SUE_COVER_OPEN"/>
            <xs:enumeration value="FPTR_SUE_COVER_OK"/>
            <xs:enumeration value="FPTR_SUE_JRN_EMPTY"/>
            <xs:enumeration value="FPTR_SUE_JRN_NEAREMPTY"/>
            <xs:enumeration value="FPTR_SUE_JRN_PAPEROK"/>
            <xs:enumeration value="FPTR_SUE_REC_EMPTY"/>
            <xs:enumeration value="FPTR_SUE_REC_NEAREMPTY"/>
            <xs:enumeration value="FPTR_SUE_REC_PAPEROK"/>
            <xs:enumeration value="FPTR_SUE_SLP_EMPTY"/>
            <xs:enumeration value="FPTR_SUE_SLP_NEAREMPTY"/>
            <xs:enumeration value="FPTR_SUE_SLP_PAPEROK"/>
            <xs:enumeration value="FPTR_SUE_IDLE"/>
            <xs:enumeration value="FPTR_SUE_JRN_COVER_OPEN"/>
            <xs:enumeration value="FPTR_SUE_JRN_COVER_OK"/>
            <xs:enumeration value="FPTR_SUE_REC_COVER_OPEN"/>
            <xs:enumeration value="FPTR_SUE_REC_COVER_OK"/>
            <xs:enumeration value="FPTR_SUE_SLP_COVER_OPEN"/>
            <xs:enumeration value="FPTR_SUE_SLP_COVER_OK"/>
        </xs:restriction>
    </xs:simpleType>
    <!--WSDL Root Element Names-->
    <xs:element name="DirectIOEvent" type="DirectIOEventType"/>
    <xs:element name="ErrorEvent" type="ErrorEventType"/>
    <xs:element name="OutputCompleteEvent" type="OutputCompleteEventType"/>
    <xs:element name="StatusUpdateEvent" type="StatusUpdateEventType"/>
</xs:schema>
