JoeOLeary | 4d4dc48 | 2019-02-19 10:30:26 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | |
| 3 | <!-- |
| 4 | Modified PM XML file format definition to allow arbitrary string values. |
| 5 | Based on 3GPP TS 32.435 Performance Measurement XML file format definition |
| 6 | data file XML schema |
| 7 | measCollec.xsd |
| 8 | --> |
| 9 | |
| 10 | <schema |
| 11 | targetNamespace= |
| 12 | "http://www.3gpp.org/ftp/specs/archive/32_series/32.435#measCollec" |
| 13 | elementFormDefault="qualified" |
| 14 | xmlns="http://www.w3.org/2001/XMLSchema" |
| 15 | xmlns:mc= |
| 16 | "http://www.3gpp.org/ftp/specs/archive/32_series/32.435#measCollec" |
| 17 | > |
| 18 | |
| 19 | <!-- Measurement collection data file root XML element --> |
| 20 | |
| 21 | <element name="measCollecFile"> |
| 22 | <complexType> |
| 23 | <sequence> |
| 24 | <element name="fileHeader"> |
| 25 | <complexType> |
| 26 | <sequence> |
| 27 | <element name="fileSender"> |
| 28 | <complexType> |
| 29 | <attribute name="localDn" type="string" use="optional"/> |
| 30 | <attribute name="elementType" type="string" use="optional"/> |
| 31 | </complexType> |
| 32 | </element> |
| 33 | <element name="measCollec"> |
| 34 | <complexType> |
| 35 | <attribute name="beginTime" type="dateTime" use="required"/> |
| 36 | </complexType> |
| 37 | </element> |
| 38 | </sequence> |
| 39 | <attribute name="fileFormatVersion" type="string" use="required"/> |
| 40 | <attribute name="vendorName" type="string" use="optional"/> |
| 41 | <attribute name="dnPrefix" type="string" use="optional"/> |
| 42 | </complexType> |
| 43 | </element> |
| 44 | <element name="measData" minOccurs="0" maxOccurs="unbounded"> |
| 45 | <complexType> |
| 46 | <sequence> |
| 47 | <element name="managedElement"> |
| 48 | <complexType> |
| 49 | <attribute name="localDn" type="string" use="optional"/> |
| 50 | <attribute name="userLabel" type="string" use="optional"/> |
| 51 | <attribute name="swVersion" type="string" use="optional"/> |
| 52 | </complexType> |
| 53 | </element> |
| 54 | <element name="measInfo" minOccurs="0" maxOccurs="unbounded"> |
| 55 | <complexType> |
| 56 | <sequence> |
| 57 | <element name="job" minOccurs="0"> |
| 58 | <complexType> |
| 59 | <attribute name="jobId" type="string" use="required"/> |
| 60 | </complexType> |
| 61 | </element> |
| 62 | <element name="granPeriod"> |
| 63 | <complexType> |
| 64 | <attribute |
| 65 | name="duration" |
| 66 | type="duration" |
| 67 | use="required" |
| 68 | /> |
| 69 | <attribute |
| 70 | name="endTime" |
| 71 | type="dateTime" |
| 72 | use="required" |
| 73 | /> |
| 74 | </complexType> |
| 75 | </element> |
| 76 | <element name="repPeriod" minOccurs="0"> |
| 77 | <complexType> |
| 78 | <attribute name="duration" |
| 79 | type="duration" use="required"/> |
| 80 | </complexType> |
| 81 | </element> |
| 82 | <choice> |
| 83 | <element name="measTypes"> |
| 84 | <simpleType> |
| 85 | <list itemType="Name"/> |
| 86 | </simpleType> |
| 87 | </element> |
| 88 | <element name="measType" |
| 89 | minOccurs="0" maxOccurs="unbounded"> |
| 90 | <complexType> |
| 91 | <simpleContent> |
| 92 | <extension base="Name"> |
| 93 | <attribute name="p" |
| 94 | type="positiveInteger" use="required"/> |
| 95 | </extension> |
| 96 | </simpleContent> |
| 97 | </complexType> |
| 98 | </element> |
| 99 | </choice> |
| 100 | <element name="measValue" |
| 101 | minOccurs="0" maxOccurs="unbounded"> |
| 102 | <complexType> |
| 103 | <sequence> |
| 104 | <choice> |
| 105 | <element name="measResults"> |
| 106 | <simpleType> |
| 107 | <list itemType="mc:measResultType"/> |
| 108 | </simpleType> |
| 109 | </element> |
| 110 | <element name="r" |
| 111 | minOccurs="0" maxOccurs="unbounded"> |
| 112 | <complexType> |
| 113 | <simpleContent> |
| 114 | <extension base="mc:measResultType"> |
| 115 | <attribute name="p" type="positiveInteger" |
| 116 | use="required"/> |
| 117 | </extension> |
| 118 | </simpleContent> |
| 119 | </complexType> |
| 120 | </element> |
| 121 | </choice> |
| 122 | <element name="suspect" type="boolean" minOccurs="0"/> |
| 123 | </sequence> |
| 124 | <attribute name="measObjLdn" |
| 125 | type="string" use="required"/> |
| 126 | </complexType> |
| 127 | </element> |
| 128 | </sequence> |
| 129 | <attribute name="measInfoId" type="string" use="optional"/> |
| 130 | </complexType> |
| 131 | </element> |
| 132 | </sequence> |
| 133 | </complexType> |
| 134 | </element> |
| 135 | <element name="fileFooter"> |
| 136 | <complexType> |
| 137 | <sequence> |
| 138 | <element name="measCollec"> |
| 139 | <complexType> |
| 140 | <attribute name="endTime" type="dateTime" use="required"/> |
| 141 | </complexType> |
| 142 | </element> |
| 143 | </sequence> |
| 144 | </complexType> |
| 145 | </element> |
| 146 | </sequence> |
| 147 | </complexType> |
| 148 | </element> |
| 149 | |
| 150 | <!-- |
| 151 | Removed the 'NIL' restriction. |
| 152 | --> |
| 153 | |
| 154 | <simpleType name="measResultType"> |
| 155 | <union memberTypes="float string"> |
| 156 | </union> |
| 157 | </simpleType> |
| 158 | |
| 159 | </schema> |