forms.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!--
  2. This file is part of centurio.work/wiz.
  3. centurio.work/wiz is free software: you can redistribute it and/or modify it
  4. under the terms of the GNU General Public License as published by the Free
  5. Software Foundation, either version 3 of the License, or (at your option) any
  6. later version.
  7. centurio.work/wiz is distributed in the hope that it will be useful, but
  8. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  10. more details.
  11. You should have received a copy of the GNU General Public License along with
  12. centurio.work/wiz (file LICENSE in the main directory). If not, see
  13. <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="input">
  17. <parameter name="style_url" type="string"/>
  18. <parameter name="document_url" type="string"/>
  19. <parameter name="x_amount" type="string"/>
  20. <parameter name="y_amount" type="string"/>
  21. <parameter name="lang" type="string"/>
  22. </message>
  23. <message name="frame">
  24. <parameter name="lx" type="string"/>
  25. <parameter name="ly" type="string"/>
  26. <parameter name="rx" type="string"/>
  27. <parameter name="ry" type="string"/>
  28. <parameter name="url" type="string"/>
  29. </message>
  30. <message name="ui">
  31. <parameter name="ui" mimetype="text/html"/>
  32. </message>
  33. <message name="url">
  34. <parameter name="url" mimetype="text/html"/>
  35. </message>
  36. <message name="htmlform">
  37. <parameter name="htmlform" mimetype="text/plain"/>
  38. </message>
  39. <message name="callback">
  40. <header name="CPEE-CALLBACK" type="boolean"/>
  41. </message>
  42. <message name="text">
  43. <parameter name="text" mimetype="text/plain"/>
  44. </message>
  45. <message name="langs">
  46. <parameter name="langs" mimetype="*/xml">
  47. <xi:include href="rngs/langs.rng"/>
  48. </parameter>
  49. </message>
  50. <message name="lang">
  51. <parameter name="lang" type="string"/>
  52. </message>
  53. <message name="opa">
  54. <parameter name="op" fixed="error"/>
  55. <parameter name="reason" type="string"/>
  56. </message>
  57. <message name="opb">
  58. <parameter name="op" fixed="result"/>
  59. <parameter name="value" mimetype="application/json"/>
  60. </message>
  61. <message name="json">
  62. <parameter name="value" mimetype="application/json"/>
  63. </message>
  64. <message name="form">
  65. <parameter name="form" mimetype="application/json"/>
  66. </message>
  67. <resource>
  68. <get out="url"/>
  69. <post out="text"/>
  70. <resource>
  71. <get out="url"/>
  72. <resource relative="builder">
  73. <get out='url'/>
  74. <post in="form" />
  75. <post in="htmlform" />
  76. </resource>
  77. <resource relative="json">
  78. <get out='json'/>
  79. </resource>
  80. </resource>
  81. </resource>
  82. </description>