AT&T 2.0.19 Code drop, stage 1
[aaf/authz.git] / misc / rosetta / src / main / xsd / s.xsd
1 <!--
2  * ============LICENSE_START====================================================
3  * org.onap.aaf
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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====================================================
19  *
20 -->
21 <xs:schema elementFormDefault="qualified" 
22                    targetNamespace="urn:s:xsd" 
23                    xmlns:s="urn:s:xsd" 
24                    xmlns:xs="http://www.w3.org/2001/XMLSchema"
25                    >
26                    
27         <xs:element name="SampleData">
28                 <xs:complexType>
29                         <xs:sequence>
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" />                                
33                         </xs:sequence>
34                 </xs:complexType>
35         </xs:element>
36         
37         <xs:element name="LargerData">
38                 <xs:complexType>
39                         <xs:sequence>
40                                 <xs:element ref="s:SampleData" minOccurs="1" maxOccurs="unbounded"/>
41                                 <xs:element name="fluff" type="xs:string"/>
42                         </xs:sequence>
43                 </xs:complexType>
44         </xs:element>
45         
46         <xs:element name="LargerDatas">
47                 <xs:complexType>
48                         <xs:sequence>
49                                 <xs:element ref="s:LargerData" minOccurs="1" maxOccurs = "unbounded"/>
50                         </xs:sequence>
51                 </xs:complexType>
52         </xs:element>
53         
54
55         <xs:element name="Multi">
56                 <xs:complexType>
57                         <xs:sequence>
58                                 <xs:element name="f1" type="xs:string" minOccurs="0" maxOccurs = "unbounded"/>
59                                 <xs:element name="f2" type="xs:string" minOccurs="0" maxOccurs = "unbounded"/>
60                         </xs:sequence>
61                 </xs:complexType>
62         </xs:element>
63         
64 </xs:schema>