<?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="NetworkInformationFile" type="ns:NetworkInformationFileType"/>

	<xs:complexType name="NetworkInformationFileType">
		<xs:sequence>
			<xs:element name="VersionUpdate" type="xs:dateTime"/>
			<xs:element name="NIFType">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="Physical Network"/>
						<xs:enumeration value="Commercial Operator"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ActualBroadcastNetwork" type="ns:BroadcastNetworkType"/>
			<xs:element name="OtherBroadcastNetwork" type="ns:BroadcastNetworkType" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="BroadcastNetworkType">
		<xs:sequence>
			<xs:element name="NetworkType">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="Satellite"/>
						<xs:enumeration value="Terrestrial"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="NetworkName" type="xs:string"/>
			<xs:element name="NIPNetworkProviderName" type="xs:string"/>
			<xs:element name="SatellitePosition" type="ns:SatellitePositionType" minOccurs="0"/>
			<xs:element name="NIPNetworkID">
				<xs:simpleType>
					<xs:restriction base="xs:unsignedShort">
						<xs:minInclusive value="1"/>
						<xs:maxInclusive value="65280"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="NIPStream" type="ns:NIPStreamType" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="SatellitePositionType">
		<xs:sequence>
			<xs:element name="OrbitalPosition" type="xs:double"/>
			<xs:element name="West_East_flag">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="West"/>
						<xs:enumeration value="East"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="NIPStreamType">
<xs:sequence>
<xs:element name="LinkLayerFormat">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="GSE-Lite"/>
<xs:enumeration value="TS"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NIPStreamProviderName" type="xs:string"/>
<xs:element name="NIPCarrierID">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:maxInclusive value="65535"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NIPLinkID">
<xs:simpleType>
<xs:restriction base="xs:nonNegativeInteger">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="65535"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NIPServiceID">
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="65535"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BootstrapStream" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="BootstrapType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Physical Network"/>
<xs:enumeration value="Commercial Operator"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Status">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Active"/>
<xs:enumeration value="Not Active"/>
<xs:enumeration value="Deprecated"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

</xs:sequence>
</xs:complexType>

</xs:schema>