rngtest5.rng 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
  2. <element name='parameters' rngui:header="Parameters">
  3. <element name="label" rngui:label="Label">
  4. <data type="string" rngui:label="Short description of the task"/>
  5. </element>
  6. <element name="method" rngui:label="Method">
  7. <choice>
  8. <value>:post</value>
  9. <value>:get</value>
  10. <value>:put</value>
  11. <value>:delete</value>
  12. </choice>
  13. </element>
  14. <element name="arguments" rngui:header="Arguments">
  15. <element name="nc-program" rngui:label="NC Program">
  16. <data type="string" rngui:label="Unique ID of the NC Program"/>
  17. </element>
  18. <element name="material-name" rngui:label="Material Name">
  19. <data type="string" rngui:label="Name of the raw material"/>
  20. </element>
  21. <element name="material-pic" rngui:label="Material Picture">
  22. <data type="string" rngui:label="Picture of the raw material"/>
  23. </element>
  24. <element name="result-pic" rngui:label="Result Picture">
  25. <data type="string" rngui:label="Picture of the result"/>
  26. </element>
  27. <element name="comment" rngui:label="Comment">
  28. <text rngui:wrap='true' rngui:label='Additional comments for the operator'/>
  29. </element>
  30. <element name="tools" rngui:header="Tools">
  31. <zeroOrMore rngui:label="Add Tool">
  32. <element name="tool">
  33. <element name="place" rngui:label="Position">
  34. <data type="integer" rngui:label="Position in Tool Magazine"/>
  35. </element>
  36. <element name="tool-name" rngui:label="Tool">
  37. <data type="string" rngui:label="Name of Tool"/>
  38. </element>
  39. <element name="tool-holder" rngui:label="Holder">
  40. <data type="string" rngui:label="Name of Tool Holder"/>
  41. </element>
  42. <element name="tool-orientation" rngui:label="Orientation">
  43. <data type="string" rngui:label="Orientation in Tool Holder"/>
  44. </element>
  45. <element name="corrections" rngui:header="Corrections">
  46. <zeroOrMore rngui:label="Add Correction">
  47. <element name="correction">
  48. <attribute name="length-x" rngui:label="Length X">
  49. <data type="float"/>
  50. </attribute>
  51. <attribute name="length-z" rngui:label="Length Y">
  52. <data type="float"/>
  53. </attribute>
  54. <attribute name="radius" rngui:label="Radius">
  55. <data type="float"/>
  56. </attribute>
  57. </element>
  58. </zeroOrMore>
  59. </element>
  60. <element name="attachments" rngui:header="Attachments">
  61. <zeroOrMore rngui:label="Add Attachment">
  62. <element name="attachment" rngui:label="URL">
  63. <attribute name="label" rngui:label="Label">
  64. <data type="string" rngui:label="Label"/>
  65. </attribute>
  66. <data type="string" rngui:label="URL"/>
  67. </element>
  68. </zeroOrMore>
  69. </element>
  70. </element>
  71. </zeroOrMore>
  72. </element>
  73. </element>
  74. </element>
  75. </element>