<xsd:complexType name="ErrorResponse"> <xsd:sequence> <xsd:element name="message" type="xsd:string" minOccurs="0"/> <xsd:element name="detail" minOccurs="0"> <xsd:complexType> <xsd:sequence> <xsd:any/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name="requestID" type="RequestID" use="optional"/> <xsd:attribute name="type"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="notAttempted"/> <xsd:enumeration value="couldNotConnect"/> <xsd:enumeration value="connectionClosed"/> <xsd:enumeration value="malformedRequest"/> <xsd:enumeration value="gatewayInternalError"/> <xsd:enumeration value="authenticationFailed"/> <xsd:enumeration value="unresolvableURI"/> <xsd:enumeration value="other"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:complexType> |