Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PRO
XSD
Commits
5dcd0be5
Commit
5dcd0be5
authored
Jan 26, 2015
by
Wolfgang Granzow
Browse files
delivery & request XSD: alignment w. #662R02
parent
263f8865
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
CDT-delivery-v0_8_0.xsd
CDT-delivery-v0_8_0.xsd
+8
-7
CDT-request-v0_8_0.xsd
CDT-request-v0_8_0.xsd
+6
-5
No files found.
CDT-delivery-v0_8_0.xsd
View file @
5dcd0be5
...
...
@@ -38,23 +38,24 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:extension
base=
"m2m:regularResource"
>
<xs:sequence>
<!-- Resource Specific Attributes -->
<
xs:element
name=
"stateTag"
type=
"xs:nonNegativeInteger"
/
>
<
!-- TODO: The type of source and target should match that of CSE-ID (i.e.they should have type m2m:ID) --
>
<xs:element
name=
"source"
type=
"m2m:ID"
/>
<xs:element
name=
"target"
type=
"m2m:ID"
/>
<xs:element
name=
"lifespan"
type=
"
xs:dateTime
"
/>
<xs:element
name=
"lifespan"
type=
"
m2m:timestamp
"
/>
<xs:element
name=
"eventCat"
type=
"m2m:eventCat"
/>
<xs:element
name=
"deliveryMetaData"
type=
"m2m:deliveryMetaData"
/>
<xs:element
name=
"aggregatedRequest"
type=
"m2m:aggregatedRequest"
/>
<!-- 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
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:element
name=
"childResource"
type=
"m2m:childResourceRef"
minOccurs=
"1"
maxOccurs=
"unbounded"
/>
<xs:choice
minOccurs=
"1"
maxOccurs=
"unbounded"
>
<xs:element
ref=
"m2m:subscription"
></xs:element>
</xs:choice>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>
\ No newline at end of file
CDT-request-v0_8_0.xsd
View file @
5dcd0be5
...
...
@@ -37,7 +37,6 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:extension
base=
"m2m:regularResource"
>
<xs:sequence>
<!-- Resource Specific Attributes -->
<xs:element
name=
"stateTag"
type=
"xs:nonNegativeInteger"
/>
<xs:element
name=
"operation"
type=
"m2m:operation"
/>
<xs:element
name=
"target"
type=
"xs:anyURI"
/>
<xs:element
name=
"originator"
type=
"m2m:ID"
/>
...
...
@@ -48,10 +47,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:element
name=
"operationResult"
type=
"m2m:operationResult"
/>
<!-- 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
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:element
name=
"childResource"
type=
"m2m:childResourceRef"
minOccurs=
"1"
maxOccurs=
"unbounded"
/>
<xs:choice
minOccurs=
"1"
maxOccurs=
"unbounded"
>
<xs:element
ref=
"m2m:subscription"
></xs:element>
</xs:choice>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
...
...
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