MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/rdbms/xml/em/orarep/spmevolve/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/rdbms/xml/em/orarep/spmevolve/spmevolveSch.xsd

<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <xsd:include schemaLocation="file://rdbms/xml/orarep/report.xsd"/>

  <xsd:element name="report">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element ref="report_id"/>
        <xsd:element ref="head"/>
        <xsd:element ref="summary" minOccurs="0"/>
        <xsd:element ref="body" minOccurs="0"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="report_id">
    <xsd:complexType/>
  </xsd:element>

  <xsd:element name="head">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element ref="task"/>
        <xsd:element ref="execution"/>
      </xsd:sequence>
      <xsd:attribute name="level" type="xsd:NCName"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="execution">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element ref="exec_name"/>
        <xsd:element ref="exec_type"/>
        <xsd:element ref="exec_status"/>
        <xsd:element ref="exec_start" minOccurs="0"/>
        <xsd:element ref="exec_modif" minOccurs="0"/>
        <xsd:element ref="exec_end" minOccurs="0"/>
        <xsd:element ref="exec_err_count" minOccurs="0"/>
        <xsd:element ref="exec_timeout_count" minOccurs="0"/>
        <xsd:element ref="exec_params" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="property">
    <xsd:complexType mixed="true">
      <xsd:attribute name="name" use="required" type="xsd:NCName"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="task">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element maxOccurs="unbounded" ref="property"/>
        <xsd:element ref="execution"/>
      </xsd:sequence>
      <xsd:attribute name="id" use="required" type="xsd:integer"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="exec_name">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:NCName" fixed="name"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="exec_type">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:NCName" fixed="type"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="exec_status">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:NCName" fixed="status"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="exec_start">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:string" fixed="start"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="exec_modif">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:string" fixed="modif"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="exec_end">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:string" fixed="end"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="exec_err_count">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:integer" fixed="err_count"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="exec_timeout_count">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:integer" fixed="timeout"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="exec_params">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:NCName"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="summary">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element ref="num_process"/>
        <xsd:element ref="num_find"/>
        <xsd:element ref="num_recommend"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="num_process">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:integer" fixed="num_process"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="num_find">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:integer" fixed="num_find"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="num_recommend">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:integer" fixed="num_recommend"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="body">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="0" maxOccurs="unbounded" ref="object"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="object">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element ref="test_plan_name"/>
        <xsd:element ref="base_plan_name"/>
        <xsd:element ref="sql_handle"/>
        <xsd:element ref="parsing_schema"/>
        <xsd:element ref="plan_creator"/>
        <xsd:element name="sql_text" type="xsd:string"/>
        <xsd:element minOccurs="0" ref="binds"/>
        <xsd:element minOccurs="0" ref="stats"/>
        <xsd:element minOccurs="0" ref="findings"/>
        <xsd:element ref="plans"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="test_plan_name">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:string" fixed="test_plan_name"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="base_plan_name">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:string" fixed="base_plan_name"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="sql_handle">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:string" fixed="sql_handle"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="parsing_schema">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:string" fixed="parsing_schema"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="plan_creator">
    <xsd:complexType>
      <xsd:element name="property"/>
      <xsd:attribute name="name" type="xsd:string" fixed="plan_creator"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="binds">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="bind" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="stat">
    <xsd:complexType>
      <xsd:element minOccurs="0" maxOccurs="0" name="base_plan"/>
      <xsd:element minOccurs="0" maxOccurs="0" name="test_plan"/>
      <xsd:attribute name="name" type="xsd:NCName"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="stats">
    <xsd:complexType>
      <xsd:element maxOccurs="unbounded" ref="stat"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="find" type="xsd:string">
    <xsd:complexType>
      <xsd:attribute name="id" type="xsd:string"/>
      <xsd:attribute name="type" type="xsd:string"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="findings">
    <xsd:complexType>
      <xsd:element ref="find"/>
      <xsd:attribute name="count" type="xsd:string"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="plan">
    <xsd:complexType>
      <xsd:attribute name="hash" use="required" type="xsd:integer"/>
      <xsd:attribute name="id" use="required" type="xsd:integer"/>
      <xsd:attribute name="type" use="required" type="xsd:NCName"/>
    </xsd:complexType>
  </xsd:element>

  <xsd:element name="plans">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element maxOccurs="unbounded" ref="plan"/>
      </xsd:sequence>
      <xsd:attribute name="type" use="required" type="xsd:NCName"/>
    </xsd:complexType>
  </xsd:element>

</xsd:schema>


OHA YOOOO