Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
XSD
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
1655d03d
Commit
1655d03d
authored
10 years ago
by
Dale Seed
Browse files
Options
Downloads
Patches
Plain Diff
Update CDT-deviceCapability-v0_8_0.xsd
Added support for announce
parent
cb0bc1ff
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CDT-deviceCapability-v0_8_0.xsd
+49
-26
49 additions, 26 deletions
CDT-deviceCapability-v0_8_0.xsd
with
49 additions
and
26 deletions
CDT-deviceCapability-v0_8_0.xsd
+
49
−
26
View file @
1655d03d
...
...
@@ -24,36 +24,59 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
-->
<xs:schema
xmlns=
"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"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
>
xmlns:m2m=
"http://www.onem2m.org/xml/protocols"
elementFormDefault=
"unqualified"
attributeFormDefault=
"unqualified"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
>
<xs:include
schemaLocation=
"CDT-commonTypes-v0_8_0.xsd"
/>
<xs:include
schemaLocation=
"CDT-subscription-v0_8_0.xsd"
/>
<xs:element
name=
"deviceCapability"
>
<xs:complexType>
<xs:complexContent>
<!-- Inherit common attributes from mgmtResource -->
<xs:extension
base=
"m2m:mgmtResource"
>
<xs:sequence>
<!-- Resource Specific Attributes -->
<xs:element
name=
"capabilityName"
type=
"xs:string"
/>
<xs:element
name=
"attached"
type=
"xs:boolean"
/>
<xs:element
name=
"capabilityActionStatus"
type=
"m2m:actionStatus"
/>
<xs:element
name=
"currentState"
type=
"xs:boolean"
/>
<xs:element
name=
"enable"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"disable"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:complexType>
<xs:complexContent>
<!-- Inherit common attributes from mgmtResource -->
<xs:extension
base=
"m2m:mgmtResource"
>
<xs:sequence>
<!-- Resource Specific Attributes -->
<xs:element
name=
"capabilityName"
type=
"xs:string"
/>
<xs:element
name=
"attached"
type=
"xs:boolean"
/>
<xs:element
name=
"capabilityActionStatus"
type=
"m2m:actionStatus"
/>
<xs:element
name=
"currentState"
type=
"xs:boolean"
/>
<xs:element
name=
"enable"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"disable"
type=
"xs:boolean"
minOccurs=
"0"
/>
<!-- Child Resources -->
<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:choice>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<!-- 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:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element
name=
"deviceCapabilityAnnc"
>
<xs:complexType>
<xs:complexContent>
<!-- Inherit common attributes from announcedMgmtResource -->
<xs:extension
base=
"m2m:announcedMgmtResource"
>
<xs:sequence>
<!-- Resource Specific Attributes -->
<xs:element
name=
"capabilityName"
type=
"xs:string"
minOccurs=
"0"
/>
<xs:element
name=
"attached"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"capabilityActionStatus"
type=
"m2m:actionStatus"
minOccurs=
"0"
/>
<xs:element
name=
"currentState"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"enable"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"disable"
type=
"xs:boolean"
minOccurs=
"0"
/>
<!-- 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:sequence>
</xs:extension>
</xs:complexContent>
</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