~zorba-coders/zorba/bug-1188035-csv

« back to all changes in this revision

Viewing changes to src/com/zorba-xquery/www/modules/converters/json-options.xsd

  • Committer: Tarmac
  • Author(s): Paul J. Lucas
  • Date: 2012-01-24 01:56:27 UTC
  • mfrom: (79.1.1 data-converters-module)
  • Revision ID: tarmac-20120124015627-v8to61s7w8of53m6
Removed old JSON module. Approved: Matthias Brantner, Paul J. Lucas

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
2
 
  xmlns:json="http://www.zorba-xquery.com/modules/converters/json-options"
3
 
  targetNamespace="http://www.zorba-xquery.com/modules/converters/json-options"
4
 
  elementFormDefault="qualified" attributeFormDefault="unqualified">
5
 
<!--
6
 
:: Copyright 2006-2008 The FLWOR Foundation.
7
 
::
8
 
:: Licensed under the Apache License, Version 2.0 (the "License");
9
 
:: you may not use this file except in compliance with the License.
10
 
:: You may obtain a copy of the License at
11
 
::
12
 
:: http://www.apache.org/licenses/LICENSE-2.0
13
 
::
14
 
:: Unless required by applicable law or agreed to in writing, software
15
 
:: distributed under the License is distributed on an "AS IS" BASIS,
16
 
:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
 
:: See the License for the specific language governing permissions and
18
 
:: limitations under the License.
19
 
::
20
 
-->
21
 
 
22
 
 
23
 
  <xs:element name="options">
24
 
    <xs:complexType>
25
 
      <xs:sequence>
26
 
        <xs:element name="json-param" minOccurs="1" maxOccurs="1">
27
 
          <xs:complexType>
28
 
            <xs:simpleContent>
29
 
              <xs:extension base="xs:string">
30
 
                <xs:attribute name="name" type="xs:string" use="required"/>
31
 
                <xs:attribute name="value" use="required">
32
 
                  <xs:simpleType>
33
 
                    <xs:restriction base="xs:string">
34
 
                      <xs:enumeration value="simple-json"/>
35
 
                      <xs:enumeration value="json-ml"/>
36
 
                    </xs:restriction>
37
 
                  </xs:simpleType>
38
 
                </xs:attribute>
39
 
              <xs:attribute name="type" type="xs:string" use="optional"/>
40
 
              </xs:extension>
41
 
            </xs:simpleContent>
42
 
          </xs:complexType>
43
 
        </xs:element>
44
 
      </xs:sequence>
45
 
    </xs:complexType>
46
 
  </xs:element>
47
 
</xs:schema>