comparison WebServiceToolWorkflow/lib/SAWADLParser/Files/NewsSearchResponse.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" ?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 targetNamespace="urn:yahoo:yn"
4 xmlns="urn:yahoo:yn"
5 elementFormDefault="qualified">
6
7 <xs:element name="ResultSet">
8 <xs:complexType>
9 <xs:sequence>
10 <xs:element name="Result" type="ResultType" minOccurs="0" maxOccurs="50" />
11 </xs:sequence>
12 <xs:attribute name="totalResultsAvailable" type="xs:integer" />
13 <xs:attribute name="totalResultsReturned" type="xs:integer" />
14 <xs:attribute name="firstResultPosition" type="xs:integer" />
15 </xs:complexType>
16 </xs:element>
17
18 <xs:complexType name="ResultType">
19 <xs:sequence>
20 <xs:element name="Title" type="xs:string" />
21 <xs:element name="Summary" type="xs:string" />
22 <xs:element name="Url" type="xs:string" />
23 <xs:element name="ClickUrl" type="xs:string" />
24 <xs:element name="NewsSource" type="xs:string" />
25 <xs:element name="NewsSourceUrl" type="xs:string" />
26 <xs:element name="Language" type="xs:string" />
27 <xs:element name="PublishDate" type="xs:string" />
28 <xs:element name="ModificationDate" type="xs:string" minOccurs="0" />
29 <xs:element name="Thumbnail" type="ImageType" minOccurs="0" />
30 </xs:sequence>
31 </xs:complexType>
32
33 <xs:complexType name="ImageType">
34 <xs:sequence>
35 <xs:element name="Url" type="xs:string" />
36 <xs:element name="Height" type="xs:integer" minOccurs="0" />
37 <xs:element name="Width" type="xs:integer" minOccurs="0" />
38 </xs:sequence>
39 </xs:complexType>
40
41 </xs:schema>