Skip to content

Metadata Validation

jlchang edited this page Jan 27, 2020 · 6 revisions

Metadata Validation

Metadata files uploaded using the SCP Metadata convention are validated for the following properties:

  • Metadata names
    • must exactly match name in metadata convention for metadata to be added to the query database
    • non-metadata convention names may only have alphanumeric characters or underscore
  • Ontology terms must
    • be correctly formatted ("<ontology name>_<numeric ID>" or "<ontology name>:<numeric ID>")
      • example: MONDO_0000001 or MONDO:0000001
    • exist in the expected metadata ontology, validated through EBI OLS.
    • supply the human-readable label ontology label for the provided ontology ID, if the metadata is Required (<metadata attribute>__ontology_label <- note the usage of double underscore)
  • Ontology labels must exactly match the label in EBI OLS
  • Metadata with controlled lists (type = enum) must match one of the enumerated values.
  • Metadata provided must match their type declarations in the metadata convention.

Return to Metadata Convention main page

Clone this wiki locally