Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
XSD
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PRO
XSD
Commits
f654d1c6
Commit
f654d1c6
authored
Jan 21, 2015
by
Wolfgang Granzow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
request and response primitive XSD
parent
ffe0acdd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
149 additions
and
0 deletions
+149
-0
CDT-requestPrimitive-v0_8_0.xsd
CDT-requestPrimitive-v0_8_0.xsd
+84
-0
CDT-responsePrimitive-v0_8_0.xsd
CDT-responsePrimitive-v0_8_0.xsd
+65
-0
No files found.
CDT-requestPrimitive-v0_8_0.xsd
0 → 100644
View file @
f654d1c6
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright Notification
The oneM2M Partners authorize you to copy this document, provided that you retain all copyright and other proprietary notices
contained in the original materials on any copies of the materials and that you comply strictly with these terms.
This copyright permission does not constitute an endorsement of the products or services, nor does it encompass the granting of
any patent rights. The oneM2M Partners assume no responsibility for errors or omissions in this document.
© 2014, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TTA, TTC). All rights reserved.
Notice of Disclaimer & Limitation of Liability
The information provided in this document is directed solely to professionals who have the appropriate degree of experience
to understand and interpret its contents in accordance with generally accepted engineering or other professional standards
and applicable regulations. No recommendation as to products or vendors is made or should be implied.
NO REPRESENTATION OR WARRANTY IS MADE THAT THE INFORMATION IS TECHNICALLY ACCURATE OR SUFFICIENT OR CONFORMS TO ANY STATUTE,
GOVERNMENTAL RULE OR REGULATION, AND FURTHER, NO REPRESENTATION OR WARRANTY IS MADE OF MERCHANTABILITY OR FITNESS FOR ANY
PARTICULAR PURPOSE OR AGAINST INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS.
NO oneM2M PARTNER TYPE 1 SHALL BE LIABLE, BEYOND THE AMOUNT OF ANY SUM RECEIVED IN PAYMENT BY THAT PARTNER FOR THIS DOCUMENT,
WITH RESPECT TO ANY CLAIM, AND IN NO EVENT SHALL oneM2M BE LIABLE FOR LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES.
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:xs=
"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"
>
<xs:include
schemaLocation=
"CDT-commonTypes-v0_8_0.xsd"
/>
<xs:element
name=
"requestPrimitive"
>
<xs:complexType>
<xs:sequence>
<!-- parameter "Operation" -->
<xs:element
name=
"operation"
type=
"m2m:operation"
minOccurs=
"1"
/>
<!-- parameter "To" -->
<xs:element
name=
"to"
type=
"xs:anyURI"
minOccurs=
"1"
/>
<!-- parameter "From" -->
<xs:element
name=
"from"
type=
"m2m:ID"
minOccurs=
"1"
/>
<!-- parameter "Request Identifier" -->
<xs:element
name=
"requestIdentifier"
type=
"m2m:requestID"
minOccurs=
"0"
/>
<!-- parameter "ResourceType" -->
<xs:element
name=
"resourceType"
type=
"m2m:resourceType"
minOccurs=
"0"
/>
<!-- parameter "Name" -->
<xs:element
name=
"name"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- TODO: data type m2m:primitiveContent needs to be agreed and added into commonTypes -->
<!-- parameter "Content" (of the primitive)-->
<xs:element
name=
"content"
type=
"m2m:primitiveContent"
minOccurs=
"0"
/>
<!-- parameter "Originating Timestamp" -->
<xs:element
name=
"originatingTimestamp"
type=
"m2m:timestamp"
minOccurs=
"0"
/>
<!-- parameter "Request Expiration Timestamp" -->
<xs:element
name=
"requestExpirationTimestamp"
type=
"m2m:timestamp"
minOccurs=
"0"
/>
<!-- parameter "Result Expiration Timestamp" -->
<xs:element
name=
"resultExpirationTimestamp"
type=
"m2m:timestamp"
minOccurs=
"0"
/>
<!-- parameter "Operation Execution Time" -->
<xs:element
name=
"operationExecutionTime"
type=
"m2m:timestamp"
minOccurs=
"0"
/>
<!-- parameter "Response Type" -->
<xs:element
name=
"responseType"
type=
"m2m:resourceType"
minOccurs=
"0"
/>
<!-- TODO: check if the old names Response Persistense and responsePersistence have been replaced everywhere in TS-0004 -->
<!-- parameter "Result Persistence" -->
<xs:element
name=
"resultPersistence"
type=
"xs:duration"
minOccurs=
"0"
/>
<!-- parameter "Result Content" -->
<xs:element
name=
"resultContent"
type=
"m2m:resultContent"
minOccurs=
"0"
/>
<!-- parameter "Event Category" -->
<xs:element
name=
"eventCategory"
type=
"m2m:eventCatType"
minOccurs=
"0"
/>
<!-- parameter "Delivery Aggregation" -->
<xs:element
name=
"deliveryAggregation"
type=
"xs:boolean"
minOccurs=
"0"
/>
<!-- parameter "Group Request Identifier" -->
<xs:element
name=
"groupRequestIdentifier"
type=
"xs:string"
minOccurs=
"0"
/>
<!-- parameter "Filter Criteria" -->
<xs:element
name=
"filterCriteria"
type=
"m2m:filterCriteria"
minOccurs=
"0"
/>
<!-- parameter "Discovery Result Type" -->
<xs:element
name=
"discoveryResultType"
type=
"m2m:discResType"
minOccurs=
"0"
/>
<!-- TODO: Role is still included in TS-0004v081, it was removed in TS-0001. Proposal: remove it from XSD and TS-0004-->
<!-- parameter "Role" -->
<!-- <xs:element name="role" type="xs:string" minOccurs="0"/> -->
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
CDT-responsePrimitive-v0_8_0.xsd
0 → 100644
View file @
f654d1c6
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright Notification
The oneM2M Partners authorize you to copy this document, provided that you retain all copyright and other proprietary notices
contained in the original materials on any copies of the materials and that you comply strictly with these terms.
This copyright permission does not constitute an endorsement of the products or services, nor does it encompass the granting of
any patent rights. The oneM2M Partners assume no responsibility for errors or omissions in this document.
© 2014, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TTA, TTC). All rights reserved.
Notice of Disclaimer & Limitation of Liability
The information provided in this document is directed solely to professionals who have the appropriate degree of experience
to understand and interpret its contents in accordance with generally accepted engineering or other professional standards
and applicable regulations. No recommendation as to products or vendors is made or should be implied.
NO REPRESENTATION OR WARRANTY IS MADE THAT THE INFORMATION IS TECHNICALLY ACCURATE OR SUFFICIENT OR CONFORMS TO ANY STATUTE,
GOVERNMENTAL RULE OR REGULATION, AND FURTHER, NO REPRESENTATION OR WARRANTY IS MADE OF MERCHANTABILITY OR FITNESS FOR ANY
PARTICULAR PURPOSE OR AGAINST INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS.
NO oneM2M PARTNER TYPE 1 SHALL BE LIABLE, BEYOND THE AMOUNT OF ANY SUM RECEIVED IN PAYMENT BY THAT PARTNER FOR THIS DOCUMENT,
WITH RESPECT TO ANY CLAIM, AND IN NO EVENT SHALL oneM2M BE LIABLE FOR LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES.
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:xs=
"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"
>
<xs:include
schemaLocation=
"CDT-commonTypes-v0_8_0.xsd"
/>
<xs:element
name=
"responsePrimitive"
>
<xs:complexType>
<!-- TODO: check if the sequence of elements is adequate -->
<xs:sequence>
<!-- parameter "To" -->
<xs:element
name=
"to"
type=
"xs:anyURI"
minOccurs=
"0"
/>
<!-- parameter "From" -->
<xs:element
name=
"from"
type=
"m2m:ID"
minOccurs=
"0"
/>
<!-- parameter "Request Identifier" -->
<xs:element
name=
"requestIdentifier"
type=
"m2m:requestID"
minOccurs=
"0"
/>
<!-- parameter "Content" (of the primitive) -->
<xs:element
name=
"content"
type=
"m2m:primitiveContent"
minOccurs=
"0"
/>
<!-- parameter "Originating Timestamp" -->
<xs:element
name=
"originatingTimestamp"
type=
"m2m:timestamp"
minOccurs=
"0"
/>
<!-- parameter "Result Expiration Timestamp" -->
<xs:element
name=
"resultExpirationTimestamp"
type=
"m2m:timestamp"
minOccurs=
"0"
/>
<!-- parameter "Event Category" -->
<xs:element
name=
"eventCategory"
type=
"m2m:eventCatType"
minOccurs=
"0"
/>
<!-- TODO: TS-0001 defines Response Code and Status Code primitive parameters rather than Response Status Code used in TS-0004 -->
<!-- parameter "Response Status Code" -->
<xs:element
name=
"responseStatusCode"
type=
"m2m:responseStatus"
minOccurs=
"0"
/>
<!-- TODO: Pending Request primitive parameter is not defined in TS-0001 (and probably never was)
Has it been defined by PRO WG? -->
<!-- parameter "Pending Requests" -->
<!-- TOTO: the data type for this parameter is currently undefined in TS-0004 -->
<xs:element
name=
"pendingRequests"
type=
"xs:boolean"
minOccurs=
"0"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
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