| 1 |
{ |
| 2 |
"namespace": "com.pacbio.common.models.pipeline", |
| 3 |
"type": "record", |
| 4 |
"name": "PipelineTemplateView", |
| 5 |
"doc": "Custom views of a Resolved Pipeline Template and task options", |
| 6 |
"fields": [ |
| 7 |
{ |
| 8 |
"name": "id", |
| 9 |
"type": "string", |
| 10 |
"doc": "Fully qualified pipeline ID, must only have [A-Z][0-9]_." |
| 11 |
}, |
| 12 |
{ |
| 13 |
"name": "name", |
| 14 |
"type": "string", |
| 15 |
"doc": "Plain-English name of the pipeline as it will appear in UI" |
| 16 |
}, |
| 17 |
{ |
| 18 |
"name": "description", |
| 19 |
"type": "string", |
| 20 |
"doc": "More detailed description of the pipeline as it will appear in UI" |
| 21 |
}, |
| 22 |
{ |
| 23 |
"name": "taskOptions", |
| 24 |
"type": ["null", { |
| 25 |
"type": "array", |
| 26 |
"items": { |
| 27 |
"type": "record", |
| 28 |
"name": "TaskOptionViewRule", |
| 29 |
"fields": [ |
| 30 |
{ |
| 31 |
"name": "id", |
| 32 |
"type": "string", |
| 33 |
"doc": "Source ID as it appears in the pbsmrtpipe datastore, Should have the from {task-id}-{in|out}-{positional-index}" |
| 34 |
}, |
| 35 |
{ |
| 36 |
"name": "hidden", |
| 37 |
"type": "boolean", |
| 38 |
"doc": "Specifies that a field should not appear in the UI" |
| 39 |
}, |
| 40 |
{ |
| 41 |
"name": "advanced", |
| 42 |
"type": "boolean", |
| 43 |
"doc": "Specifies that a field should only appear in the advanced settings window" |
| 44 |
} |
| 45 |
] |
| 46 |
} |
| 47 |
}], |
| 48 |
"default": null |
| 49 |
}, |
| 50 |
{ |
| 51 |
"name": "entryPoints", |
| 52 |
"type": ["null", { |
| 53 |
"type": "array", |
| 54 |
"items": { |
| 55 |
"type": "record", |
| 56 |
"name": "EntryPointsViewRule", |
| 57 |
"fields": [ |
| 58 |
{ |
| 59 |
"name": "entryId", |
| 60 |
"type": "enum", |
| 61 |
"symbols": ["eid_subread", "eid_hdfsubread", "eid_ref_dataset", "eid_barcode"], |
| 62 |
"doc": "The entry point id" |
| 63 |
}, |
| 64 |
{ |
| 65 |
"name": "uuid", |
| 66 |
"type": ["null", "string"], |
| 67 |
"doc": "The UUID of the default dataset for this entrypoint", |
| 68 |
"default": null |
| 69 |
}, |
| 70 |
{ |
| 71 |
"name": "label", |
| 72 |
"type": ["null", "string"], |
| 73 |
"default": null, |
| 74 |
"doc": "Entry point label to display in the UI" |
| 75 |
} |
| 76 |
] |
| 77 |
} |
| 78 |
}], |
| 79 |
"default": null |
| 80 |
}, |
| 81 |
{ |
| 82 |
"name": "inputFilters", |
| 83 |
"doc": "Used to filter datasets for selection for the entry point(s) of this pipeline", |
| 84 |
"type": ["null", { |
| 85 |
"type": "array", |
| 86 |
"items": { |
| 87 |
"type": "record", |
| 88 |
"name": "FilterEncoding", |
| 89 |
"fields": [ |
| 90 |
{ |
| 91 |
"name": "field", |
| 92 |
"type": "string", |
| 93 |
"doc": "The dataset field on which to filter" |
| 94 |
}, |
| 95 |
{ |
| 96 |
"name": "operator", |
| 97 |
"type": "enum", |
| 98 |
"symbols": ["=", "!=", "contains"], |
| 99 |
"doc": "The operator. One of: '=', '!=', or 'contains'." |
| 100 |
}, |
| 101 |
{ |
| 102 |
"name": "value", |
| 103 |
"type": "string", |
| 104 |
"doc": "The value of the dataset at the given field. The left hand side of the comparison in the filter" |
| 105 |
}, |
| 106 |
{ |
| 107 |
"name": "entryId", |
| 108 |
"type": "enum", |
| 109 |
"symbols": ["eid_subread", "eid_hdfsubread", "eid_ref_dataset", "eid_barcode"], |
| 110 |
"default": "eid_subread", |
| 111 |
"doc": "Entry point ID that the filter applies to, e.g. eid_subread or eid_ref_dataset. This is assumed to be eid_subread if not specified." |
| 112 |
} |
| 113 |
] |
| 114 |
} |
| 115 |
}] |
| 116 |
} |
| 117 |
] |
| 118 |
} |