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:s:xsd"
24 xmlns:xs="http://www.w3.org/2001/XMLSchema"
27 <xs:element name="SampleData">
30 <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
31 <xs:element name="date" type="xs:long"/>
32 <xs:element name="item" type="xs:string" maxOccurs="unbounded" />
37 <xs:element name="LargerData">
40 <xs:element ref="s:SampleData" minOccurs="1" maxOccurs="unbounded"/>
41 <xs:element name="fluff" type="xs:string"/>
46 <xs:element name="LargerDatas">
49 <xs:element ref="s:LargerData" minOccurs="1" maxOccurs = "unbounded"/>
55 <xs:element name="Multi">
58 <xs:element name="f1" type="xs:string" minOccurs="0" maxOccurs = "unbounded"/>
59 <xs:element name="f2" type="xs:string" minOccurs="0" maxOccurs = "unbounded"/>