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
c0e8b5b0
Commit
c0e8b5b0
authored
9 years ago
by
Wolfgang Granzow
Browse files
Options
Downloads
Patches
Plain Diff
changes agreed in PRO-2015-0841R01-XSD-List_cardinality
parent
1dcd82f8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
v1_3_0/CDT-accessControlPolicy-v1_3_0.xsd
+20
-6
20 additions, 6 deletions
v1_3_0/CDT-accessControlPolicy-v1_3_0.xsd
v1_3_0/CDT-commonTypes-v1_3_0.xsd
+64
-24
64 additions, 24 deletions
v1_3_0/CDT-commonTypes-v1_3_0.xsd
with
84 additions
and
30 deletions
v1_3_0/CDT-accessControlPolicy-v1_3_0.xsd
+
20
−
6
View file @
c0e8b5b0
...
@@ -97,15 +97,25 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -97,15 +97,25 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:complexType>
<xs:complexType>
<xs:sequence>
<xs:sequence>
<xs:element
name=
"ipv4Addresses"
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:element
name=
"ipv4Addresses"
minOccurs=
"0"
maxOccurs=
"1"
>
<!-- space separated list of IPv4 addresses -->
<!-- space separated list of IPv4 addresses -->
<xs:simpleType>
<xs:simpleType>
<xs:list
itemType=
"m2m:ipv4"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"m2m:ipv4"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
</xs:element>
</xs:element>
<xs:element
name=
"ipv6Addresses"
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:element
name=
"ipv6Addresses"
minOccurs=
"0"
maxOccurs=
"1"
>
<!-- space separated list of IPv6 addresses -->
<!-- space separated list of IPv6 addresses -->
<xs:simpleType>
<xs:simpleType>
<xs:list
itemType=
"m2m:ipv6"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"m2m:ipv6"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
</xs:element>
</xs:element>
</xs:sequence>
</xs:sequence>
...
@@ -123,7 +133,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -123,7 +133,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:element
name=
"countryCode"
>
<xs:element
name=
"countryCode"
>
<!-- Space separated list of 2-digit country codes -->
<!-- Space separated list of 2-digit country codes -->
<xs:simpleType>
<xs:simpleType>
<xs:list
itemType=
"m2m:countryCode"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"m2m:countryCode"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
</xs:element>
</xs:element>
<xs:element
name=
"circRegion"
>
<xs:element
name=
"circRegion"
>
...
@@ -134,8 +149,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -134,8 +149,7 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:simpleType>
<xs:simpleType>
<xs:list
itemType=
"xs:float"
/>
<xs:list
itemType=
"xs:float"
/>
</xs:simpleType>
</xs:simpleType>
<xs:minLength
value=
"3"
/>
<xs:length
value=
"3"
/>
<xs:maxLength
value=
"3"
/>
</xs:restriction>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
</xs:element>
</xs:element>
...
...
This diff is collapsed.
Click to expand it.
v1_3_0/CDT-commonTypes-v1_3_0.xsd
+
64
−
24
View file @
c0e8b5b0
...
@@ -62,11 +62,21 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -62,11 +62,21 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
</xs:simpleType>
</xs:simpleType>
<xs:simpleType
name=
"acpType"
>
<xs:simpleType
name=
"acpType"
>
<list
itemType=
"m2m:ID"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"m2m:ID"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
<xs:simpleType
name=
"labels"
>
<xs:simpleType
name=
"labels"
>
<xs:list
itemType=
"xs:token"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"xs:token"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
<xs:simpleType
name=
"triggerRecipientID"
>
<xs:simpleType
name=
"triggerRecipientID"
>
...
@@ -78,7 +88,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -78,7 +88,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<!-- "listOfM2MID" is a space separated list of CSE-IDs and/or AE-IDs (i.e. elements of data type m2m:ID") -->
<!-- "listOfM2MID" is a space separated list of CSE-IDs and/or AE-IDs (i.e. elements of data type m2m:ID") -->
<xs:simpleType
name=
"listOfM2MID"
>
<xs:simpleType
name=
"listOfM2MID"
>
<xs:list
itemType=
"m2m:ID"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"m2m:ID"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
<!-- auxiliary data type required to define "listOflongMin-1" below -->
<!-- auxiliary data type required to define "listOflongMin-1" below -->
...
@@ -88,37 +103,37 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -88,37 +103,37 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
</xs:restriction>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
<!-- auxiliary data type required to define "listOfMinMax" below -->
<xs:simpleType
name=
"listOflongMin-1"
>
<xs:list
itemType=
"m2m:longMin-1"
/>
</xs:simpleType>
<!-- "listOfMinMax" represents a list of min and max numbers used in attributes of the [cmdhLimits] resource based on
<!-- "listOfMinMax" represents a list of min and max numbers used in attributes of the [cmdhLimits] resource based on
type xs:long in the range -1, 0, 1, 2 ... . Unit is milliseconds. Value setting of -1 expresses infinity -->
type xs:long in the range -1, 0, 1, 2 ... . Unit is milliseconds. Value setting of -1 expresses infinity -->
<xs:simpleType
name=
"listOfMinMax"
>
<xs:simpleType
name=
"listOfMinMax"
>
<xs:restriction
base=
"m2m:listOflongMin-1"
>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"m2m:longMin-1"
/>
</xs:simpleType>
<xs:length
value=
"2"
/>
<xs:length
value=
"2"
/>
</xs:restriction>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
<!-- auxiliary data type required to define "backOffParameters" below -->
<xs:simpleType
name=
"listOfNonNegInt"
>
<xs:list
itemType=
"xs:nonNegativeInteger"
/>
</xs:simpleType>
<!-- "backOffParameters" is an ordered list of 3 nonNegativeInteger numbers: backoffTime, backoffTimeIncrement, maximumBackoffTime
<!-- "backOffParameters" is an ordered list of 3 nonNegativeInteger numbers: backoffTime, backoffTimeIncrement, maximumBackoffTime
(in that order!), all units in milliseconds -->
(in that order!), all units in milliseconds -->
<xs:simpleType
name=
"backOffParameters"
>
<xs:simpleType
name=
"backOffParameters"
>
<xs:restriction
base=
"m2m:listOfNonNegInt"
>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"xs:nonNegativeInteger"
/>
</xs:simpleType>
<xs:length
value=
"3"
/>
<xs:length
value=
"3"
/>
</xs:restriction>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
<!-- m2m:ipv4 and m2m:ipv6 and m2m:countryCode are defined in the CDT-accessControlPolicy file -->
<!-- m2m:ipv4 and m2m:ipv6 and m2m:countryCode are defined in the CDT-accessControlPolicy file -->
<xs:simpleType
name=
"poaList"
>
<xs:simpleType
name=
"poaList"
>
<xs:list
itemType=
"xs:string"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"xs:string"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
<!--Format is YYYYMMDDThhmmss with no punctuation -->
<!--Format is YYYYMMDDThhmmss with no punctuation -->
...
@@ -168,13 +183,23 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -168,13 +183,23 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
</simpleType>
</simpleType>
</union>
</union>
</xs:simpleType>
</xs:simpleType>
<xs:simpleType
name=
"listOfEventCat"
>
<xs:simpleType
name=
"listOfEventCat"
>
<list
itemType=
"m2m:eventCat"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"m2m:eventCat"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
<xs:simpleType
name=
"listOfEventCatWithDef"
>
<xs:simpleType
name=
"listOfEventCatWithDef"
>
<list
itemType=
"m2m:eventCatWithDef"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"m2m:eventCatWithDef"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
<xs:simpleType
name=
"scheduleEntry"
>
<xs:simpleType
name=
"scheduleEntry"
>
...
@@ -185,7 +210,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -185,7 +210,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
</xs:simpleType>
</xs:simpleType>
<xs:simpleType
name=
"listOfURIs"
>
<xs:simpleType
name=
"listOfURIs"
>
<list
itemType=
"xs:anyURI"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"xs:anyURI"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
...
@@ -472,7 +502,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -472,7 +502,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:element
name=
"announceTo"
type=
"m2m:listOfURIs"
minOccurs=
"0"
/>
<xs:element
name=
"announceTo"
type=
"m2m:listOfURIs"
minOccurs=
"0"
/>
<xs:element
name=
"announcedAttribute"
minOccurs=
"0"
>
<xs:element
name=
"announcedAttribute"
minOccurs=
"0"
>
<xs:simpleType>
<xs:simpleType>
<xs:list
itemType=
"xs:NCName"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"xs:NCName"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
</xs:element>
</xs:element>
</xs:sequence>
</xs:sequence>
...
@@ -501,7 +536,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -501,7 +536,12 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
<xs:element
name=
"announceTo"
type=
"m2m:listOfURIs"
minOccurs=
"0"
/>
<xs:element
name=
"announceTo"
type=
"m2m:listOfURIs"
minOccurs=
"0"
/>
<xs:element
name=
"announcedAttribute"
minOccurs=
"0"
>
<xs:element
name=
"announcedAttribute"
minOccurs=
"0"
>
<xs:simpleType>
<xs:simpleType>
<xs:list
itemType=
"xs:token"
/>
<xs:restriction>
<xs:simpleType>
<xs:list
itemType=
"xs:token"
/>
</xs:simpleType>
<xs:minLength
value=
"1"
/>
</xs:restriction>
</xs:simpleType>
</xs:simpleType>
</xs:element>
</xs:element>
</xs:sequence>
</xs:sequence>
...
...
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