PHP Classes

File: schemes/ver0.1.1/request.xsd

Recommend this page to a friend!
  Classes of Tom Schaefer   QTransfer   schemes/ver0.1.1/request.xsd   Download  
File: schemes/ver0.1.1/request.xsd
Role: Auxiliary data
Content type: text/plain
Description: request schema
Class: QTransfer
Send HTTP requests and process XML responses
Author: By
Last change:
Date: 14 years ago
Size: 2,907 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="utf-8" ?> <xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:annotation> <xsd:documentation> Transfer Request Schema ======================= This schema shall be used by customers to validate when they request a service. </xsd:documentation> </xsd:annotation> <xsd:element name="transfer"> <xsd:annotation> <xsd:documentation>root element</xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element name="head"> <xsd:annotation> <xsd:documentation>request header</xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="1" maxOccurs="1" name="context" type="xsd:string" /> <xsd:element minOccurs="1" maxOccurs="1" name="module" type="xsd:string" /> <xsd:element minOccurs="1" maxOccurs="1" name="action" type="xsd:string" /> <xsd:element minOccurs="1" maxOccurs="1" name="checksum" > <xsd:annotation> <xsd:documentation>outgoing valid md5 time-limited application checksum</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9a-z]{40}" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="format"> <xsd:annotation> <xsd:documentation>application return output type</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="html" /> <xsd:enumeration value="text" /> <xsd:enumeration value="xml" /> <xsd:enumeration value="pdf" /> <xsd:enumeration value="csv" /> <xsd:enumeration value="xls" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="version"> <xsd:annotation> <xsd:documentation>version number: major, minor, build</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,4}" /> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="body"> <xsd:annotation> <xsd:documentation> unspecified elements, attributes and values can be used to post values to the requested application </xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>