openworm / tracker-commons

Compilation of information and code bases related to open-source trackers for C. elegans
11 stars 12 forks source link

metadata.who - arrayed set of JSON strings (is a string allowable?) #143

Closed MichaelCurrie closed 7 years ago

MichaelCurrie commented 7 years ago

This is a question from @JimHokanson that may be outstanding.

Ichoran commented 7 years ago

The spec says, "If there is a single value, an array need not be used even if it is permitted."

So according to spec, a single string is allowable in the "who" field.

Ichoran commented 7 years ago

@JimHokanson - The question is answered by the generic wording for arrayed values. I think the updated language in #146 may make this clearer in general, but either way I don't think we need to change this (except maybe by adding a FAQ).