hubverse-org / schemas

JSON schemas for modeling hubs
Creative Commons Zero v1.0 Universal
4 stars 3 forks source link

Add schema support for strings as sample indices in `output_type_id` #61

Closed elray1 closed 5 months ago

elray1 commented 1 year ago

Per discussion related to #48, in a first pass we will only support integer sample indices for output_type_id, but we would eventually like to support strings as well. To do this, we will need to add two properties to the output_type_id field in a hub's tasks.json config file:

"max_length" should be required if "type" is "string", but not otherwise.

nickreich commented 7 months ago

relating this to issue #70

annakrystalli commented 7 months ago

This is superceeded by #70 correct? My understanding is that there is no output_type_id property for samples anymore and all this is specified in output_type_id_params?