adiwg / mdJson-schemas

JSON schemas, examples, and templates for ADIwg metadata standards
http://www.adiwg.org/projects/
GNU Lesser General Public License v3.0
18 stars 15 forks source link

taxonomy rule change #202

Closed stansmith907 closed 5 years ago

stansmith907 commented 6 years ago

Support deprecated name until version 3.0

stansmith907 commented 6 years ago

Looks like schema 2.4.9 is requiring latinName and taxonomicRank even when taxonomicName and taxonomicLevel are present. Looking at the 'taxonomy.json' schema it seems correct to me, can you take a look?

jlblcc commented 5 years ago

Is this still an issue?

jlblcc commented 5 years ago

I see the problem. The schema is set to allow either [latinName and taxonomicRank] or [taxonomicName and taxonomicLevel]. I will change the oneOf to anyOf.