AT&T 2.0.19 Code drop, stage 1
[aaf/authz.git] / misc / rosetta / src / main / xsd / types.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:types:xsd" 
23                    xmlns:s="urn:types:xsd" 
24                    xmlns:xs="http://www.w3.org/2001/XMLSchema"
25                    >
26         <xs:element name="multi">
27                 <xs:complexType>
28                         <xs:sequence>
29                                 <xs:element name="single" minOccurs="0" maxOccurs="unbounded">
30                                         <xs:complexType>
31                                                 <xs:sequence>
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" />
39                                                 </xs:sequence>
40                                         </xs:complexType>
41                                 </xs:element>
42                         </xs:sequence>
43                 </xs:complexType>
44         </xs:element>              
45                    
46 </xs:schema>