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">
6
:: Copyright 2006-2008 The FLWOR Foundation.
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
12
:: http://www.apache.org/licenses/LICENSE-2.0
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.
23
<xs:element name="options">
26
<xs:element name="json-param" minOccurs="1" maxOccurs="1">
29
<xs:extension base="xs:string">
30
<xs:attribute name="name" type="xs:string" use="required"/>
31
<xs:attribute name="value" use="required">
33
<xs:restriction base="xs:string">
34
<xs:enumeration value="simple-json"/>
35
<xs:enumeration value="json-ml"/>
39
<xs:attribute name="type" type="xs:string" use="optional"/>