Details
Description
We could simplify and clarify a little bit the tree produced by the MetadataTreeFormat by using two additional rules:
Use less lines in simple case
If a property has the same name than the parent property that contains it, we could write its value in that parent property. For example instead of:
Citation └─Date ├─Date…………………… 2012/01/01 └─Date type …… Creation
We could simplify as:
Citation └─Date…………………………… 2012/01/01 └─Date type …… Creation
Tell the sub-type
If a property has the same name than the value type, and if that value type has sub-type, we could format the actual value sub-type in the tree. For example Citation as a property named party of type Party (ignoring multi-occurrences). But Party has two sub-types: Individual and Organisation. So instead of:
Citation └─Cited responsible party └─Party └─Name ……………………………… Jon Smith
It would be helpful to format:
Citation └─Cited responsible party └─Individual └─Name ……………………………… Jon Smith