﻿<?xml version="1.0" encoding="utf-8" ?>
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="integrar">
		<xs:complexType>
			<xs:attribute name="produtos" type="xs:boolean" />
			<xs:attribute name="estoque" type="xs:boolean" />
			<xs:attribute name="precos" type="xs:boolean" />
		</xs:complexType>
	</xs:element>
	<xs:element name="produto" final="">
		<xs:complexType>
			<xs:attribute name="Ativo" type="xs:boolean" use="required" />
			<xs:attribute name="IntegracaoID" type="xs:integer" use="required" />
			<xs:attribute name="Descricao" use="required">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="100" />
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="DescricaoReduzida">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="50" />
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="Altura" type="xs:decimal" />
			<xs:attribute name="Largura" type="xs:decimal" />
			<xs:attribute name="Comprimento" type="xs:decimal" />
			<xs:attribute name="Diametro" type="xs:decimal" />
			<xs:attribute name="Peso" type="xs:decimal" />
			<xs:attribute name="Preco" type="xs:decimal" />
			<xs:attribute name="PrecoPromocao" type="xs:decimal" />
      <xs:attribute name="PrecoAVista" type="xs:decimal" />
			<xs:attribute name="Marca" type="xs:string" use="required" />
			<xs:attribute name="UnidadeID" type="xs:integer" use="required" />
			<xs:attribute name="CategoriaID" type="xs:integer" use="required" />
			<xs:attribute name="Estoque" type="xs:decimal" use="required" />
			<xs:attribute name="ImagensID" type="xs:string" />
			<xs:attribute name="Texto" type="xs:string" />
			<xs:attribute name="CategoriaEcommerceID" type="xs:string" />
			<xs:attribute name="CodDestaque" type="xs:integer" />
      <xs:attribute name="NumeroRegistroInmetro" type="xs:string" />
		</xs:complexType>
	</xs:element>
</xs:schema>
