Skip to content
Snippets Groups Projects
Commit 1655d03d authored by Dale Seed's avatar Dale Seed
Browse files

Update CDT-deviceCapability-v0_8_0.xsd

Added support for announce
parent cb0bc1ff
No related branches found
No related tags found
No related merge requests found
...@@ -46,10 +46,33 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR ...@@ -46,10 +46,33 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<!-- Child Resources --> <!-- Child Resources -->
<xs:choice minOccurs="0" maxOccurs="1"> <xs:choice minOccurs="0" maxOccurs="1">
<xs:element name="childResource" type="m2m:childResourceRef" minOccurs="1" maxOccurs="unbounded" /> <xs:element name="childResource" type="m2m:childResourceRef" maxOccurs="unbounded" />
<xs:choice minOccurs="1" maxOccurs="unbounded"> <xs:element ref="m2m:subscription" maxOccurs="unbounded" />
<xs:element ref="m2m:subscription" />
</xs:choice> </xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="deviceCapabilityAnnc">
<xs:complexType>
<xs:complexContent>
<!-- Inherit common attributes from announcedMgmtResource -->
<xs:extension base="m2m:announcedMgmtResource">
<xs:sequence>
<!-- Resource Specific Attributes -->
<xs:element name="capabilityName" type="xs:string" minOccurs="0" />
<xs:element name="attached" type="xs:boolean" minOccurs="0" />
<xs:element name="capabilityActionStatus" type="m2m:actionStatus" minOccurs="0" />
<xs:element name="currentState" type="xs:boolean" minOccurs="0" />
<xs:element name="enable" type="xs:boolean" minOccurs="0" />
<xs:element name="disable" 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:choice>
</xs:sequence> </xs:sequence>
</xs:extension> </xs:extension>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment