Skip to content

nmdc-runtime should use materalized_pattern version of json schema #552

Open
@aclum

Description

@aclum

I believe the runtime code is currently loading nmdc.schema.json, this does not have the regular expression patterns we need, those are in nmdc_materialized_patterns.schema.json which is also part of the pypi distribution.

We discovered this when debugging migrators for Berkeley schema and didn't get errors I was expecting.

Eric said that from nmdc_schema.nmdc_data import get_nmdc_jsonschema_dict under the hood fetches nmdc.schema.json so we need to figure out how instead to load nmdc_materialized_patterns.schema.json

cc @eecavanna @turbomam @shreddd

It would be great if this could be updated in the next few days so it can be tested next week for the june 2024 release on the 24th. cc @pkalita-lbl

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status

    In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions