resource-lists-diff.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema
  3. targetNamespace="urn:ietf:params:xml:ns:resource-lists"
  4. xmlns="urn:ietf:params:xml:ns:resource-lists"
  5. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  6. elementFormDefault="qualified">
  7. <!-- include patch-ops type definitions -->
  8. <xs:include
  9. schemaLocation="urn:ietf:params:xml:schema:patch-ops"/>
  10. <!-- partial updates -->
  11. <xs:element name="resource-lists-diff">
  12. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  13. <xs:choice>
  14. <xs:element name="add">
  15. <xs:complexType mixed="true">
  16. <xs:complexContent>
  17. <xs:extension base="add">
  18. <xs:anyAttribute processContents="lax"/>
  19. </xs:extension>
  20. </xs:complexContent>
  21. </xs:complexType>
  22. </xs:element>
  23. <xs:element name="remove">
  24. <xs:complexType>
  25. <xs:complexContent>
  26. <xs:extension base="remove">
  27. <xs:anyAttribute processContents="lax"/>
  28. </xs:extension>
  29. </xs:complexContent>
  30. </xs:complexType>
  31. </xs:element>
  32. <xs:element name="replace">
  33. <xs:complexType mixed="true">
  34. <xs:complexContent>
  35. <xs:extension base="replace">
  36. <xs:anyAttribute processContents="lax"/>
  37. </xs:extension>
  38. </xs:complexContent>
  39. </xs:complexType>
  40. </xs:element>
  41. <xs:any namespace="##other" processContents="lax"/>
  42. </xs:choice>
  43. </xs:sequence>
  44. <xs:anyAttribute processContents="lax"/>
  45. </xs:element>
  46. </xs:schema>