<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	targetNamespace="http://s5603.client.senar.si.hu" xmlns="http://s5603.client.senar.si.hu">
    <xsd:annotation>
    	<xsd:documentation>5603 - Füljelző pótlás megrendelő lapok
verzió 1.0</xsd:documentation></xsd:annotation>
    <xsd:complexType name="FuljelzoPotlasAdat">
        <xsd:annotation>
        	<xsd:documentation>Füljelző pótlás adatok blokk (detail)</xsd:documentation></xsd:annotation>
        <xsd:sequence>
			<xsd:element name="TetelSorszam" minOccurs="1"
				maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>
						Tételsorszám ha van megadva blokk kell legyen
						sorszáma és az egyedi kell legyen. Az első
						sorszám legyen 0, bár ez nem kötelező előírás.
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:int">

						<xsd:minInclusive value="0"></xsd:minInclusive>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="Fuljelzoszam" minOccurs="1" maxOccurs="1">
                <xsd:annotation>
                	<xsd:documentation>Füljelző szám</xsd:documentation></xsd:annotation>
                <xsd:simpleType>
                	<xsd:restriction base="xsd:string">
                		<xsd:pattern value="\d+"></xsd:pattern>
                		<xsd:minLength value="1"></xsd:minLength>
                		<xsd:maxLength value="11"></xsd:maxLength>
                	</xsd:restriction>
                </xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="FuljelzoPotlas">
        <xsd:annotation>
        	<xsd:documentation>Füljelző pótlás megrendelő lap</xsd:documentation></xsd:annotation>
        <xsd:sequence>
			<xsd:element name="Sorszam" type="xsd:int" minOccurs="1" maxOccurs="1">
                <xsd:annotation>
                	<xsd:documentation>Sorszám kötelező és az egyedi kell legyen.</xsd:documentation>
                </xsd:annotation>
			</xsd:element>
			<xsd:element name="TenyeszetKodja" minOccurs="1" maxOccurs="1">
                <xsd:annotation>
                	<xsd:documentation>Önálló tenyészet kódja</xsd:documentation></xsd:annotation>
                <xsd:simpleType>
					<xsd:restriction base="xsd:int">
						<xsd:maxInclusive value="9999999"></xsd:maxInclusive>
						<xsd:minInclusive value="1"></xsd:minInclusive>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="SertesFelugyeloAzon" minOccurs="0" maxOccurs="1">
                <xsd:annotation>
                	<xsd:documentation>Sertéságazati felügyelő azonosítója</xsd:documentation></xsd:annotation>
                <xsd:simpleType>
					<xsd:restriction base="xsd:int">
						<xsd:minInclusive value="1"></xsd:minInclusive>
						<xsd:maxInclusive value="9999"></xsd:maxInclusive>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="GyartoKodja" minOccurs="0" maxOccurs="1">
                <xsd:annotation>
                	<xsd:documentation>Gyártó kódja</xsd:documentation></xsd:annotation>
                <xsd:simpleType>
					<xsd:restriction base="xsd:int">
						<xsd:minInclusive value="1"></xsd:minInclusive>
						<xsd:maxInclusive value="99"></xsd:maxInclusive>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="FuljGyartmanyKodja" minOccurs="0" maxOccurs="1">
                <xsd:annotation>
                	<xsd:documentation>Füljelző gyártmány kódja</xsd:documentation></xsd:annotation>
                <xsd:simpleType>
					<xsd:restriction base="xsd:int">
						<xsd:maxInclusive value="999"></xsd:maxInclusive>
						<xsd:minInclusive value="1"></xsd:minInclusive>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="FuljelzoPotlasAdat" type="FuljelzoPotlasAdat"
				minOccurs="1" maxOccurs="unbounded"></xsd:element>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="FuljelzoPotlasok">
		<xsd:sequence>
			<xsd:element name="FuljelzoPotlas" type="FuljelzoPotlas"
				minOccurs="1" maxOccurs="unbounded"></xsd:element>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:element name="FuljelzoPotlasok" type="FuljelzoPotlasok"></xsd:element>
</xsd:schema>