Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PRO
XSD
Commits
fe6b51e1
Commit
fe6b51e1
authored
Jan 26, 2015
by
Dale Seed
Browse files
Update CDT-areaNwkDeviceInfo-v0_8_0.xsd
Added announced version
parent
d7e6406c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
30 deletions
+51
-30
CDT-areaNwkDeviceInfo-v0_8_0.xsd
CDT-areaNwkDeviceInfo-v0_8_0.xsd
+51
-30
No files found.
CDT-areaNwkDeviceInfo-v0_8_0.xsd
View file @
fe6b51e1
...
...
@@ -22,6 +22,7 @@ ANY CLAIM, AND IN NO EVENT SHALL oneM2M BE LIABLE FOR LOST PROFITS OR OTHER INCI
oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PROVIDED IN THIS DOCUMENT IS AT THE RISK OF THE USER.
-->
<xs:schema
xmlns=
"http://www.w3.org/2001/XMLSchema"
targetNamespace=
"http://www.onem2m.org/xml/protocols"
xmlns:m2m=
"http://www.onem2m.org/xml/protocols"
elementFormDefault=
"unqualified"
attributeFormDefault=
"unqualified"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
>
...
...
@@ -29,27 +30,47 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:include
schemaLocation=
"CDT-commonTypes-v0_8_0.xsd"
/>
<xs:include
schemaLocation=
"CDT-subscription-v0_8_0.xsd"
/>
<xs:element
name=
"
areaNwkDeviceInfo
"
>
<xs:element
name=
"
eventLog
"
>
<xs:complexType>
<xs:complexContent>
<!-- Inherit Common Attributes from mgmtResource -->
<!-- Inherit Common Attributes from
data type "
mgmtResource
"
-->
<xs:extension
base=
"m2m:mgmtResource"
>
<!-- Resource Specific Attributes -->
<xs:sequence>
<xs:element
name=
"devID"
type=
"xs:string"
/>
<xs:element
name=
"devType"
type=
"xs:string"
/>
<xs:element
name=
"areaNwkId"
type=
"xs:anyURI"
/>
<xs:element
name=
"sleepInterval"
type=
"xs:nonNegativeInteger"
minOccurs=
"0"
/>
<xs:element
name=
"sleepDuration"
type=
"xs:nonNegativeInteger"
minOccurs=
"0"
/>
<xs:element
name=
"status"
type=
"xs:string"
minOccurs=
"0"
/>
<xs:element
name=
"listOfNeighbors"
type=
"m2m:listOfM2MID"
/>
<xs:element
name=
"logTypeId"
type=
"m2m:logTypeId"
/>
<xs:element
name=
"logData"
type=
"xs:string"
/>
<xs:element
name=
"logStatus"
type=
"m2m:logStatus"
/>
<xs:element
name=
"logStart"
type=
"xs:boolean"
/>
<xs:element
name=
"logStop"
type=
"xs:boolean"
/>
<!-- Child Resources -->
<xs:choice
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:element
name=
"childResource"
type=
"m2m:childResourceRef"
minOccurs=
"1"
maxOccurs=
"unbounded"
/>
<xs:choice
minOccurs=
"1"
maxOccurs=
"unbounded"
>
<xs:element
ref=
"m2m:subscription"
/>
<xs:element
name=
"childResource"
type=
"m2m:childResourceRef"
maxOccurs=
"unbounded"
/>
<xs:element
ref=
"m2m:subscription"
maxOccurs=
"unbounded"
/>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element
name=
"eventLogAnnc"
>
<xs:complexType>
<xs:complexContent>
<!-- Inherit Common Attributes from data type "announcedMgmtResource" -->
<xs:extension
base=
"m2m:announcedMgmtResource"
>
<!-- Resource Specific Attributes -->
<xs:sequence>
<xs:element
name=
"logTypeId"
type=
"m2m:logTypeId"
minOccurs=
"0"
/>
<xs:element
name=
"logData"
type=
"xs:string"
minOccurs=
"0"
/>
<xs:element
name=
"logStatus"
type=
"m2m:logStatus"
minOccurs=
"0"
/>
<xs:element
name=
"logStart"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"logStop"
type=
"xs:boolean"
minOccurs=
"0"
/>
<!-- Child Resources -->
<xs:choice
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:element
name=
"childResource"
type=
"m2m:childResourceRef"
maxOccurs=
"unbounded"
/>
<xs:element
ref=
"m2m:subscription"
maxOccurs=
"unbounded"
/>
</xs:choice>
</xs:sequence>
</xs:extension>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment