1 <?xml version="1.0" encoding="UTF-8"?>
3 * ============LICENSE_START====================================================
5 * ===========================================================================
6 * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
7 * ===========================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END====================================================
22 <xs:schema elementFormDefault="qualified"
23 targetNamespace="urn:inherit"
25 xmlns:xs="http://www.w3.org/2001/XMLSchema"
28 <xs:complexType name="baseType">
30 <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" />
31 <xs:element name="num" type="xs:short" minOccurs="0" maxOccurs="1" />
35 <xs:complexType name="derivedA">
37 <xs:documentation>Select one of the items</xs:documentation>
40 <xs:extension base="baseType">
42 <xs:element name="shortName" type="xs:string" minOccurs="0" maxOccurs="1" />
43 <xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
49 <xs:element name="root">
52 <xs:element name="base" type="baseType" minOccurs="0" maxOccurs="unbounded" />