consent-rules.xml 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema
  3. targetNamespace="urn:ietf:params:xml:ns:consent-rules"
  4. xmlns:cr="urn:ietf:params:xml:ns:consent-rules"
  5. xmlns:cp="urn:ietf:params:xml:ns:common-policy"
  6. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  7. elementFormDefault="qualified"
  8. attributeFormDefault="unqualified">
  9. <!-- Conditions -->
  10. <xs:element name="recipient" type="cp:identityType"/>
  11. <xs:element name="target" type="cp:identityType"/>
  12. <!-- Actions -->
  13. <xs:simpleType name="trans-values">
  14. <xs:restriction base="xs:string">
  15. <xs:enumeration value="deny"/>
  16. <xs:enumeration value="grant"/>
  17. </xs:restriction>
  18. </xs:simpleType>
  19. <xs:element name="trans-handling">
  20. <xs:complexType>
  21. <xs:simpleContent>
  22. <xs:extension base="trans-values">
  23. <xs:attribute name="perm-uri" type="xs:anyURI"
  24. use="required"/>
  25. </xs:extension>
  26. </xs:simpleContent>
  27. </xs:complexType>
  28. </xs:element>
  29. </xs:schema>