Location: PHPKode > scripts > HV WDDX Metadata > hv-wddx-metadata/events.xml
  
<data><struct>

  <var name="id"><struct>
    <var name="name"><string>id</string></var>
    <var name="type"><string>text</string></var>
    <var name="description"><string>ID</string></var>
    <var name="node-attribute"><array>
      <struct>
        <var name="name"><string>disabled</string></var>
        <var name="value"><string>true</string></var>
      </struct>
    </array></var>
    <var name="validation-regexp"><string>/.*/</string></var>
    <var name="validation-message"><string></string></var>
  </struct></var>  

  <var name="date"><struct>
    <var name="name"><string>date</string></var>
    <var name="type"><string>date</string></var>
    <var name="description"><string>Date</string></var>
    <var name="validation-regexp"><string>/^(\d{4}-\d{1,2}-\d{1,2})$/</string></var>
    <var name="validation-message"><string>Enter a date in the format YYYY-MM-DD.</string></var>
  </struct></var>

  <var name="reminder"><struct>
    <var name="name"><string>reminder</string></var>
    <var name="type"><string>date</string></var>
    <var name="description"><string>Reminder From</string></var>
    <var name="validation-regexp"><string>/^(\d{4}-\d{1,2}-\d{1,2})?$/</string></var>
    <var name="validation-message"><string>Enter a date in the format YYYY-MM-DD.</string></var>
  </struct></var>

  <var name="type"><struct>
    <var name="name"><string>type</string></var>
    <var name="type"><string>radio</string></var>
    <var name="description"><string>Type</string></var>
    <var name="node-attribute"><array>
      <struct>
        <var name="name"><string>orient</string></var>
        <var name="value"><string>horizontal</string></var>
      </struct>
    </array></var>
    <var name="validation-regexp"><string>/1/</string></var>
    <var name="validation-message"><string>Select a value.</string></var>
    <var name="option"><array>
      <struct><var name="value"><string>General</string></var></struct>
      <struct><var name="value"><string>Holiday</string></var></struct>
    </array></var>
  </struct></var>

  <var name="start"><struct>
    <var name="name"><string>start</string></var>
    <var name="type"><string>time</string></var>
    <var name="description"><string>Start Time</string></var>
    <var name="validation-regexp"><string>/^(\d{2}:\d{2}(:\d{2})?)?$/</string></var>
    <var name="validation-message"><string>Please specify a time in the format HH:MM</string></var>
  </struct></var>

  <var name="end"><struct>
    <var name="name"><string>end</string></var>
    <var name="type"><string>time</string></var>
    <var name="description"><string>End Time</string></var>
    <var name="validation-regexp"><string>/^(\d{2}:\d{2}(:\d{2})?)?$/</string></var>
    <var name="validation-message"><string>Please specify a time in the format HH:MM</string></var>
  </struct></var>

  <var name="title"><struct>
    <var name="name"><string>title</string></var>
    <var name="type"><string>text</string></var>
    <var name="description"><string>Title</string></var>
    <var name="validation-regexp"><string>/\w+/</string></var>
    <var name="validation-message"><string>Please enter a title for this event</string></var>
  </struct></var>    

  <var name="description"><struct>
    <var name="name"><string>description</string></var>
    <var name="type"><string>textbox</string></var>
    <var name="description"><string>Description</string></var>
    <var name="validation-regexp"><string>/\w+/</string></var>
    <var name="validation-message"><string>Please enter a description for this event</string></var>
    <var name="node-attribute"><array>
      <struct>
        <var name="name"><string>rows</string></var>
        <var name="value"><string>6</string></var>
      </struct>
    </array></var>
  </struct></var>

</struct></data>


Return current item: HV WDDX Metadata