CatalogueOfLife / checklistbank

UI for checklistbank.org
https://www.checklistbank.org/
7 stars 2 forks source link

Add submitted yaml to the yaml validator results for comparison #906

Open gdower opened 3 years ago

gdower commented 3 years ago

On the metadata validator results page, can you please add the original submitted yaml for comparison against the interpreted JSON? That way it can at least be quickly compared with the interpreted JSON to see if it matches. In this case the division is silently dropped because we don't support divisions, and division should just be included with the department if the division needs to be credited in the metadata. Ideally we should also highlight uninterpreted yaml, but I know that will be harder to do.

contributor:
 - name: University of Testing
   department: Test Department
   division: Test Division
   city: Test
   state: TE
   country: US

image

mdoering commented 3 years ago

@gdower you might also notice that University of Testing got dropped because we don't support name any longer. It is organisation now for agents.

mdoering commented 3 years ago

the name field you see in the JSON is a generic label similar to citation for references and now also datasets. Maybe label would have been a much better name and we could have used that for all kind of entities with generated labels.

gdower commented 3 years ago

Whoops--well I guess it highlights the use case for this issue. :smile: I'm still getting used to the change of name to organisation.