ustore.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <!--
  2. This file is part of centurio.work/ing/commands.
  3. centurio.work/ing/commands is free software: you can redistribute it and/or
  4. modify it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 3 of the License, or (at your
  6. option) any later version.
  7. centurio.work/ing/commands is distributed in the hope that it will
  8. be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
  10. Public License for more details.
  11. You should have received a copy of the GNU General Public License along with
  12. centurio.work/ing/commands (file COPYING in the main directory). If
  13. not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. <description xmlns="http://riddl.org/ns/description/1.0" xmlns:ann="http://riddl.org/ns/annotation/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  16. <message name="stations"><!--{{{-->
  17. <parameter name="stations" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
  18. <xi:include href="rngs/stations.rng"/>
  19. </parameter>
  20. </message> <!--}}}-->
  21. <message name="num"> <!--{{{-->
  22. <parameter name="num" type="nonNegativeInteger"/>
  23. </message> <!--}}}-->
  24. <message name="station"> <!--{{{-->
  25. <parameter name="station" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
  26. <xi:include href="rngs/t_station.rng"/>
  27. </parameter>
  28. </message> <!--}}}-->
  29. <message name="pattern"> <!--{{{-->
  30. <parameter name="pattern" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
  31. <xi:include href="rngs/t_pattern.rng"/>
  32. </parameter>
  33. </message> <!--}}}-->
  34. <message name="images"> <!--{{{-->
  35. <parameter name="images" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
  36. <xi:include href="rngs/t_images.rng"/>
  37. </parameter>
  38. </message> <!--}}}-->
  39. <message name="image"> <!--{{{-->
  40. <parameter name="image" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
  41. <xi:include href="rngs/t_image.rng"/>
  42. </parameter>
  43. </message> <!--}}}-->
  44. <message name="error"> <!--{{{-->
  45. <parameter name="error" mimetype="*/xml" handler="http://riddl.org/ns/handlers/relaxng">
  46. <xi:include href="rngs/t_error.rng"/>
  47. </parameter>
  48. </message> <!--}}}-->
  49. <message name="imageUpload"> <!--{{{-->
  50. <parameter name="imageUpload" mimetype="image/svg+xml"/>
  51. </message> <!--}}}-->
  52. <message name="amount"> <!--{{{-->
  53. <parameter name="amount" type="nonNegativeInteger"/>
  54. </message> <!--}}}-->
  55. <message name="theRealImage"> <!--}}}-->
  56. <parameter name="theRealImage" mimetype="image/svg+xml"/>
  57. </message><!--}}}-->
  58. <message name="imageid"> <!--{{{-->
  59. <parameter name="imageid" type="nonNegativeInteger"/>
  60. </message> <!--}}}-->
  61. <message name="orderlist"> <!--{{{-->
  62. <parameter name="orderlist" mimetype="application/json"/>
  63. </message> <!--}}}-->
  64. <message name="label"><!--}}}-->
  65. <parameter name="label" type="string"/>
  66. </message><!--}}}-->
  67. <message name="list"><!--}}}-->
  68. <parameter name="list" mimetype="application/json"/>
  69. </message><!--}}}-->
  70. <resource>
  71. <resource relative="folders">
  72. <get out="list"/>
  73. <post />
  74. <delete/>
  75. <resource relative=".*">
  76. <get out="list"/>
  77. <post />
  78. <delete/>
  79. </resource>
  80. </resource>
  81. <resource relative="allfolders">
  82. <get out="list"/>
  83. <resource relative=".*">
  84. <get out="list"/>
  85. </resource>
  86. </resource>
  87. <resource relative="images">
  88. <get out="list"/>
  89. <resource relative=".*">
  90. <get out="list"/>
  91. </resource>
  92. </resource>
  93. <resource relative="data">
  94. <post />
  95. <post in="imageUpload"/>
  96. <delete/>
  97. <resource relative=".*">
  98. <post />
  99. <post in="imageUpload"/>
  100. <delete/>
  101. </resource>
  102. </resource>
  103. <resource relative="externalFolder">
  104. <post />
  105. <get out="list"/>
  106. </resource>
  107. </resource>
  108. </description>