2 * ============LICENSE_START====================================================
4 * ===========================================================================
5 * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
6 * ===========================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END====================================================
21 <xs:schema elementFormDefault="qualified"
22 targetNamespace="urn:types:xsd"
23 xmlns:s="urn:types:xsd"
24 xmlns:xs="http://www.w3.org/2001/XMLSchema"
26 <xs:element name="multi">
29 <xs:element name="single" minOccurs="0" maxOccurs="unbounded">
32 <xs:element name="str" type="xs:string" minOccurs="1" maxOccurs="1" />
33 <xs:element name="int" type="xs:int" minOccurs="1" maxOccurs="1" />
34 <xs:element name="long" type="xs:long" minOccurs="1" maxOccurs="1" />
35 <xs:element name="date" type="xs:date" minOccurs="1" maxOccurs="1" />
36 <xs:element name="datetime" type="xs:dateTime" minOccurs="1" maxOccurs="1" />
37 <xs:element name="binary" type="xs:hexBinary" minOccurs="1" maxOccurs="1" />
38 <xs:element name="array" type="xs:string" minOccurs="0" maxOccurs="unbounded" />