<?xml version="1.0" encoding="UTF-8"?>
<module name="features"
        xmlns="urn:ietf:params:xml:ns:yang:yin:1"
        xmlns:f="urn:features">
  <yang-version value="1.1"/>
  <namespace uri="urn:features"/>
  <prefix value="f"/>
  <feature name="a"/>
  <feature name="aa">
    <if-feature name="a"/>
  </feature>
  <feature name="b"/>
  <grouping name="grp">
    <leaf name="grp">
      <type name="string"/>
    </leaf>
  </grouping>
  <uses name="grp">
    <if-feature name="a"/>
  </uses>
  <container name="cont">
    <if-feature name="a"/>
    <presence value=""/>
  </container>
  <leaf name="lf">
    <if-feature name="a and b"/>
    <type name="string"/>
  </leaf>
  <leaf-list name="ll">
    <if-feature name="a or b"/>
    <type name="string"/>
  </leaf-list>
  <list name="lst">
    <if-feature name="not a"/>
    <key value="id"/>
    <leaf name="id">
      <type name="string"/>
    </leaf>
  </list>
  <choice name="ch">
    <if-feature name="not (a and b)"/>
    <case name="ch1">
      <if-feature name="a"/>
      <leaf name="ch1">
        <type name="string"/>
      </leaf>
    </case>
    <case name="ch2">
      <if-feature name="b"/>
      <leaf name="ch2">
        <type name="string"/>
      </leaf>
    </case>
    <case name="ch3">
      <leaf name="ch3">
        <type name="string"/>
      </leaf>
    </case>
  </choice>
  <anyxml name="axml">
    <if-feature name="not (a or b)"/>
  </anyxml>
  <rpc name="rpc1">
    <if-feature name="aa"/>
  </rpc>
  <notification name="notif1">
    <if-feature name="aa"/>
  </notification>
  <augment target-node="/f:cont">
    <if-feature name="aa"/>
    <leaf name="aug">
      <type name="string"/>
    </leaf>
  </augment>
</module>
