Schema hinnakiri.xsd

schema location:  http://www.eall.ee/reklaam/hinnakiri.xsd
 
Elements 
PriceList 


element PriceList
diagram
properties
content  complex
children Contact PriceInfo Comments
attributes
Name   Type   Use   Default   Fixed   Annotation
Date   xs:int required        
Version   required        
Language   required        
source
<xs:element name="PriceList">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Contact">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="BusinessName" type="xs:string"/>
            <xs:element name="BusinessRegCode" type="xs:int"/>
            <xs:element name="Address">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Country" type="xs:string"/>
                  <xs:element name="County" type="xs:string"/>
                  <xs:element name="City" type="xs:string"/>
                  <xs:element name="Street" type="xs:string"/>
                  <xs:element name="PostalCode" type="xs:int"/>
                  <xs:element name="Phone" type="xs:int"/>
                  <xs:element name="Fax" type="xs:int"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="ContactPerson" minOccurs="0">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ContactName" type="xs:string"/>
                  <xs:element name="ContactPhone" type="xs:int" minOccurs="0"/>
                  <xs:element name="ContactMobile" type="xs:int" minOccurs="0"/>
                  <xs:element name="ContactFax" type="xs:int" minOccurs="0"/>
                  <xs:element name="ContactEmail" type="xs:string" minOccurs="0"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="PriceInfo">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Product" maxOccurs="unbounded">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Publication" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="Project">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="ProjectPart">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="AdName" type="xs:string"/>
                                    <xs:element name="AdSize" maxOccurs="unbounded">
                                      <xs:complexType>
                                        <xs:sequence>
                                          <xs:element name="AdWidth" type="xs:int"/>
                                          <xs:element name="AdHeight" type="xs:int"/>
                                        </xs:sequence>
                                        <xs:attribute name="Unit" use="required">
                                          <xs:simpleType>
                                            <xs:restriction base="xs:NMTOKEN">
                                              <xs:enumeration value="mm"/>
                                              <xs:enumeration value="px"/>
                                              <xs:enumeration value="rida"/>
                                            </xs:restriction>
                                          </xs:simpleType>
                                        </xs:attribute>
                                      </xs:complexType>
                                    </xs:element>
                                    <xs:element name="AdColours" type="xs:string"/>
                                    <xs:element name="AdPage" type="xs:string"/>
                                    <xs:element name="AdPaper">
                                      <xs:complexType>
                                        <xs:simpleContent>
                                          <xs:extension base="xs:string">
                                            <xs:attribute name="PaperType" use="required">
                                              <xs:simpleType>
                                                <xs:restriction base="xs:NMTOKEN">
                                                  <xs:enumeration value="ajaleht"/>
                                                  <xs:enumeration value="kriit"/>
                                                  <xs:enumeration value="-"/>
                                                </xs:restriction>
                                              </xs:simpleType>
                                            </xs:attribute>
                                          </xs:extension>
                                        </xs:simpleContent>
                                      </xs:complexType>
                                    </xs:element>
                                  </xs:sequence>
                                  <xs:attribute name="ProjectPartName" type="xs:string"/>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                            <xs:attribute name="ProjectName" type="xs:string"/>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                      <xs:attribute name="Type">
                        <xs:simpleType>
                          <xs:restriction base="xs:NMTOKEN">
                            <xs:enumeration value="ajaleht"/>
                            <xs:enumeration value="ajakiri"/>
                            <xs:enumeration value="raamat"/>
                            <xs:enumeration value="veeb"/>
                            <xs:enumeration value="kalender"/>
                            <xs:enumeration value="buklett"/>
                            <xs:enumeration value="reklaamileht"/>
                            <xs:enumeration value="voldik"/>
                            <xs:enumeration value="reklaamkataloog"/>
                            <xs:enumeration value="-"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                      <xs:attribute name="PublicationName" type="xs:string" use="required"/>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="Prices">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="PriceNoTax">
                          <xs:complexType>
                            <xs:simpleContent>
                              <xs:extension base="xs:decimal">
                                <xs:attribute name="Period">
                                  <xs:simpleType>
                                    <xs:restriction base="xs:NMTOKEN">
                                      <xs:enumeration value="päev"/>
                                      <xs:enumeration value="nädal"/>
                                      <xs:enumeration value="kuu"/>
                                      <xs:enumeration value="äripaev"/>
                                      <xs:enumeration value="puhkepäev"/>
                                      <xs:enumeration value="ilmumiskord"/>
                                      <xs:enumeration value="-"/>
                                    </xs:restriction>
                                  </xs:simpleType>
                                </xs:attribute>
                              </xs:extension>
                            </xs:simpleContent>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="Note" type="xs:string" minOccurs="0"/>
                      </xs:sequence>
                      <xs:attribute name="Currency" use="required">
                        <xs:simpleType>
                          <xs:restriction base="xs:NMTOKEN">
                            <xs:enumeration value="EEK"/>
                            <xs:enumeration value="EUR"/>
                            <xs:enumeration value="USD"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="ID" type="xs:int" use="required"/>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="Comments" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Message" type="xs:string" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="Date" type="xs:int" use="required"/>
    <xs:attribute name="Version" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="1.0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Language" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="EST"/>
          <xs:enumeration value="ENG"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

element PriceList/Contact
diagram
properties
isRef  0
content  complex
children BusinessName BusinessRegCode Address ContactPerson
source
<xs:element name="Contact">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="BusinessName" type="xs:string"/>
      <xs:element name="BusinessRegCode" type="xs:int"/>
      <xs:element name="Address">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Country" type="xs:string"/>
            <xs:element name="County" type="xs:string"/>
            <xs:element name="City" type="xs:string"/>
            <xs:element name="Street" type="xs:string"/>
            <xs:element name="PostalCode" type="xs:int"/>
            <xs:element name="Phone" type="xs:int"/>
            <xs:element name="Fax" type="xs:int"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="ContactPerson" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ContactName" type="xs:string"/>
            <xs:element name="ContactPhone" type="xs:int" minOccurs="0"/>
            <xs:element name="ContactMobile" type="xs:int" minOccurs="0"/>
            <xs:element name="ContactFax" type="xs:int" minOccurs="0"/>
            <xs:element name="ContactEmail" type="xs:string" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element PriceList/Contact/BusinessName
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="BusinessName" type="xs:string"/>

element PriceList/Contact/BusinessRegCode
diagram
type xs:int
properties
isRef  0
content  simple
source
<xs:element name="BusinessRegCode" type="xs:int"/>

element PriceList/Contact/Address
diagram
properties
isRef  0
content  complex
children Country County City Street PostalCode Phone Fax
source
<xs:element name="Address">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Country" type="xs:string"/>
      <xs:element name="County" type="xs:string"/>
      <xs:element name="City" type="xs:string"/>
      <xs:element name="Street" type="xs:string"/>
      <xs:element name="PostalCode" type="xs:int"/>
      <xs:element name="Phone" type="xs:int"/>
      <xs:element name="Fax" type="xs:int"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element PriceList/Contact/Address/Country
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="Country" type="xs:string"/>

element PriceList/Contact/Address/County
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="County" type="xs:string"/>

element PriceList/Contact/Address/City
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="City" type="xs:string"/>

element PriceList/Contact/Address/Street
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="Street" type="xs:string"/>

element PriceList/Contact/Address/PostalCode
diagram
type xs:int
properties
isRef  0
content  simple
source
<xs:element name="PostalCode" type="xs:int"/>

element PriceList/Contact/Address/Phone
diagram
type xs:int
properties
isRef  0
content  simple
source
<xs:element name="Phone" type="xs:int"/>

element PriceList/Contact/Address/Fax
diagram
type xs:int
properties
isRef  0
content  simple
source
<xs:element name="Fax" type="xs:int"/>

element PriceList/Contact/ContactPerson
diagram
properties
isRef  0
content  complex
children ContactName ContactPhone ContactMobile ContactFax ContactEmail
source
<xs:element name="ContactPerson" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="ContactName" type="xs:string"/>
      <xs:element name="ContactPhone" type="xs:int" minOccurs="0"/>
      <xs:element name="ContactMobile" type="xs:int" minOccurs="0"/>
      <xs:element name="ContactFax" type="xs:int" minOccurs="0"/>
      <xs:element name="ContactEmail" type="xs:string" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element PriceList/Contact/ContactPerson/ContactName
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="ContactName" type="xs:string"/>

element PriceList/Contact/ContactPerson/ContactPhone
diagram
type xs:int
properties
isRef  0
content  simple
source
<xs:element name="ContactPhone" type="xs:int" minOccurs="0"/>

element PriceList/Contact/ContactPerson/ContactMobile
diagram
type xs:int
properties
isRef  0
content  simple
source
<xs:element name="ContactMobile" type="xs:int" minOccurs="0"/>

element PriceList/Contact/ContactPerson/ContactFax
diagram
type xs:int
properties
isRef  0
content  simple
source
<xs:element name="ContactFax" type="xs:int" minOccurs="0"/>

element PriceList/Contact/ContactPerson/ContactEmail
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="ContactEmail" type="xs:string" minOccurs="0"/>

element PriceList/PriceInfo
diagram
properties
isRef  0
content  complex
children Product
source
<xs:element name="PriceInfo">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Product" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Publication" maxOccurs="unbounded">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Project">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="ProjectPart">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="AdName" type="xs:string"/>
                              <xs:element name="AdSize" maxOccurs="unbounded">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element name="AdWidth" type="xs:int"/>
                                    <xs:element name="AdHeight" type="xs:int"/>
                                  </xs:sequence>
                                  <xs:attribute name="Unit" use="required">
                                    <xs:simpleType>
                                      <xs:restriction base="xs:NMTOKEN">
                                        <xs:enumeration value="mm"/>
                                        <xs:enumeration value="px"/>
                                        <xs:enumeration value="rida"/>
                                      </xs:restriction>
                                    </xs:simpleType>
                                  </xs:attribute>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="AdColours" type="xs:string"/>
                              <xs:element name="AdPage" type="xs:string"/>
                              <xs:element name="AdPaper">
                                <xs:complexType>
                                  <xs:simpleContent>
                                    <xs:extension base="xs:string">
                                      <xs:attribute name="PaperType" use="required">
                                        <xs:simpleType>
                                          <xs:restriction base="xs:NMTOKEN">
                                            <xs:enumeration value="ajaleht"/>
                                            <xs:enumeration value="kriit"/>
                                            <xs:enumeration value="-"/>
                                          </xs:restriction>
                                        </xs:simpleType>
                                      </xs:attribute>
                                    </xs:extension>
                                  </xs:simpleContent>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                            <xs:attribute name="ProjectPartName" type="xs:string"/>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                      <xs:attribute name="ProjectName" type="xs:string"/>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="Type">
                  <xs:simpleType>
                    <xs:restriction base="xs:NMTOKEN">
                      <xs:enumeration value="ajaleht"/>
                      <xs:enumeration value="ajakiri"/>
                      <xs:enumeration value="raamat"/>
                      <xs:enumeration value="veeb"/>
                      <xs:enumeration value="kalender"/>
                      <xs:enumeration value="buklett"/>
                      <xs:enumeration value="reklaamileht"/>
                      <xs:enumeration value="voldik"/>
                      <xs:enumeration value="reklaamkataloog"/>
                      <xs:enumeration value="-"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="PublicationName" type="xs:string" use="required"/>
              </xs:complexType>
            </xs:element>
            <xs:element name="Prices">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="PriceNoTax">
                    <xs:complexType>
                      <xs:simpleContent>
                        <xs:extension base="xs:decimal">
                          <xs:attribute name="Period">
                            <xs:simpleType>
                              <xs:restriction base="xs:NMTOKEN">
                                <xs:enumeration value="päev"/>
                                <xs:enumeration value="nädal"/>
                                <xs:enumeration value="kuu"/>
                                <xs:enumeration value="äripaev"/>
                                <xs:enumeration value="puhkepäev"/>
                                <xs:enumeration value="ilmumiskord"/>
                                <xs:enumeration value="-"/>
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:attribute>
                        </xs:extension>
                      </xs:simpleContent>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="Note" type="xs:string" minOccurs="0"/>
                </xs:sequence>
                <xs:attribute name="Currency" use="required">
                  <xs:simpleType>
                    <xs:restriction base="xs:NMTOKEN">
                      <xs:enumeration value="EEK"/>
                      <xs:enumeration value="EUR"/>
                      <xs:enumeration value="USD"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="ID" type="xs:int" use="required"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element PriceList/PriceInfo/Product
diagram
properties
isRef  0
content  complex
children Publication Prices
attributes
Name   Type   Use   Default   Fixed   Annotation
ID   xs:int required        
source
<xs:element name="Product" maxOccurs="unbounded">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Publication" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Project">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ProjectPart">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="AdName" type="xs:string"/>
                        <xs:element name="AdSize" maxOccurs="unbounded">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="AdWidth" type="xs:int"/>
                              <xs:element name="AdHeight" type="xs:int"/>
                            </xs:sequence>
                            <xs:attribute name="Unit" use="required">
                              <xs:simpleType>
                                <xs:restriction base="xs:NMTOKEN">
                                  <xs:enumeration value="mm"/>
                                  <xs:enumeration value="px"/>
                                  <xs:enumeration value="rida"/>
                                </xs:restriction>
                              </xs:simpleType>
                            </xs:attribute>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="AdColours" type="xs:string"/>
                        <xs:element name="AdPage" type="xs:string"/>
                        <xs:element name="AdPaper">
                          <xs:complexType>
                            <xs:simpleContent>
                              <xs:extension base="xs:string">
                                <xs:attribute name="PaperType" use="required">
                                  <xs:simpleType>
                                    <xs:restriction base="xs:NMTOKEN">
                                      <xs:enumeration value="ajaleht"/>
                                      <xs:enumeration value="kriit"/>
                                      <xs:enumeration value="-"/>
                                    </xs:restriction>
                                  </xs:simpleType>
                                </xs:attribute>
                              </xs:extension>
                            </xs:simpleContent>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                      <xs:attribute name="ProjectPartName" type="xs:string"/>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="ProjectName" type="xs:string"/>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="Type">
            <xs:simpleType>
              <xs:restriction base="xs:NMTOKEN">
                <xs:enumeration value="ajaleht"/>
                <xs:enumeration value="ajakiri"/>
                <xs:enumeration value="raamat"/>
                <xs:enumeration value="veeb"/>
                <xs:enumeration value="kalender"/>
                <xs:enumeration value="buklett"/>
                <xs:enumeration value="reklaamileht"/>
                <xs:enumeration value="voldik"/>
                <xs:enumeration value="reklaamkataloog"/>
                <xs:enumeration value="-"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="PublicationName" type="xs:string" use="required"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="Prices">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="PriceNoTax">
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:decimal">
                    <xs:attribute name="Period">
                      <xs:simpleType>
                        <xs:restriction base="xs:NMTOKEN">
                          <xs:enumeration value="päev"/>
                          <xs:enumeration value="nädal"/>
                          <xs:enumeration value="kuu"/>
                          <xs:enumeration value="äripaev"/>
                          <xs:enumeration value="puhkepäev"/>
                          <xs:enumeration value="ilmumiskord"/>
                          <xs:enumeration value="-"/>
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="Note" type="xs:string" minOccurs="0"/>
          </xs:sequence>
          <xs:attribute name="Currency" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:NMTOKEN">
                <xs:enumeration value="EEK"/>
                <xs:enumeration value="EUR"/>
                <xs:enumeration value="USD"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="ID" type="xs:int" use="required"/>
  </xs:complexType>
</xs:element>

element PriceList/PriceInfo/Product/Publication
diagram
properties
isRef  0
content  complex
children Project
attributes
Name   Type   Use   Default   Fixed   Annotation
Type           
PublicationName   xs:string required        
source
<xs:element name="Publication" maxOccurs="unbounded">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Project">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ProjectPart">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="AdName" type="xs:string"/>
                  <xs:element name="AdSize" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="AdWidth" type="xs:int"/>
                        <xs:element name="AdHeight" type="xs:int"/>
                      </xs:sequence>
                      <xs:attribute name="Unit" use="required">
                        <xs:simpleType>
                          <xs:restriction base="xs:NMTOKEN">
                            <xs:enumeration value="mm"/>
                            <xs:enumeration value="px"/>
                            <xs:enumeration value="rida"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="AdColours" type="xs:string"/>
                  <xs:element name="AdPage" type="xs:string"/>
                  <xs:element name="AdPaper">
                    <xs:complexType>
                      <xs:simpleContent>
                        <xs:extension base="xs:string">
                          <xs:attribute name="PaperType" use="required">
                            <xs:simpleType>
                              <xs:restriction base="xs:NMTOKEN">
                                <xs:enumeration value="ajaleht"/>
                                <xs:enumeration value="kriit"/>
                                <xs:enumeration value="-"/>
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:attribute>
                        </xs:extension>
                      </xs:simpleContent>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="ProjectPartName" type="xs:string"/>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="ProjectName" type="xs:string"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="Type">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="ajaleht"/>
          <xs:enumeration value="ajakiri"/>
          <xs:enumeration value="raamat"/>
          <xs:enumeration value="veeb"/>
          <xs:enumeration value="kalender"/>
          <xs:enumeration value="buklett"/>
          <xs:enumeration value="reklaamileht"/>
          <xs:enumeration value="voldik"/>
          <xs:enumeration value="reklaamkataloog"/>
          <xs:enumeration value="-"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="PublicationName" type="xs:string" use="required"/>
  </xs:complexType>
</xs:element>

element PriceList/PriceInfo/Product/Publication/Project
diagram
properties
isRef  0
content  complex
children ProjectPart
attributes
Name   Type   Use   Default   Fixed   Annotation
ProjectName   xs:string         
source
<xs:element name="Project">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="ProjectPart">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="AdName" type="xs:string"/>
            <xs:element name="AdSize" maxOccurs="unbounded">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="AdWidth" type="xs:int"/>
                  <xs:element name="AdHeight" type="xs:int"/>
                </xs:sequence>
                <xs:attribute name="Unit" use="required">
                  <xs:simpleType>
                    <xs:restriction base="xs:NMTOKEN">
                      <xs:enumeration value="mm"/>
                      <xs:enumeration value="px"/>
                      <xs:enumeration value="rida"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="AdColours" type="xs:string"/>
            <xs:element name="AdPage" type="xs:string"/>
            <xs:element name="AdPaper">
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:string">
                    <xs:attribute name="PaperType" use="required">
                      <xs:simpleType>
                        <xs:restriction base="xs:NMTOKEN">
                          <xs:enumeration value="ajaleht"/>
                          <xs:enumeration value="kriit"/>
                          <xs:enumeration value="-"/>
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="ProjectPartName" type="xs:string"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="ProjectName" type="xs:string"/>
  </xs:complexType>
</xs:element>

element PriceList/PriceInfo/Product/Publication/Project/ProjectPart
diagram
properties
isRef  0
content  complex
children AdName AdSize AdColours AdPage AdPaper
attributes
Name   Type   Use   Default   Fixed   Annotation
ProjectPartName   xs:string         
source
<xs:element name="ProjectPart">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="AdName" type="xs:string"/>
      <xs:element name="AdSize" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="AdWidth" type="xs:int"/>
            <xs:element name="AdHeight" type="xs:int"/>
          </xs:sequence>
          <xs:attribute name="Unit" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:NMTOKEN">
                <xs:enumeration value="mm"/>
                <xs:enumeration value="px"/>
                <xs:enumeration value="rida"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="AdColours" type="xs:string"/>
      <xs:element name="AdPage" type="xs:string"/>
      <xs:element name="AdPaper">
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:string">
              <xs:attribute name="PaperType" use="required">
                <xs:simpleType>
                  <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="ajaleht"/>
                    <xs:enumeration value="kriit"/>
                    <xs:enumeration value="-"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="ProjectPartName" type="xs:string"/>
  </xs:complexType>
</xs:element>

element PriceList/PriceInfo/Product/Publication/Project/ProjectPart/AdName
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="AdName" type="xs:string"/>

element PriceList/PriceInfo/Product/Publication/Project/ProjectPart/AdSize
diagram
properties
isRef  0
content  complex
children AdWidth AdHeight
attributes
Name   Type   Use   Default   Fixed   Annotation
Unit   required        
source
<xs:element name="AdSize" maxOccurs="unbounded">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="AdWidth" type="xs:int"/>
      <xs:element name="AdHeight" type="xs:int"/>
    </xs:sequence>
    <xs:attribute name="Unit" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="mm"/>
          <xs:enumeration value="px"/>
          <xs:enumeration value="rida"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

element PriceList/PriceInfo/Product/Publication/Project/ProjectPart/AdSize/AdWidth
diagram
type xs:int
properties
isRef  0
content  simple
source
<xs:element name="AdWidth" type="xs:int"/>

element PriceList/PriceInfo/Product/Publication/Project/ProjectPart/AdSize/AdHeight
diagram
type xs:int
properties
isRef  0
content  simple
source
<xs:element name="AdHeight" type="xs:int"/>

element PriceList/PriceInfo/Product/Publication/Project/ProjectPart/AdColours
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="AdColours" type="xs:string"/>

element PriceList/PriceInfo/Product/Publication/Project/ProjectPart/AdPage
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="AdPage" type="xs:string"/>

element PriceList/PriceInfo/Product/Publication/Project/ProjectPart/AdPaper
diagram
type extension of xs:string
properties
isRef  0
content  complex
attributes
Name   Type   Use   Default   Fixed   Annotation
PaperType   required        
source
<xs:element name="AdPaper">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="PaperType" use="required">
          <xs:simpleType>
            <xs:restriction base="xs:NMTOKEN">
              <xs:enumeration value="ajaleht"/>
              <xs:enumeration value="kriit"/>
              <xs:enumeration value="-"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element PriceList/PriceInfo/Product/Prices
diagram
properties
isRef  0
content  complex
children PriceNoTax Note
attributes
Name   Type   Use   Default   Fixed   Annotation
Currency   required        
source
<xs:element name="Prices">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="PriceNoTax">
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:decimal">
              <xs:attribute name="Period">
                <xs:simpleType>
                  <xs:restriction base="xs:NMTOKEN">
                    <xs:enumeration value="päev"/>
                    <xs:enumeration value="nädal"/>
                    <xs:enumeration value="kuu"/>
                    <xs:enumeration value="äripaev"/>
                    <xs:enumeration value="puhkepäev"/>
                    <xs:enumeration value="ilmumiskord"/>
                    <xs:enumeration value="-"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="Note" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Currency" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="EEK"/>
          <xs:enumeration value="EUR"/>
          <xs:enumeration value="USD"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

element PriceList/PriceInfo/Product/Prices/PriceNoTax
diagram
type extension of xs:decimal
properties
isRef  0
content  complex
attributes
Name   Type   Use   Default   Fixed   Annotation
Period           
source
<xs:element name="PriceNoTax">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:decimal">
        <xs:attribute name="Period">
          <xs:simpleType>
            <xs:restriction base="xs:NMTOKEN">
              <xs:enumeration value="päev"/>
              <xs:enumeration value="nädal"/>
              <xs:enumeration value="kuu"/>
              <xs:enumeration value="äripaev"/>
              <xs:enumeration value="puhkepäev"/>
              <xs:enumeration value="ilmumiskord"/>
              <xs:enumeration value="-"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element PriceList/PriceInfo/Product/Prices/Note
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="Note" type="xs:string" minOccurs="0"/>

element PriceList/Comments
diagram
properties
isRef  0
content  complex
children Message
source
<xs:element name="Comments" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Message" type="xs:string" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element PriceList/Comments/Message
diagram
type xs:string
properties
isRef  0
content  simple
source
<xs:element name="Message" type="xs:string" maxOccurs="unbounded"/>