<?xml version = "1.0" encoding = "UTF-8"?>
<!--Generated by Turbo XML 2.3.0.100. Conforms to w3c http://www.w3.org/2000/10/XMLSchema-->
<schema xmlns = "http://www.w3.org/2001/XMLSchema"
	 targetNamespace = "http://www.ipdr.org/namespaces/ipdr"
	 xmlns:ipdr = "http://www.ipdr.org/namespaces/ipdr"
	
	 version = "3.0-A.0"
	 elementFormDefault = "qualified"
	 attributeFormDefault = "unqualified">
	<annotation>
		<documentation>
				Identifies a unique subscriber in the system.
				Ip address, account number etc
			
		</documentation>
	</annotation>
	<include schemaLocation = "http://www.ipdr.org/public/IPDRDoc3.0.xsd"/>
	<element name = "subscriberID" type = "string"/>
	<element name = "destAddress" type = "ipdr:ipV4Addr">
		<annotation>
			<documentation>
				IP address of streaming destination.
			
			</documentation>
		</annotation>
	</element>
	<element name = "serviceProviderID" type = "string">
		<annotation>
			<documentation>
				Service provider of streaming service.
			
			</documentation>
		</annotation>
	</element>
	<element name = "sourceAddress" type = "ipdr:ipV4Addr">
		<annotation>
			<documentation>
				IP address of streaming server
			
			</documentation>
		</annotation>
	</element>
	<element name = "startTime" type = "ipdr:dateTimeMsec">
		<annotation>
			<documentation>
				Time instant the stream starts playing.
			
			</documentation>
		</annotation>
	</element>
	<element name = "endTime" type = "ipdr:dateTimeMsec">
		<annotation>
			<documentation>
				Time instant the stream stops playing.
			
			</documentation>
		</annotation>
	</element>
	<element name = "timeZoneOffset" type = "int">
		<annotation>
			<documentation>
				Number of minutes ahead (+) or behind (-) GMT of the local time zone in which the service is 				consumed.
			</documentation>
			<appinfo>
				<ipdr:units>minutes</ipdr:units>
			</appinfo>
		</annotation>
	</element>
	<element name = "terminationStatus">
		<annotation>
			<documentation>
				Indication of the nature of termination of the session.
				
			</documentation>
		</annotation>
		<simpleType>
			<restriction base = "string">
				<enumeration value = "Normal"/>
				<enumeration value = "Client Failure"/>
				<enumeration value = "Server Failure"/>
				<enumeration value = "Connection Failure"/>
			</restriction>
		</simpleType>
	</element>
	<element name = "streamName" type = "string">
		<annotation>
			<documentation>
				Descriptive name of stream
			
			</documentation>
		</annotation>
	</element>
	<element name = "streamID" type = "string">
		<annotation>
			<documentation>
				Unique id of stream. This id is used to uniquely identify the stream where the name does not provide a unique value.
			
			</documentation>
		</annotation>
	</element>
	<element name = "charge" type = "float">
		<annotation>
			<documentation>
				Monetary amount to be charged.
			
			</documentation>
		</annotation>
	</element>
	<element name = "chargeCurrency" type = "string">
		<annotation>
			<appinfo>
				<ipdr:reference>http://www.iso.ch</ipdr:reference>
			</appinfo>
			<documentation>
				Currency unit of charge amount.
				Encoded using ISO 4217:2001.
			
			</documentation>
		</annotation>
	</element>
	<element name = "codec" type = "string">
		<annotation>
			<documentation>
				Codec used for video stream.
			
			</documentation>
		</annotation>
	</element>
	<element name = "numAudioStreams" type = "int">
		<annotation>
			<documentation>
				Count of audio streams.
			
			</documentation>
		</annotation>
	</element>
	<element name = "numVideoStreams" type = "int">
		<annotation>
			<documentation>
				Count of video streams.
			
			</documentation>
		</annotation>
	</element>
	<element name = "averageBandwidth" type = "long">
		<annotation>
			<appinfo>
				<ipdr:units>bps</ipdr:units>
			</appinfo>
			<documentation>
				Average bandwidth used for stream.
			
			</documentation>
		</annotation>
	</element>
	<element name = "totalVolume" type = "long">
		<annotation>
			<appinfo>
				<ipdr:units>bytes</ipdr:units>
			</appinfo>
			<documentation>
				Total volume used for stream.
			
			</documentation>
		</annotation>
	</element>
	<element name = "qosRequested" type = "int">
		<annotation>
			<documentation>
				Requested QoS corresponding to the SLA or dynamic QoS request
				0..255
			
			</documentation>
		</annotation>
	</element>
	<element name = "qosDelivered" type = "int">
		<annotation>
			<documentation>
				Pre-calculated indicator representing the delivered / negotiated QoS. Physical attributes such as latency or error rates are weighted and combined into one value.
				0..255
			
			</documentation>
		</annotation>
	</element>
	<element name = "qosMeasurement" type = "string">
		<annotation>
			<documentation>
				QoS measurement such as delay, jitter or other parameter.
			
			</documentation>
		</annotation>
	</element>
	<complexType name = "IPDR-SM-Type">
		<complexContent>
			<extension base = "ipdr:IPDRType">
				<sequence>
					<element ref = "ipdr:subscriberID"/>
					<element ref = "ipdr:destAddress"/>
					<element ref = "ipdr:serviceProviderID"/>
					<element ref = "ipdr:sourceAddress"/>
					<element ref = "ipdr:startTime"/>
					<element ref = "ipdr:endTime"/>
					<element ref = "ipdr:timeZoneOffset"/>
					<element ref = "ipdr:terminationStatus"/>
					<element ref = "ipdr:streamName"/>
					<element ref = "ipdr:streamID"/>
					<element ref = "ipdr:charge" minOccurs = "0"/>
					<element ref = "ipdr:chargeCurrency" minOccurs = "0"/>
					<element ref = "ipdr:codec" minOccurs = "0"/>
					<element ref = "ipdr:numAudioStreams" minOccurs = "0"/>
					<element ref = "ipdr:numVideoStreams" minOccurs = "0"/>
					<element ref = "ipdr:averageBandwidth" minOccurs = "0"/>
					<element ref = "ipdr:totalVolume" minOccurs = "0"/>
					<element ref = "ipdr:qosRequested" minOccurs = "0"/>
					<element ref = "ipdr:qosDelivered" minOccurs = "0"/>
					<element ref = "ipdr:qosMeasurement" minOccurs = "0"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
</schema>