From 29a53b6eef27e33472cea8278d2541330514ef58 Mon Sep 17 00:00:00 2001 From: seeddn <dale.seed@interdigital.com> Date: Mon, 26 Jan 2015 19:35:25 -0500 Subject: [PATCH] Update CDT-areaNwkDeviceInfo-v0_8_0.xsd --- CDT-areaNwkDeviceInfo-v0_8_0.xsd | 53 +++++++++++++++++--------------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/CDT-areaNwkDeviceInfo-v0_8_0.xsd b/CDT-areaNwkDeviceInfo-v0_8_0.xsd index 284ea54..609c858 100644 --- a/CDT-areaNwkDeviceInfo-v0_8_0.xsd +++ b/CDT-areaNwkDeviceInfo-v0_8_0.xsd @@ -22,59 +22,62 @@ 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" +<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"> + attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:include schemaLocation="CDT-commonTypes-v0_8_0.xsd" /> <xs:include schemaLocation="CDT-subscription-v0_8_0.xsd" /> - <xs:element name="eventLog"> + <xs:element name="areaNwkDeviceInfo"> <xs:complexType> <xs:complexContent> - <!-- Inherit Common Attributes from data type "mgmtResource" --> + <!-- Inherit Common Attributes from mgmtResource --> <xs:extension base="m2m:mgmtResource"> <!-- Resource Specific Attributes --> <xs:sequence> - <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" /> - + <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:listOfURIs" /> + <!-- 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:element ref="m2m:subscription" maxOccurs="unbounded" /> + </xs:choice> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> - </xs:element> + </xs:element> - <xs:element name="eventLogAnnc"> + <xs:element name="areaNwkDeviceInfoAnnc"> <xs:complexType> <xs:complexContent> - <!-- Inherit Common Attributes from data type "announcedMgmtResource" --> + <!-- Inherit Common Attributes from 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" /> - + <xs:element name="devID" type="xs:string" minOccurs="0" /> + <xs:element name="devType" type="xs:string" minOccurs="0" /> + <xs:element name="areaNwkId" type="xs:anyURI" minOccurs="0" /> + <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:listOfURIs" 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:element ref="m2m:subscription" maxOccurs="unbounded" /> + </xs:choice> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> - </xs:element> + </xs:element> </xs:schema> -- GitLab