application: ajbad [
  documentation: "Test file for ACD parsing"
  groups: "Test"
]

section: input [
  information: "Input section"
  type: "page"
]

  string: typea [
    standard: "y"
    information: "Sequence type"
    valid: "valid value test"
    knowntype: "sequence type"
  ]

  sequence: sequence [
    parameter: "y"
    type: "$(typea)"
  ]

  sequence: bsequence [
    parameter: "y"
    type: "$(seqa.type)"
  ]

  codon: cod [
    name: "eco"
  ]

endsection: input

section: required [
  information: "Required section"
  type: "page"
]

  string: typeb [
    standard: "y"
    default: "$(seqa.type)"
    expected: "expected value"
    information: "Second type"
    knowntype: "sequence type"
  ]

  string: date [
    standard: "Y"
    default: "00/00/00"
    maxlength: "8"
    information: "Index date"
    pattern: "^([0-9]+.[0-9]+.[0-9]+)?$"
    knowntype: "date"
  ]

endsection: required

section: advanced [
  information: "Advanced section"
  type: "page"
]

  integer: a [
    minimum: "0"
    information: "First number"
  ]

  integer: b [
    default: "15"
    information: "Second number"
  ]

  float: c [
    minimum: "-5"
    maximum: "6.6666"
    precision: "2"
    default: "1.6"
    information: "Third number"
  ]

endsection: advanced

section: output [
  information: "Output section"
  type: "page"
]

  outfile: outfile [
    parameter: "y"
    knowntype: "ajbad output"
  ]

endsection: output
