Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
XSD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PRO
XSD
Commits
f654d1c6
Commit
f654d1c6
authored
10 years ago
by
Wolfgang Granzow
Browse files
Options
Downloads
Patches
Plain Diff
request and response primitive XSD
parent
ffe0acdd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CDT-requestPrimitive-v0_8_0.xsd
+84
-0
84 additions, 0 deletions
CDT-requestPrimitive-v0_8_0.xsd
CDT-responsePrimitive-v0_8_0.xsd
+65
-0
65 additions, 0 deletions
CDT-responsePrimitive-v0_8_0.xsd
with
149 additions
and
0 deletions
CDT-requestPrimitive-v0_8_0.xsd
0 → 100644
+
84
−
0
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>
This diff is collapsed.
Click to expand it.
CDT-responsePrimitive-v0_8_0.xsd
0 → 100644
+
65
−
0
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>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment