reffile_schema.py in the reffile_creation/pipeline/ directory will return a dictionary of metadata location:fits header keyword for all the metadata required for a given reference file data model. This can be useful in reference file creation scripts for making sure that no required metadata fields have been left blank. The dictionary is generated by reading the yaml definition files in the JWST repo, so it should always return an up-to-date list.
reffile_schema.py in the reffile_creation/pipeline/ directory will return a dictionary of metadata location:fits header keyword for all the metadata required for a given reference file data model. This can be useful in reference file creation scripts for making sure that no required metadata fields have been left blank. The dictionary is generated by reading the yaml definition files in the JWST repo, so it should always return an up-to-date list.