Skip to content

Commit

Permalink
ENH: Add precision to contractual tracklog items
Browse files Browse the repository at this point in the history
  • Loading branch information
mferrera committed Apr 9, 2024
1 parent fad2a72 commit afdaa84
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 25 deletions.
4 changes: 3 additions & 1 deletion schema/definitions/0.8.0/schema/fmu_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"class",
"source",
"version",
"tracklog",
"tracklog.event",
"tracklog.datetime",
"tracklog.user.id",
"data.format",
"data.name",
"data.stratigraphic",
Expand Down
50 changes: 26 additions & 24 deletions src/fmu/dataio/datastructure/meta/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,42 +532,44 @@ def dump() -> Dict:
ChainMap(
{
"$contractual": [
"access",
"class",
"source",
"version",
"tracklog",
"data.format",
"data.name",
"data.stratigraphic",
"data.alias",
"data.stratigraphic_alias",
"data.offset",
"data.bbox",
"data.content",
"data.tagname",
"data.vertical_domain",
"data.format",
"data.grid_model",
"data.bbox",
"data.time",
"data.is_prediction",
"data.is_observation",
"data.is_prediction",
"data.name",
"data.offset",
"data.seismic.attribute",
"data.spec.columns",
"access",
"masterdata",
"fmu.model",
"fmu.workflow",
"data.stratigraphic",
"data.stratigraphic_alias",
"data.tagname",
"data.time",
"data.vertical_domain",
"file.checksum_md5",
"file.relative_path",
"file.size_bytes",
"fmu.aggregation.operation",
"fmu.aggregation.realization_ids",
"fmu.case",
"fmu.context.stage",
"fmu.iteration.name",
"fmu.iteration.uuid",
"fmu.realization.name",
"fmu.model",
"fmu.realization.id",
"fmu.realization.name",
"fmu.realization.uuid",
"fmu.aggregation.operation",
"fmu.aggregation.realization_ids",
"fmu.context.stage",
"file.relative_path",
"file.checksum_md5",
"file.size_bytes",
"fmu.workflow",
"masterdata",
"source",
"tracklog.datetime",
"tracklog.event",
"tracklog.user.id",
"version",
],
# schema must be present for "dependencies" key to work.
"$schema": "https://json-schema.org/draft/2020-12/schema",
Expand Down

0 comments on commit afdaa84

Please sign in to comment.