MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/rdbms/xml/schema/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/rdbms/xml/schema/kusviewt.xsd

<?xml version="1.0"?>
<!--

 Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.

NAME
    kusviewt.xsd
DESCRIPTIO
    XML Schema types for VIEW SXML.

MODIFIED        MM/DD/YY
    tbhukya     04/17/17 - Bug 25791822: Add object view constraint elements
    tbhukya     03/22/17 - Bug 25715449: Constraint with READ ONLY
    tbhukya    04/17/15 - Proj 47173: Add element DEFAULT_COLLATION
    rapayne    01/20/13 - add NONEDITIONABLE.
    thbaby     11/21/12 - 15827913: add COMMON_DATA
    lbarton    01/26/12 - gravipat_bug-12667763: CONTAINER_DATA keyword
    lbarton    07/24/09 - bug 8342311: view subquery restriction clause
    lbarton    08/17/07 - parsed queries
    lbarton    12/19/07 - Bug 6655531: customer area
    rapayne    01/24/07 - Add READ_ONLY support.
    lbarton    11/15/06 - diff support
    akruglik   09/07/06 - Column Map Views got rechristened as Editioning Views
    rapayne    06/07/06 - Proj 20521: add editioning view support.
    htseng     10/06/05 - Initial version
 -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ku="http://xmlns.oracle.com/ku" targetNamespace="http://xmlns.oracle.com/ku" elementFormDefault="qualified" attributeFormDefault="unqualified">
 <xsd:include schemaLocation="kuscomm.xsd"/>
 <xsd:include schemaLocation="kustablt.xsd"/>
 <xsd:complexType name="VIEWType">
  <xsd:sequence>
   <xsd:group ref="ku:SCHEMA_NAMEGroup"/>
   <xsd:element name="EDITIONING_VIEW" type="ku:EmptyType" minOccurs="0"/>
   <xsd:element name="NONEDITIONABLE" type="ku:EmptyType" minOccurs="0"/>
   <xsd:element name="READ_ONLY" type="ku:EmptyType" minOccurs="0"/>
   <xsd:element name="DEFAULT_COLLATION" type="ku:char128ElementWithValue1" minOccurs="0"/>
   <xsd:element name="CONTAINER_DATA" type="ku:EmptyType" minOccurs="0"/>
   <xsd:element name="COMMON_DATA" type="ku:EmptyType" minOccurs="0"/>
   <xsd:choice>
    <xsd:element name="OF_TYPE" type="ku:ObjectViewClause" minOccurs="0"/>
    <xsd:element name="OF_XMLTYPE" type="ku:XMLTypeViewClause" minOccurs="0"/>
    <xsd:group ref="ku:RelationalViewClause"/>
   </xsd:choice>
   <xsd:choice>
    <xsd:element name="SUBQUERY" type="ku:stringElementWithValue1"/>
    <xsd:element name="PARSED_SUBQUERY" type="ku:PrsQueryType"/>
   </xsd:choice>
   <xsd:element name="RESTRICTION" type="ku:SubqueryRestrictionType" minOccurs="0"/>
   <xsd:element name="CUSTOMER_AREA" minOccurs="0"/>
  </xsd:sequence>
  <xsd:attribute name="version" type="ku:vsn" use="required"/>
  <xsd:attribute name="version2" type="ku:vsn"/>
 <!--  **********************************************************************
   ComplexType for VIEWType
   SCHEMA | NAME
   [ EDITIONING_VIEW ]
   choice of 
     OF_TYPE - object_view
     OF_XMLTYPE - XMLType_view
     COL_LIST - relational_view
   choice of 
     SUBQUERY
     PARSED_SUBQUERY
   [ RESTRICTION ]
   [ CUSTOMER_AREA ]
  ************************************************************************ -->
 </xsd:complexType>
 <xsd:complexType name="ObjectViewClause">
  <xsd:sequence>
   <xsd:group ref="ku:SCHEMA_NAMEGroup"/>
   <xsd:choice>
    <xsd:element name="UNDER" type="ku:SCHEMA_NAMEType" minOccurs="0"/>
    <xsd:element name="WITH_OBJECT_IDENTIFIER" type="ku:WithObjIDClause" minOccurs="0"/>
   </xsd:choice>
   <xsd:group ref="ku:TableConstraintsGroup"/>
  </xsd:sequence>
 <!-- *************************************************************************
 ComplexType for ObjectViewClause 
  SCHEMA |NAME
  choice of
    UNDER
    WITH_OBJECT_IDENTIFIER
*************************************************************************** -->
 </xsd:complexType>
 <xsd:complexType name="WithObjIDClause">
  <xsd:sequence>
   <xsd:choice>
    <xsd:element name="DEFAULT" type="ku:EmptyType" minOccurs="0"/>
    <xsd:element name="ATTRIBUTE_LIST" type="ku:ATTRIBUTE_LISTType" minOccurs="0"/>
   </xsd:choice>
  </xsd:sequence>
 <!-- ************************************************************************ 
ComplexType for WithObjIDClause 
 choice of 
    DEFAULT
    ATTRIBUTE_LIST
************************************************************************** -->
 </xsd:complexType>
 <xsd:complexType name="ATTRIBUTE_LISTType">
  <xsd:sequence>
   <xsd:element name="ATTRIBUTE_LIST_ITEM" type="ku:SimpleATTRIBUTE_LIST_ITEMType" maxOccurs="1000"/>
  </xsd:sequence>
 <!-- ************************************************************************
  ComplexType name="ATTRIBUTE_LISTType"
   ATTRIBUTE_LIST
     ATTRIBUTE_LIST_ITEM
        NAME
  ************************************************************************  -->
 </xsd:complexType>
 <xsd:complexType name="SimpleATTRIBUTE_LIST_ITEMType">
  <xsd:sequence>
   <xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
  </xsd:sequence>
  <xsd:attribute name="src" type="ku:srcType"/>
 </xsd:complexType>
 <xsd:complexType name="XMLTypeViewClause">
  <xsd:sequence>
   <xsd:element name="XMLSCHEMA" type="ku:stringElementWithValue1" minOccurs="0"/>
   <xsd:element name="ELEMENT" type="ku:stringElementWithValue1" minOccurs="0"/>
   <xsd:element name="WITH_OBJECT_IDENTIFIER" type="ku:WithObjIDClause"/>
  </xsd:sequence>
 <!-- *************************************************************************
  ComplexType for XMLTypeViewClause 
   XMLSCHEMA
   ELEMENT
   WITH_OBJECT_IDENTIFIER
 ************************************************************************** -->
 </xsd:complexType>
 <xsd:group name="RelationalViewClause">
  <xsd:sequence>
   <xsd:element name="COL_LIST" type="ku:SimpleCOL_LISTType" minOccurs="0"/>
   <xsd:group ref="ku:TableConstraintsGroup"/>
  </xsd:sequence>
 <!-- ************************************************************************
  RelationalViewClause 
 ************************************************************************* -->
 </xsd:group>
 <xsd:complexType name="SubqueryRestrictionType">
  <xsd:sequence>
   <xsd:choice>
    <xsd:element name="READ_ONLY" type="ku:RestrictionOptionType" minOccurs="0"/>
    <xsd:element name="CHECK_OPTION" type="ku:RestrictionOptionType" minOccurs="0"/>
   </xsd:choice>
  </xsd:sequence>
  <xsd:attribute name="src" type="ku:srcType"/>
 </xsd:complexType>
 <xsd:complexType name="RestrictionOptionType">
  <xsd:sequence>
   <xsd:element name="CONSTRAINT" type="ku:char30ElementWithValue1" minOccurs="0"/>
  </xsd:sequence>
 </xsd:complexType>
</xsd:schema>

OHA YOOOO