| 1 |
{ |
| 2 |
"namespace": "com.pacbio.common.models.pipeline_presets", |
| 3 |
"type": "record", |
| 4 |
"name": "PipelinePreset", |
| 5 |
"doc": "Pipeline Preset with custom task options", |
| 6 |
"fields": [ |
| 7 |
{ |
| 8 |
"name": "pipelineId", |
| 9 |
"type": "string", |
| 10 |
"doc": "Fully qualified pipeline ID, must only have [A-Z][0-9]_." |
| 11 |
}, |
| 12 |
{ |
| 13 |
"name": "presetId", |
| 14 |
"type": "string", |
| 15 |
"doc": "Fully qualified ID of the pipeline preset, must only have [A-Z][0-9]_." |
| 16 |
}, |
| 17 |
{ |
| 18 |
"name": "name", |
| 19 |
"type": ["string", "null"], |
| 20 |
"doc": "Plain-English name of the task option as it will appear in UI" |
| 21 |
}, |
| 22 |
{ |
| 23 |
"name": "description", |
| 24 |
"type": ["string", "null"], |
| 25 |
"doc": "More detailed description of the task option as it will appear in UI", |
| 26 |
"default": null |
| 27 |
}, |
| 28 |
{ |
| 29 |
"name": "options", |
| 30 |
"type": { |
| 31 |
"type": "array", |
| 32 |
"items": { |
| 33 |
"type": "record", |
| 34 |
"name": "WorkflowOption", |
| 35 |
"fields": [ |
| 36 |
{ |
| 37 |
"name": "id", |
| 38 |
"type": "string", |
| 39 |
"doc": "Workflow option ID" |
| 40 |
}, |
| 41 |
{ |
| 42 |
"name": "value", |
| 43 |
"type": ["long", "boolean", "string", "int", "double"], |
| 44 |
"doc": "Value" |
| 45 |
}, |
| 46 |
{ |
| 47 |
"name": "optionTypeId", |
| 48 |
"type": "string", |
| 49 |
"doc": "Option type ID e.g. integer or string" |
| 50 |
} |
| 51 |
] |
| 52 |
} |
| 53 |
} |
| 54 |
}, |
| 55 |
{ |
| 56 |
"name": "taskOptions", |
| 57 |
"type": { |
| 58 |
"type": "array", |
| 59 |
"items": { |
| 60 |
"type": "record", |
| 61 |
"name": "TaskOption", |
| 62 |
"fields": [ |
| 63 |
{ |
| 64 |
"name": "id", |
| 65 |
"type": "string", |
| 66 |
"doc": "Task option ID" |
| 67 |
}, |
| 68 |
{ |
| 69 |
"name": "value", |
| 70 |
"type": ["long", "boolean", "string", "int", "double"], |
| 71 |
"doc": "Value" |
| 72 |
}, |
| 73 |
{ |
| 74 |
"name": "optionTypeId", |
| 75 |
"type": "string", |
| 76 |
"doc": "Option type ID e.g. integer or string" |
| 77 |
} |
| 78 |
] |
| 79 |
} |
| 80 |
} |
| 81 |
} |
| 82 |
] |
| 83 |
} |