Mercurial > repos > ganjoo > webservice_toolsuite
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceToolWorkflow/lib/SAWADLParser/Files/NewsSearchResponse.xsd Tue Jun 07 18:00:50 2011 -0400 @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8" ?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + targetNamespace="urn:yahoo:yn" + xmlns="urn:yahoo:yn" + elementFormDefault="qualified"> + + <xs:element name="ResultSet"> + <xs:complexType> + <xs:sequence> + <xs:element name="Result" type="ResultType" minOccurs="0" maxOccurs="50" /> + </xs:sequence> + <xs:attribute name="totalResultsAvailable" type="xs:integer" /> + <xs:attribute name="totalResultsReturned" type="xs:integer" /> + <xs:attribute name="firstResultPosition" type="xs:integer" /> + </xs:complexType> + </xs:element> + + <xs:complexType name="ResultType"> + <xs:sequence> + <xs:element name="Title" type="xs:string" /> + <xs:element name="Summary" type="xs:string" /> + <xs:element name="Url" type="xs:string" /> + <xs:element name="ClickUrl" type="xs:string" /> + <xs:element name="NewsSource" type="xs:string" /> + <xs:element name="NewsSourceUrl" type="xs:string" /> + <xs:element name="Language" type="xs:string" /> + <xs:element name="PublishDate" type="xs:string" /> + <xs:element name="ModificationDate" type="xs:string" minOccurs="0" /> + <xs:element name="Thumbnail" type="ImageType" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="ImageType"> + <xs:sequence> + <xs:element name="Url" type="xs:string" /> + <xs:element name="Height" type="xs:integer" minOccurs="0" /> + <xs:element name="Width" type="xs:integer" minOccurs="0" /> + </xs:sequence> + </xs:complexType> + +</xs:schema> \ No newline at end of file