-
Notifications
You must be signed in to change notification settings - Fork 21
/
cwmp-datamodel-report.xsd
139 lines (129 loc) · 6.23 KB
/
cwmp-datamodel-report.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8"?>
<!--
TR-069 Data Model Report Schema (DMR Schema)
Copyright (c) 2008-2020, Broadband Forum
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following
conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials
provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products
derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The above license is used as a license under copyright only.
Please reference the Forum IPR Policy for patent licensing terms
<https://www.broadband-forum.org/ipr-policy>.
Any moral rights which are necessary to exercise under the above
license grant are also deemed granted under this license.
Summary:
TR-069 Data Model Report Schema (DMR Schema). Non-normative definitions that
can be used in DM Instances to provide additional information to reporting
tools.
Version History:
November 2008: cwmp-datamodel-report.xsd, corresponds to TR-106 Amendment 2
September 2009: cwmp-datamodel-report.xsd, corresponds to TR-106 Amendment 3
- removed dependence on the DM Schema; added header comments
- added noUniqueKeys to indicate that an object has no unique
keys (so report tools shouldn't issue a warning)
June 2020: - changed version number to 1-0, which indicates new
markdown-friendly wrapped descriptions
-->
<!-- Entity and type definitions duplicated from DM Schema to avoid
dependence on a particular version of DM Schema. -->
<!DOCTYPE cwmp-datamodel-report [
<!ENTITY colon ":">
<!ENTITY dot "\.">
<!ENTITY inst "(\{i\})">
<!ENTITY name "([\i-[:]][\c-[:\.]]*)">
<!ENTITY Name "([\i-[a-z:]][\c-[:\.]]*)">
<!ENTITY num "(\d+)">
]>
<!-- Don't want the "0-1" because this schema is unversioned, but have to
keep it for backwards compatibility -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:broadband-forum-org:cwmp:datamodel-report-0-1" targetNamespace="urn:broadband-forum-org:cwmp:datamodel-report-0-1" elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xs:simpleType name="ObjectReferencePattern">
<xs:annotation>
<xs:documentation>Object path that can contain "{i}" placeholders and that can therefore references multiple objects.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:pattern value="˙?(&name;˙(&inst;˙)?)*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ParameterReference">
<xs:annotation>
<xs:documentation>Parameter path that cannot contain "{i}" placeholders and that therefore references a single parameter.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:pattern value="˙?(&name;˙)*&name;?"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ProfileReference">
<xs:annotation>
<xs:documentation>Profile name, including version. The name part is the same as xs:NCName except that dots are not permitted.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:pattern value="(&name;:#)?"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="VersionNumber">
<xs:annotation>
<xs:documentation>Version number, consisting of major and minor versions.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:pattern value="#˙#"/>
</xs:restriction>
</xs:simpleType>
<xs:attribute name="fixedObject" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates that object is fixed, so shouldn't (for example) warn about any writable parameters that it might contain.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="hideDeleted" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates that if item has been deleted, it should always be hidden in the report, e.g. not even shown in strikeout.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="noUniqueKeys" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates that object has no unique keys, so shouldn't (for example) warn about the lack of unique keys.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="previousParameter" type="tns:ParameterReference">
<xs:annotation>
<xs:documentation>Previous parameter hint.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="previousObject" type="tns:ObjectReferencePattern">
<xs:annotation>
<xs:documentation>Previous object hint.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="previousProfile" type="tns:ProfileReference">
<xs:annotation>
<xs:documentation>Previous profile hint.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="version" type="tns:VersionNumber">
<xs:annotation>
<xs:documentation>Version number.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:schema>