XSD URIs
NSM service designers and client users can retrieve (GET) the NSM.xsd file that explains the NSM schema by executing an HTTP request on the nsm/xsd URI.
URI syntax | HTTP method | Description |
---|---|---|
nsm/xsd |
GET | This HTTP request returns a copy of the NSM.xsd file which describes the NSM schema. The NSM.xsd schema file contains the schema of devices, realms, services and servicetemplates. |
- HTTP GET for /nsm/xsd
- When the NSM client user requests the /nsm/xsd URI using the GET method, a copy of the NSM.xsd file is returned. The NSM.xsd schema file returned contains the schema of devices, realms, services and servicetemplates.
Input parameters
none
Sample request
http://www.example.com:16310/nsm/xsd
Sample response
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- client view of a Service Template -->
<xs:element name="serviceTemplates" type="serviceTemplatesListType"/>
<xs:complexType name="serviceTemplatesListType">
<xs:sequence>
<xs:element name="serviceTemplate" type="serviceTemplateType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
.......
<xs:complexType name="appliedServiceTemplateType">
<xs:attribute name="id" type="StringNotBlank" use="required"/>
<xs:attribute name="version" type="StringNotBlank" use="required"/>
<xs:attribute name="deviceID" type="StringNotBlank" use="optional"/>
</xs:complexType>
</xs:schema>
XML response details
Tag | Type | Description |
---|---|---|
Schema | Container tag |
Specifies the NSM schema (NSM.xsd file).
Note: The sample response shows a sample portion of the
NSM.xsd file, the full NSM.xsd file is not included as it is too large. See XSD files for NSM XSD file details.
|