1 <?xml version="1.0" encoding="utf-8" ?>
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.
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.
13 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
14 targetNamespace="urn:yahoo:yn"
16 elementFormDefault="qualified">
18 <xs:element name="ResultSet">
21 <xs:element name="Result" type="ResultType" minOccurs="0" maxOccurs="50" />
23 <xs:attribute name="totalResultsAvailable" type="xs:integer" />
24 <xs:attribute name="totalResultsReturned" type="xs:integer" />
25 <xs:attribute name="firstResultPosition" type="xs:integer" />
29 <xs:complexType name="ResultType">
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" />
44 <xs:complexType name="ImageType">
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" />
53 <!-- ws02.search.re2.yahoo.com compressed/chunked Tue Oct 18 13:12:21 PDT 2005 -->