[AAF-23] Updated Copyright Headers for AAF Inno
[aaf/inno.git] / rosetta / src / main / xsd / inherit.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3   ============LICENSE_START====================================================\r
4   * org.onap.aaf\r
5   * ===========================================================================\r
6   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
7   * ===========================================================================\r
8   * Licensed under the Apache License, Version 2.0 (the "License");\r
9   * you may not use this file except in compliance with the License.\r
10   * You may obtain a copy of the License at\r
11   * \r
12    *      http://www.apache.org/licenses/LICENSE-2.0\r
13   * \r
14    * Unless required by applicable law or agreed to in writing, software\r
15   * distributed under the License is distributed on an "AS IS" BASIS,\r
16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
17   * See the License for the specific language governing permissions and\r
18   * limitations under the License.\r
19   * ============LICENSE_END====================================================\r
20   *\r
21   * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
22   *\r
23 -->\r
24 <xs:schema elementFormDefault="qualified" \r
25         targetNamespace="urn:inherit"\r
26         xmlns="urn:inherit" \r
27         xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
28         >\r
29         \r
30         <xs:complexType name="baseType">\r
31                 <xs:sequence>\r
32                         <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" />\r
33                         <xs:element name="num" type="xs:short" minOccurs="0" maxOccurs="1" />\r
34                 </xs:sequence> \r
35         </xs:complexType>\r
36         \r
37         <xs:complexType name="derivedA">\r
38                 <xs:annotation>\r
39                         <xs:documentation>Select one of the items</xs:documentation>\r
40                 </xs:annotation>\r
41                 <xs:complexContent>\r
42                         <xs:extension base="baseType">\r
43                                 <xs:sequence>\r
44                                         <xs:element name="shortName" type="xs:string" minOccurs="0" maxOccurs="1" />\r
45                                         <xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="unbounded" />\r
46                                 </xs:sequence>  \r
47                         </xs:extension>\r
48                 </xs:complexContent>\r
49         </xs:complexType>\r
50                          \r
51         <xs:element name="root">\r
52                 <xs:complexType>\r
53                         <xs:sequence>\r
54                                 <xs:element name="base" type="baseType" minOccurs="0" maxOccurs="unbounded" />          \r
55                         </xs:sequence>\r
56                 </xs:complexType>\r
57         </xs:element>\r
58         \r
59 </xs:schema>\r