<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns="http://netconfcentral.org/ns/yuma-mysession"
  targetNamespace="http://netconfcentral.org/ns/yuma-mysession"
  elementFormDefault="qualified" attributeFormDefault="unqualified"
  xml:lang="en" version="2010-05-10"
  xmlns:ncx="http://netconfcentral.org/ns/yuma-ncx"
  xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
  xmlns:appcmn="http://netconfcentral.org/ns/yuma-app-common"
  xmlns:ncwd="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">
  <xs:annotation>
    <xs:documentation>Converted from YANG file 'yuma-mysession.yang' by yangdump version 2.2.1724
      
      Module: yuma-mysession
      Organization: Netconf Central
      Version: 2010-05-10
      Contact: Andy Bierman &lt;andy@netconfcentral.org&gt;</xs:documentation>
    <xs:documentation>This module contains RPC methods for
      customizing the default session settings
      for the current session.</xs:documentation>
    <xs:appinfo>
      <ncx:source>/usr/share/yuma/modules/netconfcentral/yuma-mysession.yang</ncx:source>
      <ncx:organization>Netconf Central</ncx:organization>
      <ncx:contact>Andy Bierman &lt;andy@netconfcentral.org&gt;</ncx:contact>
    </xs:appinfo>
    <xs:appinfo>
      <ncx:revision>
        <ncx:version>2010-05-10</ncx:version>
        <ncx:description>Added default to line-size parameter.</ncx:description>
      </ncx:revision>
      <ncx:revision>
        <ncx:version>2009-08-11</ncx:version>
        <ncx:description>Initial published version</ncx:description>
      </ncx:revision>
    </xs:appinfo>
  </xs:annotation>
  <xs:group name="session-params">
    <xs:sequence>
      <xs:element name="linesize" default="72" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The desired maximum number of characters printed
            per line.  The server may exceed this number.
            It is only a suggestion, not a hard limit.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:unsignedInt">
            <xs:minInclusive value="40"/>
            <xs:maxInclusive value="1024"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="with-defaults" type="ncwd:with-defaults-mode"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The desired maximum number of characters printed
            per line.  The server may exceed this number.
            It is only a suggestion, not a hard limit.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:complexType name="get-my-session_output_type__">
    <xs:complexContent>
      <xs:extension base="nc:dataInlineType">
        <xs:sequence>
          <xs:element name="linesize" default="72" minOccurs="0">
            <xs:annotation>
              <xs:documentation>The desired maximum number of characters printed
                per line.  The server may exceed this number.
                It is only a suggestion, not a hard limit.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:unsignedInt">
                <xs:minInclusive value="40"/>
                <xs:maxInclusive value="1024"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:element name="with-defaults"
            type="ncwd:with-defaults-mode" minOccurs="0">
            <xs:annotation>
              <xs:documentation>The desired maximum number of characters printed
                per line.  The server may exceed this number.
                It is only a suggestion, not a hard limit.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="get-my-session" substitutionGroup="nc:rpcOperation">
    <xs:annotation>
      <xs:documentation>Get the customization settings for this session</xs:documentation>
      <xs:appinfo>
        <ncx:rpc-output>get-my-session_output_type__</ncx:rpc-output>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="nc:rpcOperationType">
          <xs:sequence>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="set-my-session_output_type__">
    <xs:complexContent>
      <xs:extension base="nc:dataInlineType">
        <xs:sequence>
          <xs:any minOccurs="0" maxOccurs="unbounded"
            namespace="##other" processContents="lax"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="set-my-session" substitutionGroup="nc:rpcOperation">
    <xs:annotation>
      <xs:documentation>Set the customization settings for this session.
        This is like a merge operation.  Only the values that
        are present will be used to overwrite the existing
        settings.</xs:documentation>
      <xs:appinfo>
        <ncx:rpc-output>set-my-session_output_type__</ncx:rpc-output>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="nc:rpcOperationType">
          <xs:sequence>
            <xs:element name="linesize" default="72" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The desired maximum number of characters printed
                  per line.  The server may exceed this number.
                  It is only a suggestion, not a hard limit.</xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:unsignedInt">
                  <xs:minInclusive value="40"/>
                  <xs:maxInclusive value="1024"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element name="with-defaults"
              type="ncwd:with-defaults-mode" minOccurs="0">
              <xs:annotation>
                <xs:documentation>The desired maximum number of characters printed
                  per line.  The server may exceed this number.
                  It is only a suggestion, not a hard limit.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:any minOccurs="0" maxOccurs="unbounded"
              namespace="##other" processContents="lax"/>
          </xs:sequence>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
</xs:schema>

