<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:dvb:metadata:nativeip:2023" targetNamespace="urn:dvb:metadata:nativeip:2023" elementFormDefault="qualified">
	<xs:element name="TimeOffsetFile" type="ns:TimeOffsetFileType"/>
	
	<xs:complexType name="TimeOffsetFileType">
		<xs:sequence>
			<xs:element name="VersionUpdate" type="xs:dateTime"/>
			<xs:element name="country_code">
				<xs:simpleType>
					<xs:restriction base= "xs:string">
						<xs:pattern value="[A-Z][A-Z][A-Z]"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="country_region_Id" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base= "xs:nonNegativeInteger" >
						<xs:minInclusive value="0"/>
						<xs:maxInclusive value="63" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="local_time_offset_polarity" type="xs:boolean"/>
				<xs:element name="local_time_offset_value">
				<xs:simpleType>
					<xs:restriction base= "xs:nonNegativeInteger">
						<xs:minInclusive value="0"/>
						<xs:maxInclusive value="43119"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="time_of_change" type="xs:dateTime" minOccurs="0"/>
			<xs:element name="next_time_offset_value" type="xs:nonNegativeInteger" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>