]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
20052fda18c84c957aba27e8a98697b6a7334c3c
[tmp/jakarta-migration.git] /
1 <?xml version="1.0" encoding="utf-8" ?>
2 <!--
3 The contents of this file are subject to the terms
4 of the Common Development and Distribution License
5 (the "License").  You may not use this file except
6 in compliance with the License.
7
8 You can obtain a copy of the license at
9 http://www.opensource.org/licenses/cddl1.php
10 See the License for the specific language governing
11 permissions and limitations under the License.
12 -->
13 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
14            targetNamespace="urn:yahoo:yn"
15            xmlns="urn:yahoo:yn"
16            elementFormDefault="qualified">
17
18   <xs:element name="ResultSet">
19     <xs:complexType>
20       <xs:sequence>
21         <xs:element name="Result" type="ResultType" minOccurs="0" maxOccurs="50" />
22       </xs:sequence>
23       <xs:attribute name="totalResultsAvailable" type="xs:integer" />
24       <xs:attribute name="totalResultsReturned" type="xs:integer" />
25       <xs:attribute name="firstResultPosition" type="xs:integer" />
26     </xs:complexType>
27   </xs:element>
28
29   <xs:complexType name="ResultType">
30     <xs:sequence>
31       <xs:element name="Title" type="xs:string" />
32       <xs:element name="Summary" type="xs:string" />
33       <xs:element name="Url" type="xs:string" />
34       <xs:element name="ClickUrl" type="xs:string" />
35       <xs:element name="NewsSource" type="xs:string" />
36       <xs:element name="NewsSourceUrl" type="xs:string" />
37       <xs:element name="Language" type="xs:string" />
38       <xs:element name="PublishDate" type="xs:string" />
39       <xs:element name="ModificationDate" type="xs:string" minOccurs="0" />
40       <xs:element name="Thumbnail" type="ImageType" minOccurs="0" />
41     </xs:sequence>
42   </xs:complexType>
43
44   <xs:complexType name="ImageType">
45     <xs:sequence>
46       <xs:element name="Url" type="xs:string" />
47       <xs:element name="Height" type="xs:integer" minOccurs="0" />
48       <xs:element name="Width" type="xs:integer" minOccurs="0" />
49     </xs:sequence>
50   </xs:complexType>
51
52 </xs:schema>
53 <!-- ws02.search.re2.yahoo.com compressed/chunked Tue Oct 18 13:12:21 PDT 2005 -->