Skip to content

Warn about unused resources #195

@ielis

Description

@ielis

The validator should point out presence of unused MetaData > Resources, that is resources that do not correspond to any OntologyClass.

@julesjacobsen @pnrobinson the Phenopacket Schema documentation requires presence of resources for used OntologyClasses, but does not explicitly forbids unused resources. The closest thing I found is a statement:

This element contains a listing of the ontologies/resources referenced in the phenopacket.

in MetaData > resources explanation.

An unused resource should produce either error or warning. I think warning is more appropriate.

@julesjacobsen @pnrobinson any thoughts?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions