<?xml version="1.0"?>
<registry type="amp-conditions">
  <condition>
    <name>deliver</name>
    <ns>http://jabber.org/protocol/amp?condition=deliver</ns>
    <per-hop>true</per-hop>
    <value>[direct|forward|gateway|none|stored]</value>
    <processing>The condition is met if (1) the value is "direct" and the message can be immediately delivered or further dispatched, or (2) the value is "stored" and offline storage is enabled.</processing>
    <doc>XEP-0079: Advanced Message Processing</doc>
  </condition>
  <condition>
    <name>expire-at</name>
    <ns>http://jabber.org/protocol/amp?condition=expire-at</ns>
    <per-hop>true</per-hop>
    <value>DateTime per XEP-0082</value>
    <processing>The condition is met if the message cannot be delivered before the specified DateTime.</processing>
    <doc>XEP-0079: Advanced Message Processing</doc>
  </condition>
  <condition>
    <name>match-resource</name>
    <ns>http://jabber.org/protocol/amp?condition=match-resource</ns>
    <per-hop>false</per-hop>
    <value>[any|exact|other]</value>
    <processing>The condition is met if (1) the value is "any" and the intended recipient has at least one available resource (as defined in the XMPP IM specification); (2) the value "exact" and the intended recipient has an available resource that exactly matches the JID specified in the 'to' address; (3) the value is "other" and the intended recipient has an available resource whose full JID is other than that specified in the 'to' address.</processing>
    <doc>XEP-0079: Advanced Message Processing</doc>
  </condition>
</registry>

