Skip to content

Commit

Permalink
DROPME: showing it works
Browse files Browse the repository at this point in the history
  • Loading branch information
mferrera committed Dec 19, 2024
1 parent 119e15d commit c73f9aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions schema/definitions/0.8.0/schema/fmu_results.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@
"AnyProduct": {
"description": "The ``product`` field contains information about which product this data object\nrepresent. Data that is tagged as a product is a standard result from FMU that\nconforms to a specified standard.\n\nThis class, ``AnyProduct``, acts as a container for different data products, with\nthe exact product being identified by the ``product.name`` field.",
"discriminator": {
"mapping": {
"inplace_volumes": "#/$defs/InplaceVolumesProduct"
},
"propertyName": "name"
},
"oneOf": [
Expand Down
1 change: 0 additions & 1 deletion src/fmu/dataio/_model/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ def generate(
# sumo-core's validator does not recognize these.
del json_schema["discriminator"]["mapping"]
del json_schema["$defs"]["AnyData"]["discriminator"]["mapping"]
del json_schema["$defs"]["AnyProduct"]["discriminator"]["mapping"]

return self._remove_format_path(json_schema)

Expand Down

0 comments on commit c73f9aa

Please sign in to comment.