# form = get_metadata_creation_form_from_doctype(doc_type) # # This will use BibField to create a simple form which is the concatenation of all the fields neeeded for doc_type "Article"
Article={"dep_type":dep_type,
"workflow":wf,
"plural":plural,
"group":group,
"enabled":True}
"""
Workflow definition sample
wf = [
set_status(form), # # This load the WTForm ArticleForm
reserve_recid, # # This reserve a recid for the created record
create_record(doc_type), # # This uses BibField to transform the JSON into MARC using the Article doctype