<?xml version="1.0" encoding="UTF-8"?>
<!--
	   FILE INFORMATION 
	   
	   Description 
	   This file describes PXPROF bindings for Parlay X Web Services, Common Types 
	   
	   Version: 1.0 (1.0)
	   Date: 13 April 2010 
	   
	   Name: pxprof_common_types-v1_0.xsd 
	   Type: XSD 
	   
	   This file is part of the WSDL package available at:
	   path:    http://www.openmobilealliance.org/tech/wsdl
	   name:  pxprof_common-v1_0.zip
	   
	   
	   LEGAL DISCLAIMER
	   
	   Use of this document is subject to all of the terms and 
	   conditions of the Use Agreement located at 
	   http://www.openmobilealliance.org/UseAgreement.html, 
	   provided, however, that section (d) under "Documents – Terms 
	   of Use" which states, "no modifications are made to such 
	   Documents" does not apply to your use.
	   
	   The Open Mobile Alliance authorizes you to copy this document, 
	   provided that you retain all copyright and other proprietary  
	   notices contained in the original materials on any copies of the 
	   materials and  that you comply strictly with these terms. This 
	   copyright permission does not constitute an endorsement of the 
	   products or services. The Open Mobile Alliance assumes no 
	   responsibility for errors or omissions in this document.
	   
	   Each Open Mobile Alliance member has agreed to use reasonable 
	   endeavors to inform the Open Mobile Alliance in a timely manner 
	   of Essential IPR as it becomes aware that the Essential IPR is 
	   related to the prepared or published specification. However, the 
	   members do not have an obligation to conduct IPR searches. The 
	   declared Essential IPR is publicly available to members and 
	   non-members of the Open Mobile Alliance and may be found on the 
	   "OMA IPR Declarations" list at 
	   http://www.openmobilealliance.org/ipr.html. 
	   The Open Mobile Alliance has not conducted an independent IPR 
	   review of this document and the information contained herein, 
	   and makes no representations or warranties regarding third 
	   party IPR, including without limitation patents, copyrights or 
	   trade secret rights. This document may contain inventions for 
	   which you must obtain licenses from third parties before 
	   making, using or selling the inventions. Defined terms above 
	   are set forth in the schedule to the Open Mobile Alliance 
	   Application Form which may be found on the Open Mobile 
	   Alliance Web site.
	   
	   NO REPRESENTATIONS OR WARRANTIES (WHETHER EXPRESS OR IMPLIED) 
	   ARE MADE BY THE OPEN MOBILE ALLIANCE OR ANY OPEN MOBILE ALLIANCE 
	   MEMBER OR ITS AFFILIATES REGARDING ANY OF THE IPR'S REPRESENTED 
	   ON THE "OMA IPR DECLARATIONS" LIST, INCLUDING, BUT NOT LIMITED 
	   TO THE ACCURACY, COMPLETENESS, VALIDITY OR RELEVANCE OF THE 
	   INFORMATION OR WHETHER OR NOT SUCH RIGHTS ARE ESSENTIAL OR 
	   NON-ESSENTIAL.
	   
	   YOUR USE OF THE DOCUMENTS AND THE INFORMATION CONTAINED IN THE 
	   DOCUMENTS IS AT YOUR SOLE RISK. THE DOCUMENTS ARE PROVIDED ON AN 
	   'AS IS' 'AS AVAILABLE' AND 'WITH ALL FAULTS' BASIS. THE OPEN 
	   MOBILE ALLIANCE IS NOT LIABLE FOR AND HEREBY DISCLAIMS ANY 
	   DIRECT, INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL, CONSEQUENTIAL, 
	   OR EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE 
	   USE OF THE DOCUMENTS AND THE INFORMATION CONTAINED IN THE 
	   DOCUMENTS.
	   
	   Copyright 2010 Open Mobile Alliance Ltd. All Rights Reserved.
	   Used with the permission of the Open Mobile Alliance Ltd. under 
	   the terms set forth above.
-->


<xsd:schema 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
targetNamespace="urn:oma:wsdl:pxprof:common:1:types" 
xmlns:pxprof_common_types="urn:oma:wsdl:pxprof:common:1:types">

   <xsd:complexType name="TimeMetric">
      <xsd:sequence>
         <xsd:element name="metric" type="pxprof_common_types:TimeMetrics"/>
         <xsd:element name="units" type="xsd:int"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="ChargingInformation">
      <xsd:sequence>
         <xsd:element name="description" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>
         <xsd:element maxOccurs="1" minOccurs="0" name="currency" type="xsd:string"/>
         <xsd:element maxOccurs="1" minOccurs="0" name="amount" type="xsd:decimal"/>
         <xsd:element maxOccurs="1" minOccurs="0" name="code" type="xsd:string"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="SimpleReference">
      <xsd:sequence>
         <xsd:element name="endpoint" type="xsd:anyURI"/>
         <xsd:element name="interfaceName" type="xsd:string"/>
         <xsd:element name="correlator" type="xsd:string"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="ServiceError">
      <xsd:sequence>
         <xsd:element name="messageId" type="xsd:string"/>
         <xsd:element name="text" type="xsd:string"/>
         <xsd:element maxOccurs="unbounded" minOccurs="0" name="variables" type="xsd:string"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:simpleType name="RetrievalStatus">
      <xsd:restriction base="xsd:string">
         <xsd:enumeration value="Retrieved"/>
         <xsd:enumeration value="NotRetrieved"/>
         <xsd:enumeration value="Error"/>
      </xsd:restriction>
   </xsd:simpleType>

   <xsd:simpleType name="TimeMetrics">
      <xsd:restriction base="xsd:string">
         <xsd:enumeration value="Millisecond"/>
         <xsd:enumeration value="Second"/>
         <xsd:enumeration value="Minute"/>
         <xsd:enumeration value="Hour"/>
         <xsd:enumeration value="Day"/>
         <xsd:enumeration value="Week"/>
         <xsd:enumeration value="Month"/>
         <xsd:enumeration value="Year"/>
      </xsd:restriction>
   </xsd:simpleType>

   <xsd:element name="ServiceException" type="pxprof_common_types:ServiceException"/>
   <xsd:complexType name="ServiceException">
      <xsd:sequence>
         <xsd:element name="messageId" type="xsd:string"/>
         <xsd:element name="text" type="xsd:string"/>
         <xsd:element maxOccurs="unbounded" minOccurs="0" name="variables" type="xsd:string"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:element name="PolicyException" type="pxprof_common_types:PolicyException"/>
   <xsd:complexType name="PolicyException">
      <xsd:sequence>
         <xsd:element name="messageId" type="xsd:string"/>
         <xsd:element name="text" type="xsd:string"/>
         <xsd:element maxOccurs="unbounded" minOccurs="0" name="variables" type="xsd:string"/>
      </xsd:sequence>
   </xsd:complexType>
</xsd:schema>
