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
930a7ed8
Commit
930a7ed8
authored
Jan 27, 2015
by
Dale Seed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CDT-software-v0_8_0.xsd
Added support for announce
parent
83a236ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
29 deletions
+55
-29
CDT-software-v0_8_0.xsd
CDT-software-v0_8_0.xsd
+55
-29
No files found.
CDT-software-v0_8_0.xsd
View file @
930a7ed8
...
@@ -24,39 +24,65 @@ oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PR
...
@@ -24,39 +24,65 @@ 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"
<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"
xmlns:m2m=
"http://www.onem2m.org/xml/protocols"
elementFormDefault=
"unqualified"
attributeFormDefault=
"unqualified"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
>
attributeFormDefault=
"unqualified"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
>
<xs:include
schemaLocation=
"CDT-commonTypes-v0_8_0.xsd"
/>
<xs:include
schemaLocation=
"CDT-commonTypes-v0_8_0.xsd"
/>
<xs:include
schemaLocation=
"CDT-subscription-v0_8_0.xsd"
/>
<xs:include
schemaLocation=
"CDT-subscription-v0_8_0.xsd"
/>
<xs:element
name=
"software"
>
<xs:element
name=
"software"
>
<xs:complexType>
<xs:complexType>
<xs:complexContent>
<xs:complexContent>
<!-- Inherit Common Attributes from data type "mgmtResource" -->
<!-- Inherit Common Attributes from data type "mgmtResource" -->
<xs:extension
base=
"m2m:mgmtResource"
>
<xs:extension
base=
"m2m:mgmtResource"
>
<!-- Resource Specific Attributes -->
<!-- Resource Specific Attributes -->
<xs:sequence>
<xs:sequence>
<xs:element
name=
"version"
type=
"xs:string"
/>
<xs:element
name=
"version"
type=
"xs:string"
/>
<xs:element
name=
"name"
type=
"xs:string"
/>
<xs:element
name=
"name"
type=
"xs:string"
/>
<xs:element
name=
"URL"
type=
"xs:anyURI"
/>
<xs:element
name=
"URL"
type=
"xs:anyURI"
/>
<xs:element
name=
"install"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"install"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"uninstall"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"uninstall"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"installStatus"
type=
"m2m:actionStatus"
minOccurs=
"0"
/>
<xs:element
name=
"installStatus"
type=
"m2m:actionStatus"
minOccurs=
"0"
/>
<xs:element
name=
"activate"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"activate"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"deactivate"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"deactivate"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"activeStatus"
type=
"m2m:actionStatus"
minOccurs=
"0"
/>
<xs:element
name=
"activeStatus"
type=
"m2m:actionStatus"
minOccurs=
"0"
/>
<!-- Child Resources -->
<!-- Child Resources -->
<xs:choice
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:choice
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:element
name=
"childResource"
type=
"m2m:childResourceRef"
minOccurs=
"1"
maxOccurs=
"unbounded"
/>
<xs:element
name=
"childResource"
type=
"m2m:childResourceRef"
maxOccurs=
"unbounded"
/>
<xs:choice
minOccurs=
"1"
maxOccurs=
"unbounded"
>
<xs:element
ref=
"m2m:subscription"
maxOccurs=
"unbounded"
/>
<xs:element
ref=
"m2m:subscription"
/>
</xs:choice>
</xs:choice>
</xs:sequence>
</xs:choice>
</xs:extension>
</xs:sequence>
</xs:complexContent>
</xs:extension>
</xs:complexType>
</xs:complexContent>
</xs:element>
</xs:complexType>
<xs:element
name=
"softwareAnnc"
>
<xs:complexType>
<xs:complexContent>
<!-- Inherit Common Attributes from data type "announcedMgmtResource" -->
<xs:extension
base=
"m2m:announcedMgmtResource"
>
<!-- Resource Specific Attributes -->
<xs:sequence>
<xs:element
name=
"version"
type=
"xs:string"
minOccurs=
"0"
/>
<xs:element
name=
"name"
type=
"xs:string"
minOccurs=
"0"
/>
<xs:element
name=
"URL"
type=
"xs:anyURI"
minOccurs=
"0"
/>
<xs:element
name=
"install"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"uninstall"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"installStatus"
type=
"m2m:actionStatus"
minOccurs=
"0"
/>
<xs:element
name=
"activate"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"deactivate"
type=
"xs:boolean"
minOccurs=
"0"
/>
<xs:element
name=
"activeStatus"
type=
"m2m:actionStatus"
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:element>
</xs:schema>
</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