Swif2 JSON Data Structures

These are used by import and export commands.

workflow

Key Type Note
name string
phase_limit integer
job_limit integer
max_problems integer
max_dispatched integer
jobs job[]
site_name string Omit for local or multi-site workflow
site_login_user string Omit for local or multi-site workflow
site_login_host string Omit for local or multi-site workflow
site_storage_internal string Omit for local or multi-site workflow
site_storage_external string Omit for local or multi-site workflow
sites site[] Omit for local or single-site workflow

site

Key Type Note
site_name string
site_login_user string
site_login_host string
site_storage_internal string
site_storage_external string

job

Key Type Note
name string
inputs jobinput[]
outputs joboutput[]
antecedents string[]
conditions string[]
tags tag[]
command string[] Omit for multi-site capable job
batch_flags string[] Omit for multi-site capable job
account string Omit for multi-site capable job
partition string Omit for multi-site capable job
cpu_cores integer Omit for multi-site capable job
time_secs integer Omit for multi-site capable job
ram_bytes integer Omit for multi-site capable job
disk_bytes integer Omit for multi-site capable job
disk_bytes_type total,scratch Omit for multi-site capable job
exclusive boolean Omit for multi-site capable job
constraint string Omit for multi-site capable job
stdout string Omit for multi-site capable job
stderr string Omit for multi-site capable job
sitejobs sitejob[] Omit for local or single-site workflow

sitejob

Key Type Note
site_name string
command string[]
batch_flags string[]
account string
partition string
cpu_cores integer
time_secs integer
ram_bytes integer
disk_bytes integer
disk_bytes_type total,scratch Omit for multi-site capable job
exclusive boolean
constraint string
stdout string
stderr string

jobinput

Key Type Note
local string
remote string

joboutput

Key Type Note
local string
remote string
optional boolean
wildcard boolean

tag

Key Type Note
name string
value string