View schema

Schema URL http://dd.eionet.europa.eu/schemas/Mercury/MercuryAsNonWaste.xsd
File name MercuryAsNonWaste.xsd
Schema set Mercury
Name Mercury - Mercury As Non Waste

There are 2 QA scripts and 2 conversion scripts registered for this schema.
Link to the schema page on XMLCONV

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema 
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns="http://dd.eionet.europa.eu/schemas/Mercury"
	targetNamespace="http://dd.eionet.europa.eu/schemas/Mercury" elementFormDefault="qualified">
	
	<xs:complexType name="DatasetAImportRestrictions">
		<xs:annotation>
			<xs:documentation>
				Has the Member State granted written consent to import mercury or mixtures of mercury for a use allowed in accordance with the second sub-paragraph of Article 4(1) of Regulation (EU) 2017/852?
			</xs:documentation>
		</xs:annotation>
		
		<xs:sequence>
			<xs:element name="referenceYear" type="xs:gYear" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Reference Year
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="hasGrantedWrittenConsent" type="YesNoType" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Has the Member State granted written consent to import mercury or mixtures of mercury for a use allowed in accordance with the second sub-paragraph of Article 4(1) of Regulation (EU) 2017/852?
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="consentDescription" type="xs:string" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						If the Member State has granted written consent to import mercury or mixtures of mercury for a use allowed in accordance with the second sub-paragraph of Article 4(1) of Regulation (EU) 2017/852, report the description
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="hasSentCopyOfForms" type="YesNoType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Has a copy of the form(s) used to grant or deny written consent on import pursuant to the second subparagraph of Article 4(1) of Regulation (EU) 2017/852 during the reporting year N-1 been sent?
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			
			<xs:element name="MercuryAsNonWaste" type="MercuryAsNonWaste" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="MercuryAsNonWaste">
		<xs:annotation>
			<xs:documentation>
				Imported mercury and imported mixtures of mercury as non-waste
			</xs:documentation>
		</xs:annotation>
	
		<xs:sequence>
			<xs:element name="amount" type="xs:decimal" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Amount of mercury waste imported
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="purpose" type="NonWastePurposeType" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						Intended use(s) of imported mercury of mixtures of mercury (t/y per intended use)
					</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="otherPurposeDescription" type="xs:string" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>
						If purpose is '5. Other', report the intended use description
					</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<xs:simpleType name="YesNoType">
		<xs:annotation>
			<xs:documentation>Yes/No</xs:documentation>
		</xs:annotation>
		
		<xs:restriction base="xs:string">
			<xs:enumeration value="Yes"/>
			<xs:enumeration value="No"/>
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="NonWastePurposeType">
		<xs:annotation>
			<xs:documentation>Intended uses of imported mercury of mixtures of mercury (t/y per intended use)</xs:documentation>
		</xs:annotation>
		
		<xs:restriction base="xs:string">
			<xs:enumeration value="1. Conversion"/>
			<xs:enumeration value="2. Solidification"/>
			<xs:enumeration value="3. Interim storage"/>
			<xs:enumeration value="4. Permanent storage after conversion and/or solidification"/>
			<xs:enumeration value="5. Other"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:element name="ImportRestrictions" type="DatasetAImportRestrictions">
		<xs:annotation>
			<xs:documentation xml:lang="en">Import Restrictions (Article 4)</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>
Note

A check-in comment is required. Please enter it below.


Note

The schema's file name will not be changed, regardless of the name of the file you upload. Only the file contents will be overwritten!

Note

A new version requires a new file with a new name: