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/xsdatasec.xsd.11.1

<?xml version="1.0"?>
<!--
NAME
    dataSecurity.xsd
DESCRIPTION
    Data Security Documents schema

MODIFIED        MM/DD/YY
   pknaggs      10/23/07 - DSD KGL loading of rewriteMinACL attribute.
   pknaggs      07/16/07 - Aclid to aclpath. Add master-detail instance set.
   sgul         11/16/06 - Adding XML Translation capability.
   sgul         11/15/06 - 
   pthornto     09/14/06 - Initial version
 -->
<schema targetNamespace="http://xmlns.oracle.com/xs"
        xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:xdbds="http://xmlns.oracle.com/xs"
        xmlns:xdb="http://xmlns.oracle.com/xdb"
	xmlns:sc="http://xmlns.oracle.com/xs"
        elementFormDefault="qualified" version="1.0">
   <annotation>
      <documentation>
         This XML schema describes the structure of Data Security documents.
     </documentation>
  </annotation>
  <import
   namespace="http://www.w3.org/XML/1998/namespace"
   schemaLocation="http://www.w3.org/2001/csx.xml.xsd"/>
  <import
   namespace="http://xmlns.oracle.com/xdb"
   schemaLocation="http://xmlns.oracle.com/xdb/csx.xmltr.xsd"/>
  <element name="DataSecurity" type="xdbds:DataSecurityType" xdb:defaultTable="XS$DATA_SECURITY"/>
  <complexType name="DataSecurityType">
    <sequence>
      <element ref="sc:title" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
      <element ref="sc:description" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
      <element name="selectPrivilege" type="QName" minOccurs="0"/>
      <element name="attributeSecs" type="xdbds:attributeSecType"
                     minOccurs="0"/>
      <element name="instanceSets" type="xdbds:instanceSetsType"/>
     <!-- this "any" contains all application specific information
             For an attribute set in general e.g. reason for creation -->
      <any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
    </sequence>
  </complexType>
  <complexType name="attributeSecType">
    <sequence>
      <element name="attributeSec" minOccurs="0" maxOccurs="unbounded">
        <complexType>
          <sequence>
	    <element ref="sc:title" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
	    <element ref="sc:description" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
            <element name="attribute" type="xdbds:coListType"/>
            <element name="privilege" type="QName"/>
            <!-- this "any" contains all application specific information
                 For an attribute set in general e.g. reason for creation -->
            <any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
          </sequence>
        </complexType>
      </element>
    </sequence>
  </complexType>
  <simpleType name="rewriteMinACLType">
     <restriction base="unsignedInt">
       <minInclusive value="1"/>
       <maxInclusive value="499"/>  <!-- sys_checkacl max params is 1000 -->
     </restriction>
  </simpleType>
  <simpleType name="dbnameType">
     <restriction base="string"> 
        <minLength value="1"/> 
        <maxLength value="30"/>
     </restriction>
  </simpleType>
  <complexType name="coListType">
    <sequence>
      <element name="colName" maxOccurs="1000" type="xdbds:dbnameType"/>
    </sequence>
  </complexType>
  <complexType name="convListType">
    <sequence>
      <choice maxOccurs="1000">
        <element name="colName" type="xdbds:dbnameType"/>
        <element name="colValue" type="string"/>
      </choice>
    </sequence>
  </complexType>
  <complexType name="aclListType">
    <sequence>
      <choice>
        <element name="aclFiles" type="xdbds:aclFilesType"/>
        <element name="aclDirectory" type="anyURI"/>
      </choice>
    </sequence>
  </complexType>
  <complexType name="instanceSetsType">
    <sequence>
     <choice maxOccurs="unbounded">
       <element name="instanceSet" type="xdbds:instanceSetType"/>
       <element name="inheritedFrom" type="xdbds:inheritedFromType"/>
     </choice>
    </sequence>
  </complexType>
  <complexType name="inheritedFromType">
    <sequence>
       <element ref="sc:title" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
       <element ref="sc:description" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
       <element name="name" type="xdbds:dbnameType"/>
       <element name="when" minOccurs="0" type="string"/>
       <element name="parentSchemaName" type="xdbds:dbnameType"/>
       <element name="parentObjectName" type="xdbds:dbnameType"/>
       <element name="primaryKey" type="xdbds:coListType"/>
       <element name="foreignKey" type="xdbds:convListType"/>
    </sequence>
   </complexType>
   <complexType name="aclFilesType">
     <sequence>
       <element name="aclFile" minOccurs="0" maxOccurs="unbounded"
                type="anyURI"/>
     </sequence>
   </complexType>
   <complexType name="instanceSetType">
     <sequence>
        <element ref="sc:title" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
        <element ref="sc:description" minOccurs="0" maxOccurs="unbounded" xdb:maxOccurs="1" xdb:translate="true"/>
        <element name="name" type="xdbds:dbnameType"/>
        <element name="memberEvaluationRule" type="string"/>
        <sequence>
          <element name="paramDatatype" minOccurs="0" maxOccurs="unbounded">
            <complexType>
              <simpleContent>
                <extension base="string">
                  <attribute name="name" type="xdbds:dbnameType" use="required"/>
                </extension>
              </simpleContent>
            </complexType>
          </element>
        </sequence>
        <element name="acls" minOccurs="0" type="xdbds:aclListType"/>
        <!-- this "any" contains all application specific information
             For an instance set in general e.g. reason for creation -->
        <any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
     </sequence>
     <attribute name="static" type="boolean" default="false"/>
     <attribute name="rewriteMinACL" type="xdbds:rewriteMinACLType" default="100"/>
     <attribute name="rewriteManually" type="boolean" default="false"/>
    </complexType>
  <element name="title" xdb:defaultTable="">
     <complexType>
        <simpleContent>
           <extension base="string">
              <attribute ref="xml:lang"/>
              <attribute ref="xdb:srclang"/>
           </extension>
        </simpleContent>
     </complexType>
  </element>
  <element name="description" xdb:defaultTable="">
     <complexType>
        <simpleContent>
           <extension base="string">
              <attribute ref="xml:lang"/>
              <attribute ref="xdb:srclang"/>
           </extension>
        </simpleContent>
     </complexType>
  </element>
</schema>


OHA YOOOO