blob: 364712539a5e78570d76a3a2af788dc212fcce21 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0,
or the Eclipse Distribution License v. 1.0 which is available at
http://www.eclipse.org/org/documents/edl-v10.php.
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-->
<xsd:schema version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="operation-attrs">
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="simpleXMLFormatTag" type="xsd:string" />
<xsd:attribute name="isSimpleXMLFormat" type="xsd:boolean" />
<xsd:attribute name="xmlTag" type="xsd:string" />
<xsd:attribute name="isCollection" type="xsd:boolean" />
<xsd:attribute name="binaryAttachment" type="xsd:boolean" />
<xsd:attribute name="returnType" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="procedure-operation">
<xsd:simpleContent>
<xsd:extension base="operation-attrs">
<xsd:attribute name="catalogPattern" type="xsd:string" />
<xsd:attribute name="schemaPattern" type="xsd:string" />
<xsd:attribute name="procedurePattern" type="xsd:string" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="sql-operation">
<xsd:complexContent mixed="false">
<xsd:extension base="operation-attrs">
<xsd:sequence>
<xsd:element name="text" type="xsd:string" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="table-operation">
<xsd:complexContent mixed="false">
<xsd:extension base="operation-attrs">
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:choice>
<xsd:element name="procedure" type="procedure-operation" />
<xsd:element name="plsql-procedure" type="procedure-operation" />
<xsd:element name="sql" type="sql-operation" />
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="catalogPattern" type="xsd:string" />
<xsd:attribute name="schemaPattern" type="xsd:string" />
<xsd:attribute name="tableNamePattern" type="xsd:string" />
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="builder-type">
<xsd:annotation>
<xsd:documentation><![CDATA[
This is the XML Schema for EclipseLink Database WebService (DBWS) Builder model.
]]></xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="properties">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="property">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="name" type="xsd:string" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:choice>
<xsd:element name="plsql-procedure" type="procedure-operation" />
<xsd:element name="procedure" type="procedure-operation" />
<xsd:element name="sql" type="sql-operation" />
<xsd:element name="table" type="table-operation" />
</xsd:choice>
</xsd:sequence>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="dbws-builder" type="builder-type" />
</xsd:schema>