biocompute-objects / BCO_Documentation

Repository for documentation to support the IEEE 2791-2020 standard. Please see our home page for communications/publications:
http://biocomputeobject.org/
BSD 3-Clause "New" or "Revised" License
16 stars 12 forks source link

Clarify script_access_type vs script #26

Closed stain closed 5 years ago

stain commented 6 years ago

script_access_type feels a bit contrived, as it is defining the type of script key, making it hard to validate/use alone.

The script key however does not explain at all how an inline script can be used.

Other parts of BCO use sub-objects like

 "source": {
    "address": "http://example.com/file.txt"
}

It might make sense to do a similar approach here, where one can provide either address for URI (potentially relative #23 for files) or value for inline scripts (but preferably not both!) - thus one can remove script_access_type

jpat1546 commented 5 years ago

Relates to #50

HadleyKing commented 5 years ago

See #50.