27 lines
839 B
Python
27 lines
839 B
Python
MODEL_SPEC = {
|
|
'model_id': 'archive_extraction_model',
|
|
'args': {
|
|
'blank': {'type': 'freestyle_string'},
|
|
'a': {'type': 'integer'},
|
|
'b': {'type': 'freestyle_string'},
|
|
'c': {'type': 'freestyle_string'},
|
|
'foo': {'type': 'file'},
|
|
'bar': {'type': 'file'},
|
|
'data_dir': {'type': 'directory', 'contents': {}},
|
|
'raster': {'type': 'raster'},
|
|
'vector': {'type': 'vector'},
|
|
'simple_table': {'type': 'csv'},
|
|
'spatial_table': {
|
|
'type': 'csv',
|
|
'columns': {
|
|
'ID': {'type': 'integer'},
|
|
'path': {
|
|
'type': {'raster', 'vector'},
|
|
'geometries': {'POINT', 'POLYGON'},
|
|
'bands': {1: {'type': 'number'}}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|