MINI MINI MANI MO
<?xml version="1.0"?>
<!--
Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
NAME
kustblst.xsd
DESCRIPTION
XML Schema types for TABLESPACE SXML.
MODIFIED MM/DD/YY
jjanosik 05/05/17 - Bug 25239237: add SUSPEND_LOST_WRITE_PROTECTION
tbhukya 03/23/17 - Bug 25747729: Add TABLE_COMPRESS
tbhukya 06/08/16 - Bug 22171888: Add NO_CELLMEMORY
drosash 05/12/16 - Bug 23245222: change RIM for LEAF
tbhukya 12/24/15 - RTI 18868579: Replace CellCache with CellMemory
tbhukya 11/17/15 - Bug 21747321: Add TFSTATUS
tbhukya 10/08/15 - Bug 21816026: Add ENABLE_LOST_WRITE_PROTECTION
tbhukya 10/16/15 - RTI 18672864: Add TablespaceEncAlgo
rapayne 08/21/15 - lrg 17886242: local temp tbsp for rim do not have
a datafile_list clause.
tbhukya 05/14/15 - Bug 20980538: Add LOST_WRITE_PROTECTION
rapayne 02/23/15 - local temporary tablespace support.
rapayne 03/02/14 - bug 18155007: INMEMORY definitions.
rapayne 10/24/09 - bug 8714709: allow READ_ONLY and ENCRYPT.
lbarton 07/09/09 - bug 8494344: archive compression
lbarton 01/15/08 - Bug 6724820: table compression
lbarton 12/19/07 - Bug 6655531: customer area
lbarton 11/15/06 - diff support
lbarton 02/20/06 - bug 4752442: BIGFILE
htseng 09/28/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:complexType name="TABLESPACEType">
<xsd:sequence>
<xsd:element name="BIGFILE" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="TYPE" type="ku:TablespaceTypeNameWithValue1"/>
<xsd:element name="LOCAL" type="ku:LocalTablespaceTypeWithValue1" minOccurs="0"/>
<xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
<xsd:element name="DATAFILE_LIST" type="ku:DatafileListType" minOccurs="0"/>
<xsd:element name="OFFLINE" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="LOST_WRITE_PROTECTION" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="MINIMUM_EXTENT" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="BLOCKSIZE" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="LOGGING" type="ku:YNElementWithValue1" minOccurs="0"/>
<xsd:element name="FORCE_LOGGING" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="DEFAULT" type="ku:DefaultClauseType" minOccurs="0"/>
<xsd:element name="READ_ONLY" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="TABLESPACE_GROUP" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="ENABLE_LOST_WRITE_PROTECTION" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="SUSPEND_LOST_WRITE_PROTECTION" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="ENCRYPT" type="ku:TablespaceEncAlgo" minOccurs="0"/>
<xsd:element name="EXTENT_MANAGEMENT" type="ku:ExtentManagementClause" minOccurs="0"/>
<xsd:element name="SEGMENT_SPACE_MANAGEMENT" type="ku:SegmentSpaceMgrTypeNameWithValue1" minOccurs="0"/>
<xsd:element name="FLASHBACK_OFF" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="RETENTION_GUARANTEE" type="ku:EmptyType" 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 TABLESPACE
[ BIGFILE ]
TYPE
NAME
choice of
PermanentTablespaceClause
[ MINIMUM_EXTENT ]
[ BLOCKSIZE ]
[ LOGGING ]
[ FORCE_LOGGING ]
[ DEFAULT type ]
[ OFFLINE ]
[ READ_ONLY ]
[ EXTENT_MANAGEMENT clause ]
[ SEGMENT_SPACE_MANAGEMENT caluse ]
[ FLASHBACK_OFF ]
TemporaryTablespaceClause
[ TABLESPACE_GROUP ]
[ EXTENT_MANAGEMENT clause ]
UndoTablespaceClause
[ EXTENT_MANAGEMENT clause ]
[ RETENION_GUARANTEE ]
[ CUSTOMER_AREA ]
*************************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="TablespaceTypeName">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="PERMANENT"/>
<xsd:enumeration value="TEMPORARY"/>
<xsd:enumeration value="UNDO"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for TablespaceTypeName
VALUE is one of PERMANENT, TEMPORARY, UNDO
************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="TablespaceTypeNameWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:TablespaceTypeName">
<xsd:attribute name="value1" type="ku:TablespaceTypeName"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="TablespaceEncAlgo">
<xsd:sequence>
<xsd:element name="ENCRYPTIONALG" type="ku:char128ElementWithValue1" minOccurs="0"/>
</xsd:sequence>
<!-- *************************************************************************
simpleType for TablespaceEncAlgo
VALUE is ENCRYPTIONALG
*************************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="LocalTablespaceTypeName">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="LEAF"/>
<xsd:enumeration value="ALL"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for LocalTablespaceTypeName
VALUE is one of RIM, ALL
************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="LocalTablespaceTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:LocalTablespaceTypeName">
<xsd:attribute name="value1" type="ku:LocalTablespaceTypeName"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="DefaultClauseType">
<xsd:sequence>
<xsd:element name="COMPRESS" type="ku:TableCompressTypeWithValue1" minOccurs="0"/>
<xsd:element name="COMPRESS_LEVEL" type="ku:TableCompressLevelWithValue1" minOccurs="0"/>
<xsd:element name="TABLE_COMPRESS" type="ku:TabCompressTypeWithValue1" minOccurs="0"/>
<xsd:element name="INDEX_COMPRESS" type="ku:IndexCompressTypeWithValue1" minOccurs="0"/>
<xsd:element name="NO_CELLMEMORY" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="CELLMEMORY" type="ku:CellMemoryTypeWithValue1" minOccurs="0"/>
<xsd:element name="STORAGE" type="ku:STORAGEType" minOccurs="0"/>
<xsd:element name="INMEMORY" type="ku:INMEMORYType" minOccurs="0"/>
</xsd:sequence>
<!-- *************************************************************************
complexType for DefaultClauseType
[ COMPRESS ]
STORAGE clause
*************************************************************************** -->
</xsd:complexType>
<xsd:complexType name="DatafileListType">
<xsd:sequence>
<xsd:element name="DATAFILE_LIST_ITEM" minOccurs="0" maxOccurs="1000">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="NAME" type="ku:char128ElementWithValue1" minOccurs="0"/>
<xsd:element name="SIZE" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="REUSE" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="AUTOEXTEND" type="ku:AutoextendClause" minOccurs="0"/>
<xsd:element name="TFSTATUS" type="ku:char128ElementWithValue1" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<!-- *************************************************************************
complexType for DatafileListType
DATAFILE_LIST
DATAFILE_LIST_ITEM uo to 10000
NAME
[ SIZE ]
[ REUSE ]
[ AUTOEXTEND clause ]
*************************************************************************** -->
</xsd:complexType>
<xsd:complexType name="AutoextendClause">
<xsd:sequence>
<xsd:element name="NEXT" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="MAXSIZE" type="ku:MAXSIZE_LIMITTypeWithValue1" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *************************************************************************
complexType for AutoextendClause
[ NEXT ]
[ MAXSIZE ]
*************************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="MAXSIZE_LIMITType1">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="UNLIMITED"/>
</xsd:restriction>
<!-- *******************************************************************
complexType for MAXSIZE_LIMITT
non negative integer or UNLIMITED or 32767M (current using xsd:string)
******************************************************************** -->
</xsd:simpleType>
<xsd:simpleType name="MAXSIZE_LIMITType">
<xsd:union memberTypes="ku:MAXSIZE_LIMITType1 xsd:nonNegativeInteger xsd:string"/>
</xsd:simpleType>
<xsd:complexType name="MAXSIZE_LIMITTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:MAXSIZE_LIMITType">
<xsd:attribute name="value1" type="ku:MAXSIZE_LIMITType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="ExtentManagementClause">
<xsd:sequence>
<xsd:element name="TYPE" type="ku:ExtentMgrTypeNameWithValue1"/>
<xsd:element name="ALLOCATION_TYPE" type="ku:AllocatTypeNameWithValue1" minOccurs="0"/>
<xsd:element name="SIZE" type="ku:intElementWithValue1" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *************************************************************************
complexType for ExtentManagementClause
TYPE
[ ALLOCATION_TYPE ]
[ SIZE ]
*************************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="ExtentMgrTypeName">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="DICTIONARY"/>
<xsd:enumeration value="LOCAL"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for ExtentMgrTypeName
VALUE is DICTIONARY or LOCAL
*************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="ExtentMgrTypeNameWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:ExtentMgrTypeName">
<xsd:attribute name="value1" type="ku:ExtentMgrTypeName"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="AllocatTypeName">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AUTOALLOCATE"/>
<xsd:enumeration value="UNIFORM"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for AllocatTypeName
VALUE is AUTOALLOCATE or UNIFORM
*************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="AllocatTypeNameWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:AllocatTypeName">
<xsd:attribute name="value1" type="ku:AllocatTypeName"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="SegmentSpaceMgrTypeName">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AUTO"/>
<xsd:enumeration value="MANUAL"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for SegmentSpaceMgrTypeName
VALUE is AUTO or MANUAL
*************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="SegmentSpaceMgrTypeNameWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:SegmentSpaceMgrTypeName">
<xsd:attribute name="value1" type="ku:SegmentSpaceMgrTypeName"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>
OHA YOOOO