<?xml version="1.0" encoding="utf-8"?>

<!--

Action buttons (Previous/Save/Next) can be shown "top", "bottom" or "both":
<stage name="type" action_buttons="both">
  <component><field ref="type" required="yes" /></component>
</stage>

-->

<workflow xmlns="http://eprints.org/ep3/workflow" xmlns:epc="http://eprints.org/ep3/control">
  <flow>
    <stage ref="core"/>
  </flow>


  <stage name="core">
    <component type="Upload" show_help="always" />
    <component type="Documents">
      <field ref="license" />
    </component>

    <component type="Field::Multi">
      <title>Publication Details</title>
      <field ref="title" required="yes" input_lookup_url="{$config{rel_cgipath}}/users/lookup/title_duplicates" input_lookup_params="id={eprintid}&amp;dataset=eprint&amp;field=title" />
      <field ref="abstract"/>
      <field ref="creators" required="yes" input_lookup_url="{$config{rel_cgipath}}/users/lookup/name" />
      <field ref="publication" input_lookup_url="{$config{rel_cgipath}}/users/lookup/journal_by_name" />
      <field ref="date"/>
      <field ref="issn" input_lookup_url="{$config{rel_cgipath}}/users/lookup/journal_by_issn" />
      <field ref="contact_email"/>
    </component>

    <component type="Field::Multi">
      <title>Addtional Information</title>
      <field ref="corp_creators"/>
      <field ref="funders" />
      <field ref="projects" />
    </component>

  </stage>

</workflow>
