ebi-ait / checklist

Template repository for checklists
Apache License 2.0
1 stars 0 forks source link

Field tags with synonyms fails JSON Schema validation #26

Closed theisuru closed 2 weeks ago

theisuru commented 1 month ago

Fields with synonyms fails JSON Schema validation as the conversion logic has not considered synonyms. Currently const is used to represent tag (attribute).

Existing Schema:

"tag" : 
  {
    "const" :  "depth" 
  }

Solution Schema:

"tag" : 
  {
    "enum" : [ "depth", "Depth" ]
  }

Discovered after comparing run001 and run002 - see ebi-ait/checklist#25