Guest User

Untitled

a guest
Feb 18th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. <xs:attributeGroup name="contributionAttributes">
  2. <xs:attribute name="href" type="xs:anyURI" use="required">
  3. <xs:annotation>
  4. <xs:documentation>The URI of this Contribution</xs:documentation>
  5. </xs:annotation>
  6. </xs:attribute>
  7.  
  8. <xs:attribute name="id" type="xs:long" use="required">
  9. <xs:annotation>
  10. <xs:documentation>This unique ID of this Contribution</xs:documentation>
  11. </xs:annotation>
  12. </xs:attribute>
  13. </xs:attributeGroup>
  14.  
  15.  
  16. <xs:complexType name="briefContributionType">
  17. <xs:annotation>
  18. <xs:documentation>Information common to all Contributions</xs:documentation>
  19. </xs:annotation>
  20.  
  21. <xs:simpleContent>
  22. <xs:extension base="xs:string">
  23. <xs:attributeGroup ref="vhm:contributionAttributes"/>
  24. </xs:extension>
  25. </xs:simpleContent>
  26. </xs:complexType>
  27.  
  28.  
  29. <xs:complexType name="contributionsType" >
  30. <xs:annotation>
  31. <xs:documentation>A standard list of Contributions</xs:documentation>
  32. </xs:annotation>
  33.  
  34. <xs:sequence>
  35. ## <xs:element name="TODO" minOccurs="0" maxOccurs="unbounded" type="vhm:briefContributionType"/>
  36. </xs:sequence>
  37.  
  38. <xs:attribute name="start" type="xs:int" use="required">
  39. <xs:annotation>
  40. <xs:documentation>The starting index for this page of results</xs:documentation>
  41. </xs:annotation>
  42. </xs:attribute>
  43.  
  44. <xs:attribute name="end" type="xs:int" use="required">
  45. <xs:annotation>
  46. <xs:documentation>The ending index for this page of results</xs:documentation>
  47. </xs:annotation>
  48. </xs:attribute>
  49.  
  50. <xs:attribute name="next" type="xs:anyURI">
  51. <xs:annotation>
  52. <xs:documentation>URL for the next page of results</xs:documentation>
  53. </xs:annotation>
  54. </xs:attribute>
  55.  
  56. <xs:attribute name="previous" type="xs:anyURI">
  57. <xs:annotation>
  58. <xs:documentation>URL for the previous page of results</xs:documentation>
  59. </xs:annotation>
  60. </xs:attribute>
  61. </xs:complexType>
Add Comment
Please, Sign In to add comment