Commit 80e50309 authored by Peter Waher's avatar Peter Waher

Adding rule ranges to friendship rules.

parent 92f4f7c5
......@@ -56,9 +56,34 @@
<xs:documentation>How similar future requests should be handled by the device.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='range' type='RuleRange' use='optional' default='Caller'>
<xs:annotation>
<xs:documentation>The range of the rule.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:simpleType name='RuleRange'>
<xs:restriction base='xs:string'>
<xs:enumeration value='Caller'>
<xs:annotation>
<xs:documentation>If the rule only applies to the caller.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value='Domain'>
<xs:annotation>
<xs:documentation>If the rule applies to all future requests from the caller domain.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value='All'>
<xs:annotation>
<xs:documentation>If the rule applies to all future requests.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:element name='canRead'>
<xs:annotation>
<xs:documentation>Sent as a message by the provisioning server when it requires the owner to respond to a readout request event raised by one of the owner's devices.</xs:documentation>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment