feat: schema management for openzgy and segy datasets
This MR accomplishes the following
-
Schemas for
openzgy_v1andsegy_v1are imported from the schema repo here -
Schema managers for
seismicmeta,openzgy_v1andsegy_v1are added. All of the logic to validate input on a schema is abstracted into respective schema manager types -
Dataset
register,patchmethods now uses a common function to add defaults for the storage schema record -
Dataset
getmethod is updated to apply schema transforms on respective schema types. Multiple data transformers can now be chained and the output can be returned to the client in the supported schema type. All of the logic to perform these schema transforms are encapsulated in respective schema manager types. -
Storage record for a particular version can be retrieved by passing
record-versionquery parameter to the datasetGETmethod -
Postman E2E tests are updated for dataset operations using
seismicmeta,openzgy_v1andsegy_v1 -
OpenAPI yaml documentation updates to import the schemas directly from sdms codebase