Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "OM2M/Application"
< OM2M
Line 37: | Line 37: | ||
| notificationChannelsReference || collection || 1 || NP || NP || M | | notificationChannelsReference || collection || 1 || NP || NP || M | ||
|} | |} | ||
+ | |||
+ | == Application representation == | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://uri.etsi.org/m2m" xmlns:tns="http://uri.etsi.org/m2m"> | ||
+ | <include schemaLocation="common.xsd" /> | ||
+ | <element name="application" type="tns:Application" /> | ||
+ | <complexType name="Application"> | ||
+ | <all> | ||
+ | <element ref="tns:expirationTime" minOccurs="0" /> | ||
+ | <element ref="tns:accessRightID" minOccurs="0" /> | ||
+ | <element ref="tns:searchStrings" minOccurs="0" /> | ||
+ | <element ref="tns:creationTime" minOccurs="0" /> | ||
+ | <element ref="tns:lastModifiedTime" minOccurs="0" /> | ||
+ | <element ref="tns:announceTo" minOccurs="0" /> | ||
+ | <element ref="tns:aPoC" minOccurs="0" /> | ||
+ | <element ref="tns:aPoCPaths" minOccurs="0" /> | ||
+ | <element ref="tns:locRequestor" minOccurs="0" /> | ||
+ | <!-- subresources --> | ||
+ | <element ref="tns:containersReference" minOccurs="0" /> | ||
+ | <element ref="tns:groupsReference" minOccurs="0" /> | ||
+ | <element ref="tns:accessRightsReference" minOccurs="0" /> | ||
+ | <element ref="tns:subscriptionsReference" minOccurs="0" /> | ||
+ | <element ref="tns:notificationChannelsReference" minOccurs="0" /> | ||
+ | </all> | ||
+ | <attribute name="appId" type="anyURI"/> | ||
+ | </complexType> | ||
+ | <element name="applicationStatus" type="tns:ApplicationStatus" /> | ||
+ | <element name="aPoC" type="anyURI" /> | ||
+ | <element name="aPoCPaths" type="tns:APoCPaths" /> | ||
+ | <element name="locRequestor" type="anySimpleType" /> | ||
+ | <simpleType name="ApplicationStatus"> | ||
+ | <restriction base="string"> | ||
+ | <enumeration value="ONLINE"></enumeration> | ||
+ | <enumeration value="OFFLINE"></enumeration> | ||
+ | <enumeration value="NOT_REACHABLE"></enumeration> | ||
+ | </restriction> | ||
+ | </simpleType> | ||
+ | <complexType name="APoCPaths"> | ||
+ | <sequence> | ||
+ | <element ref="tns:aPoCPath" minOccurs="0" maxOccurs="unbounded" /> | ||
+ | </sequence> | ||
+ | </complexType> | ||
+ | <element name="aPoCPath" type="tns:APoCPath" /> | ||
+ | <complexType name="APoCPath"> | ||
+ | <all> | ||
+ | <element ref="tns:path"/> | ||
+ | <element ref="tns:accessRightID" minOccurs="0" /> | ||
+ | <element ref="tns:searchStrings" minOccurs="0" /> | ||
+ | </all> | ||
+ | </complexType> | ||
+ | <element name="path" type="anyURI" /> | ||
+ | </schema> | ||
+ | </source> |
Revision as of 06:53, 16 April 2014
Application resource
This resource represents a registered application.
Name | Type | Multiplicity | Create | Update | Response |
appId | string | 1 | O | NP | M |
accessRightID | URI | 0..1 | O | O | O |
creationTime | Time | 1 | NP | NP | M |
lastModifiedTime | Time | 1 | NP | NP | M |
expirationTime | Time | 1 | O | O | M* |
searchStrings | searchStrings | 1 | O | O | M |
announceTo | URI | 0..unbounded | O | O | M* |
aPoC | URI | 0..1 | O | O | O |
aPoCPaths | URI | 0..1 | O | O | O |
Iocrequester | 0..1 | O | O | O | |
containersReference | collection | 1 | NP | NP | M |
groupsReference | collection | 1 | NP | NP | M |
accessRightsReference | collection | 1 | NP | NP | M |
subscriptionsReference | collection | 1 | NP | NP | M |
notificationChannelsReference | collection | 1 | NP | NP | M |
Application representation
<?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://uri.etsi.org/m2m" xmlns:tns="http://uri.etsi.org/m2m"> <include schemaLocation="common.xsd" /> <element name="application" type="tns:Application" /> <complexType name="Application"> <all> <element ref="tns:expirationTime" minOccurs="0" /> <element ref="tns:accessRightID" minOccurs="0" /> <element ref="tns:searchStrings" minOccurs="0" /> <element ref="tns:creationTime" minOccurs="0" /> <element ref="tns:lastModifiedTime" minOccurs="0" /> <element ref="tns:announceTo" minOccurs="0" /> <element ref="tns:aPoC" minOccurs="0" /> <element ref="tns:aPoCPaths" minOccurs="0" /> <element ref="tns:locRequestor" minOccurs="0" /> <!-- subresources --> <element ref="tns:containersReference" minOccurs="0" /> <element ref="tns:groupsReference" minOccurs="0" /> <element ref="tns:accessRightsReference" minOccurs="0" /> <element ref="tns:subscriptionsReference" minOccurs="0" /> <element ref="tns:notificationChannelsReference" minOccurs="0" /> </all> <attribute name="appId" type="anyURI"/> </complexType> <element name="applicationStatus" type="tns:ApplicationStatus" /> <element name="aPoC" type="anyURI" /> <element name="aPoCPaths" type="tns:APoCPaths" /> <element name="locRequestor" type="anySimpleType" /> <simpleType name="ApplicationStatus"> <restriction base="string"> <enumeration value="ONLINE"></enumeration> <enumeration value="OFFLINE"></enumeration> <enumeration value="NOT_REACHABLE"></enumeration> </restriction> </simpleType> <complexType name="APoCPaths"> <sequence> <element ref="tns:aPoCPath" minOccurs="0" maxOccurs="unbounded" /> </sequence> </complexType> <element name="aPoCPath" type="tns:APoCPath" /> <complexType name="APoCPath"> <all> <element ref="tns:path"/> <element ref="tns:accessRightID" minOccurs="0" /> <element ref="tns:searchStrings" minOccurs="0" /> </all> </complexType> <element name="path" type="anyURI" /> </schema>