aind-data-schema icon indicating copy to clipboard operation
aind-data-schema copied to clipboard

Add MetadataStatus per core schema in Metadata pydantic model

Open jtyoung84 opened this issue 9 months ago • 0 comments

Is your feature request related to a problem? Please describe. It would be nice to get a top level check of the status of each of the core schemas attached to a data asset (subject, procedures, rig, etc.) Some of the flags could be:

Describe the solution you'd like It would be nice to get a top level check of the status of each of the core schemas attached to a data asset (subject, procedures, rig, etc.). For example, we could subject_status, rig_status, etc. to the Metadata model. Some of the flags could be:

Valid: There is a valid model
Invalid: There is an invalid model
Corrupt: There is a json file found with the data asset, but it's not possible to add the json file to DocDB for some reason
Missing: There is no json file found for this data asset (this may be redundant if we just the field to None)

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

jtyoung84 avatar May 11 '24 22:05 jtyoung84