biocaddie / WG3-MetadataSpecifications

WG3 Metadata Specification
28 stars 13 forks source link

values in category_values_pair--why not type as annotation #40

Closed smrgeoinfo closed 8 years ago

smrgeoinfo commented 8 years ago

the category_values_pair allows an array of value strings and an array of valueIRI, which does not make explicit binding between a string value (what I'd think of as a label) and an IRI for the value. Why not use annotation object which does allow binding between a string and an IRI: "values": { "description": "A set of values associated with the cateogory.", "type": "array", "items": { "$ref" : "annotation_schema.json#" } }

agbeltran commented 8 years ago

Thanks for the note - indeed, that would be a better way to do it.