view WebServiceToolWorkflow/lib/SAWADLParser/Files/3A4_Simplified_PurchaseOrderRequest.xsd @ 0:d5cd409b8a18 default tip

Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author ganjoo
date Tue, 07 Jun 2011 18:00:50 -0400
parents
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by michal (jakas) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns="http://www.sws-challenge.org/schemas/rnet/POR" 
  xmlns:dict="http://www.sws-challenge.org/schemas/rnet/dictionary" 
  xmlns:core="http://www.sws-challenge.org/schemas/rnet/coreElements" 
  targetNamespace="http://www.sws-challenge.org/schemas/rnet/POR" 
  elementFormDefault="qualified" 
  attributeFormDefault="unqualified"
  xmlns:sawsdl="http://www.w3.org/2002/ws/sawsdl/spec/sawsdl#" 
  xmlns:Ontology1="http://www.owl-ontologies.com/sws_challenge.owl">
	<xs:annotation>
		<xs:documentation>Authors: Michal Zaremba, Holger Lausen
$Revision: 1.6 $
$Date: 2006/04/12 16:32:29 $

This XML Schema has been created on the basis of the RosettaNet specification (http://rosettanet.org/) 
and is solely intended for the Semantic Web Challenge (http://www.sws-challenge.org/). The Schema has 
been simplified in several aspect, e.g. all Tax related aspect have been deleted for the saint of simplicity.</xs:documentation>
	</xs:annotation>
	<xs:import namespace="http://www.sws-challenge.org/schemas/rnet/dictionary" schemaLocation="3A4_PurchaseOrder_Dictionary.xsd"/>
	<xs:import namespace="http://www.sws-challenge.org/schemas/rnet/coreElements" schemaLocation="3A4_PurchaseOrder_CoreElements.xsd"/>
	<xs:element name="Pip3A4PurchaseOrderRequest" sawsdl:modelReference="Ontology1#PurchaseOrderRequest">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="core:fromRole" />
				<xs:element ref="PurchaseOrder" sawsdl:modelReference="Ontology1#PurchaseOrder" sawsdl:liftingSchemaMapping="http://localhost:9090/testcase/PurchaseOrderLifting.xq"/>
				<xs:element ref="core:thisDocumentGenerationDateTime" sawsdl:modelReference="Ontology1#RequestedDateTime" />
				<xs:element ref="core:thisDocumentIdentifier" sawsdl:modelReference="Ontology1#DocumentIdentifier" />
				<xs:element ref="core:toRole" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="PurchaseOrder">
		<xs:annotation>
			<xs:documentation>The collection of business properties that describe a buyer's offer to purchase a quantity of products at an agreed price and schedule.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="dict:GlobalPurchaseOrderTypeCode" maxOccurs="unbounded"/>
				<xs:element ref="core:isDropShip"/>
				<xs:element ref="ProductLineItem" maxOccurs="unbounded"/>
				<xs:element ref="core:requestedEvent" minOccurs="0"/>
				<xs:element ref="core:shipTo" minOccurs="0"/>
				<xs:element ref="core:totalAmount" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ProductLineItem" sawsdl:modelReference="Ontology1#LineItem">
		<xs:annotation>
			<xs:documentation>The collection of business properties that describe a business document entry for a product.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="dict:GlobalProductUnitOfMeasureCode"/>
				<xs:element ref="core:isDropShip"/>
				<xs:element ref="core:LineNumber"/>
				<xs:element ref="OrderQuantity"/>
				<xs:element ref="core:ProductIdentification"/>
				<xs:element ref="core:requestedEvent"/>
				<xs:element ref="core:requestedUnitPrice" minOccurs="0"/>
				<xs:element ref="core:totalLineItemAmount" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="OrderQuantity">
		<xs:annotation>
			<xs:documentation>The collection of business properties that describe various types of product quantity used in an ordering process.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="core:requestedQuantity"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>