rls-services.xsd 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ietf:params:xml:ns:rls-services" xmlns:rl="urn:ietf:params:xml:ns:resource-lists" targetNamespace="urn:ietf:params:xml:ns:rls-services" elementFormDefault="qualified" attributeFormDefault="unqualified">
  3. <xs:element name="rls-services">
  4. <xs:complexType>
  5. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  6. <xs:element name="service" type="serviceType"/>
  7. </xs:sequence>
  8. </xs:complexType>
  9. </xs:element>
  10. <xs:complexType name="serviceType">
  11. <xs:sequence>
  12. <xs:choice>
  13. <xs:element name="resource-list" type="xs:anyURI"/>
  14. <xs:element name="list" type="rl:listType"/>
  15. </xs:choice>
  16. <xs:element name="packages" type="packagesType" minOccurs="0"/>
  17. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  18. </xs:sequence>
  19. <xs:attribute name="uri" type="xs:anyURI" use="required"/>
  20. <xs:anyAttribute namespace="##other"/>
  21. </xs:complexType>
  22. <xs:complexType name="packagesType">
  23. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  24. <xs:element name="package" type="packageType"/>
  25. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  26. </xs:sequence>
  27. </xs:complexType>
  28. <xs:simpleType name="packageType">
  29. <xs:restriction base="xs:string"/>
  30. </xs:simpleType>
  31. </xs:schema>