Project

General

Profile

Bug #600 » eml-storedProcedureProposed.xsd

David Blankman, 09/23/2002 12:10 PM

 
1
<?xml version="1.0"?>
2
<xs:schema targetNamespace="eml://ecoinformatics.org/storedProcedure-2.0.0rc1" xmlns="eml://ecoinformatics.org/storedProcedure-2.0.0rc1" xmlns:cov="eml://ecoinformatics.org/coverage-2.0.0rc1" xmlns:prot="eml://ecoinformatics.org/protocol-2.0.0rc1" xmlns:phys="eml://ecoinformatics.org/physical-2.0.0rc1" xmlns:att="eml://ecoinformatics.org/attribute-2.0.0rc1" xmlns:doc="eml://ecoinformatics.org/documentation-2.0.0rc1" xmlns:ent="eml://ecoinformatics.org/entity-2.0.0rc1" xmlns:res="eml://ecoinformatics.org/resource-2.0.0rc1" xmlns:con="eml://ecoinformatics.org/constraint-2.0.0rc1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
<xs:import namespace="eml://ecoinformatics.org/entity-2.0.0rc1" schemaLocation="eml-entity.xsd"/>
4
<xs:import namespace="eml://ecoinformatics.org/documentation-2.0.0rc1" schemaLocation="eml-documentation.xsd"/>
5
<xs:import namespace="eml://ecoinformatics.org/attribute-2.0.0rc1" schemaLocation="eml-attribute.xsd"/>
6
<xs:import namespace="eml://ecoinformatics.org/protocol-2.0.0rc1" schemaLocation="eml-protocol.xsd"/>
7
<xs:import namespace="eml://ecoinformatics.org/physical-2.0.0rc1" schemaLocation="eml-physical.xsd"/>
8
<xs:import namespace="eml://ecoinformatics.org/coverage-2.0.0rc1" schemaLocation="eml-coverage.xsd"/>
9
<xs:import namespace="eml://ecoinformatics.org/resource-2.0.0rc1" schemaLocation="eml-resource.xsd"/>
10
<xs:import namespace="eml://ecoinformatics.org/constraint-2.0.0rc1" schemaLocation="eml-constraint.xsd"/>
11
<xs:annotation>
12
<xs:documentation>Copyright: 1997-2002 Regents of the University of
13
    California, University of New Mexico, and Arizona State University
14
    Sponsors: National Center for Ecological Analysis and Synthesis and
15
    Partnership for Interdisciplinary Studies of Coastal Oceans, University of
16
    California Santa Barbara Long-Term Ecological Research Network Office,
17
    University of New Mexico Center for Environmental Studies, Arizona State
18
    University Other funding: National Science Foundation (see README for
19
    details) The David and Lucile Packard Foundation For Details:
20
    http://knb.ecoinformatics.org/ This program is free software; you can
21
    redistribute it and/or modify it under the terms of the GNU General Public
22
    License as published by the Free Software Foundation; either version 2 of
23
    the License, or (at your option) any later version. This program is
24
    distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
25
    without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
26
    PARTICULAR PURPOSE. See the GNU General Public License for more details.
27
    You should have received a copy of the GNU General Public License along
28
    with this program; if not, write to the Free Software Foundation, Inc., 59
29
    Temple Place, Suite 330, Boston, MA 02111-1307 USA</xs:documentation>
30
<xs:appinfo>
31
<doc:moduleDocs>
32
<doc:moduleName>eml-storedProcedure</doc:moduleName>
33
<doc:moduleDescription>The StoredProcedure module is meant to capture
34
        information on procedures that produce data output in the form of a
35
        data table. In an RDBMS one can code complex queries and transactions
36
        into stored procedures and then invoke them directly from front-end
37
        applications. It allows the optional describtion of any parameters that
38
        are expected to be passed to the procedure when it is
39
        called.</doc:moduleDescription>
40
<doc:recommendedUsage>Use the StoredProcedure module to document
41
        datasets that use storedProcedures to retrieve archived
42
        data.</doc:recommendedUsage>
43
<doc:standAlone>yes</doc:standAlone>
44
</doc:moduleDocs>
45
</xs:appinfo>
46
</xs:annotation>
47
<xs:element name="storedProcedureProposed" type="StoredProcedureTypeProposed">
48
<xs:annotation>
49
<xs:appinfo>
50
<doc:tooltip>Stored Procedure&gt;</doc:tooltip>
51
<doc:summary>The storedProcedure element documents stored
52
        procedures.</doc:summary>
53
<doc:description>The StoredProcedure element is meant to capture
54
        information on procedures that produce data output in the form of a
55
        data table. In an RDBMS one can code complex queries and transactions
56
        into stored procedures and then invoke them directly from front-end
57
        applications. This element allows the optional describtion of any
58
        parameters that are expected to be passed to the procedure when it is
59
        called.</doc:description>
60
<doc:lineage>EML 2.0</doc:lineage>
61
</xs:appinfo>
62
</xs:annotation>
63
</xs:element>
64
<xs:complexType name="StoredProcedureTypeProposed">
65
<xs:annotation>
66
<xs:appinfo>
67
<doc:tooltip>Stored Procedure complex type</doc:tooltip>
68
<doc:summary>Structure for documenting a stored procedure</doc:summary>
69
<doc:description>The StoredProcedure complex type defines the structure
70
        for documenting a stored procedure.</doc:description>
71
<doc:lineage>EML 2.0</doc:lineage>
72
</xs:appinfo>
73
</xs:annotation>
74
<xs:choice>
75
<xs:sequence>
76
<xs:group ref="ent:EntityGroup"/>
77
<xs:sequence>
78
<xs:element name="storedProcedureStatement" type="xs:string" minOccurs="0"/>
79
</xs:sequence>
80
</xs:sequence>
81
<xs:element name="references" type="xs:string"/>
82
</xs:choice>
83
<xs:attribute name="id" type="xs:string" use="optional"/>
84
<xs:attribute name="system" type="xs:string" use="optional"/>
85
<xs:attribute name="scope" type="res:ScopeType" use="optional" default="document"/>
86
</xs:complexType>
87
</xs:schema>
(1-1/3)