comparison WebServiceToolWorkflow/lib/SAWADLParser/Files/3A4_PurchaseOrder_CoreElements.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
comparison
equal deleted inserted replaced
-1:000000000000 0:d5cd409b8a18
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by michal (jakas) -->
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sws-challenge.org/schemas/rnet/coreElements" xmlns:dict="http://www.sws-challenge.org/schemas/rnet/dictionary" targetNamespace="http://www.sws-challenge.org/schemas/rnet/coreElements" elementFormDefault="qualified" attributeFormDefault="unqualified"
4 xmlns:Ontology1="http://www.owl-ontologies.com/sws_challenge.owl"
5 xmlns:xml="http://www.w3.org/XML/1998/namespace"
6 xmlns:sawsdl="http://www.w3.org/2002/ws/sawsdl/spec/sawsdl#">
7
8 <xs:annotation>
9 <xs:documentation>Authors: Michal Zaremba, Holger Lausen
10 $Revision: 1.2 $
11 $Date: 2006/03/22 17:05:21 $
12
13 This XML Core Elements has been created on the basis of the RosettaNet specification (http://rosettanet.org/)
14 and is solely intended for the Semantic Web Challenge (http://www.sws-challenge.org/).</xs:documentation>
15 </xs:annotation>
16 <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
17 <xs:import namespace="http://www.sws-challenge.org/schemas/rnet/dictionary" schemaLocation="3A4_PurchaseOrder_Dictionary.xsd"/>
18 <xs:element name="FreeFormText">
19 <xs:annotation>
20 <xs:documentation>Unformatted text.</xs:documentation>
21 </xs:annotation>
22 <xs:complexType mixed="true">
23 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
24 <xs:attribute ref="xml:lang"/>
25 </xs:complexType>
26 </xs:element>
27 <xs:element name="businessName">
28 <xs:annotation>
29 <xs:documentation>The name of a business entity.</xs:documentation>
30 </xs:annotation>
31 <xs:complexType>
32 <xs:sequence>
33 <xs:element ref="FreeFormText" sawsdl:modelReference="Ontology1#BusinessName"/>
34 </xs:sequence>
35 </xs:complexType>
36 </xs:element>
37 <xs:element name="BusinessDescription">
38 <xs:annotation>
39 <xs:documentation>The collection of business properties that describe a business identity and location.</xs:documentation>
40 </xs:annotation>
41 <xs:complexType>
42 <xs:sequence>
43 <xs:element ref="businessName" minOccurs="0"/>
44 </xs:sequence>
45 </xs:complexType>
46 </xs:element>
47 <xs:element name="addressLine1">
48 <xs:annotation>
49 <xs:documentation>The first line of a physical address.</xs:documentation>
50 </xs:annotation>
51 <xs:complexType>
52 <xs:sequence>
53 <xs:element ref="FreeFormText" sawsdl:modelReference="Ontology1#Street"/>
54 </xs:sequence>
55 </xs:complexType>
56 </xs:element>
57 <xs:element name="cityName">
58 <xs:annotation>
59 <xs:documentation>The name of a city.</xs:documentation>
60 </xs:annotation>
61 <xs:complexType>
62 <xs:sequence>
63 <xs:element ref="FreeFormText" sawsdl:modelReference="Ontology1#City"/>
64 </xs:sequence>
65 </xs:complexType>
66 </xs:element>
67 <xs:element name="NationalPostalCode">
68 <xs:annotation>
69 <xs:documentation>Code identifying geographic location as specified by a national postal code.</xs:documentation>
70 </xs:annotation>
71 <xs:complexType mixed="true">
72 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
73 </xs:complexType>
74 </xs:element>
75 <xs:element name="PhysicalAddress">
76 <xs:annotation>
77 <xs:documentation>The actual physical location of an entity as prescribed by local postal authorities, including country identification as it relates to the party or a product.</xs:documentation>
78 </xs:annotation>
79 <xs:complexType>
80 <xs:sequence>
81 <xs:element ref="addressLine1" minOccurs="0"/>
82 <xs:element ref="cityName" minOccurs="0"/>
83 <xs:element ref="dict:GlobalCountryCode" minOccurs="0" sawsdl:modelReference="Ontology1#Country"/>
84 <xs:element ref="NationalPostalCode" minOccurs="0" sawsdl:modelReference="Ontology1#PostalCode"/>
85 </xs:sequence>
86 </xs:complexType>
87 </xs:element>
88 <xs:element name="PhysicalLocation">
89 <xs:annotation>
90 <xs:documentation>The collection of business properties that identify and describe the actual physical location of an entity as prescribed by local postal authorities, including country identification.</xs:documentation>
91 </xs:annotation>
92 <xs:complexType>
93 <xs:sequence>
94 <xs:element ref="PhysicalAddress" minOccurs="0"/>
95 </xs:sequence>
96 </xs:complexType>
97 </xs:element>
98 <xs:element name="PartnerDescription">
99 <xs:annotation>
100 <xs:documentation>The collection of business properties that describe a business partners' identity, their contact information, where they are physically located and their function in a supply chain.</xs:documentation>
101 </xs:annotation>
102 <xs:complexType>
103 <xs:sequence>
104 <xs:element ref="BusinessDescription"/>
105 <xs:element ref="ContactInformation" minOccurs="0" sawsdl:modelReference="Ontology1#ContactPerson"/>
106 <xs:element ref="PhysicalLocation" minOccurs="0"/>
107 </xs:sequence>
108 </xs:complexType>
109 </xs:element>
110 <xs:element name="PartnerRoleDescription">
111 <xs:annotation>
112 <xs:documentation>The collection of business properties that describe a business partners' role in a partner interface process.</xs:documentation>
113 </xs:annotation>
114 <xs:complexType>
115 <xs:sequence>
116 <xs:element ref="ContactInformation" minOccurs="0"/>
117 <xs:element ref="dict:GlobalPartnerRoleClassificationCode"/>
118 <xs:element ref="PartnerDescription"/>
119 </xs:sequence>
120 </xs:complexType>
121 </xs:element>
122 <xs:element name="MonetaryAmount">
123 <xs:annotation>
124 <xs:documentation>Magnitude of currency amount.</xs:documentation>
125 </xs:annotation>
126 <xs:complexType mixed="true">
127 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
128 </xs:complexType>
129 </xs:element>
130 <xs:element name="FinancialAmount">
131 <xs:annotation>
132 <xs:documentation>The collection of business properties that describe the monetary amount defined by a specified currency.</xs:documentation>
133 </xs:annotation>
134 <xs:complexType>
135 <xs:sequence>
136 <xs:element ref="dict:GlobalCurrencyCode"/>
137 <xs:element ref="MonetaryAmount"/>
138 </xs:sequence>
139 </xs:complexType>
140 </xs:element>
141 <xs:element name="totalAmount">
142 <xs:annotation>
143 <xs:documentation>Total price for an entire business document.</xs:documentation>
144 </xs:annotation>
145 <xs:complexType>
146 <xs:sequence>
147 <xs:element ref="FinancialAmount"/>
148 </xs:sequence>
149 </xs:complexType>
150 </xs:element>
151 <xs:element name="shipTo">
152 <xs:annotation>
153 <xs:documentation>The partner and/or location to which the product must be delivered.</xs:documentation>
154 </xs:annotation>
155 <xs:complexType>
156 <xs:sequence>
157 <xs:element ref="PartnerDescription"/>
158 </xs:sequence>
159 </xs:complexType>
160 </xs:element>
161 <xs:element name="DateStamp">
162 <xs:annotation>
163 <xs:documentation>Specifies a specific date. Date stamp based on the ISO 8601 specification. The "Z" following the day identifier (DD) is used to indicate Coordinated Universal Time. Informal format: YYYYMMDDZ</xs:documentation>
164 </xs:annotation>
165 <xs:complexType mixed="true">
166 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
167 </xs:complexType>
168 </xs:element>
169 <xs:element name="TransportationEvent">
170 <xs:annotation>
171 <xs:documentation>The collection of business properties that describe the occurrence of the public conveyance of goods as a commercial enterprise.</xs:documentation>
172 </xs:annotation>
173 <xs:complexType>
174 <xs:sequence>
175 <xs:element ref="DateStamp"/>
176 <xs:element ref="dict:GlobalTransportEventCode"/>
177 </xs:sequence>
178 </xs:complexType>
179 </xs:element>
180 <xs:element name="requestedEvent">
181 <xs:annotation>
182 <xs:documentation>The date a transportation event is requested to occur.</xs:documentation>
183 </xs:annotation>
184 <xs:complexType>
185 <xs:sequence>
186 <xs:element ref="TransportationEvent"/>
187 </xs:sequence>
188 </xs:complexType>
189 </xs:element>
190 <xs:element name="AffirmationIndicator">
191 <xs:annotation>
192 <xs:documentation>Used to indicate "Yes", "No" statements.</xs:documentation>
193 </xs:annotation>
194 <xs:complexType mixed="true">
195 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
196 </xs:complexType>
197 </xs:element>
198 <xs:element name="isDropShip">
199 <xs:annotation>
200 <xs:documentation>Indicates whether the order is a drop shipment.</xs:documentation>
201 </xs:annotation>
202 <xs:complexType>
203 <xs:sequence>
204 <xs:element ref="AffirmationIndicator"/>
205 </xs:sequence>
206 </xs:complexType>
207 </xs:element>
208 <xs:element name="toRole" sawsdl:modelReference="Ontology1#ToRole">
209 <xs:annotation>
210 <xs:documentation>The role receiving the document in a business document exchange.</xs:documentation>
211 </xs:annotation>
212 <xs:complexType>
213 <xs:sequence>
214 <xs:element ref="PartnerRoleDescription" sawsdl:liftingSchemaMapping="PartnerRoleDescriptionLifting.xslt" sawsdl:loweringSchemaMapping="PartnerRoleDescriptionLowering.xslt"/>
215 </xs:sequence>
216 </xs:complexType>
217 </xs:element>
218 <xs:element name="requestingDocumentIdentifier">
219 <xs:annotation>
220 <xs:documentation>Unique tracking identification number that identifies a request.</xs:documentation>
221 </xs:annotation>
222 <xs:complexType>
223 <xs:sequence>
224 <xs:element ref="ProprietaryDocumentIdentifier"/>
225 </xs:sequence>
226 </xs:complexType>
227 </xs:element>
228 <xs:element name="ProprietaryDocumentIdentifier">
229 <xs:annotation>
230 <xs:documentation>Unique identifier, i.e. a numeric value or alphanumeric value, for a business document.</xs:documentation>
231 </xs:annotation>
232 <xs:complexType mixed="true">
233 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
234 </xs:complexType>
235 </xs:element>
236 <xs:element name="LineNumber">
237 <xs:annotation>
238 <xs:documentation>Number of the line in the document.</xs:documentation>
239 </xs:annotation>
240 <xs:complexType mixed="true">
241 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
242 </xs:complexType>
243 </xs:element>
244 <xs:element name="thisDocumentIdentifier">
245 <xs:annotation>
246 <xs:documentation>The information that identifies the business document being sent. This identifier is used to represent the specific business document associated with the defined business process.</xs:documentation>
247 </xs:annotation>
248 <xs:complexType>
249 <xs:sequence>
250 <xs:element ref="ProprietaryDocumentIdentifier"/>
251 </xs:sequence>
252 </xs:complexType>
253 </xs:element>
254 <xs:element name="DateTimeStamp">
255 <xs:annotation>
256 <xs:documentation>Specifies an instance in time. Based on the ISO 8601 specification where "YYYY" represents the year, "MM" the month and "DD" the day. The letter "T" is the date/time separator and "hh", "mm", "ss.sss" represent hour, minute and second respectively. This representation is immediately followed by a "Z" to indicate Coordinated Universal Time. Informal format: YYYYMMDDThhmmss</xs:documentation>
257 </xs:annotation>
258 <xs:complexType mixed="true">
259 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
260 </xs:complexType>
261 </xs:element>
262 <xs:element name="thisDocumentGenerationDateTime">
263 <xs:annotation>
264 <xs:documentation>The date-time stamp indicating when this business document was generated.</xs:documentation>
265 </xs:annotation>
266 <xs:complexType>
267 <xs:sequence>
268 <xs:element ref="DateTimeStamp"/>
269 </xs:sequence>
270 </xs:complexType>
271 </xs:element>
272 <xs:element name="contactName">
273 <xs:annotation>
274 <xs:documentation>Name of the contact person(s) within the organization.</xs:documentation>
275 </xs:annotation>
276 <xs:complexType>
277 <xs:sequence>
278 <xs:element ref="FreeFormText" sawsdl:modelReference="Ontology1#PersonName"/>
279 </xs:sequence>
280 </xs:complexType>
281 </xs:element>
282 <xs:element name="EmailAddress">
283 <xs:annotation>
284 <xs:documentation>Electronic mail address.</xs:documentation>
285 </xs:annotation>
286 <xs:complexType mixed="true">
287 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
288 </xs:complexType>
289 </xs:element>
290 <xs:element name="CommunicationsNumber">
291 <xs:annotation>
292 <xs:documentation>The electro-technical communication number, e.g., telephone number, facsimile number, pager number.</xs:documentation>
293 </xs:annotation>
294 <xs:complexType mixed="true">
295 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
296 </xs:complexType>
297 </xs:element>
298 <xs:element name="requestingDocumentDateTime">
299 <xs:annotation>
300 <xs:documentation>The date-time that the requesting business document was generated. This is the same as the date-time stamp of the original business document.</xs:documentation>
301 </xs:annotation>
302 <xs:complexType>
303 <xs:sequence>
304 <xs:element ref="DateTimeStamp"/>
305 </xs:sequence>
306 </xs:complexType>
307 </xs:element>
308 <xs:element name="totalLineItemAmount">
309 <xs:annotation>
310 <xs:documentation>The monetary total associated with a line item.</xs:documentation>
311 </xs:annotation>
312 <xs:complexType>
313 <xs:sequence>
314 <xs:element ref="FinancialAmount"/>
315 </xs:sequence>
316 </xs:complexType>
317 </xs:element>
318 <xs:element name="requestedUnitPrice">
319 <xs:annotation>
320 <xs:documentation>The price requested for a unit of product.</xs:documentation>
321 </xs:annotation>
322 <xs:complexType>
323 <xs:sequence>
324 <xs:element ref="FinancialAmount"/>
325 </xs:sequence>
326 </xs:complexType>
327 </xs:element>
328 <xs:element name="GlobalProductIdentifier" sawsdl:modelReference="Ontology1#ProductIdentifier">
329 <xs:annotation>
330 <xs:documentation>Global unique product identifier. RosettaNet has adopted the Global Trade Identification Number (GTIN).</xs:documentation>
331 </xs:annotation>
332 <xs:complexType mixed="true">
333 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
334 </xs:complexType>
335 </xs:element>
336 <xs:element name="ProductIdentification">
337 <xs:annotation>
338 <xs:documentation>The collection of business properties that describe proprietary and global identifier information regarding a product.</xs:documentation>
339 </xs:annotation>
340 <xs:complexType>
341 <xs:sequence>
342 <xs:element ref="GlobalProductIdentifier" minOccurs="0"/>
343 </xs:sequence>
344 </xs:complexType>
345 </xs:element>
346 <xs:element name="buyerLineItem">
347 <xs:annotation>
348 <xs:documentation>Line number assigned to an item by the product buyer.</xs:documentation>
349 </xs:annotation>
350 <xs:complexType>
351 <xs:sequence>
352 <xs:element ref="LineNumber"/>
353 </xs:sequence>
354 </xs:complexType>
355 </xs:element>
356 <xs:element name="ProductQuantity" sawsdl:modelReference="Ontology1#Quantity">
357 <xs:annotation>
358 <xs:documentation>A quantity specifying the number of product units.</xs:documentation>
359 </xs:annotation>
360 <xs:complexType mixed="true">
361 <xs:choice minOccurs="0" maxOccurs="unbounded"/>
362 </xs:complexType>
363 </xs:element>
364 <xs:element name="shippedQuantity">
365 <xs:annotation>
366 <xs:documentation>Quantity of product shipped.</xs:documentation>
367 </xs:annotation>
368 <xs:complexType>
369 <xs:sequence>
370 <xs:element ref="ProductQuantity"/>
371 </xs:sequence>
372 </xs:complexType>
373 </xs:element>
374 <xs:element name="ShippedQuantityInformation">
375 <xs:annotation>
376 <xs:documentation>The collection of business properties that describe information regarding the quantity of the product shipped.</xs:documentation>
377 </xs:annotation>
378 <xs:complexType>
379 <xs:sequence>
380 <xs:element ref="DateTimeStamp"/>
381 <xs:element ref="shippedQuantity"/>
382 </xs:sequence>
383 </xs:complexType>
384 </xs:element>
385 <xs:element name="requestedQuantity">
386 <xs:annotation>
387 <xs:documentation>The quantity of product requested.</xs:documentation>
388 </xs:annotation>
389 <xs:complexType>
390 <xs:sequence>
391 <xs:element ref="ProductQuantity"/>
392 </xs:sequence>
393 </xs:complexType>
394 </xs:element>
395 <xs:element name="telephoneNumber">
396 <xs:annotation>
397 <xs:documentation>The numerical schema designed to achieve contact via telephone.</xs:documentation>
398 </xs:annotation>
399 <xs:complexType>
400 <xs:sequence>
401 <xs:element ref="CommunicationsNumber" sawsdl:modelReference="Ontology1#TelephoneNumber"/>
402 </xs:sequence>
403 </xs:complexType>
404 </xs:element>
405 <xs:element name="scheduledShipQuantity">
406 <xs:annotation>
407 <xs:documentation>Quantity of product shipped currently scheduled for shipment.</xs:documentation>
408 </xs:annotation>
409 <xs:complexType>
410 <xs:sequence>
411 <xs:element ref="ProductQuantity"/>
412 </xs:sequence>
413 </xs:complexType>
414 </xs:element>
415 <xs:element name="ContactInformation">
416 <xs:annotation>
417 <xs:documentation>The collection of business properties that provide communication and address information for contacting a person, organization or business.</xs:documentation>
418 </xs:annotation>
419 <xs:complexType>
420 <xs:sequence>
421 <xs:element ref="contactName" minOccurs="0"/>
422 <xs:element ref="EmailAddress" minOccurs="0" sawsdl:modelReference="Ontology1#Email"/>
423 <xs:element ref="telephoneNumber" minOccurs="0"/>
424 </xs:sequence>
425 </xs:complexType>
426 </xs:element>
427 <xs:element name="unitPrice">
428 <xs:annotation>
429 <xs:documentation>Agreed upon sale price for each unit ordered.</xs:documentation>
430 </xs:annotation>
431 <xs:complexType>
432 <xs:sequence>
433 <xs:element ref="FinancialAmount"/>
434 </xs:sequence>
435 </xs:complexType>
436 </xs:element>
437 <xs:element name="fromRole" sawsdl:modelReference="Ontology1#FromRole">
438 <xs:annotation>
439 <xs:documentation>The role initiating a business document exchange.</xs:documentation>
440 </xs:annotation>
441 <xs:complexType>
442 <xs:sequence>
443 <xs:element ref="PartnerRoleDescription" sawsdl:liftingSchemaMapping="PartnerRoleDescriptionLifting.xslt" sawsdl:loweringSchemaMapping="PartnerRoleDescriptionLowering.xslt"/>
444 </xs:sequence>
445 </xs:complexType>
446 </xs:element>
447 </xs:schema>