<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (C) 2025  P4pillon.org

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" 
	targetNamespace="JulienMisiak" xmlns:schemas="JulienMisiak">
	<xs:element name="Reception_Commande_Scan">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="schemas:ref" />
				<xs:element ref="schemas:scan" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ref" type="xs:token"/>

  <xs:element name="scan">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="schemas:ligne" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>

		<xs:element name="ligne">
		<xs:complexType>
      <xs:attribute name="Num" type="xs:token"/>
			<xs:attribute name="Code" type="xs:token"/>
			<xs:attribute name="Designation" type="xs:token"/>
      <xs:attribute name="Quantité" type="xs:token"/>
		</xs:complexType>
	</xs:element>
	
</xs:schema>
