| 1 |
{ |
| 2 |
"namespace": "com.pacbio.common.models.datastore", |
| 3 |
"type": "record", |
| 4 |
"name": "PipelineDataStoreViewRules", |
| 5 |
"doc": "Custom view of the DataStoreFile(s) emitted from a specific pipeline (by id)", |
| 6 |
"fields": [ |
| 7 |
{ |
| 8 |
"name": "pipelineId", |
| 9 |
"type": "string", |
| 10 |
"doc": "Fully qualified pipeline id to apply rules to. e.g., pbsmrtpipe.pipelines.dev_01" |
| 11 |
}, |
| 12 |
{ |
| 13 |
"name": "smrtlinkVersion", |
| 14 |
"type": "string", |
| 15 |
"doc": "Version of SMRTLink to which these rules apply. e.g., '3.2'" |
| 16 |
}, |
| 17 |
{ |
| 18 |
"name": "rules", |
| 19 |
"type": { |
| 20 |
"type": "array", |
| 21 |
"items": { |
| 22 |
"type": "record", |
| 23 |
"name": "DataStoreViewRule", |
| 24 |
"doc": "Custom View of specific DataStoreFile by source id in the datastore.json", |
| 25 |
"fields": [ |
| 26 |
{ |
| 27 |
"name": "sourceId", |
| 28 |
"type": "string", |
| 29 |
"doc": "Source ID as it appears in the pbsmrtpipe datastore, Should have the form {task-id}-{in|out}-{positional-index}" |
| 30 |
}, |
| 31 |
{ |
| 32 |
"name": "fileTypeId", |
| 33 |
"type": "string", |
| 34 |
"doc": "File type identifier, e.g. PacBio.FileTypes.JsonReport" |
| 35 |
}, |
| 36 |
{ |
| 37 |
"name": "isHidden", |
| 38 |
"type": "boolean", |
| 39 |
"doc": "Specifies that a file should not appear in the UI" |
| 40 |
}, |
| 41 |
{ |
| 42 |
"name": "name", |
| 43 |
"type": ["string", "null"], |
| 44 |
"doc": "Override the display name (optional). If this is null, the default name of the datastore file will be used in UI" |
| 45 |
}, |
| 46 |
{ |
| 47 |
"name": "description", |
| 48 |
"type": ["string", "null"], |
| 49 |
"doc": "Override the display description (optional). If this is null, the default description of the datastore file will be used in UI" |
| 50 |
}, |
| 51 |
{ |
| 52 |
"name": "typeName", |
| 53 |
"type": ["string", "null"], |
| 54 |
"doc": "Overide the display file type (optional)" |
| 55 |
} |
| 56 |
] |
| 57 |
} |
| 58 |
} |
| 59 |
} |
| 60 |
] |
| 61 |
} |