Schema TamoTulos.xsd


schema location:  https://www.ilmoitin.fi/webtamo/html/TamoTulos.xsd
 
Elements 
ApiTaMoTulos 


element ApiTaMoTulos
diagram
children TamoTulos Virheteksti
source
<xsd:element name="ApiTaMoTulos">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:choice>
        <xsd:element name="TamoTulos">
          <xsd:annotation>
            <xsd:documentation>Aineiston tarkistuksen tiedot.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="TarkistuksenTulos" type="xsd:string">
                <xsd:annotation>
                  <xsd:documentation>Koko aineiston tarkistuksen tulos. Elementin arvot ovat joko Ok tai Virhe.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:sequence>
                <xsd:element name="Lomake" maxOccurs="unbounded">
                  <xsd:annotation>
                    <xsd:documentation> Ilmoituksen tietue.</xsd:documentation>
                  </xsd:annotation>
                  <xsd:complexType>
                    <xsd:sequence>
                      <xsd:element name="Virherivi" minOccurs="0" maxOccurs="unbounded">
                        <xsd:annotation>
                          <xsd:documentation>Tietueesta löytynyt virhe.</xsd:documentation>
                        </xsd:annotation>
                        <xsd:complexType>
                          <xsd:sequence>
                            <xsd:element name="Tieto" type="xsd:string">
                              <xsd:annotation>
                                <xsd:documentation>Virheellinen tieto. </xsd:documentation>
                              </xsd:annotation>
                            </xsd:element>
                            <xsd:element name="Selitys" type="xsd:string" minOccurs="0">
                              <xsd:annotation>
                                <xsd:documentation>Virheen kuvaus.</xsd:documentation>
                              </xsd:annotation>
                            </xsd:element>
                          </xsd:sequence>
                          <xsd:attribute name="tunnus" type="xsd:string" use="optional">
                            <xsd:annotation>
                              <xsd:documentation>Tunnus jossa virheellinen tieto.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:attribute>
                          <xsd:attribute name="tyyppi" type="xsd:string" use="required">
                            <xsd:annotation>
                              <xsd:documentation>Virheellisen tiedon tyyppi. Tyyppejä on kahdenlaisia: järjestelmävirheitä (arvo 0) ja substanssi- eli sisältövirheitä (arvo 1).
</xsd:documentation>
                            </xsd:annotation>
                          </xsd:attribute>
                        </xsd:complexType>
                      </xsd:element>
                    </xsd:sequence>
                    <xsd:attribute name="nimi" type="xsd:string" use="required">
                      <xsd:annotation>
                        <xsd:documentation>Asiakkaan nimi.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:attribute>
                    <xsd:attribute name="asiakas" type="xsd:string" use="optional">
                      <xsd:annotation>
                        <xsd:documentation>Asiakastunnus, y-tunnus tai henkilötunnus.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:attribute>
                    <xsd:attribute name="tila" type="xsd:string" use="required">
                      <xsd:annotation>
                        <xsd:documentation>Tietueen tarkistuksen tulos. Arvot Ok tai Virhe.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:attribute>
                    <xsd:attribute name="selite" type="xsd:string" use="required">
                      <xsd:annotation>
                        <xsd:documentation>Tietuetunnuksen selväkielinen nimi.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:attribute>
                  </xsd:complexType>
                </xsd:element>
              </xsd:sequence>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="Virheteksti" type="xsd:string">
          <xsd:annotation>
            <xsd:documentation>Web Service-palvelussa tapahtuneen virheen kuvaus.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element ApiTaMoTulos/TamoTulos
diagram
children TarkistuksenTulos Lomake
annotation
documentation 
Aineiston tarkistuksen tiedot.
source
<xsd:element name="TamoTulos">
  <xsd:annotation>
    <xsd:documentation>Aineiston tarkistuksen tiedot.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="TarkistuksenTulos" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>Koko aineiston tarkistuksen tulos. Elementin arvot ovat joko Ok tai Virhe.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:sequence>
        <xsd:element name="Lomake" maxOccurs="unbounded">
          <xsd:annotation>
            <xsd:documentation> Ilmoituksen tietue.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="Virherivi" minOccurs="0" maxOccurs="unbounded">
                <xsd:annotation>
                  <xsd:documentation>Tietueesta löytynyt virhe.</xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="Tieto" type="xsd:string">
                      <xsd:annotation>
                        <xsd:documentation>Virheellinen tieto. </xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Selitys" type="xsd:string" minOccurs="0">
                      <xsd:annotation>
                        <xsd:documentation>Virheen kuvaus.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                  </xsd:sequence>
                  <xsd:attribute name="tunnus" type="xsd:string" use="optional">
                    <xsd:annotation>
                      <xsd:documentation>Tunnus jossa virheellinen tieto.</xsd:documentation>
                    </xsd:annotation>
                  </xsd:attribute>
                  <xsd:attribute name="tyyppi" type="xsd:string" use="required">
                    <xsd:annotation>
                      <xsd:documentation>Virheellisen tiedon tyyppi. Tyyppejä on kahdenlaisia: järjestelmävirheitä (arvo 0) ja substanssi- eli sisältövirheitä (arvo 1).
</xsd:documentation>
                    </xsd:annotation>
                  </xsd:attribute>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
            <xsd:attribute name="nimi" type="xsd:string" use="required">
              <xsd:annotation>
                <xsd:documentation>Asiakkaan nimi.</xsd:documentation>
              </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="asiakas" type="xsd:string" use="optional">
              <xsd:annotation>
                <xsd:documentation>Asiakastunnus, y-tunnus tai henkilötunnus.</xsd:documentation>
              </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="tila" type="xsd:string" use="required">
              <xsd:annotation>
                <xsd:documentation>Tietueen tarkistuksen tulos. Arvot Ok tai Virhe.</xsd:documentation>
              </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="selite" type="xsd:string" use="required">
              <xsd:annotation>
                <xsd:documentation>Tietuetunnuksen selväkielinen nimi.</xsd:documentation>
              </xsd:annotation>
            </xsd:attribute>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element ApiTaMoTulos/TamoTulos/TarkistuksenTulos
diagram
type xsd:string
annotation
documentation 
Koko aineiston tarkistuksen tulos. Elementin arvot ovat joko Ok tai Virhe.
source
<xsd:element name="TarkistuksenTulos" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Koko aineiston tarkistuksen tulos. Elementin arvot ovat joko Ok tai Virhe.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ApiTaMoTulos/TamoTulos/Lomake
diagram
children Virherivi
attributes
Name  Type  Use  Default  Fixed  Annotation
nimi  xsd:string  required      
documentation 
Asiakkaan nimi.
asiakas  xsd:string  optional      
documentation 
Asiakastunnus, y-tunnus tai henkilötunnus.
tila  xsd:string  required      
documentation 
Tietueen tarkistuksen tulos. Arvot Ok tai Virhe.
selite  xsd:string  required      
documentation 
Tietuetunnuksen selväkielinen nimi.
annotation
documentation 
 Ilmoituksen tietue.
source
<xsd:element name="Lomake" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation> Ilmoituksen tietue.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Virherivi" minOccurs="0" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>Tietueesta löytynyt virhe.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Tieto" type="xsd:string">
              <xsd:annotation>
                <xsd:documentation>Virheellinen tieto. </xsd:documentation>
              </xsd:annotation>
            </xsd:element>
            <xsd:element name="Selitys" type="xsd:string" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>Virheen kuvaus.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
          </xsd:sequence>
          <xsd:attribute name="tunnus" type="xsd:string" use="optional">
            <xsd:annotation>
              <xsd:documentation>Tunnus jossa virheellinen tieto.</xsd:documentation>
            </xsd:annotation>
          </xsd:attribute>
          <xsd:attribute name="tyyppi" type="xsd:string" use="required">
            <xsd:annotation>
              <xsd:documentation>Virheellisen tiedon tyyppi. Tyyppejä on kahdenlaisia: järjestelmävirheitä (arvo 0) ja substanssi- eli sisältövirheitä (arvo 1).
</xsd:documentation>
            </xsd:annotation>
          </xsd:attribute>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="nimi" type="xsd:string" use="required">
      <xsd:annotation>
        <xsd:documentation>Asiakkaan nimi.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="asiakas" type="xsd:string" use="optional">
      <xsd:annotation>
        <xsd:documentation>Asiakastunnus, y-tunnus tai henkilötunnus.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="tila" type="xsd:string" use="required">
      <xsd:annotation>
        <xsd:documentation>Tietueen tarkistuksen tulos. Arvot Ok tai Virhe.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="selite" type="xsd:string" use="required">
      <xsd:annotation>
        <xsd:documentation>Tietuetunnuksen selväkielinen nimi.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>

element ApiTaMoTulos/TamoTulos/Lomake/Virherivi
diagram
children Tieto Selitys
attributes
Name  Type  Use  Default  Fixed  Annotation
tunnus  xsd:string  optional      
documentation 
Tunnus jossa virheellinen tieto.
tyyppi  xsd:string  required      
documentation 
Virheellisen tiedon tyyppi. Tyyppejä on kahdenlaisia: järjestelmävirheitä (arvo 0) ja substanssi- eli sisältövirheitä (arvo 1).
annotation
documentation 
Tietueesta löytynyt virhe.
source
<xsd:element name="Virherivi" minOccurs="0" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Tietueesta löytynyt virhe.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Tieto" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>Virheellinen tieto. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="Selitys" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Virheen kuvaus.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="tunnus" type="xsd:string" use="optional">
      <xsd:annotation>
        <xsd:documentation>Tunnus jossa virheellinen tieto.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="tyyppi" type="xsd:string" use="required">
      <xsd:annotation>
        <xsd:documentation>Virheellisen tiedon tyyppi. Tyyppejä on kahdenlaisia: järjestelmävirheitä (arvo 0) ja substanssi- eli sisältövirheitä (arvo 1).
</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>

element ApiTaMoTulos/TamoTulos/Lomake/Virherivi/Tieto
diagram
type xsd:string
annotation
documentation 
Virheellinen tieto. 
source
<xsd:element name="Tieto" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Virheellinen tieto. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ApiTaMoTulos/TamoTulos/Lomake/Virherivi/Selitys
diagram
type xsd:string
annotation
documentation 
Virheen kuvaus.
source
<xsd:element name="Selitys" type="xsd:string" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Virheen kuvaus.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ApiTaMoTulos/Virheteksti
diagram
type xsd:string
annotation
documentation 
Web Service-palvelussa tapahtuneen virheen kuvaus.
source
<xsd:element name="Virheteksti" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Web Service-palvelussa tapahtuneen virheen kuvaus.</xsd:documentation>
  </xsd:annotation>
</xsd:element>