The validator converts the BIOMATERIAL_TYPE attribute in the Sample XML file to a JSON array. However, the Sample JSON schema uses conditional validation that assumes the biomaterial_type is a string. This means that the properties specific to each biomaterial_type are not being validated. The following, for example, are not currently being validated nor checked whether they are present:
"line", "lineage" etc. for Cell Line
"cell_type" for Primary Cell and Primary Cell Culture
"donor_id", "donor_age", "donor_life_stage" etc. for Primary Cell, Primary Tissue etc.
The validator converts the BIOMATERIAL_TYPE attribute in the Sample XML file to a JSON array. However, the Sample JSON schema uses conditional validation that assumes the biomaterial_type is a string. This means that the properties specific to each biomaterial_type are not being validated. The following, for example, are not currently being validated nor checked whether they are present: